ReFIX
ReFIX is a FIX protocol engine written in pure Rust with first-party bindings for Python.
[!WARNING] ReFIX is in early development. Currently, it supports reading TagValue FIX messages and code generation for typed messages. Message serialisation, the network and session layers are not implemented yet, and APIs change between 0.x releases.
Quick start
The Python bindings require Python 3.12 or later.
In Rust, cargo add refix refix-fix44; see refix-fix44. For FIX 4.2, use refix-fix42 in either language.
Why ReFIX?
ReFIX builds FIX building blocks with first-class support for both Rust and Python. See the longer blog post for the motivations. If you need a complete FIX 4.4 engine today, see HotFIX, which I built before ReFIX.
Reading a message from Python is 7 to 8 times faster than the QuickFIX bindings and 50 to 90 times faster than simplefix. See the benchmarks.
Near-term goals
Reading and typing messages works in both languages. Planned next:
- stock packages for more FIX versions
- building and serialising messages
- the session layer
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.