class IO2GTradingSettingsProvider

Parents
IAddRef

Brief

Checks trading settings.

Details

To create IO2GTradingSettingsProvider use IO2GLoginRules.getTradingSettingsProvider.

Public Methods

getBaseUnitSize

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

getCondDistEntryLimit

Gets the minimal distance between the rates of the entry limit order and the current market rate.

getCondDistEntryStop

Gets the minimal distance between the rates of the entry stop order and the current market rate.

getCondDistLimitForTrade

Gets the minimal distance between the rates of the limit order for the position and the current market rate.

getCondDistStopForTrade

Gets the minimal distance between the rates of the stop order for the position and the current market rate.

getMargins

Checks whether the three level margin policy is used and specifies the three margin levels. Returns 'true' if margin policy is three level and 'false' otherwise.

getMarketStatus

Checks whether the trading in the instrument is allowed (whether the market is opened or closed).

getMaxQuantity

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

getMaxTrailingStep

Gets the maximum size of the market movement after which an order must be moved following the market.

getMinQuantity

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

getMinTrailingStep

Gets the minimum size of the market movement after which an order must be moved following the market.

getMMR

Gets the minimum margin requirement.

back