class O2GTradingSettingsProvider

Brief

Checks trading settings.

Details

To create IO2GTradingSettingsProvider use IO2GLoginRules.getTradingSettingsProvider.

The type defined in the fxcore2.dll assembly. The namespace is fxcore2.

Public Methods

getBaseUnitSize

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

getCondDistEntryLimit

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

getCondDistEntryStop

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

getCondDistLimitForTrade

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

getCondDistStopForTrade

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

getMargins

Defines 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

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

getMaxQuantity

The maximum size of a trade or of a market order.

getMaxTrailingStep

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

getMinQuantity

The minimum size of a trade or of a market order.

getMinTrailingStep

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

getMMR

The minimum margin requirement.

back