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

Error in Margin Call Event #1293

Closed hcanak closed 1 year ago

hcanak commented 1 year ago

Hello,

Firstly, i am using this great library for more than 1 year, it works excellent, I would like to thank everyone who contributed this library.

I want to share my problem. Today i received Margin Call event when risk ratio reaches %80. onMarginUpdate action is triggered as expected but the parameter of this received event was NULL (DataEventBinanceFuturesStreamMarginUpdate == null).

Can you check the related pieces of code? Thanks in advance.

JKorf commented 1 year ago

Hi,

I've identified the problem, will be fixed in the next version. Thanks for the report!

JKorf commented 1 year ago

Fixed in latest version