Closed mahdiciven closed 3 months ago
Following is my whole code: from kucoin.client import Market client = Market(url='https://api.kucoin.com')
from kucoin.client import Market
client = Market(url='https://api.kucoin.com')
klines = client.get_kline('BTC-USDT','1min') print(klines)
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'
@mahdiciven apparently the class is MarketData
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.
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'