diff --git a/pyproject.toml b/pyproject.toml index 58e1b47..0a4e31c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ description = "Shared crypto strategy catalog and implementations" readme = "README.md" requires-python = ">=3.11" dependencies = [ - "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@53b2ca73a5a50257b5d1a3c769b75c40924e4ba6", + "quant-platform-kit @ git+https://github.com/QuantStrategyLab/QuantPlatformKit.git@69a0256934d081b5ef309a885384b9eb9f62cf90", ] [tool.setuptools] diff --git a/scripts/research_crypto_combo_backtest.py b/scripts/research_crypto_combo_backtest.py index e85be0d..8304848 100644 --- a/scripts/research_crypto_combo_backtest.py +++ b/scripts/research_crypto_combo_backtest.py @@ -503,7 +503,14 @@ def main() -> None: parser.add_argument( "--orchestrator", action="store_true", - help="Thin path via CryptoEquityComboBacktestRunner (single dynamic combo window).", + help="Deprecated compatibility flag; default path already uses BacktestOrchestrator.", + ) + parser.add_argument( + "--legacy", + "--analysis", + dest="legacy", + action="store_true", + help="Run the legacy multi-strategy simulation path instead of BacktestOrchestrator.", ) args = parser.parse_args() @@ -515,10 +522,10 @@ def main() -> None: ) print("Running backtest simulation ...", file=sys.stderr) - results = run_backtest(prices, orchestrator=args.orchestrator) + results = run_backtest(prices, orchestrator=not args.legacy) print(" Done.", file=sys.stderr) - if args.orchestrator: + if not args.legacy: payload = results["orchestrator"] text = json.dumps( { diff --git a/tests/test_contract_governance.py b/tests/test_contract_governance.py index bf48e10..1744d7a 100644 --- a/tests/test_contract_governance.py +++ b/tests/test_contract_governance.py @@ -35,7 +35,7 @@ "binance", "BINANCE_", ) -QPK_HEALTH_COMMIT = "53b2ca73a5a50257b5d1a3c769b75c40924e4ba6" +QPK_HEALTH_COMMIT = "69a0256934d081b5ef309a885384b9eb9f62cf90" QPK_OLD_HEALTHLESS_COMMIT = "86f03fb8e83c0d372f4e1c64cccf3e6da50b8dd4" diff --git a/uv.lock b/uv.lock index fd9bb02..6efade3 100644 --- a/uv.lock +++ b/uv.lock @@ -11,9 +11,9 @@ dependencies = [ ] [package.metadata] -requires-dist = [{ name = "quant-platform-kit", git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=53b2ca73a5a50257b5d1a3c769b75c40924e4ba6" }] +requires-dist = [{ name = "quant-platform-kit", git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=69a0256934d081b5ef309a885384b9eb9f62cf90" }] [[package]] name = "quant-platform-kit" version = "0.10.0" -source = { git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=53b2ca73a5a50257b5d1a3c769b75c40924e4ba6#53b2ca73a5a50257b5d1a3c769b75c40924e4ba6" } +source = { git = "https://github.com/QuantStrategyLab/QuantPlatformKit.git?rev=69a0256934d081b5ef309a885384b9eb9f62cf90#69a0256934d081b5ef309a885384b9eb9f62cf90" }