Expose open order state to strategy runtime

This commit is contained in:
boris
2026-04-23 04:52:43 -07:00
parent 9fca6e0011
commit 4fdcfdae7d
8 changed files with 311 additions and 9 deletions

View File

@@ -123,6 +123,7 @@ fn main() -> Result<(), Box<dyn Error>> {
decision_index: 1,
data: &data,
portfolio: &PortfolioState::new(10_000_000.0),
open_orders: &[],
})?;
eprintln!("DEBUG notes={:?}", decision.notes);
eprintln!("DEBUG diagnostics={:?}", decision.diagnostics);