huobi_Python icon indicating copy to clipboard operation
huobi_Python copied to clipboard

Python SDK for Huobi Spot API

Results 69 huobi_Python issues
Sort by recently updated
recently updated
newest added

Hello. I try place this order: order.isolated_order({'contract_code':'BTC-USDT','direction':'buy','pair':'BTC-USDT','volume':1,'contract_type':'swap','lever_rate':1,'order_price_type':'limit','price':10000,'offset':'open'}) and receiving: {'status': 'error', 'err_code': 1047, 'err_msg': 'Insufficient margin available.', 'ts': 1657916879553} so. 1 BTC is too large of course for my balance....

https://huobiapi.github.io/docs/spot/v1/en/#search-match-results further more size has increased range [1-500].

Hello i'm trying to do a simple GenericClient call and it returns this error : "JSONDecoder.__init__() got an unexpected keyword argument 'encoding'" . Why that ? how can i solve...

json.loads removed arg encoding since python 3.9, see 'https://docs.python.org/3.9/library/json.html#json.loads'

`Traceback (most recent call last): File "E:\WorkSpace\python-workspace\CoinwRobot\venv\lib\site-packages\apscheduler\schedulers\base.py", line 150, in start self.add_executor(self._create_default_executor(), 'default') File "E:\WorkSpace\python-workspace\CoinwRobot\venv\lib\site-packages\apscheduler\schedulers\base.py", line 762, in _create_default_executor return ThreadPoolExecutor() File "E:\WorkSpace\python-workspace\CoinwRobot\venv\lib\site-packages\apscheduler\executors\pool.py", line 53, in __init__ pool = concurrent.futures.ThreadPoolExecutor(int(max_workers),...

list_obj = market_client.get_history_trade("btcusdt", 6)

如题,在包里没有这个函数 i haven't find the method of "get_position"

Hi, i'm trying to withdraw from huobi but i'm having this error: huobi {"status":"error","err-code":"api-not-support-temp-addr","err-msg":"API withdrawal does not support temporary addresses","data":null} Is there a solution for supporting temporary addresses?

Hello Can you please help how I can get history of orders for one month or longer ? Because in Best Practises it says 48 hours. Very often that not...