public method O2GTradingSettingsProvider.getCondDistLimitForTrade

Brief

Gets the minimal allowed distance between the price of a limit order and the market price, at which a position can be closed at the momen,t or between the prices of a market/entry order and an associated limit order.

Declaration
Java
int  getCondDistLimitForTrade (String instrument)

Parameters
instrument

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

Details

The returned value is expressed in pips.

If you place a limit order closer to the market price than it is specified by the returned value of this method, your order is rejected.

Declared in O2GTradingSettingsProvider

back