I need an event to get notified when account profit data is changed.
Actually , I am iterating on SystemPerformance.AllTrades in OnBarUpdate to get all profit and loss but if I ExitLong or ExitShort ,account seems to be updated in next bar change(that is thing ,I don't want )
Comment