protected override void OnExecutionUpdate(Execution execution, string executionId, double price, int quantity, MarketPosition marketPosition, string orderId, DateTime time)
{
Print(Open[0]);
}
I open a trade in OnBarUpdate(), and then this executes. However, I always seem to get the previous bar. I need to get the current bar's open price. How can I do this?


Comment