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

Error when retrieving futures balances

dorienh opened this issue · comments

commented

I cannot get futures balances, this also means I cannot open % positions as it cannot retrieve the available amount first.

My spot works fine, only happens with futures.

I just added a new USDT futures binance:

Account created successfully: eth
2023-05-08T05:11:08.000Z │ NOTICE  │ Command Completed: Execution Time: 0.558 seconds

I can successfully close positions. And the key tested successfully. However, I cannot get the balance on the account. Even the GUI keeps showing the loading symbol.

2023-05-08T05:11:38.000Z │ NOTICE  │ Whitelist verification is enabled
2023-05-08T05:11:38.000Z │ NOTICE  │ API Access Granted: 127.0.0.1 is whitelisted
2023-05-08T05:11:38.000Z │ NOTICE  │ Command Parameters: {command: trade:balances, stub: eth}
2023-05-08T05:11:38.000Z │ DEBUG   │ Execute permission granted using standard permission set: trade:balances => [core]
2023-05-08T05:11:40.000Z │ ERROR   │ There was an error retrieving balances
2023-05-08T05:11:40.000Z │ NOTICE  │ Command Completed: Execution Time: 1.303 seconds

Any ideas what I could try?