binance.us some endpoints do not work
Describe the bug Some of the endpoints do not work with binance.us. For ex: get_account_api_permissions()
To Reproduce client = Client(api_key, api_secret, tld = "US") client.get_all_orders(symbol='BNBBTC') <---WORKS client.get_account_api_trading_status() <--- DOES NOT WORK
Traceback (most recent call last):
File "
Environment (please complete the following information):
- Python 3.8.10 (default, Mar 15 2022, 12:22:08) [GCC 9.4.0] on linux
- OS: Ubuntu
- python-binance version: 1.0.16
Logs or Additional context Not sure if it works .com as I do not have a ".com" account but there are multiple endpoints that are listed and not working.
Getting the same error for several endpoints as well -- also using the .us API w/o a .com account to confirm.
Currently known issues with the following:
get_trade_fee with either the symbol kwarg or not.
get_account_api_trading_status
Upon inspection, the raw JSON return is similar to the following:
{'timestamp': removed, 'status': 404, 'error': 'Not Found', 'message': 'No message available', 'path': '/sapi/v1/asset/assetDetail'}
Notably, there is no 'code' key nor is there a 'msg' key (looking at line 15 in exceptions.py in the BinanceAPIException class which would be executed directly after the json_res['code'] portion.
Has there been any update on this?
Same issue here with get_account() , the docs at https://github.com/binance/binance-spot-api-docs/blob/master/rest-api.md#account-information-user_data reference a v3 uri