gateio / gateapi-python

247 stars 92 forks source link

Can't access the balance with ccxt #103

Closed AqueousCarlos closed 2 years ago

AqueousCarlos commented 2 years ago

I have already granted the right of READ and WRITE on my APIv4 without white IP address list. After Run the below code: My request no. in gate.io support is 827908

import ccxt
gateio_spot = ccxt.gateio({
    'apiKey': 'XXXXX',
    'secret': 'XXXXXX',
})

print(gateio_spot.fetch_balance())

I got the below error message: ccxt.base.errors.AuthenticationError: Invalid sign

Please kindly help. Thank a lot.

revilwang commented 2 years ago

Have you tried using the demo python snippet in the API reference? If you can run the snippet without any error, I think you should contact cctx with this issue.