PositionsOnOpened event: GrossProfit = -0.92, NetProfit = -3.4, Commissions = -1.24
It's OK - NetProfit already includes both commissions.
PositionsOnClosed event: GrossProfit = 6.45, NetProfit = 1.49, Commissions = -2.48
Closing NetProfit includes quadrupled (instead of doubled) one way comission.
So, NetProfit should be 3.97 - and it is confirmed by History tab which shows Net = 3.97.
dlr0
22 Jan 2014, 14:49
I think NetProfit isn't properly calculated.
For example, opening and closing same position:
PositionsOnOpened event: GrossProfit = -0.92, NetProfit = -3.4, Commissions = -1.24
It's OK - NetProfit already includes both commissions.
PositionsOnClosed event: GrossProfit = 6.45, NetProfit = 1.49, Commissions = -2.48
Closing NetProfit includes quadrupled (instead of doubled) one way comission.
So, NetProfit should be 3.97 - and it is confirmed by History tab which shows Net = 3.97.
@dlr0