JKorf / HTX.Net

A C# .netstandard client library for the Huobi REST and Websocket Spot and Swap API focusing on clear usage and models
https://jkorf.github.io/HTX.Net/
MIT License
73 stars 52 forks source link

Can't request open orders based on only the account ID may not be necessary #87

Closed wecando168 closed 2 years ago

wecando168 commented 2 years ago

https://github.com/JKorf/Huobi.Net/blob/c95c16f496733c4f92b46dd548743792201180be/Huobi.Net/Clients/SpotApi/HuobiClientSpotApiTrading.cs#L77 Query the official API document of Huobi. When the accountid is not empty but the symbol is empty, return the outstanding orders of all symbols under the current accountid. Neither accountid nor symbol is a required parameter. Confirm whether this function does not need this judgment

JKorf commented 2 years ago

You're right, I'll remove it in next version

JKorf commented 2 years ago

Fixed in latest version

wecando168 commented 2 years ago

thank you