Monitoring OA_EXECUTION_EVENT
Monitoring OA_EXECUTION_EVENT
16 Oct 2017, 08:26
Can you monitor via the Trading API orders that are created somewhere else (say the terminal or another program accessing the same tokens) via OA_EXECUTION_EVENT?
or is OA_EXECUTION_EVENT just for orders created from within your own code connection?
I didn't try it, just thought would be easier to ask.
Replies
PanagiotisCharalampous
16 Oct 2017, 14:58
Hi ycomp.
OA_POSITION_STATUS_CREATED is the status of the position when an order is accepted. You will get OA_POSITION_STATUS_OPEN status when the order is filled and the position is opened.
Best Regards,
Panagiotis
@PanagiotisCharalampous
PanagiotisCharalampous
16 Oct 2017, 09:04
Hi ycomp,
Yes you can. You need to subscribe to trading events.
Best Regards,
Panagiotis
@PanagiotisCharalampous