public method IO2GAccountRow.getBaseUnitSize

Brief

Gets the size of one lot.

Declaration
C++
virtual int  getBaseUnitSize () = 0

Details

The method returns the minimum amount of a position that is allowed on the account. The returned value is expressed in the instrument base currency. For example, if the returned value is 1000, one lot for EUR/USD is 1,000 Euro, for USD/JPY - 1,000 U.S. dollars, and so on.

The returned value is used for information purposes only. It is applicable to FX instruments only. The value for all instruments must be obtained by the IO2GTradingSettingsProvider.getBaseUnitSize() method.

Declared in IO2GAccountRow

back