AsyncFIX - AsyncIO FIX Protocol Python Framework
AsyncIO FIX protocol library for Python
Highlights
- Pythonic way of dealing with FIX messages
- Schema validation
- Tools for unit testing client apps
- NewOrderSingle container / state management support
- Session management included (FIX journaling, session restoring, heartbeats, resets)
- FIX Tester - tool for FIX unit testing (schema validation, order management, protocol message exchange)
- FIX 4.4 protocol implemented
- 100% unit test code coverage
Installation
pip install asyncfix
Requires Python 3.11+; tested on 3.11 through 3.15.
Development
Install the package with development tools, then run the checks:
pip install -e ".[dev]"
pre-commit install
make tests # pytest
make lint # ruff check
make fmt # ruff format
make typecheck # mypy
make complexity # mccabe, advisory
make docs # regenerate API reference and deploy
Getting started
Credits
This project initially intended to be a fork of AIOPyFIX, but things went too deep and too far. Hopefully, this project could help. Please, star this repo if you are going to use this project.
License
MIT 2023-2026 Alex Veden