Kucoin / kucoin-python-sdk

MIT License
47 stars 17 forks source link

Import Error #101

Closed mahdiciven closed 3 months ago

mahdiciven commented 1 year ago

Following is my whole code: from kucoin.client import Market client = Market(url='https://api.kucoin.com')

klines = client.get_kline('BTC-USDT','1min') print(klines)

and it gives this error: ImportError: cannot import name 'Market' from 'kucoin.client'

apparently 'kucoin.client' doesn't have 'Market'

DavidEBrumbaugh commented 1 year ago

@mahdiciven apparently the class is MarketData

ISAAC-XXYYZZ commented 3 months ago

Please try updating to the latest version of the SDK and modify your code to try again. If you encounter any issues, feel free to provide feedback.