quickfix-python-samples
quickfix-python-samples copied to clipboard
Implement Initiator and acceptor by quickfix in python
QuickFIX Python Samples
- Established connection by FIX protocol
- Author: Rin Le <rinle.it [a] gmail.com>.
- Details: Configuration for quickfix
Requirements
- Python 3.x
- QuickFIX Engine 1.15.1
Installing Requirements
pip install -r requirements.txt
Run Project
With Docker
Please edit file initiator/client.cfg: Tag SocketConnectHost=acceptor
cd ./docker
docker-compose up --build
Without Docker
Please edit file initiator/client.cfg: Tag SocketConnectHost=127.0.0.1
You must launch the server side first, then launch the client side for the quickfix to establish a standard FIX protocol connection.
Run Server
cd ./acceptor
python server.py server.cfg
Run Client
cd ./initiator
python client.py client.cfg