SkillAgentSearch skills...

Avellaneda Stoikov Implementation

An implementation of Avellaneda-Stoikov market making model after reading the seminal paper

Install / Use

npx skills add DYSIM/Avellaneda-Stoikov-Implementation

Installs into whichever agent you are using.

About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Implementation of Avellaneda-Stoikov market making model

My implementation of the seminal work by Avellaneda-Stoikov (2008)

Several References that helped me along the way

  1. Hummingbot technical deep dive
  2. Hummingbot guide
  3. fedecaccia's implementation

Instructions

pip install -r requirements.txt
python avellaneda_stoikov_model.py

Results

Symmetric Strategy

Symmetric

Inventory Strategy

Symmetric

Some notes

Some of the paper assumptions are:

  1. Volatility is constant
  2. 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

Related Skills

View on GitHub
GitHub Stars33
CategoryDevelopment
Updated5mo ago
Forks14

Languages

Python

Security Score

72/100

Audited on Feb 24, 2026

No findings