支持策略决策前批量加载执行价

This commit is contained in:
boris
2026-06-18 17:08:36 +08:00
parent 2265a5dc67
commit 3633905459
3 changed files with 83 additions and 0 deletions
+6
View File
@@ -43,6 +43,12 @@ pub trait Strategy {
fn decision_quote_times(&self) -> Vec<NaiveTime> {
Vec::new()
}
fn decision_quote_symbols(
&mut self,
_ctx: &StrategyContext<'_>,
) -> Result<BTreeSet<String>, BacktestError> {
Ok(BTreeSet::new())
}
fn on_scheduled(
&mut self,
_ctx: &StrategyContext<'_>,