Reputation: 51
I am having issues accessing my Binance account information via API in Python. It always gives the APIError Exception but I am able to ping the exchange and get candlestick data successfully. I read through the API documentation and made sure that the API key is valid and I don't think I am missing anything.
binance_client = BinanceClient(api_key=api_key, api_secret=api_secret)
print(binance_client.get_account(recvWindow=60000000))
Upvotes: 1
Views: 6654
Reputation: 61
If someone still needs it, I created an example python script that returns your balances. It includes a valid signature. https://github.com/thirstygerry/binance-python
Upvotes: 3