public method Instrument.getContractCurrency

Brief

Gets 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

protojavascriptjavacsharp
public 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

Details

Declared in Instrument

back