mirror of
https://github.com/KhizarImran/backtestingfx.git
synced 2026-08-14 12:38:05 +00:00
adding python wrapping
This commit is contained in:
+12
-4
@@ -1,6 +1,14 @@
|
||||
pub mod types;
|
||||
pub mod strategy;
|
||||
pub mod broker;
|
||||
pub mod engine;
|
||||
pub mod data;
|
||||
pub mod stats;
|
||||
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>()?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user