JKorf / Binance.Net

A C# .netstandard client library for the Binance REST and Websocket Spot and Futures API focusing on clear usage and models
https://jkorf.github.io/Binance.Net/
MIT License
1.04k stars 427 forks source link

GetLendingAccountAsync Deprecated #1341

Open Giampli opened 8 months ago

Giampli commented 8 months ago

Describe the bug Trying to get from GeneralApi.Savings.GetLendingAccountAsync() it get back an error saying that it has been deprecated

To Reproduce Simply call the GeneralApi.Savings.GetLendingAccountAsync()

Expected behavior To get position from Binance Earn

Debug logging System.Exception: This endpoint has been deprecated, please remove as soon as possible. at Importer.BinanceImport.GetLendingPositions() in path_to_invocation_class:line 54 at Importer.Worker.b__5_2() in path_to_invocation_class:line 56

JozefGula commented 7 months ago

@JKorf I know you certainly have a lot, but would it be possible to look at it?

I have the same problem when calling "GetFlexibleProductPositionAsync"

JKorf commented 7 months ago

Yeah I'll have a look soon, Finishing up some other things

JKorf commented 7 months ago

I've added the SimpleEarn endpoints under the GeneralApi in the latest version, more missing endpoints will following in coming weeks.