multicharts order error in binance ‘Order would immediately trigger’
3 replies
spine
1 year ago #289544
If I run the following code in multicharts,
After the signal comes out, the stop order is rejected.
The take profit market order is executed and not signed.
The ‘stop order’ does not appear in the Binance order list. Only ‘take profit market order’ is executed.
The multicharts Log displays the following error.
Instrument : BTCUSDT, Order : Sell Stop
Status : Rejected, Reseon; Response :{“code-2021”, msg: ‘Order would immediately trigger’}
There is no modification I made in strategyquant.
I pasted it into multicharts as it is, but why does this happen?
So I inquire to strategyquant.
0
Tomas Matejka
1 year ago #289555
Hello,
I can test and let you know but my suspicion is that the stop order is simply too close or wrong price regarding the current market price
0
spine
1 year ago #289565
Thank you.
So, is there a way to prevent or solve these problems?
I was wondering if there is any other way to adjust the options in Strategyquant.
If this problem is repeated, the strategy cannot be used.
0
Tomas Matejka
1 year ago #289769
Yes, the problem is also likely caused by the wide Bid – Ask spread in real trading. When you build a strategy in SQX you should check the spread value and set it under Builder -> Data -> Min distance (pips). This way the SQX backtest will discard orders that are unrealistically close to the entry signal and closing price
0
Viewing 3 replies - 1 through 3 (of 3 total)