- Dark Green - Liquidation point for Longs
- Light Green - Bankruptcy point for Longs
- Dark Red - Liquidation point for Shorts
- Light Red - Bankruptcy point for Shorts
As BitMex do not publish the exact calculations for liquidation, this should be used as an approximation only as the results are slightly offset to what the official calculator provides. This issue is not unique to this script and if you cross-check all the other online calculators with the official one, you will find the same issue.
Coffee/Pizza fund ☕/🍕(BTC): bc1qj6h7cdkfu6ywmftxxgp2w5y56mzy2f4fjutxcd