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 53 forks source link

"minepool" type is incorrectly returned as "spot" type #90

Closed wecando168 closed 2 years ago

wecando168 commented 2 years ago

When using this method to return Account, the AccountID of "minepool" type returned by Huobi's official API was incorrectly returned as "spot" type, resulting in two "spot" type accounts under one UID https://github.com/JKorf/Huobi.Net/blob/284f4c0f899bd36410067389f95e7e83db403955/Huobi.Net/Clients/SpotApi/HuobiClientSpotApiAccount.cs#L71

JKorf commented 2 years ago

I added some missing account types, so this issue should be fixed in the latest version