kucoin-python-sdk
kucoin-python-sdk copied to clipboard
the library asyncio in sample code don't work with python3.10+ so it need a little change
### Source ``` from kucoin.client import Trade api_key = 'xxxxxx' api_secret = 'xxxxxx' api_passphrase = 'xxxxxx' client = Trade(key=api_key, secret=api_secret, passphrase=api_passphrase, is_sandbox=False, url='https://api-futures.kucoin.com') order_id = client.create_limit_order('GMT-USDT', 'sell', '5', '1.01') print(order_id)...
Can you add a function similar to get_all_tickers in market.py but it allows us to choose a specific time range like 1 hour instead of 24 hours?
When I try executing the function get_aggregated_orderv3 I receive the following error Exception: 400-{"code":"400001","msg":"Please check the header of your request for KC-API-KEY, KC-API-SIGN, KC-API-TIMESTAMP, KC-API-PASSPHRASE"} Take into account that I...
import datetime import time t_start = datetime.datetime(2021, 1, 1) t_start = time.mktime(t_start.timetuple()) t_stop = datetime.datetime(2021, 2, 1) t_stop = time.mktime(t_start.timetuple()) data = marketclient.get_kline('REQ-BTC', '1min', startAt=t_start, endAt=t_stop) all returned data is...
Added a class to work with futures, I still have to add all the methods
  **as you see I take different time** **also when I use .KXBTUSDT I take wrong data**   **can you help me**
I am able to get a Rest-API snapshot of an orderbook. I built the logic to update the orderbook-snapshot from the Rest-API with updates from the Websocket-API. But I really...
Hi all, i think the inital example at websockets has to be changed for Python 3.10 or there should be at least a note, so: the following code is deprecated...