public method ITradingSettingsProvider.getMaxQuantity

Overview

Gets a maximum quantity in lots for an order for specified instrument and account

Declaration

function getMaxQuantity(instrument, account)
public int getMaxQuantity(Instrument instrument, Account account);
public int getMaxQuantity(Instrument instrument, Account account);

Parameters

Name Description
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

Details

Declared in ITradingSettingsProvider