I have 2 strategies running, different instruments, asynchronously.
I'm trying to track the PnL of each instrument separately.
I can use
[LEFT][COLOR=#808080][FONT=Consolas]Trade = SystemPerformance.AllTrades[SystemPerformance.AllTrades.Count[/FONT][/COLOR][/LEFT][LEFT][COLOR=#FFFFFF][FONT=Consolas] [/FONT][/COLOR][/LEFT][LEFT][COLOR=#808080][FONT=Consolas]-[/FONT][/COLOR][/LEFT][LEFT][COLOR=#FFFFFF][FONT=Consolas] [/FONT][/COLOR][/LEFT][LEFT][COLOR=#FF6600][FONT=Consolas]1[/FONT][/COLOR][/LEFT][LEFT][COLOR=#808080][FONT=Consolas]]; Print( Trade.ProfitCurrency );[/FONT][/COLOR][/LEFT]
How can I get the PnL of each instrument separately?
Many Thanks, Caesar.
Comment