Files
backtestingfx/src/lib.rs
T

18 lines
349 B
Rust
Raw Normal View History

pub mod broker;
pub mod data;
2026-06-14 01:21:15 +01:00
pub mod engine;
pub mod stats;
pub mod strategy;
pub mod types;
use pyo3::prelude::*;
#[pymodule]
fn backtestingfx(m: &Bound<'_, PyModule>) -> PyResult<()> {
m.add_class::<types::Bar>()?;
2026-06-14 01:29:20 +01:00
m.add_class::<stats::Stats>()?;
m.add_class::<broker::Broker>()?;
m.add_class::<engine::Engine>()?;
2026-06-14 01:21:15 +01:00
Ok(())
}