Skip to content

API Reference

Complete technical documentation for all FLOX components.

Component Categories

Category Description
Engine Core orchestration and lifecycle management
Book Order book structures and market data
Execution Order management and execution
Replay Data recording and playback
Backtest Backtesting and optimization
Util Utilities, memory pools, event buses
Connector Exchange connectivity
Strategy Strategy interfaces
Risk Risk management
Aggregator Bar aggregation, footprint, volume and market profiles
Position Position tracking and reconciliation
CEX Multi-exchange primitives: composite book, order router, split orders
C API The C FFI surface every binding calls into
Metrics PnL and execution trackers
Log Logging
Net HTTP and WebSocket transports
KillSwitch Kill-switch interface
Validation Order validation interface
Sink Storage sink interface
Common Shared enums, identifiers and fixed-point types

Core

Market Data

Execution

Utilities

Replay

Backtest

Header Organization

include/flox/ has 27 subdirectories plus common.h. The ones with reference pages here:

include/flox/
├── aggregator/     # Bar aggregation, footprint, volume/market profiles
├── backtest/       # Backtesting and optimization
├── book/           # Order book, trades, events
├── capi/           # C FFI surface
├── connector/      # Exchange connectivity
├── engine/         # Core engine components
├── exchange/       # Exchange metadata
├── execution/      # Order execution, order router, split orders
├── killswitch/     # Kill-switch interface
├── log/            # Logging
├── metrics/        # Metrics collection
├── net/            # HTTP / WebSocket transports
├── position/       # Position tracking and reconciliation
├── replay/         # Recording and playback
├── risk/           # Risk management
├── sink/           # Storage sinks
├── strategy/       # Strategy interfaces, signals, symbol context
├── util/           # Utilities
├── validation/     # Order validation
└── common.h        # Shared enums, ids, fixed-point types

The remaining directories — error/, feed/, indicator/, pricing/, report/, run/, stats/, target/, testing/ — have no page under docs/reference/api/ yet; read the headers directly.

Two documentation directories do not map one-to-one onto a header directory: cex/ collects the multi-exchange primitives that live under execution/, position/ and exchange/, and aggregator/custom/ headers are documented under aggregator/.

See Also