diff --git a/services/trading_agent_service/src/service.rs b/services/trading_agent_service/src/service.rs index 9eb6852e5..f36c745d0 100644 --- a/services/trading_agent_service/src/service.rs +++ b/services/trading_agent_service/src/service.rs @@ -49,7 +49,7 @@ impl TradingAgentServiceImpl { &self, symbol: &str, limit: i32, - ) -> Result, Status> { + ) -> Result, Status> { let records = sqlx::query!( r#" SELECT open, close, high, low, volume, timestamp @@ -76,7 +76,7 @@ impl TradingAgentServiceImpl { let low = r.low? as f64 / 100.0; let volume = r.volume? as f64; - Some(ml::regime::orchestrator::Bar { + Some(ml::types::OHLCVBar { timestamp: r.timestamp, open, high,