Kucoin / kucoin-futures-python-sdk

MIT License
8 stars 4 forks source link

cannot import name 'KumexBaseRestApi' #4

Closed garagesteve1155 closed 3 years ago

garagesteve1155 commented 3 years ago

Installed using pip, then ran this code:

from kucoin_futures.client import Market client = Market(url='https://api-futures.kucoin.io') klines = client.get_ticker("XBTUSDM") print(klines)

Then encountered this error:

Traceback (most recent call last): File "futures.py", line 1, in from kucoin_futures.client import Market File "/usr/local/lib/python3.6/dist-packages/kucoin_futures/client.py", line 4, in from kucoin_futures.ws_token.token import GetToken File "/usr/local/lib/python3.6/dist-packages/kucoin_futures/ws_token/token.py", line 1, in from kucoin_futures.base_request.base_request import KumexBaseRestApi ImportError: cannot import name 'KumexBaseRestApi'

garagesteve1155 commented 3 years ago

problem was in token.py

edithkucoin commented 3 years ago

hello,please try again. I found the issue is fixed.