QuickFIX includes several example applications in the examples/ directory to demonstrate various FIX application patterns.
ordermatch is a C++ server application that implements a simple matching engine. It accepts limit orders and matches them when buy and sell orders cross. This example demonstrates:
tradeclient is a C++ console-based trading client that allows you to interactively send orders and view executions. This example demonstrates:
executor is a simple server that automatically fills every limit order it receives. This example is available in multiple languages to demonstrate language binding usage:
The executor example is particularly useful for testing trading clients and demonstrates basic order execution flow.
Example configuration files are provided in examples/cfg/. To run the examples:
-DQUICKFIX_EXAMPLES=ON for CMake)These examples serve as excellent templates for building your own FIX applications. They demonstrate: