My implementation of the seminal work by Avellaneda-Stoikov (2008)
Several References that helped me along the way
pip install -r requirements.txt
python avellaneda_stoikov_model.py
Some of the paper assumptions are:
- Volatility is constant
- Order book statistical nature is constant
Depending on the markets, for example crypto, the assumptions might not hold. Hummingbot seems to have made some extensions to these assumptions and more, might be worth checking out