core: fully restructured code to support pyo3

This commit is contained in:
KhizarImran
2026-06-14 02:13:28 +01:00
parent 322ff54d63
commit b0559ecf79
4 changed files with 174 additions and 120 deletions
+2
View File
@@ -11,5 +11,7 @@ use pyo3::prelude::*;
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(())
}