public method Instrument.getInstrumentTypeGets the type of the instrument
Declaration
protojavascriptjavacsharppublic getInstrumentType() : int
Returns
The method returns an integer that represents the type of the instrument
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