CryptoMF / frostybot-js

Frostybot-JS is a cryptocurrency trading API endpoint, designed to execute webhook or REST requests as orders on a variety of well-known exchanges. While primarily designed to automate your Tradingview strategies, Frostybot can also be integrated with any other software using webhooks or REST. Bitmex, FTX, Deribit and Binance are supported.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug in stoploss/takeprofit command in binancefuturenoccxt branch

Danewalker opened this issue · 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.