LUCIT-Systems-and-Development / unicorn-binance-rest-api

A Python SDK by LUCIT to use the Binance REST API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, us, tr) in a simple, fast, flexible, robust and fully-featured way.
https://unicorn-binance-rest-api.docs.lucit.tech
Other
60 stars 17 forks source link

client.futures_account_balance() problem #76

Closed badosanjos closed 2 months ago

badosanjos commented 11 months ago

Solution to Issue cannot be found in the documentation or other Issues and also occurs in 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 commented 11 months ago

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.

oliver-zehentleitner commented 4 months ago

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

oliver-zehentleitner commented 2 months ago

fixed!

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