Revert "perf(core): reuse aligned snapshots in universe scan"
This reverts commit 096115bd94.
This commit is contained in:
@@ -8889,16 +8889,16 @@ impl PlatformExprStrategy {
|
|||||||
if ctx.has_dynamic_universe() && !ctx.dynamic_universe_contains(&factor.symbol) {
|
if ctx.has_dynamic_universe() && !ctx.dynamic_universe_contains(&factor.symbol) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
let snapshots = ctx.data.symbol_snapshots_by_id(date, symbol_id);
|
|
||||||
let synthetic_candidate;
|
let synthetic_candidate;
|
||||||
let candidate = if let Some(candidate) = snapshots.candidate {
|
let candidate =
|
||||||
candidate
|
if let Some(candidate) = ctx.data.candidate_by_symbol_id(date, symbol_id) {
|
||||||
} else {
|
candidate
|
||||||
synthetic_candidate =
|
} else {
|
||||||
crate::data::missing_candidate_risk_state(date, &factor.symbol);
|
synthetic_candidate =
|
||||||
&synthetic_candidate
|
crate::data::missing_candidate_risk_state(date, &factor.symbol);
|
||||||
};
|
&synthetic_candidate
|
||||||
let Some(market) = snapshots.market else {
|
};
|
||||||
|
let Some(market) = ctx.data.market_by_symbol_id(date, symbol_id) else {
|
||||||
continue;
|
continue;
|
||||||
};
|
};
|
||||||
let (reject_from_universe, selection_decision) = if collect_risk_decisions {
|
let (reject_from_universe, selection_decision) = if collect_risk_decisions {
|
||||||
|
|||||||
Reference in New Issue
Block a user