public method Instrument.getContractCurrency

Overview

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

function getContractCurrency()
public String getContractCurrency();
public string getContractCurrency();

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