Trading events / methods "hierarchy"

Created at 27 Mar 2024, 19:34
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
NC

ncel01

Joined 19.03.2020

Trading events / methods "hierarchy"
27 Mar 2024, 19:34


Hello,

What priority is given by the API to the events that occur at the exact same price?
I need to be aware of this to properly control the execution and, so far, this is completely unknown to me.

E.g.:

  1. OnTick()
  2. OnBar()
  3. PendingOrders_Created
  4. PendingOrders_Filled
  5. PendingOrders_Modified
  6. PendingOrders_Cancelled
  7. Positions_Opened
  8. Positions_Closed
  9. Positions_Modified

  10. Etc.

I assume that there must be a specific order here and that priorities are not randomly assigned each time.
Could you please clarify this or, alternatively, indicate / elaborate any specific documentation?

I've already raised this question in the past, however I've never got any effective clarifications.

Thanks in advance!


@ncel01
Replies

ncel01
02 Apr 2024, 08:26

Hello,

Any update(s) here?

Thanks.


@ncel01