CryptoMF/frostybot-js

Bug in stoploss/takeprofit command in binancefuturenoccxt branch

Danewalker opened this issue · 0 comments

I found a bug in stoploss/takeprofit command in binancefuturenoccxt branch.

file mod.trade.js line 1661
side = (trigger < market.bid ? trigltmp : trigger > market.ask ? triggtmp : null);

i comment out that line and the bot works well
it cause exchange rejects SL/TP commands due to wrong side.