I don't usually use Python so please bear with me. I'm trying to use python-kucoin and it fails with the most basic of examples - i.e., the one listed in the "Quickstart" section of the readme :-(
client.get_currencies() works fine (with my Kucoin sandbox credentials), but when calling client.get_markets(), it bombs:
Traceback (most recent call last):
File "kucoin-trader.py", line 15, in
markets = client.get_markets()
File "/home/oliver/.local/lib/python3.8/site-packages/kucoin/client.py", line 1586, in get_markets
return self._get('markets', False)
File "/home/oliver/.local/lib/python3.8/site-packages/kucoin/client.py", line 187, in _get
return self._request('get', path, signed, **kwargs)
File "/home/oliver/.local/lib/python3.8/site-packages/kucoin/client.py", line 158, in _request
return self._handle_response(response)
File "/home/oliver/.local/lib/python3.8/site-packages/kucoin/client.py", line 168, in _handle_response
raise KucoinAPIException(response)
kucoin.exceptions.KucoinAPIException: KucoinAPIException 404: not exist
I'm sure this is something obvious, read through the source code, checked the Kucoin API doc. Seems good to me. What's wrong here? Thank you!!
Hi,
I don't usually use Python so please bear with me. I'm trying to use python-kucoin and it fails with the most basic of examples - i.e., the one listed in the "Quickstart" section of the readme :-(
client.get_currencies() works fine (with my Kucoin sandbox credentials), but when calling client.get_markets(), it bombs:
Traceback (most recent call last): File "kucoin-trader.py", line 15, in
markets = client.get_markets()
File "/home/oliver/.local/lib/python3.8/site-packages/kucoin/client.py", line 1586, in get_markets
return self._get('markets', False)
File "/home/oliver/.local/lib/python3.8/site-packages/kucoin/client.py", line 187, in _get
return self._request('get', path, signed, **kwargs)
File "/home/oliver/.local/lib/python3.8/site-packages/kucoin/client.py", line 158, in _request
return self._handle_response(response)
File "/home/oliver/.local/lib/python3.8/site-packages/kucoin/client.py", line 168, in _handle_response
raise KucoinAPIException(response)
kucoin.exceptions.KucoinAPIException: KucoinAPIException 404: not exist
I'm sure this is something obvious, read through the source code, checked the Kucoin API doc. Seems good to me. What's wrong here? Thank you!!