mirror of
https://github.com/KhizarImran/backtestingfx.git
synced 2026-07-28 04:27:44 +00:00
18 lines
349 B
Rust
18 lines
349 B
Rust
pub mod broker;
|
|
pub mod data;
|
|
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>()?;
|
|
m.add_class::<stats::Stats>()?;
|
|
m.add_class::<broker::Broker>()?;
|
|
m.add_class::<engine::Engine>()?;
|
|
Ok(())
|
|
}
|