If I use the OnMarketData() method, and add within it some conditional logic that uses the SubmitOrder() method, when will the order be placed once the conditional logic is satisfied?
On the next OnBarUpdate event (which could be up to 1-minute later), or immediately the OnMarketData event occurs that triggers the conditional logic?
Thanks.
Comment