nautilus_architect_ax/lib.rs
1// -------------------------------------------------------------------------------------------------
2// Copyright (C) 2015-2026 Nautech Systems Pty Ltd. All rights reserved.
3// https://nautechsystems.io
4//
5// Licensed under the GNU Lesser General Public License Version 3.0 (the "License");
6// You may not use this file except in compliance with the License.
7// You may obtain a copy of the License at https://www.gnu.org/licenses/lgpl-3.0.en.html
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14// -------------------------------------------------------------------------------------------------
15
16//! [NautilusTrader](https://nautilustrader.io) adapter for Ax's [AX Exchange](https://architect.exchange).
17//!
18//! [AX Exchange](https://architect.exchange) is the world's first centralized and regulated
19//! exchange for perpetual futures on traditional underlying asset classes (FX, rates, metals,
20//! energy, stock indexes). Designed for institutional and professional traders, it combines
21//! innovations from digital asset perpetual exchanges with the safety and risk management of
22//! traditional futures exchanges. Licensed under the [Bermuda Monetary Authority (BMA)](https://www.bma.bm/).
23//!
24//! The `nautilus-architect-ax` crate provides client bindings (HTTP & WebSocket), data models, and
25//! helper utilities that wrap the official AX Exchange API.
26//!
27//! # NautilusTrader
28//!
29//! [NautilusTrader](https://nautilustrader.io) is an open-source, production-grade, Rust-native
30//! engine for multi-asset, multi-venue trading systems.
31//!
32//! The system spans research, deterministic simulation, and live execution within a single
33//! event-driven architecture, providing research-to-live semantic parity.
34//!
35//! # Feature flags
36//!
37//! This crate provides feature flags to control source code inclusion during compilation:
38//!
39//! - `python`: Enables Python bindings via [PyO3](https://pyo3.rs).
40//! - `extension-module`: Builds as a Python extension module (used together with `python`).
41//!
42//! # Documentation
43//!
44//! - API reference: <https://docs.architect.exchange/api-reference/>
45//! - Crate docs: <https://docs.rs/nautilus-architect-ax>
46
47#![warn(rustc::all)]
48#![deny(unsafe_code)]
49#![deny(nonstandard_style)]
50#![deny(missing_debug_implementations)]
51#![deny(clippy::missing_errors_doc)]
52#![deny(clippy::missing_panics_doc)]
53#![deny(rustdoc::broken_intra_doc_links)]
54
55pub mod common;
56pub mod config;
57pub mod data;
58pub mod execution;
59pub mod factories;
60pub mod http;
61pub mod websocket;
62
63#[cfg(feature = "python")]
64pub mod python;