Quick question: if I call multiple EnterLong's (same entry/instrument) and want to determine the P/L on exit what are my options? e.g.
EnterLong(3)
ExitLong(3)
call Position.GetUnrealizedProfitLoss on fill exit event
or
if(Performance.AllTrades.Count >= 1)
{
Trade lastTrade = Performance.AllTrades[Performance.AllTrades.Count - 1];
ProfitLoss_LastTrade = lastTrade.ProfitTicks;
}
on fill exit event
Comment