public method O2GTradingSettingsProvider.getMinQuantity

Brief

Gets the minimum allowed amount of an order.

Declaration
Java
int  getMinQuantity (String instrument, O2GAccountRow accountRow)

Parameters
instrument

The symbol of an instrument. For example, EUR/USD, USD/JPY, GBP/USD.

accountRow

The instance of the O2GAccountRow class that contains account information.

Details

In the case of FX instruments, the returned value is expressed in the base currency of the instrument.
In the case of CFD instruments, the returned value is expressed in contracts.

If you place an order with the amount less than the returned value of this method, your order is rejected.

Declared in O2GTradingSettingsProvider

back