Read profit position
Created at 16 Nov 2017, 01:45
DU
Read profit position
16 Nov 2017, 01:45
Hello,
how can one read profit for every opened position via FIX API from cTrader. In my app I would like to update profit for every active position approx. once per second.
PanagiotisCharalampous
16 Nov 2017, 12:53
Hi dusek.martin,
Thanks for posting in our forum. You can get information about positions using the Request for Positions message. You will need to calculate the P&L yourself based on the position's opening price and the current price.
Best Regards,
Panagiotis
@PanagiotisCharalampous