Stop Loss not working with small numbers

Created at 17 Feb 2015, 20:40
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
CP

cprcrack

Joined 15.02.2015

Stop Loss not working with small numbers
17 Feb 2015, 20:40


ExecuteMarketOrderAsync(TradeType.Buy, Symbol, volume, "label", 0.5, null, delegate(TradeResult tradeResult) { });

When I execute the previous order, the stop loss (0.5 pips) doesn't work. It doesn't appear in the cTrader or cAlgo deal map, and it does never fire. It works if I set 1 pips, but not with 0.5, and no error is given in tradeResult.

What is the minimum stopLossPips I can provide? Shouldn't this be documented?


@cprcrack
Replies

Spotware
24 Feb 2015, 16:35

Currently decimal values of SL and TP are rounded to the integer number of pips. Therefore minimal SL is 1 pip. We plan to change this behavior and allow decimal protection in the future.


@Spotware