bitmex-backtest is a python library for backtest with bitmex fx trade rest api on Python 3.7 and above.