Is there a way to know in real time that we reached the End of Session to execute on the Close just like in simulation we have Exit on Close?
I need a solution that is not based on time check in the OnBarUpdate() because maybe I'll not have trades to close the bar and to generate the OnBarUpdate() event.
TX in advance!
Comment