public method Instrument.getInstrumentType

Brief

Gets the type of the instrument

Declaration

protojavascriptjavacsharp
public getInstrumentType() : int

Returns

The method returns an integer that represents the type of the instrument

Details

The possible return values are: 1 - Forex 2 - Indices 3 - Commodity 4 - Treasury 5 - Bullion 6 - Shares 7 - FXIndex 8 - CFD Shares 9 - Cryptocurrency

Declared in Instrument

back