What is an order of PendingOrders.Filled and Positions.Opened ?
Created at 24 Jul 2020, 08:04
What is an order of PendingOrders.Filled and Positions.Opened ?
24 Jul 2020, 08:04
Hi!
I want to check the position when some order triggers. Is an updated position available when the event PendingOrders.Filled fires?
Assume the script places the order when the position is flat.
...
ExecuteMarketOrder(....);
.....
what is an order of events PendingOrders.Filled and Positions.Opened?
Is PendingOrders.Filled fired before Positions.Opened?
or
Is Positions.Opened fired before PendingOrders.Filled?
or
Is order of these events not defined?
Thanks.
PanagiotisCharalampous
24 Jul 2020, 08:19
Hi koktos632,
First an order is filled and then a position is opened.
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous