altangent / ccxws

WebSocket client for 38 cryptocurrency exchanges
MIT License
619 stars 187 forks source link

Monitoring liquidations on exchanges #231

Closed RohanKapurDEV closed 3 years ago

RohanKapurDEV commented 3 years ago

How do I use this lib to monitor for liquidations on exchanges like BitMex, FTX, and Binance?

I know that when subscribing to trades on FTX markets using this lib, the Trade object always has a liquidation parameter that's a boolean and I'm going to assume that when that's true, the trade was a liquidation? However, I don't see this parameter with Binance or Bitmex. How would I go about watching liquidations on those exchanges?

Any help or direction would be super helpful! Sorry if that's not descriptive enough, I can further elaborate what I mean if need be. Thank you for reading this and making this library 🎉

RohanKapurDEV commented 3 years ago

I have found a way around the limitations of this library in it's current state: using the exchange websockets APIs directly. Closing issue for now.