public method IO2GTradingSettingsProvider.getBaseUnitSize

Brief

Gets the size of one lot, i.e. the minimum amount per trade that is allowed on the instrument on the account.

Declaration
C++
virtual int  getBaseUnitSize (const char * instrument, IO2GAccountRow * accountRow) = 0

Parameters
instrument

The name of the instrument to get the trading setting for.

accountRow

The account information of the account to get the trading setting for.

Details

The value is expressed in contracts. Return -1 in case of error.

Declared in IO2GTradingSettingsProvider

back