public method Instrument.getContractMultiplier

Brief

Gets the contract multiplier (makes sense only for some CFD instruments)

Declaration

protojavascriptjavacsharp
public getContractMultiplier() : real

Returns

The methods returns a real value that represents the contract multiplier - makes sense only for some CFD instruments

Details

It is used for simulation of real-life trading conditions. For example, it is impossible to buy less than 25,000 lbs of copper on the market. Hence, the value of this field for Copper is 25000. In the case of FX instruments, the value of this field is 1.

Declared in Instrument

back