Hi,

Few questions:

  1. I have added multiple symbols at minute resolution, the OnData function will be called per minute? Or as and when data arrives for any of the symbols?  For LiveMode especially. I am seeing more onData being triggered more than once during a minute.
  2. If my OnData function takes more 1 minute to complete, and a new OnData event is triggered, what will the behavior be?

 

I am currently running my main trading logics inside scheduled event, but would like the system to be more “real-time”, thus wanted to shift the logic into OnData. But am worried that the computation time is too long and the next OnData event is triggered before the earlier one complete.

3. What if I set the data resolution to tick? Is it advisable? I am good if the ticks which come in during the OnData's processing are ignored. As long as there isn't concurrency issues etc :D

Thks!