alpaca_fix/lib.rs
1//! # alpaca-fix
2//!
3//! FIX (Financial Information eXchange) protocol client for the Alpaca trading platform.
4//!
5//! This crate provides a FIX protocol implementation for high-frequency trading
6//! applications with Alpaca. It supports FIX 4.2 and 4.4 versions.
7//!
8//! ## Features
9//!
10//! - FIX session management with heartbeat and sequence numbers
11//! - Order routing (New Order Single, Cancel, Cancel/Replace)
12//! - Execution reports
13//! - Market data requests and snapshots
14//! - Session recovery
15//!
16//! ## Example
17//!
18//! ```rust,ignore
19//! use alpaca_fix::{FixClient, FixConfig, FixVersion};
20//!
21//! let config = FixConfig::builder()
22//! .version(FixVersion::Fix44)
23//! .sender_comp_id("YOUR_SENDER_ID")
24//! .target_comp_id("ALPACA")
25//! .build();
26//!
27//! let client = FixClient::new(credentials, config);
28//! ```
29
30pub mod client;
31pub mod codec;
32pub mod config;
33pub mod error;
34pub mod messages;
35pub mod session;
36pub mod transport;
37
38pub use client::FixClient;
39pub use config::{FixConfig, FixVersion};
40pub use error::FixError;
41pub use messages::*;
42pub use transport::FixTransport;