Symbol.PipSize the same as Symbol.PipValue?

alphabet_asa since: 10 Nov 2019; 
 02 Dec 2019, 18:11
Symbol.PipSize the same as Symbol.PipValue?

How can I get the exchange rate for a currency pair?

For some reason, everytime I try to print Symbol.PipValue it gives me the same result as Symbol.PipSize. For instance, if i say 

Symbol symbol = Symbols.GetSymbol("EURUSD")

 then I do

Print(symbol.PipSize," , ", symbol.PipValue)

it would result in

0.0001 , 0.0001

To my understanding, the Symbol.PipValue is supposed to give me the monetary value of one pip, so I am expecting the exchange rate of that pair.

Am I misinterpreting the meaning of Symbol.PipValue?

Edit: I don't know why the HTML code tags are showing up there. Please ignore them.

Panagiotis Charalampous's avatar
Panagiotis Charalampous since: 13 Jan 2017; 
 03 Dec 2019, 08:33

Hi alphabet_asa,

PipValue will give you the value of a pip in your account's currency. If your account currency is the same with the quote currency then PipValue and PipSize will match.

Best Regards,

Panagiotis

Head of Community Management at cTrader
alphabet_asa since: 10 Nov 2019; 
 03 Dec 2019, 18:51
RE:

PanagiotisCharalampous said:

Hi alphabet_asa,

PipValue will give you the value of a pip in your account's currency. If your account currency is the same with the quote currency then PipValue and PipSize will match.

Best Regards,

Panagiotis

Thank you for the reply! If that's the case then how do I get the currency's exchange rate?

firemyst since: 26 Mar 2019; 
 04 Dec 2019, 02:50
RE: RE:

alphabet_asa said:

PanagiotisCharalampous said:

Hi alphabet_asa,

PipValue will give you the value of a pip in your account's currency. If your account currency is the same with the quote currency then PipValue and PipSize will match.

Best Regards,

Panagiotis

Thank you for the reply! If that's the case then how do I get the currency's exchange rate?

HI @alphabet_asa:

Unless I'm missing something, isn't that what the Forex quote (Symbol.Bid, Symbol.Ask) is showing?

For example, if you're looking at the AUDUSD forex pair, and the price quoted is 0.68, then the exchange rate is 1 AUD = $0.68 USD.

Similarly, if you're looking at USDAUD, and the price quoted is $1.46, then the exchange rate is 1 USD = $1.46 AUD.

If you're looking at a foreign market index, then lookup the forex pair of your currency vs that index's currency. Thus, if you're trading the US Dow (US30), and your local currency is New Zealand Dollars, then get the symbol price for either USDNZD or NZDUSD, following the examples above depending on which currency is listed first in the forex pair.