Support Board
Date/Time: Sat, 23 Nov 2024 10:24:46 +0000
Post From: FXCM account balance
[2013-06-25 21:07:10] |
Sierra Chart Engineering - Posts: 104368 |
This is what FXCM said: With FIX you can get only realized PnL to get unrealized PnL you will need to calculate it, you need the current position value, the way you can do it: Unrealized PnL = (current price – open price) * point value * lots Open Price – Tag(730), in case of FIFO type account it will be average open price. point/pips value - look at http://www.fxtrademaker.com/fx_calculation.htm Lots/quantity - use Tag(14) or Tag(38) Current price – can be done with MarketDataRequest (page 39 in FXCM-FIX-BSI.pdf file) Sierra Chart already calculates the Open Profit/Loss , and we assume you know how to access this in ACSIL. So you should be all set at this point. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2013-06-25 21:08:28
|