Skip to content
Simple FIX protocol console client
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


fixc is a simple Financial Information eXchange (FIX) protocol console client. fixc connects to remote host and sends out FIX messages it reads from local scenario file.

Apart from FIX messages several commands can be used in scenario file:

  • sleep <time> - waits for <time> before reading next line from scenario file.
  • expect <tag>=<val> - checks if next received message contains provided <tag>=<value>, exits if it's not.
  • $RANDOM - replaced with randomly generated number from 0 to 999.
  • exit

fixc logs all messages and commands it executes to stdout.

Log format

20130818-14:08:04.375 - sleeping for 2s
20130818-14:08:04.376 < 8=FIX.4.3|9=59|35=0|49=MySender|56=MyTarg...
^                     ^ ^
|                     | |
|                     | +--- FIX message or command
|                     +----- Direction (< - for out)
+--------------------------- Local timestamp (UTC)

Example scenario file

# logon
# wait for logon
expect 35=A
# subscribe for market data
sleep 1m

Just copy-paste your own messages with "|" as delimiter one per line. Don't worry about tags 8, 9, 10, 34, 49, 52, 56 - fixc replaces them for you.


$ ./fixc
Usage of fixc:
  -b=30s: HeartBeat
  -f="input.log": Input file
  -h="": Target host
  -p="": Target port
  -s="MySender": SenderCompID
  -t="MyTarget": TargetCompID
  -v="4.3": FIX protocol version
  -x=false: Use TLS



You can’t perform that action at this time.