unicorn-binance-rest-api icon indicating copy to clipboard operation
unicorn-binance-rest-api copied to clipboard

client.futures_account_balance() problem

Open badosanjos opened this issue 1 year ago • 2 comments

Solution to Issue cannot be found in the documentation or other Issues and also occurs in the latest version of this library.

  • [X] I checked the documentation and other Issues. I am using the latest version of this library.

Issue

Hi, The library is not adjusted for the change bellow and errors like this are appearing (APIError(code=-5000): GET /fapi/v1/positionRisk is retired, please use GET /fapi/v2/positionRisk)

2023-06-28

Notice:

REST

The following endpoints will no longer be supported from 2023-07-15: GET /fapi/v1/account GET /fapi/v1/balance GET /fapi/v1/positionRisk Please switch to corresponding v2 endpoints: GET /fapi/v2/account GET /fapi/v2/balance GET /fapi/v2/positionRisk

badosanjos avatar Aug 09 '23 02:08 badosanjos

manager.py_updatedv2.txt I did a fix for manager.py and in my tests it's working good. Here goes the file with the fix.

badosanjos avatar Aug 09 '23 03:08 badosanjos

I moved it to UBRA repository! Thank for the fix, i will implement it asap.

oliver-zehentleitner avatar Feb 16 '24 19:02 oliver-zehentleitner

fixed!

Duplicate of https://github.com/LUCIT-Systems-and-Development/unicorn-binance-rest-api/issues/65

oliver-zehentleitner avatar May 09 '24 16:05 oliver-zehentleitner