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

Delete isolated account #868

Closed valvv closed 3 years ago

valvv commented 3 years ago

Hi, Binance made a new limitation last week. https://www.binance.com/en/support/announcement/3da6632fc02d49d0ac33f2ceb6607d15 Can you add DeleteIsolatedMarginAccount function, please DELETE /sapi/v1/margin/isolated/account

Jencek1 commented 3 years ago

It would be great to have EnableIsolatedMarginAccount that enables deleted account: POST /sapi/v1/margin/isolated/account

Also there is a flag "enabled" returned by the Binance webservice that is not available in result of GetIsolatedMarginAccountAsync. Is is useful to check if the account is enabled/deleted.

Thx.

JKorf commented 3 years ago

I added these in the latest version