Skip to main content

refix-fix42

Typed FIX 4.2 messages for ReFIX, generated from QuickFIX's FIX42.xml.

>>> from refix import Tokenizer
>>> from refix_fix42 import from_raw
>>> frame = (
...     "8=FIX.4.2|9=123|35=D|49=SENDER|56=TARGET|34=1|52=20261008-09:30:00|"
...     "11=ORDER-1|21=1|55=ACME|54=1|60=20261008-09:30:00|40=2|44=101.25|38=100|10=142|"
... )
>>> order = from_raw(Tokenizer().tokenize(frame.replace("|", "\x01").encode()))
>>> type(order).__name__
'NewOrderSingle'
>>> order.header.sender_comp_id
'SENDER'
>>> order.header.msg_seq_num
1
>>> order.cl_ord_id
'ORDER-1'
>>> order.handl_inst
<HandlInst.AUTOMATED_EXECUTION_NO_INTERVENTION: '1'>
>>> order.side
<Side.BUY: '1'>
>>> order.ord_type
<OrdType.LIMIT: '2'>
>>> order.price
Decimal('101.25')
>>> order.transact_time
datetime.datetime(2026, 10, 8, 9, 30, tzinfo=datetime.timezone.utc)
>>> order.transact_time_ns
1791451800000000000

from_raw reads each message as the class its MsgType names, and returns any other unchanged.

License

Licensed under either of

at your option.

The code is generated from QuickFIX's FIX42.xml, under the QuickFIX Software License (LICENSE-QUICKFIX). This product includes software developed by quickfixengine.org (http://www.quickfixengine.org/).

Metadata

Release files for refix-fix42 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for refix-fix42 0.4.1
File Interpreter ABI Platform Actions
refix_fix42-0.4.1-py3-none-any.whl Python 3 none any Details for refix_fix42-0.4.1-py3-none-any.whl

Release files / refix_fix42-0.4.1-py3-none-any.whl

Download URL refix_fix42-0.4.1-py3-none-any.whl
Size 61.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
224b8c7228a63e7a2782639556afcf4621a1d5a5338b7cb30911bef06e3bef57
BLAKE2b-256 checksum
How to use checksums
69e8a39c93e5e8c2169edf3e656117e37437c3bcb9fd8c20270cc609dd04f29e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

Security for refix-fix42 0.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for refix_fix42-0.4.1-py3-none-any.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page