Implementation of high-frequency trading backtesting tool that takes order's queue and latencies into account based on full tick data as described in http://www.math.ualberta.ca/~cfrei/PIMS/Almgren5.pdf
pip install hftbacktest
Please see https://github.com/nkaz001/collect-binancefutures regarding collecting and converting the feed data.
Please see example
directory.