Hello
I am using cctx to get my account balances like this:
import ccxt
exchange = ccxt.htx({
'apiKey': 'mykey',
'secret': open('htx_private_key.pem', 'rb').read(),
'sandbox': False,
})
balance = exchange.fetch_balance()
But I get HTTPSConnectionPool(host='api.huobi.pro', port=443): Read timed out error.
When I try to get balances via https://api.huobi.pro/v1/account/accounts/{id}/balance using my own script, it works for OTC-margin account, but also fails with the same Timed Out error for SPOT account (The only change is the account id in path parameters).
Any ideas why this happens?