Linking History with Positions

Created at 31 Aug 2019, 03:43
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!
Athenum's avatar

Athenum

Joined 19.06.2019

Linking History with Positions
31 Aug 2019, 03:43


Is there a common ID that can link open positions with historic trades via FIX api? For example, I need  to store the ID of an open position, and then reference that same position via the historic table in cTrader. I found the Order ID, but this is different from the Position ID that is generated from trading the FIX api.

thank you in advance.

chris


@Athenum
Replies

PanagiotisCharalampous
02 Sep 2019, 09:28 ( Updated at: 21 Dec 2023, 09:21 )

Hi Chris,

The Position ID for each deal in the History tab of cTrader can be found in the deal's infromation form. See below

Best Regards,

Panagiotis


@PanagiotisCharalampous

Athenum
05 Sep 2019, 09:11

Hi,

Thank you for your response. However as this is the FIX API forum, I was asking in terms of of FIX :)

Thank you,

Chris


@Athenum

PanagiotisCharalampous
09 Sep 2019, 09:47

Hi Chris,

You said "then reference that same position via the historic table in cTrader" hence my reply. Trading history is not available via FIX as explained in Limitations of FIX API

Best Regards,

Panagiotis


@PanagiotisCharalampous