chapaty 1.3.0

An event-driven Rust engine for building and evaluating quantitative trading agents. Features a Gym-style API for algorithmic backtesting and reinforcement learning.
Documentation
/// The current version of the chapaty crate
pub const VERSION: &str = env!("CARGO_PKG_VERSION");

#[macro_use]
mod macros;

// === Public Modules (The Canonical Paths) ===
pub mod data;
pub mod error;
pub mod gym;
pub mod indicator;
pub mod report;

// === Private Implementation Details ===
mod generated;
mod io;
mod math;
mod sim;
mod transport;

// === Facades (Re-exporting internals) ===
// Expose specific IO items without making the whole module public
pub use crate::io::{SerdeFormat, StorageLocation};
// Expose specific Transport items
pub use crate::transport::source::{
    ApiKey, DataSource, EndpointUrl, HostedApi, SelfHostedApi, SourceGroup,
};

// === Convenience ===
pub mod prelude;
pub mod ring_buffer;
pub mod sorted_vec_map;
pub use crate::{
    gym::trading::factory::{load, make},
    indicator::streaming::StreamingIndicator,
};