#trading #finance-trading #fix-protocol #fx

hotfix-status

Status endpoints and an optional web-based dashboard for the HotFIX engine

12 releases

Uses new Rust 2024

new 0.1.11 Nov 3, 2025
0.1.10 Oct 21, 2025
0.1.6 Sep 24, 2025

#553 in Finance

Download history 181/week @ 2025-09-03 192/week @ 2025-09-10 155/week @ 2025-09-17 259/week @ 2025-09-24 126/week @ 2025-10-01 397/week @ 2025-10-08 112/week @ 2025-10-15 71/week @ 2025-10-22

708 downloads per month

MIT license

465KB
5K SLoC

hotfix-status

Status APIs and UI for the HotFIX engine.

This crate is an add-on for the HotFIX engine to provide useful APIs about the FIX session state and health.

Optionally, it also provides a web-based UI to view and manage the session state.

Usage

hotfix-status build an axum router you can embed in your application in any way you like.

To build the router, just call build_router with the HotFIX session ref:

...

use hotfix_status::build_router;

...

async fn start_status_service(session_ref: SessionRef<Message>) {
    let status_router = build_router(session_ref);
    let host_and_port = std::env::var("HOST_AND_PORT").unwrap_or("0.0.0.0:9881".to_string());
    let listener = tokio::net::TcpListener::bind(&host_and_port).await.unwrap();

    info!("starting status service on http://{host_and_port}");
    axum::serve(listener, status_router).await.unwrap();
}

For a full example, check out the simple-new-order sample application.

Dependencies

~25–39MB
~602K SLoC