- 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): 3JSYjwnrdUMccgfLBdncRa1BpbXcQnSH5r