A very basic FIX (Financial Information eXchange) Protocol client to collect performance stats.
To use this as it is you will need to be a customer of LMAX Exchange. If you wish to use this against another FIX engine then you can modify the messages to suit that platform.
Quickfix XML spec files ara available at http://www.quickfixengine.org/
pip install git+https://github.com/lmax-exchange/txfixclient.git#egg=txfixclient
twistd -n \ txfixclient \ --hostname fix-marketdata.london-demo.lmax.com \ --port 443 \ --spec ./specs/FIX44.xml \ --target_comp_id <targetcompid> \ --sender_comp_id <sendercompid> \ --password <password> \ --heartbeat_int 30 \ --instrument_id 4001 \ --market_depth 1 \ --statsdir ./stats \ --metrics_interval 60
Written using the Twisted framework for async networking in Python.
Stats recorded by HdrHistogram_py