-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change liquidations API #499
Comments
Example code: #!/usr/bin/env python3
import websocket
def on_message(ws, msg):
print(msg)
def on_close():
print("closed")
socket = "wss://fstream.binance.com/ws/!forceOrder@arr"
ws = websocket.WebSocketApp(socket, on_message=on_message, on_close=on_close)
ws.run_forever() |
disabled from config for now |
Preferably we use a method for getting all the data at once instead of a websocket |
Could maybe scrape: https://coinalyze.net/bitcoin/liquidations/ but seems hard |
Could use https://github.com/aoki-h-jp/binance-bulk-downloader for historical liquidation data of daily bitcoin only and make it a separate repo |
Or can download it from: https://data.binance.vision/?prefix=data/futures/cm/daily/liquidationSnapshot/BTCUSD_PERP/ |
There seems to be something wrong with the liquidation data of BTCUSD_PERP... |
Implemented in https://github.com/StephanAkkerman/liquidations-chart |
Coinglass removed their free API 馃憥
Now we will use Binance instead, because we are not paying 馃捀
The text was updated successfully, but these errors were encountered: