Author: Rin Le (<rinle.it [a] gmail.com>)
Reference: QuickFIX Configuration Guide
- Python 3.x
- QuickFIX Engine 1.15.1
Install the required dependencies:
pip install -r requirements.txt
-
Create a .env file in the same directory as the docker-compose.yml file, for example:
APP_PORT=3000 WORKING_DIR=/app
-
Build and run with Docker Compose:
docker-compose up --build
-
If you want to provide input directly from the keyboard (interactive mode), use docker exec to open a shell inside the running container. For example:
docker exec -it <container_name> bash
Replace <container_name> with the actual name or ID of your running container.
This is required for QuickFIX to establish a valid FIX protocol connection.
Make sure to edit client.cfg
and server.cfg
beforehand.
Create Sessions folder for both initiator and acceptor
rm -fr ./Sessions && mkdir -p ./Sessions && chmod 755 ./Sessions
cd ./acceptor
python server.py server.cfg
cd ./initiator
python client.py client.cfg
✅ You are now ready to test the FIX connection between the Client and Server.