FIX Antenna Rust
- 1.1 FIX Antenna Rust - Getting Started
- 1.1.1 Before you start
- 1.1.2 Install Rust (stable)
- 1.1.3 Add your license file
- 1.1.4 Quick start: run the EchoServer example
- 1.1.5 What you should see
- 1.1.6 Logs
- 1.1.7 Run the benchmark variant (optional)
- 1.1.8 Build and open the API documentation
- 1.1.9 Run tests (optional)
- 1.1.10 Build output
- 1.1.11 Next step: write your own application
- 1.1 FIX Antenna Rust - Getting Started
- 2 FIX Antenna Rust Programmer's Guide
- 3 FIX Antenna Rust Benchmarks
FIX Antenna Rust - Getting Started
This guide helps you install and run the FIX Antenna Rust API package, generate local docs, and launch the included examples.
Alpha note: This is an early release. Expect changes between versions.
Before you start
Install Rust (stable)
You need a Rust toolchain to build the crate and run examples.
Ubuntu:
sudo apt install rustup
rustup default stable(If you’re on Windows/macOS, install Rust via rustup and select stable.)
Add your license file
Place a valid FIX Antenna license file named:
engine.license
into the package root directory (the top-level folder you extracted).
Quick start: run the EchoServer example
The simplest way to verify everything works is to run the included EchoServer (a FIX acceptor).
cargo run --release --example echoserverOptional: run with an explicit properties file:
cargo run --release --example echoserver -- /path/to/engine_echoserver.propertiesWhat you should see
The server starts listening (default: port 9105 in the example configuration)
You’ll see an interactive menu like:
Choose command:
1 - show EchoServer's statistics
2 - close all active sessions
3 - stop EchoServerLogs
Logs are created automatically under:
examples/echoserver/logs/
Run the benchmark variant (optional)
A minimal EchoServer variant intended for performance testing:
cargo run --release --example echoserver_benchmarkWith a custom properties file:
cargo run --release --example echoserver_benchmark -- /path/to/engine_benchmark.propertiesBuild and open the API documentation
If you prefer generating docs locally from the source:
cargo doc --release --no-deps --openDocs location:
target/doc/fixantenna/index.html
Run tests (optional)
If you want to validate your setup via unit tests:
cargo test --release -- --test-threads=1(Tests run single-threaded because some share a session to reduce startup/licensing overhead.)
Build output
When you build or run examples with --release, Cargo will produce artifacts under:
target/
You typically don’t need to interact with these directly—cargo run and cargo test handle it.
Next step: write your own application
To build your own FIX application, you’ll implement the FixApplication trait (message processing + session events), and register it for a session.
A complete working pattern is in:
examples/echoserver/echoserver.rs
FIX Antenna Rust Programmer's Guide
FIX Antenna Rust Benchmarks
https://b2bits.atlassian.net/wiki/spaces/B2BITS/pages/694386689