Skip to content

aoki-h-jp/binance-liquidation-feeder

Repository files navigation

Python 3.11 Github All Releases

binance-liquidation-feeder

Notify liquidation on Binance.

Installation

pip install git+https://github.com/aoki-h-jp/binance-liquidation-feeder

How to use

from binance_liquidation_feeder import BinanceLiquidationFeeder

liq = BinanceLiquidationFeeder()
liq.ws.run_forever()

Notify to Discord or Slack

from binance_liquidation_feeder import BinanceLiquidationFeeder

liq = BinanceLiquidationFeeder(discord_webhook_url="https://discord.com/api/webhooks/...", slack_webhook_url="https://hooks.slack.com/services/...")
liq.ws.run_forever()

Sample

Discord sample Slack sample