python-binance
python-binance copied to clipboard
binance.exceptions.BinanceAPIException: APIError(code=-2015): Invalid API-key, IP, or permissions for action.
Hello,
api_url='https://fapi.binance.com/fapi/'
testnet="False"
print(f"EASY BUCKS TRADING BOT LIVE")
# Binance API credentials
client = Client(api_key, api_secret,testnet="false")
client.API_URL = api_url
account_info = client.get_account()
accout_wallet_balence = account_info['totalWalletBalance']
This is my code. When I try To Run This binance.exceptions.BinanceAPIException: APIError(code=-2015): Invalid API-key, IP, or permissions for action. occur .
With the same api if I use https://github.com/binance/binance-futures-connector-python this library its works file.
Please help me.
the same problem, I think it is the bug in this repo.