BitMEX Liquidation Python Wrapper
Project description
BitMEX Liquidation
Minimal code to show how to receive the liquidations in realtime on Bitmex. It does work and does not hang randomly.
Installation
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
Run
python liquidate.py # All instruments.
python liquidate.py XBTUSD # Only XBTUSD.
Useful links: https://app.rek.to/
Messages
This message corresponds to the first line of the banner:
{
"table":"liquidation",
"action":"insert",
"data":[
{
"orderID":"8b4a95db-815a-f93a-c9a2-ffbbabeddbac",
"symbol":"TRXZ19",
"side":"Buy",
"price":2.17e-06,
"leavesQty":5000
}
]
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bitmex-liquidation-1.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for bitmex_liquidation-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efb56a55e8c9a95a78400af085d2b3f8a8618a5adf53594288699042b57994e0 |
|
MD5 | 618d7d130f2902e12437bc23a8c1fb80 |
|
BLAKE2b-256 | df9b645b5b8dbbae15a17d482954e405591599be36d12a1d5070302ef84eb7c3 |