Jump to content
Suchin

How to get PIP value for Market

Recommended Posts

Hi,

I assume you mean the PIP value that is shown on the trade ticket on our trading platforms? It is calculated using various fields pulled from the API using a MarketInformation call.

PIP Value = (Quantity * (TrailingStopConversionFactor || 1) * fxConversion) / QuantityConversionFactor

Kind Regards, PM

Share this post


Link to post

Hello Physicsman,

 

Thank you for fast replay.

I need more information about terms used in calculation that from which API I can get 

1) fxConversion

Thank You.

 

Share this post


Link to post

Hi Suchin,

fxConversion is the FX rate to convert from the market currency to your account currency. 

As an example, if your account is in US dollars, and you are trading EUR/GBP, then the market currency is GBP. You will need to use the current fx rate for GBP/USD to convert from GBP to your base account currency of USD. The PIP value you see will then be in USD.

Kind Regards, PM 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×