I have the following code:
protected override void OnPositionUpdate(Cbi.Position position, double averagePrice, int quantity, Cbi.MarketPosition marketPosition)
{
Print(SystemPerformance.AllTrades.Count.ToString() );
}
After a trade is closed, I call this method to do something with the trade data. For example: SystemPerformance.AllTrades[SystemPerformance.AllTrades.Count - 1].Exit.Quantity to call the exit quantity.
Has this feature stopped working? Or changed in any way?
Thanks
Comment