I'm a ittle confused ...
I'm attempting to access GrossProfit: Print( " Gross Profit " + SystemPerformance.AllTrades.TradesPerformance.Gros sProfit.ToString(format));
However what see is that it is printing out the accumulation of NetProfit not Gross Profit as can be seen in the print log:
07-20-2023 09:33:11 Strategy: Entering Long Market $4,591.00
07-20-2023 09:33:11 OnOrderUpdate: Order PROFIT TARGET is completely Filled. Order Name: Profit target
07-20-2023 09:33:11 OnPositionUpdate: PROFIT (GROSS) $100.00 Commission $24.40 Net Profit $75.60 Gross DayProfit $100.00 Gross Strategy Profit $100.00 Net Strategy Profit $563.60
07-20-2023 09:33:11 Gross Profit $75.60
07-20-2023 10:08:12 Entering Short Market $4,584.00
07-20-2023 10:08:12 OnOrderUpdate: Order PROFIT TARGET is completely Filled. Order Name: Profit target
07-20-2023 10:08:12 OnPositionUpdate: PROFIT (GROSS) $100.00 Commission $24.40 Net Profit $75.60 Gross DayProfit $200.00 Gross Strategy Profit $200.00 Net Strategy Profit $688.00
07-20-2023 10:08:12 Gross Profit $151.20
Is this the expected behaviour?
Many Thanks, Caesar.

Comment