If I have OnBarUpdate=True, are any orders triggered within my code entered at the moment the code directs a trade, or at the close of the bar?
I want to place orders immediately when a certain condition (in the live or current bar) occurs and enter a limit order (to buy or sell)--but I want the order to be placed at that moment, not when the bar finishes.
Should I set OnBarUpdate = false?
Comment