|
29 | 29 |
|
30 | 30 | WORKSPACE_ROOT = Path(__file__).resolve().parents[2] |
31 | 31 | US_EQUITY_STRATEGIES_ROOT = WORKSPACE_ROOT / "UsEquityStrategies" |
| 32 | +US_EQUITY_SNAPSHOT_PIPELINES_ROOT = WORKSPACE_ROOT / "UsEquitySnapshotPipelines" |
32 | 33 | QUANT_PLATFORM_KIT_ROOT = WORKSPACE_ROOT / "QuantPlatformKit" |
33 | 34 | LOCAL_RUNS_ROOT = WORKSPACE_ROOT / "_local_runs" |
34 | 35 |
|
35 | 36 | for candidate in ( |
| 37 | + US_EQUITY_SNAPSHOT_PIPELINES_ROOT, |
| 38 | + US_EQUITY_SNAPSHOT_PIPELINES_ROOT / "src", |
36 | 39 | US_EQUITY_STRATEGIES_ROOT, |
37 | 40 | US_EQUITY_STRATEGIES_ROOT / "src", |
38 | 41 | QUANT_PLATFORM_KIT_ROOT, |
|
43 | 46 | if candidate_text not in sys.path: |
44 | 47 | sys.path.insert(0, candidate_text) |
45 | 48 |
|
46 | | -from us_equity_strategies.backtests.russell_1000_multi_factor_defensive import ( # noqa: E402 |
| 49 | +from us_equity_snapshot_pipelines.russell_1000_multi_factor_backtest import ( # noqa: E402 |
47 | 50 | build_monthly_rebalance_dates, |
48 | 51 | resolve_active_universe, |
49 | 52 | run_backtest as run_defensive_backtest, |
50 | 53 | ) |
51 | | -from us_equity_strategies.snapshots.russell_1000_multi_factor_defensive import ( # noqa: E402 |
| 54 | +from us_equity_snapshot_pipelines.russell_1000_multi_factor_defensive_snapshot import ( # noqa: E402 |
52 | 55 | read_table, |
53 | 56 | ) |
54 | 57 | from us_equity_strategies.strategies.tqqq_growth_income import ( # noqa: E402 |
@@ -1731,8 +1734,8 @@ def build_workspace_mapping(results_dir: Path, data_run_dir: Path) -> dict[str, |
1731 | 1734 | return { |
1732 | 1735 | "workspace_root": str(WORKSPACE_ROOT), |
1733 | 1736 | "defensive_code_entry": str(US_EQUITY_STRATEGIES_ROOT / "src/us_equity_strategies/strategies/russell_1000_multi_factor_defensive.py"), |
1734 | | - "defensive_snapshot_entry": str(US_EQUITY_STRATEGIES_ROOT / "src/us_equity_strategies/snapshots/russell_1000_multi_factor_defensive.py"), |
1735 | | - "defensive_backtest_entry": str(US_EQUITY_STRATEGIES_ROOT / "src/us_equity_strategies/backtests/russell_1000_multi_factor_defensive.py"), |
| 1737 | + "defensive_snapshot_entry": str(US_EQUITY_SNAPSHOT_PIPELINES_ROOT / "src/us_equity_snapshot_pipelines/russell_1000_multi_factor_defensive_snapshot.py"), |
| 1738 | + "defensive_backtest_entry": str(US_EQUITY_SNAPSHOT_PIPELINES_ROOT / "src/us_equity_snapshot_pipelines/russell_1000_multi_factor_backtest.py"), |
1736 | 1739 | "hybrid_code_entry": str(US_EQUITY_STRATEGIES_ROOT / "src/us_equity_strategies/strategies/tqqq_growth_income.py"), |
1737 | 1740 | "hybrid_runtime_entry": str(WORKSPACE_ROOT / "CharlesSchwabPlatform/main.py"), |
1738 | 1741 | "semiconductor_code_entry": str(US_EQUITY_STRATEGIES_ROOT / "src/us_equity_strategies/strategies/soxl_soxx_trend_income.py"), |
|
0 commit comments