Skip to content

Commit 653fc6f

Browse files
authored
fix: combo syntax
fix: combo_entrypoints syntax
2 parents 7fbcd8e + 34e97c3 commit 653fc6f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hk_equity_strategies/combo_entrypoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def _require_market_data(ctx: StrategyContext, key: str) -> Any:
1919

2020

2121
def evaluate_hk_equity_combo(ctx: StrategyContext) -> StrategyDecision:
22-
config = {**hk_equity_combo_manifest.default_config, **ctx.runtime_config or {}}
22+
config = {**hk_equity_combo_manifest.default_config, **(ctx.runtime_config or {})}
2323
config.pop("execution_cash_reserve_ratio", None)
2424
config.pop("rebalance_frequency", None)
2525
combined, metadata = hk_equity_combo.build_target_weights(

0 commit comments

Comments
 (0)