Skip to content

About

Free online FIX message parser, decoder and log analyzer for FIX 4.0 to 5.0 SP2, with a free log analysis API. Docs and examples.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

ZagTrader FIX Parser and Log Analyzer

Free online FIX message parser, decoder and log analyzer: fixparser.zagtrader.com

Paste FIX messages or open a FIX log and see every tag, value and message type, with BodyLength and CheckSum checks and sequence-gap detection. Load a whole log and get fill and reject rates, latency percentiles, ranked reject reasons and session health. Parsing runs in your browser; nothing you paste or open is uploaded.

Free, permanently, with no sign-up: ZagTrader's contribution to the trading community. This repository holds documentation and examples for the tool and its API; the tool itself is run by ZagTrader.

What it does

  • Parser: decodes FIX 4.0 to 4.4 and FIX 5.0 SP2 (FIXT.1.1) messages with SOH, pipe, caret, semicolon or space delimiters, names every tag and value, validates each message against the FIX dictionary and follows each order from new to fill. Reads QuickFIX engine logs and FIXML, and takes your venue's own data dictionary.
  • Log analyzer: message rate, order outcomes, execution reports, trading activity, order latency, reject analysis and session health, each with the exact computation from FIX tags.
  • Message builder: builds a valid message for any version and MsgType, with BodyLength and CheckSum calculated.
  • Compare: puts a client log and a broker log side by side.
  • Log analysis API: POST a log and get the statistics as JSON, HTML or text.

FIX reference

Page Contents
FIX tags Every FIX tag with its name, type, valid values, FIX versions and the message types that use it, for example 35 MsgType, 39 OrdStatus, 150 ExecType
FIX message types Every MsgType (tag 35) with its required and optional fields, for example New Order Single (35=D) and Execution Report (35=8)
FIX dictionary by version FIX 4.0, 4.1, 4.2, 4.3, 4.4, 5.0, 5.0 SP1 and 5.0 SP2, each with its message types in field order
Troubleshooting Session and order errors: MsgSeqNum too low, incorrect BodyLength, invalid CheckSum, required tag missing, order rejected and more
Guides How FIX sessions, orders and post-trade messages work
llms-full.txt Every message type and the most used tags in plain text

Log analysis API

POST https://fixparser.zagtrader.com/api/v1/analyze

Send a FIX log as plain text, gzip or a multipart file (.log, .gz or .zip). The log is processed in memory and not stored. Full documentation: fixparser.zagtrader.com/api-docs.

Query parameter Meaning
format json (default), html (a self-contained report file) or text (a plain-text summary)
clock Clock for latency: log (default, the log timestamp), 52 (SendingTime) or 60 (TransactTime)
tz IANA time zone for the times shown, for example Europe/London
anonymise 1 replaces CompIDs and free text with placeholders

Limits: 4.5 MB per request (gzip larger logs), 200 MB once decompressed, 60 requests a minute from one address.

# Plain-text summary of the sample log in this repository
curl --data-binary @examples/sample-fix.log -H "Content-Type: text/plain" \
  "https://fixparser.zagtrader.com/api/v1/analyze?format=text"

# Gzip a large log first
gzip -c fix.log | curl --data-binary @- -H "Content-Encoding: gzip" \
  "https://fixparser.zagtrader.com/api/v1/analyze"

# Self-contained HTML report
curl --data-binary @fix.log -H "Content-Type: text/plain" \
  "https://fixparser.zagtrader.com/api/v1/analyze?format=html" -o fix-report.html

More in examples:

  • sample-fix.log: a short FIX 4.4 session with made-up CompIDs and orders: logon, one order filled in two parts, one order rejected, logout
  • analyze.sh and analyze.py: send a log to the API and print the main figures
  • open-in-parser.js: open a log from your own web page in the parser, in the browser, with no upload

For the sample log the API reports 10 messages in one session, 2 orders, a 50% fill rate, a 50% reject rate (OrdRejReason 103=99) and 500 XYZ traded on XNAS.

Related

License

The example code in this repository is MIT licensed. The tool and its website are © ZagTrader.

About

Free online FIX message parser, decoder and log analyzer for FIX 4.0 to 5.0 SP2, with a free log analysis API. Docs and examples.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors