How to get Current price, Entry price, Pips, Gross profit, etc. of a position?

Created at 04 Aug 2023, 15:44
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!
JO

johnson.fergusaka

Joined 24.03.2023

How to get Current price, Entry price, Pips, Gross profit, etc. of a position?
04 Aug 2023, 15:44


I can get the position Id of my positions and the volume, how can i retrieve the data that would be displayed under “positions” such as current price as it is displayed on:
https://ct.spotware.com/profiles/[profile_link _here] ?

 


@johnson.fergusaka
Replies

PanagiotisChar
07 Aug 2023, 11:34

Hi there,

These values are calculated on the client side. You need to calculate them yourself. FIX provides you with the entry price and the current Bid/Ask prices to calculate this.

Aieden Technologies

Need help? Join us on Telegram


 


@PanagiotisChar

... Deleted by UFO ...