清理CSV回测demo入口
This commit is contained in:
@@ -117,4 +117,22 @@ if [[ -n "$truth_csv_hits" ]]; then
|
||||
fail "CSV truth stock-list overrides are not allowed in fidc-backtest-engine runtime; use Source Lake runtime spec selection only" "$truth_csv_hits"
|
||||
fi
|
||||
|
||||
csv_snapshot_loader_hits="$(
|
||||
rg -n \
|
||||
--glob '!**/.git/**' \
|
||||
--glob '!**/target/**' \
|
||||
--glob '!**/docs/**' \
|
||||
--glob '!**/*.md' \
|
||||
--glob '!**/tests/**' \
|
||||
--glob '!**/*test*.rs' \
|
||||
--glob '!scripts/verify-no-legacy-data-source.sh' \
|
||||
'from_csv_dir|from_partitioned_dir|instruments\.csv|candidate_flags\.csv|market\.csv|benchmark\.csv' \
|
||||
crates Cargo.toml \
|
||||
2>/dev/null || true
|
||||
)"
|
||||
|
||||
if [[ -n "$csv_snapshot_loader_hits" ]]; then
|
||||
fail "CSV snapshot loaders are not allowed in fidc-backtest-engine runtime; construct DataSet from Source Lake components" "$csv_snapshot_loader_hits"
|
||||
fi
|
||||
|
||||
printf '[OK] fidc-backtest-engine has no legacy runtime data-source references\n'
|
||||
|
||||
Reference in New Issue
Block a user