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)
<class 'refix_fix42.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.1.0

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.1.0
File Interpreter ABI Platform Actions
refix_fix42-0.1.0-py3-none-any.whl Python 3 none any Details for refix_fix42-0.1.0-py3-none-any.whl

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

Download URL refix_fix42-0.1.0-py3-none-any.whl
Size 35.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63d155fcde380f64a6e5d959c5d8c729dc62485017895d05e372b43317590106
BLAKE2b-256 checksum
How to use checksums
9c90a12d0848b496155b9e1443f273c987283f5b3764b96469c50a1b18a993d9
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 17, 2026.

Transparency log

Security for refix-fix42 0.1.0

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.1.0-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 17, 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