Skip to content

Commit 5b76090

Browse files
authored
fix: re-export load_strategy_entrypoint
fix: re-export load_strategy_entrypoint from strategy_contracts
2 parents 780b6f8 + 9143074 commit 5b76090

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/quant_platform_kit/common/strategy_contracts.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,3 +1017,9 @@ def _pick_float(*keys: str, default: float | None = None) -> float | None:
10171017
current_min_trade=_pick_float("current_min_trade"),
10181018
investable_cash=_pick_float("investable_cash"),
10191019
)
1020+
1021+
1022+
# Backward-compat re-export — load_strategy_entrypoint was historically
1023+
# imported from strategy_contracts before being consolidated into strategies.py.
1024+
# Platform repos and tests still reference the old location.
1025+
from quant_platform_kit.common.strategies import load_strategy_entrypoint # noqa: F401, E402

0 commit comments

Comments
 (0)