Fixie
Fixie is a Python FIX parsing library and collection of end-user tools for working with FIX data.
Tools
Standalone executable tools are located in the Fixie.Tools module.
FixToJson.py
Converts FIX to JSON, line by line. Accepts input from stdin, or a single file
argument (which may be a gzip archive with a file name ending in .gz).
GenerateTagMappings.py
Used to generate new content for Fixie/Tags.py based on a CSV file (run
infrequently).
ViewFix.py
Pretty prints a set of line-delimited FIX messages, e.g. from a log file (which may be a gzip archive). For easier human consumption, enumerations display an explanation after their value, and the length of the raw FIX message is limited.
> Fixie/Tools/ViewFix.py data/secdef-test.dat
0: 1128=9|9=667|35=d|49=CME|34=1263|52=20140615160300389|15=USD|22=8|48=24922|55=ZS|107=ZS:CF Q4U4X4F5|...
BodyLength [ 9] = 667
CheckSum [ 10] = 166 (calculated checksum = 166)
Currency [ 15] = USD
IDSource [ 22] = 8
MsgSeqNum [ 34] = 1263
MsgType [ 35] = d [Security Definition]
SecurityID [ 48] = 24922
...
Commonly used with less:
> Fixie/Tools/ViewFix.py data/secdef-test.dat | less
Or, with color:
> Fixie/Tools/ViewFix.py -c data/secdef-test.dat | less -R
Development
Unit Tests
Unit tests can be run with the following command:
> python3 -m unittest discover
..........
----------------------------------------------------------------------
Ran 10 tests in 0.005s
OK
Metadata
Release files for PyFixie 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PyFixie-0.0.3.tar.gz | 21.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PyFixie-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.9 kB
Release files / PyFixie-0.0.3.tar.gz
| Download URL | PyFixie-0.0.3.tar.gz |
|---|---|
| Size | 21.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eeeeb9fb6ed88b62dd668bd419bc7a23a15d54986cc0d9953085e7a84883891b
|
|
BLAKE2b-256 checksum How to use checksums |
47da3f73347d200375cb95d3dc2d41b3950873d4a95532eab7d97bff12ce4b4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.3
|
Release files / PyFixie-0.0.3-py3-none-any.whl
| Download URL | PyFixie-0.0.3-py3-none-any.whl |
|---|---|
| Size | 29.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e4500bca13253abdad1ee0df2096e854508a854d9184f0b6c2baa496511420ce
|
|
BLAKE2b-256 checksum How to use checksums |
481e56333e9d211597e4bbb637c35b78671e3d5150caa9f96ad6c69d249713a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.3
|