fix: remove duplicate line from MAE/MFE implementation
This commit is contained in:
@@ -383,8 +383,6 @@ export class PositionManager {
|
|||||||
maxAdverseExcursion: trade.maxAdverseExcursion,
|
maxAdverseExcursion: trade.maxAdverseExcursion,
|
||||||
maxFavorablePrice: trade.maxFavorablePrice,
|
maxFavorablePrice: trade.maxFavorablePrice,
|
||||||
maxAdversePrice: trade.maxAdversePrice,
|
maxAdversePrice: trade.maxAdversePrice,
|
||||||
})
|
|
||||||
maxGain: trade.peakPnL,
|
|
||||||
})
|
})
|
||||||
console.log(`💾 Old trade marked as closed (lost tracking)`)
|
console.log(`💾 Old trade marked as closed (lost tracking)`)
|
||||||
} catch (dbError) {
|
} catch (dbError) {
|
||||||
|
|||||||
Reference in New Issue
Block a user