Closed Ability42 closed 4 years ago
huobi_client = RequestClient(api_key=CFG_HUOBI['api_key'], secret_key=CFG_HUOBI['api_secret'])
try: order_id = huobi_client.create_order(trade_pair.lower(), OrderType.BUY_LIMIT, 0.0000000100, 1000) except HuobiApiException as e: print(e.error_code) print(e.error_message)
This thing runs infinitely. Can provide some example where it runs well?
Seems I was aI was debugged it through PyCharm and see that I was named parameter labels wrong in RequestClient initialization.
RequestClient
All works fine🎈
huobi_client = RequestClient(api_key=CFG_HUOBI['api_key'], secret_key=CFG_HUOBI['api_secret'])
This thing runs infinitely. Can provide some example where it runs well?