From ee2bf1024ea546b9f5214f47fc14ccf2bd87c348 Mon Sep 17 00:00:00 2001 From: David Dight Date: Wed, 23 Mar 2022 09:40:19 +1100 Subject: [PATCH] Update README.md --- README.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 9d4c935..137b149 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ 3. [Before you build](#before-you-build) 4. [To build](#to-build) 5. [To setup your run environment](#to-setup-your-run-environment) -6. [To run](#to-run) -7. [CLI options](#cli-options) +6. [CLI options](#cli-options) +7. [To run](#to-run) 8. [Sample output](#sample-output) 1. [Server](#server) 1. [Client](#client) @@ -44,7 +44,7 @@ cd fix8pro_example You will need the following to build this example: 1. A supported C++17 compiler and build environment 1. A Fix8Pro license from Fix8MT (or an evaluation license) -1. An installed Fix8Pro binary package +1. An installed Fix8Pro binary package, minimum version **22.03** ## To build For example assuming you have installed Fix8Pro to `/opt/fix8pro` and your license file is also in `/opt/fix8pro`: @@ -68,19 +68,6 @@ For example, if your license file is in `/opt/fix8pro`: export FIX8PRO_LICENSE_FILE=/opt/fix8pro/mylic.xml ``` -## To run -This example has been designed to run as two instances - a client and a server. For simplicity we'll run the test from the `./build` directory. -In one terminal we'll run our server: -```bash -./simpleclisrv -c ../config/simple_server.xml -s -``` -In our other terminal we'll run our client: -```bash -./simpleclisrv -c ../config/simple_client.xml -``` -- When connected, the client will send a `NewOrderSingle` every 5 seconds. The server will simulate an order accept and trade, sending back an acknowledgment followed by a random number of fills (`ExecutionReport`s). -- From the client, press `l` to logout and shutdown, `q` to shutdown and `x` to just exit - ## CLI options
These options are defined in Application::options_setup(). Some of the options are added by Fix8ProApplication. @@ -157,6 +144,19 @@ cli/srv pair with supplied hash pw, random generation interval (~1s), base threa

+## To run +This example has been designed to run as two instances - a client and a server. For simplicity we'll run the test from the `./build` directory. +In one terminal we'll run our server: +```bash +./simpleclisrv -c ../config/simple_server.xml -s +``` +In our other terminal we'll run our client: +```bash +./simpleclisrv -c ../config/simple_client.xml +``` +- When connected, the client will send a `NewOrderSingle` every 5 seconds. The server will simulate an order accept and trade, sending back an acknowledgment followed by a random number of fills (`ExecutionReport`s). +- From the client, press `l` to logout and shutdown, `q` to shutdown and `x` to just exit + ## Sample output ### Server