Hephyrius / binance_futures_bot

A bot that trades leveraged USDT futures markets on binance.
299 stars 123 forks source link

isolated mode doesnt work #26

Open THELORDMAXIM opened 2 years ago

THELORDMAXIM commented 2 years ago
"market": "SANDUSDT",
"leverage": "15",
"trading_periods": "1m,3m",
"margin_type": "ISOLATED",
"trailing_percentage": "2.0",
"api_url" : "https://fapi.binance.com/"

and always gets into cross mode, any idea ?

Djennam commented 2 years ago

you also need to change line 44 of the bot_functions.py file and replace CROSSED with ISOLATED