Determining if position was opened by market order or limit order

Created at 15 Feb 2024, 18:31
CH

ChrisSpire

Joined 12.12.2022

Determining if position was opened by market order or limit order
15 Feb 2024, 18:31


Hi!

Can't seem to find any property that would return order type of an opened/closed position.

If there is not, I believe I could link order with position — how to do that? Is Id the same for order and position for example?

Thanks!


@ChrisSpire
Replies

PanagiotisCharalampous
16 Feb 2024, 07:30

Hi there,

Unfortunately this is not possible using cTrader Automate API.

Best regards,

Panagiotis


@PanagiotisCharalampous