Get Position Netto or brutto Profit info
Created at 03 Oct 2019, 18:42
Get Position Netto or brutto Profit info
03 Oct 2019, 18:42
I would like to get the position info:
I reach: position.PositionId, position.PositionStatus, TradeSide, Volume, SL, TP , Swap, Comission, Price... etc
but I do not see / know the name of the field of Netto or Brutto Position Profit (floating P/L).
Thanks,
PanagiotisCharalampous
04 Oct 2019, 08:24
Hi Be Rich,
There is no such field available in Open API. You need to calculate it on your side using the position's entry price and the current symbol price.
Best Regards,
Panagiotis
@PanagiotisCharalampous