Skip to content

Commit d306f81

Browse files
committed
Update research imports for canonical strategy modules
1 parent b7d04ca commit d306f81

5 files changed

Lines changed: 8 additions & 8 deletions

research/backtest_hybrid_growth_continuous_scaling_followup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
import backtest_hybrid_growth_indicator_variants as base # noqa: E402
2121
import backtest_stock_alpha_suite as suite # noqa: E402
22-
from us_equity_strategies.strategies.hybrid_growth_income import get_hybrid_allocation # noqa: E402
22+
from us_equity_strategies.strategies.tqqq_growth_income import get_hybrid_allocation # noqa: E402
2323

2424
DEFAULT_RESULTS_DIR = Path(__file__).resolve().parent / "results"
2525
DEFAULT_START = "2018-01-01"

research/backtest_hybrid_growth_idle_throttle_followup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import backtest_hybrid_growth_indicator_variants as base # noqa: E402
2020
import backtest_stock_alpha_suite as suite # noqa: E402
21-
from us_equity_strategies.strategies.hybrid_growth_income import get_hybrid_allocation # noqa: E402
21+
from us_equity_strategies.strategies.tqqq_growth_income import get_hybrid_allocation # noqa: E402
2222

2323
DEFAULT_RESULTS_DIR = Path(__file__).resolve().parent / "results"
2424
DEFAULT_START = "2018-01-01"

research/backtest_hybrid_growth_indicator_variants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
sys.path.insert(0, str(CURRENT_DIR))
2727

2828
import backtest_stock_alpha_suite as suite # noqa: E402
29-
from us_equity_strategies.strategies.hybrid_growth_income import get_hybrid_allocation # noqa: E402
29+
from us_equity_strategies.strategies.tqqq_growth_income import get_hybrid_allocation # noqa: E402
3030

3131
DEFAULT_RESULTS_DIR = Path(__file__).resolve().parent / "results"
3232
DEFAULT_START = "2018-01-01"

research/backtest_hybrid_growth_position_scaling_followup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
import backtest_hybrid_growth_indicator_variants as base # noqa: E402
2121
import backtest_stock_alpha_suite as suite # noqa: E402
22-
from us_equity_strategies.strategies.hybrid_growth_income import get_hybrid_allocation # noqa: E402
22+
from us_equity_strategies.strategies.tqqq_growth_income import get_hybrid_allocation # noqa: E402
2323

2424
DEFAULT_RESULTS_DIR = Path(__file__).resolve().parent / "results"
2525
DEFAULT_START = "2018-01-01"

research/backtest_stock_alpha_suite.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@
5151
from us_equity_strategies.snapshots.russell_1000_multi_factor_defensive import ( # noqa: E402
5252
read_table,
5353
)
54-
from us_equity_strategies.strategies.hybrid_growth_income import ( # noqa: E402
54+
from us_equity_strategies.strategies.tqqq_growth_income import ( # noqa: E402
5555
get_hybrid_allocation,
5656
get_income_ratio as get_hybrid_income_ratio,
5757
)
58-
from us_equity_strategies.strategies.semiconductor_rotation_income import ( # noqa: E402
58+
from us_equity_strategies.strategies.soxl_soxx_trend_income import ( # noqa: E402
5959
get_dynamic_allocation,
6060
get_income_layer_ratio as get_semiconductor_income_layer_ratio,
6161
)
@@ -1733,9 +1733,9 @@ def build_workspace_mapping(results_dir: Path, data_run_dir: Path) -> dict[str,
17331733
"defensive_code_entry": str(US_EQUITY_STRATEGIES_ROOT / "src/us_equity_strategies/strategies/russell_1000_multi_factor_defensive.py"),
17341734
"defensive_snapshot_entry": str(US_EQUITY_STRATEGIES_ROOT / "src/us_equity_strategies/snapshots/russell_1000_multi_factor_defensive.py"),
17351735
"defensive_backtest_entry": str(US_EQUITY_STRATEGIES_ROOT / "src/us_equity_strategies/backtests/russell_1000_multi_factor_defensive.py"),
1736-
"hybrid_code_entry": str(US_EQUITY_STRATEGIES_ROOT / "src/us_equity_strategies/strategies/hybrid_growth_income.py"),
1736+
"hybrid_code_entry": str(US_EQUITY_STRATEGIES_ROOT / "src/us_equity_strategies/strategies/tqqq_growth_income.py"),
17371737
"hybrid_runtime_entry": str(WORKSPACE_ROOT / "CharlesSchwabPlatform/main.py"),
1738-
"semiconductor_code_entry": str(US_EQUITY_STRATEGIES_ROOT / "src/us_equity_strategies/strategies/semiconductor_rotation_income.py"),
1738+
"semiconductor_code_entry": str(US_EQUITY_STRATEGIES_ROOT / "src/us_equity_strategies/strategies/soxl_soxx_trend_income.py"),
17391739
"semiconductor_runtime_entry": str(WORKSPACE_ROOT / "LongBridgePlatform/main.py"),
17401740
"existing_research_entry": str(Path(__file__).resolve().parent / "backtest_qqq_variants.py"),
17411741
"new_research_entry": str(Path(__file__).resolve()),

0 commit comments

Comments
 (0)