public method Instrument.getContractCurrencyGets the contact currency depending on the instrument type: the base currency for a Forex instrument and the counter currency for a CFD instrument. For example, EUR for EUR/USD and GBP for UK100/GBP
Declaration
protojavascriptjavacsharppublic getContractCurrency() : string
Returns
The function returns a string that represents the contact currency depending on the instrument type: the base currency for a Forex instrument and the counter currency for a CFD instrument. For example, EUR for EUR/USD and GBP for UK100/GBP
Declared in Instrument