HuobiRDCenter / huobi_Python

Python SDK for Huobi Spot API
https://huobiapi.github.io/docs/spot/v1/en
Apache License 2.0
682 stars 333 forks source link

[Executing] order-source-invalid: invalid order source `spot-api` #95

Closed biaohanli closed 3 years ago

biaohanli commented 3 years ago

下单的代码是 trade_client.create_order(symbol='btcusdt', account_id=account_id, order_type=OrderType.BUY_LIMIT, source='spot-api', amount=0.0001, price=1.29) order source换成spot-api或者api都不行 错如上错误

JxiaoC commented 2 years ago

我也遇到了..不知道咋回事儿

JxiaoC commented 2 years ago

我也遇到了..不知道咋回事儿

哦, 用错了账号id, 应该用Account Type : spot这个账号