public method IO2GTradingSettingsProvider.getCondDistLimitForTrade

Brief

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

Declaration
C++
virtual int  getCondDistLimitForTrade (const char * instrument) = 0

Parameters
instrument

The name of the instrument to get the trading setting for.

Details

The distance is expressed in pips. Return -1 in case of error.

Declared in IO2GTradingSettingsProvider

back