File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323)
2424
2525
26- DEFAULT_ARTIFACT_BUCKET_URI = "gs://qsl-runtime-logs-interactivebrokersquant "
26+ DEFAULT_ARTIFACT_BUCKET_URI = "gs://qsl-runtime-logs-shared "
2727MARKET_REGIME_CONTROL_PROFILES = frozenset (
2828 {
2929 "tqqq_growth_income" ,
Original file line number Diff line number Diff line change @@ -249,6 +249,11 @@ def test_build_switch_target_defaults_longbridge_sg_tqqq(self):
249249 self .assertEqual (assignments ["LONGBRIDGE_DRY_RUN_ONLY" ], "false" )
250250 plugin_payload = json .loads (assignments ["LONGBRIDGE_STRATEGY_PLUGIN_MOUNTS_JSON" ])
251251 self .assertEqual (plugin_payload ["strategy_plugins" ][0 ]["plugin" ], "market_regime_control" )
252+ self .assertEqual (
253+ plugin_payload ["strategy_plugins" ][0 ]["signal_path" ],
254+ "gs://qsl-runtime-logs-shared/strategy-artifacts/us_equity/"
255+ "tqqq_growth_income/plugins/market_regime_control/latest_signal.json" ,
256+ )
252257 self .assertEqual (plugin_payload ["strategy_plugins" ][0 ]["expected_schema_version" ], "market_regime_control.v1" )
253258
254259 def test_build_switch_target_uses_fork_repository_overrides (self ):
@@ -654,6 +659,11 @@ def test_build_switch_target_patches_ibkr_service_targets_json(self):
654659 selected ["IBKR_STRATEGY_PLUGIN_MOUNTS_JSON" ]["strategy_plugins" ][0 ]["plugin" ],
655660 "market_regime_control" ,
656661 )
662+ self .assertEqual (
663+ selected ["IBKR_STRATEGY_PLUGIN_MOUNTS_JSON" ]["strategy_plugins" ][0 ]["signal_path" ],
664+ "gs://qsl-runtime-logs-shared/strategy-artifacts/us_equity/"
665+ "tqqq_growth_income/plugins/market_regime_control/latest_signal.json" ,
666+ )
657667 self .assertEqual (untouched ["runtime_target" ]["strategy_profile" ], "soxl_soxx_trend_income" )
658668
659669 def test_build_switch_target_can_clear_preserved_ibkr_reserved_cash_fields (self ):
You can’t perform that action at this time.
0 commit comments