public method ITradingSettingsProvider.getMaxQuantityGets a maximum quantity in lots for an order for specified instrument and account
Declaration
protojavascriptjavacsharppublic getMaxQuantity(instrument : Instrument, account : Account) : int
| Parameters | |
instrument |
The financial instrument for which the maximum quantity for an order is being requested |
account |
The account for which the maximum quantity for an order is being requested |
Returns
The method returns an integer that represents a maximum quantity in lots for an order for specified instrument and account
See also: Instrument, Account
Declared in ITradingSettingsProvider