public method IO2GTradingSettingsProvider.getMaxQuantity

Brief

Gets the maximum size of a trade or of a market order.

Declaration
C++
virtual int  getMaxQuantity (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 lots. Return -1 in case of error.

Declared in IO2GTradingSettingsProvider

back