akquant 0.3.75__tar.gz → 0.3.76__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {akquant-0.3.75 → akquant-0.3.76}/.pre-commit-config.yaml +1 -0
- {akquant-0.3.75 → akquant-0.3.76}/CHANGELOG.md +16 -0
- {akquant-0.3.75 → akquant-0.3.76}/Cargo.lock +1 -1
- {akquant-0.3.75 → akquant-0.3.76}/Cargo.toml +1 -1
- {akquant-0.3.75 → akquant-0.3.76}/PKG-INFO +5 -1
- {akquant-0.3.75 → akquant-0.3.76}/README.md +1 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/advanced/custom_strategy_loader.md +1 -1
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/guide/custom_indicator.md +2 -0
- akquant-0.3.76/docs/en/guide/mcp.md +66 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/reference/api.md +4 -4
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/advanced/custom_strategy_loader.md +1 -1
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/advanced/llm.md +1 -1
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/guide/custom_indicator.md +2 -0
- akquant-0.3.76/docs/zh/guide/mcp.md +66 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/reference/api.md +4 -4
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/04_backtest_engine.md +1 -1
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/07_futures.md +1 -1
- {akquant-0.3.75 → akquant-0.3.76}/mkdocs.yml +3 -0
- {akquant-0.3.75 → akquant-0.3.76}/pyproject.toml +8 -1
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/__init__.py +1 -1
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/backtest/engine.py +8 -56
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/config.py +22 -7
- akquant-0.3.76/python/akquant/mcp/__init__.py +5 -0
- akquant-0.3.76/python/akquant/mcp/__main__.py +46 -0
- akquant-0.3.76/python/akquant/mcp/guides/data-format.md +54 -0
- akquant-0.3.76/python/akquant/mcp/guides/indicators.md +45 -0
- akquant-0.3.76/python/akquant/mcp/guides/market-rules.md +31 -0
- akquant-0.3.76/python/akquant/mcp/guides/orders-and-positions.md +56 -0
- akquant-0.3.76/python/akquant/mcp/guides/strategy-skeleton.md +43 -0
- akquant-0.3.76/python/akquant/mcp/server.py +147 -0
- akquant-0.3.76/python/akquant/mcp/service/__init__.py +8 -0
- akquant-0.3.76/python/akquant/mcp/service/api_index.py +174 -0
- akquant-0.3.76/python/akquant/mcp/service/check.py +359 -0
- akquant-0.3.76/python/akquant/mcp/service/data.py +372 -0
- akquant-0.3.76/python/akquant/mcp/service/errors.py +154 -0
- akquant-0.3.76/python/akquant/mcp/service/guides.py +48 -0
- akquant-0.3.76/python/akquant/mcp/service/paths.py +103 -0
- akquant-0.3.76/python/akquant/mcp/service/records.py +45 -0
- akquant-0.3.76/python/akquant/mcp/service/runs.py +222 -0
- akquant-0.3.76/python/akquant/mcp/worker.py +170 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/strategy.py +37 -5
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/strategy_loader.py +64 -7
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/strategy_trading_api.py +18 -29
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/utils/__init__.py +22 -14
- akquant-0.3.76/tests/mcp_server/conftest.py +26 -0
- akquant-0.3.76/tests/mcp_server/test_mcp_api_index.py +69 -0
- akquant-0.3.76/tests/mcp_server/test_mcp_check.py +215 -0
- akquant-0.3.76/tests/mcp_server/test_mcp_data.py +195 -0
- akquant-0.3.76/tests/mcp_server/test_mcp_errors.py +184 -0
- akquant-0.3.76/tests/mcp_server/test_mcp_guides.py +62 -0
- akquant-0.3.76/tests/mcp_server/test_mcp_main.py +29 -0
- akquant-0.3.76/tests/mcp_server/test_mcp_paths.py +124 -0
- akquant-0.3.76/tests/mcp_server/test_mcp_records.py +39 -0
- akquant-0.3.76/tests/mcp_server/test_mcp_runs.py +323 -0
- akquant-0.3.76/tests/mcp_server/test_mcp_server.py +164 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_account_risk_rules.py +0 -4
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_profile_cn_stock.py +1 -1
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_engine.py +23 -30
- akquant-0.3.76/tests/test_fetch_akshare_symbol.py +101 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_broker_submitter_signature.py +1 -1
- akquant-0.3.76/tests/test_indicator_duplicate_name.py +179 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_instrument_slippage.py +1 -1
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_public_api.py +3 -3
- akquant-0.3.76/tests/test_slippage_bare_number.py +184 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_strategy_extras.py +14 -14
- akquant-0.3.76/tests/test_strategy_loader_reload.py +241 -0
- akquant-0.3.76/tests/test_warm_start_slippage_inherit.py +108 -0
- {akquant-0.3.75 → akquant-0.3.76}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/.github/dependabot.yml +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/.github/workflows/deploy-docs.yml +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/.github/workflows/docs-quality.yml +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/.github/workflows/release.yml +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/.gitignore +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/CODE_OF_CONDUCT.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/CONTRIBUTING.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/LICENSE +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/assets/dashboard_preview.png +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/assets/logo.svg +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/assets/social_preview.png +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/CNAME +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/assets/akquant-icon.svg +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/assets/akquant-logo.svg +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/assets/reports/akquant_report.html +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/advanced/analyzer_plugin_spec.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/advanced/broker_capability_matrix.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/advanced/custom_broker_production_checklist.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/advanced/custom_broker_registry.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/advanced/data_feed_adapter_spec.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/advanced/live_functional_quickstart.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/advanced/llm.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/advanced/ml.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/advanced/multi_strategy_guide.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/advanced/multi_timeframe_feed_api.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/advanced/runtime_config.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/advanced/signal_ingestion.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/advanced/strategy_style_decision.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/advanced/tick_size_alignment.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/advanced/timezone.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/advanced/warm_start.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/guide/analysis.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/guide/cross_section_checklist.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/guide/data.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/guide/examples.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/guide/factor.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/guide/indicator_scenario_quickref.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/guide/optimization.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/guide/python_basics.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/guide/quant_basics.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/guide/rust_indicator_reference.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/guide/strategy.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/guide/talib_indicator_playbook.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/guide/testing.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/guide/visualization.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/index.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/meta/architecture.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/meta/internals.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/start/first_strategy.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/start/installation.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/start/quickstart.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/start/setup_guide.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/textbook/01_foundations.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/textbook/02_programming.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/textbook/03_data.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/textbook/04_backtest_engine.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/textbook/05_strategy.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/textbook/06_stock_a.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/textbook/07_futures.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/textbook/08_options.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/textbook/09_funds.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/textbook/10_analysis.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/textbook/11_optimization.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/textbook/12_ml.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/textbook/13_visualization.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/textbook/14_factor.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/textbook/15_live_trading.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/textbook/16_rust_indicators.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/en/textbook/index.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/javascripts/mathjax.js +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/javascripts/search-lang-filter.js +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/robots.txt +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/advanced/adding_a_broker.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/advanced/analyzer_plugin_spec.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/advanced/broker_capability_matrix.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/advanced/custom_broker_production_checklist.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/advanced/custom_broker_registry.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/advanced/data_feed_adapter_spec.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/advanced/live_functional_quickstart.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/advanced/ml.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/advanced/multi_strategy_guide.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/advanced/multi_timeframe_feed_api.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/advanced/runtime_config.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/advanced/signal_ingestion.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/advanced/strategy_style_decision.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/advanced/tick_size_alignment.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/advanced/timezone.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/advanced/warm_start.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/guide/analysis.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/guide/cross_section_checklist.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/guide/data.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/guide/examples.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/guide/factor.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/guide/indicator_scenario_quickref.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/guide/optimization.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/guide/python_basics.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/guide/quant_basics.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/guide/rust_indicator_reference.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/guide/strategy.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/guide/talib_indicator_playbook.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/guide/testing.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/guide/visualization.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/index.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/meta/architecture.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/meta/columnar-rfc.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/meta/hooks-rfc.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/meta/indicator-tradingview-rfc.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/meta/internals.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/meta/issue-329-fix-plan.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/meta/logging-rfc.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/meta/signal-ingestion-rfc.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/meta/timer-api-rfc.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/meta/viz-namespace-and-lwc-review-rfc.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/meta/warm-start-config-and-merge-rfc.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/start/first_strategy.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/start/installation.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/start/quickstart.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/start/setup_guide.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/00_glossary.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/01_foundations.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/02_programming.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/03_data.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/05_strategy.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/06_stock_a.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/08_options.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/09_funds.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/10_analysis.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/11_optimization.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/12_ml.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/13_visualization.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/14_factor.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/15_live_trading.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/16_rust_indicators.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/ROADMAP.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/appendix_cite.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/appendix_pitfalls.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/appendix_setup.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/capstone.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/docs/zh/textbook/index.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/01_quickstart.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/02_parameter_optimization.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/03_parameter_optimization_advanced.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/04_mixed_assets.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/05_live_trading_ctp.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/06_complex_orders.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/07_option_test.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/08_event_callbacks.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/09_ml_framework.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/10_ml_walk_forward.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/11_plot_visualization.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/12_wfo_integrated.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/13_quantstats_report.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/14_multi_frequency.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/15_plot_intraday.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/16_adj_returns_signal.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/17_readme_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/18_benchmark_multisymbol.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/19_factor_expression.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/20_risk_management_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/21_warm_start_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/22_strategy_runtime_config_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/23_functional_callbacks_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/24_functional_tick_simulation_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/25_streaming_backtest_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/26_streaming_quickstart.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/27_streaming_monitoring_console.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/28_streaming_alerts_and_persist.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/29_streaming_event_report.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/30_streaming_report_oneclick.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/31_streaming_live_console.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/32_streaming_live_web.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/33_report_and_analysis_outputs.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/34_multi_strategy_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/35_custom_broker_registry_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/36_trailing_orders.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/37_feed_replay_alignment_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/38_live_functional_strategy_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/39_live_broker_submit_order_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/39_live_mixed_broker_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/40_functional_multi_slot_risk_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/41_live_multi_slot_orchestration_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/42_live_broker_event_audit_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/43_target_weights_rebalance.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/44_strategy_source_loader_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/45_talib_indicator_playbook_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/46_broker_profile_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/47_margin_liquidation_audit_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/48_margin_liquidation_priority_compare.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/49_on_expiry_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/50_framework_hooks_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/51_class_tick_callbacks_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/52_pre_open_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/53_timer_to_pre_open_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/54_functional_pre_open_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/55_functional_ml_walk_forward.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/56_functional_warm_start_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/57_functional_multi_slot_warm_start_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/58_incremental_bootstrap_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/59_akshare_etf_rotation.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/60_custom_indicator_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/61_indicator_visualization_export_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/61_signal_platform_webhook.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/62_indicator_streaming_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/63_indicator_ws_bridge_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/64_indicator_live_web.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/65_bar_generator.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/66_logging_audit_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/67_lwc_trade_review.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/68_backtest_tick_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/69_live_runtime_config_dispatch_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/70_csv_multi_symbol_import_demo.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/71_native_multi_timeframe_live.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/72_declarative_indicators.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/73_lwc_live_indicators.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/74_indicator_scripts.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/75_intrabar_indicators.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/76_tick_intrabar_indicators.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/77_heikin_ashi_indicator.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/README.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/benchmark_utils.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/pb_mock.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/strategies/01_stock_dual_moving_average.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/strategies/02_stock_grid_trading.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/strategies/03_stock_atr_breakout.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/strategies/04_stock_momentum_rotation.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/strategies/05_stock_momentum_rotation_timer.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/strategies/06_stock_momentum_rotation_bucket.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/strategies/07_stock_momentum_rotation_on_timer.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/strategies/08_target_positions_long_short.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/strategies/09_stock_momentum_rotation_after_bar.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/strategies/README.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch01_quickstart.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch01_quickstart_functional.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch02_programming.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch03_data.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch04_comparison.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch04_comparison_functional.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch05_strategy.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch05_strategy_functional.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch06_stock_a.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch06_stock_a_functional.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch07_futures.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch07_futures_functional.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch08_options.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch08_options_functional.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch09_funds.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch09_funds_functional.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch09_portfolio.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch09_portfolio_functional.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch10_analysis.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch10_analysis_functional.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch11_optimization.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch11_optimization_functional.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch12_ml.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch12_ml_functional.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch13_visualization.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch13_visualization_functional.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch14_factor.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch15_live_trading.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch15_live_trading_functional.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch15_strategy_loader.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch15_strategy_loader_functional.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch16_indicators.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/examples/textbook/ch16_indicators_functional.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/akquant.pyi +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/analysis/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/analysis/benchmark.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/analyzer_plugin.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/backtest/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/backtest/__init__.pyi +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/backtest/_viz.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/backtest/fill_mode.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/backtest/merge.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/backtest/result.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/backtest/tick_input.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/bar_generator.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/chart/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/chart/_normalize.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/chart/d3kline.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/checkpoint.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/data.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/execution/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/execution/base.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/execution/sim.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/factor/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/factor/engine.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/factor/ops.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/factor/parser.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/feed_adapter.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/fund/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/futures/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/base.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/broker_event_adapter.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/broker_event_bridge.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/broker_event_mapper.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/broker_execution.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/broker_models.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/broker_recovery.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/broker_runtime.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/broker_state_cache.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/broker_strategy_api.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/brokers/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/brokers/builtins.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/brokers/ctp/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/brokers/ctp/adapter.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/brokers/ctp/native.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/brokers/miniqmt/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/brokers/miniqmt/stub.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/brokers/plugins.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/brokers/ptrade/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/brokers/ptrade/stub.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/brokers/replay/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/brokers/replay/gateway.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/ctp_adapter.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/ctp_native.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/factory.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/local_stop_book.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/mapper.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/miniqmt.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/models.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/order_audit.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/order_errors.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/order_receipt.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/order_submitter.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/protocols.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/ptrade.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/registry.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/symbol_match.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/gateway/trader_base.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/indicator_declaration.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/indicator_identity.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/indicator_recording.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/indicator_script.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/indicator_stream.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/live/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/live/_facade.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/live/_gateway_setup.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/live/_payload_utils.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/live/_preload.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/live/_runner.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/live/_strategy_maps.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/live/_stream_sink.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/log.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/lwc/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/lwc/_indicators.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/lwc/_payload.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/lwc/_template.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/lwc/assets/LICENSE.lightweight-charts +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/lwc/assets/NOTICE.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/lwc/assets/lightweight-charts.standalone.production.js +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/lwc/review.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/ml/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/ml/model.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/normalize.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/optimize.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/option/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/params.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/params_adapter.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/plot/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/plot/_market_data.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/plot/analysis.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/plot/dashboard.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/plot/indicator.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/plot/report.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/plot/strategy.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/plot/utils.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/precomputed.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/py.typed +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/risk.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/schema.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/sessions_config.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/signal/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/signal/dedup.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/signal/dispatcher.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/signal/models.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/signal/protocols.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/signal/registry.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/signal/security.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/signal/sinks.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/signal/sources/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/signal/sources/http.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/signal/sources/queue.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/signal/sources/redis_stream.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/sizer.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/stock/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/strategy_events.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/strategy_framework_hooks.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/strategy_history.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/strategy_inspect.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/strategy_logging.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/strategy_ml.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/strategy_order_events.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/strategy_position.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/strategy_preload.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/strategy_runtime_config.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/strategy_scheduler.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/strategy_time.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/strategy_window.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/stream_schema.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/talib/__init__.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/talib/_kernels.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/talib/backend.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/talib/core.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/talib/funcs.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/talib/lookback.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/trade_stream.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/utils/inspector.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/python/akquant/utils/price.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/requirements-dev.txt +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/scripts/bench_engine_perbar.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/scripts/cargo-test.sh +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/scripts/check_docs_api_examples.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/scripts/check_docs_links.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/scripts/check_release.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/scripts/dev-check.sh +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/scripts/golden_baseline_report.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/scripts/profile_backtest.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/scripts/stress_out_of_core.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/account.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/analysis/mod.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/analysis/python.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/analysis/result.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/analysis/tests.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/analysis/tracker.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/analysis/types.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/bin/stub_gen.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/calendar/clock.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/calendar/mod.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/calendar/python.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/calendar/resolver.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/calendar/schedule.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/calendar/trading_calendar.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/clock.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/context.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/data/aggregator.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/data/batch.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/data/client.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/data/columns.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/data/compute.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/data/feed.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/data/mod.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/data/parquet_stream.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/data/python_window.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/data/window.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/engine/core.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/engine/mod.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/engine/python.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/engine/state.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/error.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/event.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/event_manager.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/execution/common.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/execution/crypto.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/execution/forex.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/execution/futures.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/execution/matcher.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/execution/mod.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/execution/option.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/execution/python.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/execution/realtime.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/execution/simulated.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/execution/slippage.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/execution/stock.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/execution/validation.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/history.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators/momentum.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators/momentum_oscillators.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators/momentum_rates.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators/moving_average.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators/moving_average_compound.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators/moving_average_core.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators/moving_average_hilbert.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators/moving_average_transforms.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators/moving_average_windowed.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators/trend.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators/trend_directional.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators/trend_oscillators.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators/trend_regression.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators/volatility.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators/volatility_candle.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators/volatility_price.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators/volatility_stats.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators/volume.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/indicators.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/lib.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/log_context.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/margin/calculator.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/margin/engine.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/margin/mod.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/market/china.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/market/core.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/market/corporate_action.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/market/fee_override.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/market/fund.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/market/futures.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/market/manager.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/market/mod.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/market/option.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/market/simple.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/market/stock.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/model/corporate_action.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/model/instrument.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/model/market_data.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/model/mod.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/model/order.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/model/timer.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/model/types.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/order_manager.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/pipeline/mod.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/pipeline/processor.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/pipeline/runner.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/pipeline/stages/channel.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/pipeline/stages/cleanup.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/pipeline/stages/data.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/pipeline/stages/execution.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/pipeline/stages/mod.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/pipeline/stages/shared.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/pipeline/stages/statistics.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/pipeline/stages/strategy.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/portfolio.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/risk/common.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/risk/config.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/risk/futures.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/risk/manager.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/risk/mod.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/risk/option.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/risk/portfolio.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/risk/rule.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/risk/stock.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/risk/strategy_limits.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/settlement/expiry.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/settlement/handler.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/settlement/manager.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/settlement/mod.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/settlement/option.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/signal_port.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/src/statistics/mod.rs +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/_checkpoint_0371.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/_plot_cases.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/fixtures/checkpoint_0371_minute.pkl +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/gateway_contract/test_event_bridge_contract.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/gateway_contract/test_recovery_contract.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/gateway_contract/test_submitter_contract.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/BASELINE_REPORT.md +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/futures_margin/equity_curve.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/futures_margin/metrics.json +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/futures_margin/orders.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/futures_margin/trading_day_ends.json +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/futures_night_weekend/equity_curve.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/futures_night_weekend/metrics.json +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/futures_night_weekend/orders.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/futures_night_weekend/trades.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/futures_night_weekend/trading_day_ends.json +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/option_basic/equity_curve.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/option_basic/metrics.json +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/option_basic/orders.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/option_basic/trading_day_ends.json +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/order_cancel/equity_curve.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/order_cancel/metrics.json +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/order_cancel/orders.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/order_cancel/trades.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/order_cancel/trading_day_ends.json +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/stock_minute_auction/equity_curve.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/stock_minute_auction/metrics.json +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/stock_minute_auction/orders.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/stock_minute_auction/trades.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/stock_minute_auction/trading_day_ends.json +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/stock_t1/equity_curve.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/stock_t1/metrics.json +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/stock_t1/orders.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/stock_t1/trades.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/baselines/stock_t1/trading_day_ends.json +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/data/future_margin.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/data/future_margin.parquet.sha256 +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/data/futures_night_weekend.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/data/futures_night_weekend.parquet.sha256 +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/data/option_basic.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/data/option_basic.parquet.sha256 +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/data/order_cancel.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/data/order_cancel.parquet.sha256 +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/data/stock_minute_auction.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/data/stock_minute_auction.parquet.sha256 +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/data/stock_t1.parquet +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/data/stock_t1.parquet.sha256 +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/gen_data.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/runner.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/strategies/futures_margin.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/strategies/futures_night_weekend.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/strategies/option_basic.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/strategies/order_cancel.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/strategies/stock_minute_auction.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/strategies/stock_t1.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/golden/test_golden.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_api_rename_cash.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_api_rename_composites.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_api_rename_equity.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_api_rename_holding_bars.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_api_rename_positions.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_api_rename_rebalance.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_api_rename_scheduler.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_backtest_params.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_backtest_symbol_column_aliases.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_backtest_tick_aggregate.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_backtest_tick_entry.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_backtest_tick_history.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_bar_aggregator_live.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_bar_generator.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_bar_hook_bookkeeping_invariants.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_bench_noise_gate.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_boundary_bar_fill.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_bridge_adapts_events.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_bridge_drives_order_groups.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_dropped_counts_periodic_summary.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_event_adapter.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_event_adapter_local_id.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_event_symbol_filter.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_event_task_isolation.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_execution_local_stops.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_execution_read_path_parity.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_execution_stop_requeue.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_live_risk_enforcement.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_order_redelivery_dedup.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_plugins.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_position_sync.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_recovery_cadence.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_recovery_error_visibility.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_seed_baseline.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_broker_trade_redelivery_dedup.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_buying_power_new_symbol.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_cancel_request_persistence.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_candle_exporters.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_candle_render_type.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_chart_d3kline.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_chart_normalize.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_check_release.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_checkpoint_0371_compat.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_checkpoint_option_rules.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_close_position_delegate.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_composed_ctx_not_ready.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_cost_config_consolidation.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_cross_section_day_order_next_open_fill.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_ctp_classify_order_error.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_custom_matcher.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_data_catalog.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_date_only_rewrite_cache.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_day_order_expiry_no_zombie_fill.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_deterministic_order.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_docs_api_examples.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_docs_links.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_dual_stream_freq_inference.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_engine_python_crossings.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_event_model_parity.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_examples_regression.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_execution_binding.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_execution_broker.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_execution_broker_reads_routed.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_execution_composed_parity.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_execution_read_delegation.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_execution_sim.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_execution_write_delegation.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_expiry_terminal_dispatch.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_expiry_trade_accounting.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_factor_engine.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_factor_ops.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_feed_adapter.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_fill_mode.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_broker_live_cancel.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_broker_live_reads.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_broker_models_ext.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_broker_state_cache.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_broker_state_invalidation.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_broker_submitter_quantity.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_broker_submitter_readiness.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_brokers_paths.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_builtins_registry.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_callbacks.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_cancel_failure.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_ctp_adapter.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_ctp_dual_stream.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_ctp_native.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_expired_order_status.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_factory.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_mapper.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_mixed_market_trader.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_optional_market.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_order_error_classification.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_order_submitter_extra.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_order_tick_reject_soft.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_order_tick_validation.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_place_order_failure.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_registry.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_sim_submit_guard.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_symbol_match.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_tif_mapping.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_gateway_trader_base.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_get_order_finalized.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_heikin_ashi.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_hooks_functional_wrapper.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_hooks_inherited_via_base.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_indicator_declaration.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_indicator_declaration_review.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_indicator_dual_stream.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_indicator_intrabar.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_indicator_live_web_example.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_indicator_non_finite.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_indicator_owner_identity.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_indicator_recording.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_indicator_script.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_inspector.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_instrument_default_tick.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_instrument_fee_override.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_instrument_symbol_suffix_normalization.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_instruments_config_symbol_mismatch.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_lifecycle_hooks.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_lifecycle_review_fixes.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_auto_preload.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_broker_slot_routing.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_duration_wallclock.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_freq_injection.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_market_config_by_asset_type.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_mixed_market_broker.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_multi_slot_windows.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_preload_normalize.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_preload_runner.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_runner.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_runner_bounded_session.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_runner_broker_bridge.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_runner_broker_readiness.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_runner_broker_recovery.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_runner_broker_submitter.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_runner_client_order_id.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_runner_instrument_snapshots.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_runner_lifecycle.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_runner_no_market_data_warning.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_runner_order_request_cache.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_runner_sigterm_stop.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_runner_stop_remap.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_runtime_config_dispatch.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_subscribe_forwards_to_gateway.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_live_summary_stop_reason.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_local_stop_book.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_local_stop_book_threadsafe.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_local_stop_scenario.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_log_sensitive_filter.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_lwc_indicators.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_lwc_review.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_merge_results.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_ml_rolling_training_threshold.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_multi_slot_ownership.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_multisymbol_cross_section_consistency.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_naive_timezone.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_normalize.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_oco_bracket_broker_live_scenario.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_on_execution_report_noop.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_on_timer_suspension_deadlock.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_optimize_functional_params.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_optimize_params.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_option_expiry_settlement.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_option_fees.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_option_market_side_effects.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_order_api_return_values.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_order_audit.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_order_callback_dedupe.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_order_receipt.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_order_receipt_backtest.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_order_target_lot_size_alignment.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_orders_df.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_params.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_params_adapter.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_parquet_stream.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_partial_filled_status.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_pickle_model_objects.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_plot_defaults.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_portfolio.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_position_effect_flip.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_pre_open_live_warns.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_product_presets.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_quickstart_stream_consistency.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_reduce_only_sell_affordability.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_removed_wrappers.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_replay_live_end_to_end.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_replay_market_gateway.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_report_helpers.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_report_plot_extensions.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_result_analysis_extensions.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_review_minors_cleanup.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_run_live_indicator_stream.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_session_config.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_session_matching.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_session_resolver.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_signal_module.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_signal_port_injection.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_signal_sources_p3.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_sizer_auto_resize.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_sort_determinism.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_source_trading_day.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_stock_tick_validation.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_stop_id_remap_scenario.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_stop_orders.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_stop_retry_client_order_id.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_strategy_events_stop_hook.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_strategy_freq_attribute.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_strategy_history_dual_stream.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_strategy_history_missing_symbol_warning.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_strategy_inspect.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_strategy_loader_exports.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_strategy_loader_pickle.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_strategy_loader_plugins.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_strategy_ml_dual_stream.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_strategy_order_group_lock.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_strategy_params.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_strategy_session_api.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_strategy_sizing_broker_live_guard.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_strategy_timers_indicators.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_stream_series_key.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_subscribe_live_warns.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_suspension_zero_volume_gtc_terminal.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_symbols_filtering.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_symbols_whitelist_rust.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_t_plus_one.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_talib_alignment.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_talib_backend.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_talib_compat.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_target_orders_core.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_tick_indicators.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_tick_input.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_trade_stream_bridge.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_trades_df.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_trading_day_lifecycle.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_utils_price.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_vectorized.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_version.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_viz_namespace.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_volume_limit.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_walk_forward_kwargs.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_warmup_period_per_symbol.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_window_checkpoint.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_window_live_replay.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_window_sessions.py +0 -0
- {akquant-0.3.75 → akquant-0.3.76}/tests/test_window_subscriptions.py +0 -0
|
@@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.3.76] - 2026-10-30
|
|
11
|
+
|
|
12
|
+
> **规则版本 2.1.2**:热启动恢复时,`config` 里没设滑点的配置现在沿用快照里的滑点(此前被覆盖成无滑点),涉及热启动且第一阶段有滑点的回测结果会变;另外,裸数字滑点与 `self.I(...)` 重名声明从静默接受改为直接报错。
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
- **破坏性:滑点不再接受裸数字**:`run_backtest(slippage=...)`、`StrategyConfig.slippage`、`InstrumentConfig.slippage`、`strategy_slippage` 映射的值、订单级 `buy/sell/short/cover(..., slippage=...)`、`run_from_checkpoint` 热启动路径,收到 `int`/`float`(含 `0`、`0.0` 和 `bool`)一律抛 `TypeError`。裸数字弃用已久,却只发 `DeprecationWarning`,而策略模块不是 `__main__`,按 Python 默认的告警过滤规则用户根本看不到,所以直接移除。报错信息里带着传入的值和迁移写法:百分比改写成 `{'type': 'percent', 'value': 0.0002}`,固定价差改写成 `{'type': 'fixed', 'value': 0.2}`;要关掉滑点(包括覆盖 `broker_profile` 模板里的滑点)传 `{'type': 'zero'}`;不传或传 `None` 表示不覆盖,设了 `broker_profile` 时模板滑点照常生效,否则不加滑点。`StrategyConfig.slippage` 默认值由 `0.0` 改为 `None`,`SlippageInput` 与各处类型注解去掉 `float`/`int`;同时删除只在裸数字路径上触发的“全局滑点 >= 0.05”提示。
|
|
16
|
+
- **热启动:`config` 没设滑点时沿用快照里的滑点**:`StrategyConfig.slippage` 默认值由 `0.0` 改为 `None` 之后,`run_from_checkpoint(config=BacktestConfig(strategy_config=StrategyConfig(...)))` 里没写滑点的配置不再把快照滑点覆盖成“无滑点”,而是按文档约定的优先级“显式入参 > `config.strategy_config` > 快照配置”落到快照上(例如第一阶段 1% 滑点、第二阶段 `config` 没写滑点,成交价由 100.0 变为 101.0)。要在热启动时关掉滑点,在 `config` 或 `slippage=` 里显式传 `{'type': 'zero'}`。
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
- **MCP 服务 `akquant-mcp`(可选依赖 `pip install "akquant[mcp]"`)**:给 Claude Code、Cursor 等 AI 编程助手用的本地 stdio 服务,提供 7 个工具——`search_api`/`get_api`(运行时内省,与已装版本一致)、`get_guide`(写策略要点)、`check_strategy`(静态检查,不执行代码)、`prepare_data`(本地文件、AKShare A 股日线、合成数据)、`run_backtest`(子进程回测,返回核心指标与带策略文件行号、阶段和修复提示的结构化报错)、`get_run_details`(分页读取成交、委托、权益、日志)。一期只支持类式策略;不做沙箱。见 `docs/zh/guide/mcp.md`。
|
|
20
|
+
|
|
21
|
+
### Fixed
|
|
22
|
+
- **同一进程里改了策略文件再 `run_backtest(strategy_source=path)`,静默跑的还是旧代码**:`python_plain` 加载器按路径编码出稳定的模块名并登记进 `sys.modules`,第二次加载见到同名模块就直接复用(Jupyter、长期运行的服务里最容易踩到)。现在加载时对源文件字节计算 sha256 摘要,存在模块的 `__akquant_source_digest__` 上:内容不变照旧复用同一个模块和类,内容变了就用同一个模块名重新执行并替换 `sys.modules` 里的条目(缓存模块没有摘要属性也视为需要重新加载)。重新加载时如果源文件执行失败(如语法错误),旧模块会放回 `sys.modules`,此前 pickle 出去的对象仍能按名找到,并重新抛出原异常。用内容哈希而不是 mtime,因为 Windows 上 mtime 精度有限、部分编辑器还会保留原 mtime;同时这类策略模块改为始终从源文件编译、不读写 `.pyc`,父进程的加载器和 spawn 出来的网格搜索 worker 里的 finder 都是如此(`.pyc` 只按秒级 mtime 和大小判过期,同一秒内改出等长内容或编辑器保留 mtime 都会命中旧字节码);摘要与编译用的是同一次读到的字节,加载过程加了进程内锁,多线程并发加载不会看到只执行了一半的模块。模块命名规则不变,多进程网格搜索的 pickle 链路不受影响。注意:重新加载之后,旧模块里的类和实例不能再被 pickle(`PicklingError: not the same object`),因为按名字解析到的是当前最新的类。
|
|
23
|
+
- **`self.I(...)` 重名声明不再静默覆盖,直接抛 `ValueError`**:同一策略里 `self.I(aq.EMA(3), name="x")` 与 `self.I(aq.EMA(30), name="x")` 此前不报错也不告警,第二次声明覆盖第一次,两个绑定每根 bar 读到的都是后声明的指标值。原因是指标按名字存进同一个字典、`IndicatorBinding` 也只按名字取值。现在“同一轮声明”(首跑的 `__init__` 与 `on_start`,或 warm start 恢复时重跑的那一遍 `on_start`)里解析后的名字第二次出现即报错,信息写明重复的名字、两次声明各自的指标类型与修改建议;显式名字与自动编号名(`ema`、`ema_2`)撞车、`PrecomputedIndicator` 重名同样报错。warm start 恢复时 `on_start` 重跑的同名声明不受影响(已声明名字的登记在恢复开始时与自动命名计数一并重置)。声明要放在 `on_start`(或 `__init__`)里,不要写在 `on_bar` 等回调中:在回调里声明会从第二根 bar 起因重名而报错。
|
|
24
|
+
- **`fetch_akshare_symbol` 把网络断开、AKShare 接口变动等请求失败都报成 `ValueError: No data found`,用户会误以为是代码或日期写错了**:带市场前缀和去掉前缀的两次调用都用 `except Exception` 吞掉异常并置空数据。现在两次调用都没拿到数据且至少一次抛了异常时抛 `RuntimeError`(`AKShare 请求失败 (sh600000): ConnectionError: ...`,并用 `from` 链接第一个抛出的异常);所有调用都正常返回、只是数据为空时仍抛 `ValueError("No data found ...")`;任意一次拿到数据照常返回。MCP 的 `prepare_data` 同步把 `RuntimeError` 转成 `ServiceError("AKShare 请求失败: ...")`。
|
|
25
|
+
|
|
10
26
|
## [0.3.75] - 2026-10-29
|
|
11
27
|
|
|
12
28
|
> **规则版本 2.1.1**:「部分成交后成交时验资不过」与「成交时自动缩量」只影响订单记录与回调,成交、持仓、资金不变;`buy()` 不传 `quantity`(交给 sizer 定量)且资金不足、或 sizer 算出非整手数量的回测结果会变化(原来拒单,现在缩量或取整后成交),显式给数量的回测不变。使用 `cn_stock_*` 三个 `broker_profile` 模板的回测结果会变化(印花税减半、开 T+1)。
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: akquant
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.76
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
@@ -26,6 +26,7 @@ Requires-Dist: pytest>=7.0.0 ; extra == 'dev'
|
|
|
26
26
|
Requires-Dist: ruff==0.17.1 ; extra == 'dev'
|
|
27
27
|
Requires-Dist: ta-lib==0.8.2 ; python_full_version >= '3.11' and extra == 'dev'
|
|
28
28
|
Requires-Dist: types-pytz>=2025.2.0.20251108 ; extra == 'dev'
|
|
29
|
+
Requires-Dist: mcp>=2.3,<3 ; extra == 'dev'
|
|
29
30
|
Requires-Dist: mkdocs>=1.5.0 ; extra == 'docs'
|
|
30
31
|
Requires-Dist: mkdocs-material>=9.5.0 ; extra == 'docs'
|
|
31
32
|
Requires-Dist: mkdocs-static-i18n>=1.2.0 ; extra == 'docs'
|
|
@@ -34,6 +35,7 @@ Requires-Dist: plotly>=5.0.0 ; extra == 'full'
|
|
|
34
35
|
Requires-Dist: scikit-learn>=1.0.0 ; extra == 'full'
|
|
35
36
|
Requires-Dist: torch>=2.0.0 ; extra == 'full'
|
|
36
37
|
Requires-Dist: quantstats>=0.0.60 ; extra == 'full'
|
|
38
|
+
Requires-Dist: mcp>=2.3,<3 ; extra == 'mcp'
|
|
37
39
|
Requires-Dist: scikit-learn>=1.0.0 ; extra == 'ml'
|
|
38
40
|
Requires-Dist: torch>=2.0.0 ; extra == 'ml'
|
|
39
41
|
Requires-Dist: plotly>=5.0.0 ; extra == 'plot'
|
|
@@ -42,6 +44,7 @@ Requires-Dist: redis>=5.0.0 ; extra == 'signal-redis'
|
|
|
42
44
|
Provides-Extra: dev
|
|
43
45
|
Provides-Extra: docs
|
|
44
46
|
Provides-Extra: full
|
|
47
|
+
Provides-Extra: mcp
|
|
45
48
|
Provides-Extra: ml
|
|
46
49
|
Provides-Extra: plot
|
|
47
50
|
Provides-Extra: quantstats
|
|
@@ -348,6 +351,7 @@ executions_by_strategy = result.executions_by_strategy() # 按策略归属聚合
|
|
|
348
351
|
* 🚀 **[快速入门](https://akquant.akfamily.xyz/start/quickstart/)**: 更多示例与基础用法。
|
|
349
352
|
* 🤖 **[机器学习指南](https://akquant.akfamily.xyz/advanced/ml/)**: 如何使用内置的 ML 框架进行滚动训练。
|
|
350
353
|
* 📚 **[API 参考](https://akquant.akfamily.xyz/reference/api/)**: 详细的类与函数文档。
|
|
354
|
+
* 🧩 **[MCP 服务](https://akquant.akfamily.xyz/guide/mcp/)**: 让 Claude Code、Cursor 等 AI 助手查 API、跑回测、读结构化报错。
|
|
351
355
|
* 💻 **[贡献指南](https://github.com/akfamily/akquant/blob/main/CONTRIBUTING.md)**: 如何参与项目开发。
|
|
352
356
|
|
|
353
357
|
## 🧪 测试与质量保证
|
|
@@ -289,6 +289,7 @@ executions_by_strategy = result.executions_by_strategy() # 按策略归属聚合
|
|
|
289
289
|
* 🚀 **[快速入门](https://akquant.akfamily.xyz/start/quickstart/)**: 更多示例与基础用法。
|
|
290
290
|
* 🤖 **[机器学习指南](https://akquant.akfamily.xyz/advanced/ml/)**: 如何使用内置的 ML 框架进行滚动训练。
|
|
291
291
|
* 📚 **[API 参考](https://akquant.akfamily.xyz/reference/api/)**: 详细的类与函数文档。
|
|
292
|
+
* 🧩 **[MCP 服务](https://akquant.akfamily.xyz/guide/mcp/)**: 让 Claude Code、Cursor 等 AI 助手查 API、跑回测、读结构化报错。
|
|
292
293
|
* 💻 **[贡献指南](https://github.com/akfamily/akquant/blob/main/CONTRIBUTING.md)**: 如何参与项目开发。
|
|
293
294
|
|
|
294
295
|
## 🧪 测试与质量保证
|
|
@@ -117,7 +117,7 @@ A single failing plugin is logged at `WARNING` and skipped; it does not affect o
|
|
|
117
117
|
1. **Stable module name** — loading the same source repeatedly yields the same module name
|
|
118
118
|
2. **Registered in `sys.modules`**, and importable by that name from a worker process
|
|
119
119
|
|
|
120
|
-
The built-in `python_plain` already satisfies both: it derives a stable, reversible module name from the source file path, and installs a `sys.meta_path` finder at `import akquant` time so workers can recover the source file from the module name.
|
|
120
|
+
The built-in `python_plain` already satisfies both: it derives a stable, reversible module name from the source file path, and installs a `sys.meta_path` finder at `import akquant` time so workers can recover the source file from the module name. When the source file content changes (detected by content hash), `python_plain` re-loads it under the same stable module name; unchanged content reuses the already loaded module. After a reload, classes and instances from the old module can no longer be pickled (`PicklingError: not the same object`), because the name now resolves to the latest class.
|
|
121
121
|
|
|
122
122
|
A custom loader that also needs multiprocessing support must provide an equivalent mechanism. Mind the timing: a `spawn`-started worker restores the module while deserializing the task queue, before any user code runs, so the finder must be installed at module import time.
|
|
123
123
|
|
|
@@ -28,6 +28,8 @@ framework takes care of three things for you: **advancing it on every bar**, **s
|
|
|
28
28
|
lookback through `ind[0]` / `ind[1]`**, and **reporting plot points on demand**. This
|
|
29
29
|
mirrors `ta.*` + `plot()` in TradingView Pine Script.
|
|
30
30
|
|
|
31
|
+
`name=` must be unique within a strategy: declaring the same name twice raises `ValueError` (without `name`, indicators are auto-numbered `ema`, `ema_2`, ...; an explicit name must not collide with those auto names either).
|
|
32
|
+
|
|
31
33
|
```python
|
|
32
34
|
import akquant as aq
|
|
33
35
|
from akquant import Bar, Strategy
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# MCP Server: Help AI Assistants Write Strategies That Run
|
|
2
|
+
|
|
3
|
+
AKQuant ships a local MCP (Model Context Protocol) server. Once connected to an AI coding assistant such as Claude Code or Cursor, the AI can look up APIs matching your installed version, statically check a strategy, prepare data, run backtests, and read structured results and errors — a write–run–fix loop.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install "akquant[mcp]"
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
This adds an `akquant-mcp` command. It talks to the AI client over stdio and is normally launched by the client.
|
|
12
|
+
|
|
13
|
+
## Connect a client
|
|
14
|
+
|
|
15
|
+
Claude Code (run in the project root):
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
claude mcp add akquant -- akquant-mcp
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
`akquant-mcp` must be on PATH. If AKQuant is installed in a uv/venv environment, use `claude mcp add akquant -- uv run akquant-mcp` or the absolute path of the executable.
|
|
22
|
+
|
|
23
|
+
Clients configured with JSON (Cursor etc.):
|
|
24
|
+
|
|
25
|
+
```json
|
|
26
|
+
{
|
|
27
|
+
"mcpServers": {
|
|
28
|
+
"akquant": {"command": "akquant-mcp", "args": ["--root", "/path/to/project"]}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Options:
|
|
34
|
+
|
|
35
|
+
- `--root`: project root. Without it the root is the directory the client launches the server in, so pass it explicitly. Strategy and data files must live under it.
|
|
36
|
+
- `--max-runs`: how many recent backtest runs to keep, default 50.
|
|
37
|
+
|
|
38
|
+
## Tools
|
|
39
|
+
|
|
40
|
+
| Tool | Purpose |
|
|
41
|
+
|---|---|
|
|
42
|
+
| `search_api` / `get_api` | Look up API signatures and docs (runtime introspection, matches your installed version) |
|
|
43
|
+
| `get_guide` | Strategy-writing notes: skeleton, orders, indicators, data format, market rules |
|
|
44
|
+
| `check_strategy` | Static check of a strategy file; does not execute it |
|
|
45
|
+
| `prepare_data` | Prepare data: local CSV/Parquet, AKShare (A-share daily bars), or synthetic |
|
|
46
|
+
| `run_backtest` | Backtest in a subprocess; returns key metrics, first trades and structured errors |
|
|
47
|
+
| `get_run_details` | Page through trades, orders, daily equity and logs |
|
|
48
|
+
|
|
49
|
+
The guides are also exposed as the resource `akquant://guide/{topic}`.
|
|
50
|
+
|
|
51
|
+
## Limitations
|
|
52
|
+
|
|
53
|
+
- Only class-based strategies (`Strategy` subclasses) are supported in this release; for function-style strategies, call `run_backtest` from a script.
|
|
54
|
+
- `run_backtest`'s `config` exposes common options only; futures contract parameters, risk config, optimization and reports are out of scope.
|
|
55
|
+
|
|
56
|
+
## Working directory
|
|
57
|
+
|
|
58
|
+
Cached data and run results go to `<project root>/.akquant-mcp/` by default; override with the `AKQUANT_MCP_HOME` environment variable. Add it to `.gitignore`:
|
|
59
|
+
|
|
60
|
+
```text
|
|
61
|
+
.akquant-mcp/
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Security
|
|
65
|
+
|
|
66
|
+
This is a local development tool and **is not a sandbox**: `run_backtest` executes your strategy file in a subprocess with the same trust as running `python strategy.py` yourself. The project-root path restriction only keeps the AI from wandering into other directories; it is not isolation. Do not use it to run strategy files from untrusted sources.
|
|
@@ -128,7 +128,7 @@ def run_backtest(
|
|
|
128
128
|
* `sessions`: Symbol prefix → session template name or custom session table (`"default"` is the global default), default `None`. When omitted, China time zones use per-asset defaults (stocks/funds `CN_STOCK`, futures `CN_FUTURES_DAY`, options `CN_OPTION`, other assets `ALWAYS_OPEN`); other time zones trade continuously all day (`ALWAYS_OPEN`). List the templates with `aq.SessionResolver.templates()`. A custom table is a sequence of `(start, end, session[, anchor])` segments, e.g. `[("21:00", "02:30", "continuous"), ("09:00", "15:00", "continuous")]`; anything outside the segments is closed, segments with `start >= "18:00"` anchor to the previous trading day (night session) unless a 4th item `"prev"` / `"day"` says otherwise, and keys match by the longest symbol prefix. Full rules in [Chapter 7](../textbook/07_futures.md).
|
|
129
129
|
* `trading_calendar`: List of trading days (`date` / string / `Timestamp`), default `None`. When omitted, China markets infer trading days from weekdays (holidays are treated as trading days, so night sessions and end-of-day settlement around holidays are wrong) and a warning is logged once; `ALWAYS_OPEN` counts every day and does not warn. Data timestamps outside the range covered by the given calendar raise `ValueError`.
|
|
130
130
|
* `t_plus_one`: Enable T+1 trading rule. When omitted, the `broker_profile` setting is used (all three built-in A-share templates enable it); without a template it is False. If enabled, it forces usage of China Market Model.
|
|
131
|
-
* `slippage`: Global slippage (Default
|
|
131
|
+
* `slippage`: Global slippage (Default `None`, i.e. no slippage). Must be an explicit policy dict, e.g. `{"type": "percent", "value": 0.0001}` for 1bp (0.01%) percent slippage, or `{"type": "fixed", "value": 0.2}` for a fixed price offset. Bare numbers (including `0`) are no longer accepted and raise `TypeError`. To disable slippage, including overriding a `broker_profile` template, pass `{"type": "zero"}`; omitting it or passing `None` means no override (the template's slippage applies if a `broker_profile` is set, otherwise there is no slippage).
|
|
132
132
|
* `volume_limit_pct`: Max participation rate, default `None` (unlimited, same as 0). With 0.25 a single bar fills at most 25% of its volume, rounded down to whole lots; if that is less than one lot the bar fills nothing and the order stays open. An order whose remaining quantity is at most `volume × pct` still fills in one piece (this may be an odd lot, e.g. selling the last 50 shares); an IOC/FOK order whose floored cap is 0 is cancelled on that bar. **Bar volume must use the same unit as order quantity**: AKShare's `stock_zh_a_hist` reports volume in lots (100 shares), multiply by 100 before enabling the limit. The limit applies to bar matching only; tick-driven matching is not subject to it. For instruments with fractional quantities (crypto, forex), set `lot_size` (default 1), otherwise the capped quantity is floored to whole units.
|
|
133
133
|
* `warmup_period`: Strategy warmup period. Specifies the length of historical data (number of Bars) to preload for indicator calculation.
|
|
134
134
|
* `start_time` / `end_time`: Backtest start/end time. Naive strings or `Timestamp` values are interpreted in the current `timezone` before being converted to UTC for filtering.
|
|
@@ -167,7 +167,7 @@ def run_backtest(
|
|
|
167
167
|
* `risk_budget_mode` / `risk_budget_reset_daily`: Risk budget accounting mode and reset policy.
|
|
168
168
|
* `analyzer_plugins`: Optional analyzer plugin list. Plugins receive `on_start/on_bar/on_trade/on_finish` callbacks and final outputs are stored in `result.analyzer_outputs`.
|
|
169
169
|
* `on_event`: Optional stream callback. When omitted, an internal no-op callback keeps legacy blocking return semantics; when provided, runtime events are emitted.
|
|
170
|
-
* `broker_profile`: Optional broker template preset for quick defaults (fees/slippage/lot size/T+1); explicit arguments take precedence. Built-ins: `cn_stock_miniqmt`, `cn_stock_t1_low_fee`, `cn_stock_sim_high_slippage`.
|
|
170
|
+
* `broker_profile`: Optional broker template preset for quick defaults (fees/slippage/lot size/T+1); explicit arguments take precedence (for slippage too: to override the template's slippage you must pass an explicit `slippage={"type": "zero"}` or another policy dict; omitting it or passing `None` leaves the template's slippage in effect). Built-ins: `cn_stock_miniqmt`, `cn_stock_t1_low_fee`, `cn_stock_sim_high_slippage`.
|
|
171
171
|
|
|
172
172
|
**Recommended fill_policy examples (primary path):**
|
|
173
173
|
|
|
@@ -508,7 +508,7 @@ class StrategyConfig:
|
|
|
508
508
|
# Execution
|
|
509
509
|
enable_fractional_shares: bool = False
|
|
510
510
|
round_fill_price: bool = True
|
|
511
|
-
slippage:
|
|
511
|
+
slippage: Optional[Dict[str, Any]] = None
|
|
512
512
|
volume_limit_pct: float = 0.0
|
|
513
513
|
exit_on_last_bar: bool = True
|
|
514
514
|
|
|
@@ -562,7 +562,7 @@ class InstrumentConfig:
|
|
|
562
562
|
min_commission: Optional[float] = None
|
|
563
563
|
stamp_tax_rate: Optional[float] = None
|
|
564
564
|
transfer_fee_rate: Optional[float] = None
|
|
565
|
-
slippage: Optional[
|
|
565
|
+
slippage: Optional[Dict[str, Any]] = None
|
|
566
566
|
|
|
567
567
|
# Option specific
|
|
568
568
|
option_type: Optional[
|
|
@@ -117,7 +117,7 @@ result = aq.run_backtest(
|
|
|
117
117
|
1. **模块名稳定**——同一来源重复加载得到同一模块名
|
|
118
118
|
2. **模块已登记进 `sys.modules`**,且子进程能按该名字重新导入
|
|
119
119
|
|
|
120
|
-
内置 `python_plain` 已经满足:它按源文件路径生成稳定且可逆的模块名,并在 `import akquant` 时安装 `sys.meta_path` finder
|
|
120
|
+
内置 `python_plain` 已经满足:它按源文件路径生成稳定且可逆的模块名,并在 `import akquant` 时安装 `sys.meta_path` finder,使子进程能按模块名找回源文件。源文件内容变化时(按内容哈希判断),`python_plain` 会用同一个模块名重新加载,模块命名规则不变;内容没变则复用已加载的模块。重新加载之后,旧模块里的类和实例不能再被 pickle(`PicklingError: not the same object`),因为按名字解析到的是当前最新的类。
|
|
121
121
|
|
|
122
122
|
自定义加载器若也要支持多进程,需自行提供等价机制。注意时机:`spawn` 启动的子进程在反序列化任务队列时就要还原该模块,早于任何用户代码执行,因此 finder 必须在模块导入期安装。
|
|
123
123
|
|
|
@@ -376,7 +376,7 @@ risk_config = RiskConfig(
|
|
|
376
376
|
# 应用配置 (StrategyConfig 还可以配置滑点等)
|
|
377
377
|
strategy_config = StrategyConfig(
|
|
378
378
|
risk=risk_config,
|
|
379
|
-
slippage=0.0002,
|
|
379
|
+
slippage={"type": "percent", "value": 0.0002}, # 2bp 滑点
|
|
380
380
|
volume_limit_pct=0.1 # 限制成交量占比 10%
|
|
381
381
|
)
|
|
382
382
|
run_backtest(..., config=BacktestConfig(strategy_config=strategy_config))
|
|
@@ -27,6 +27,8 @@
|
|
|
27
27
|
**支持 `ind[0]` / `ind[1]` 序列回溯**、**按需自动上报绘图点**。这对标 TradingView
|
|
28
28
|
Pine Script 的 `ta.*` + `plot()`。
|
|
29
29
|
|
|
30
|
+
`name=` 在同一个策略内必须唯一,重复声明会直接报错(省略 `name` 时按类名自动编号为 `ema`、`ema_2`……,显式名字也不能与这些自动名撞车)。
|
|
31
|
+
|
|
30
32
|
```python
|
|
31
33
|
import akquant as aq
|
|
32
34
|
from akquant import Bar, Strategy
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# MCP 服务:让 AI 助手写出能跑的策略
|
|
2
|
+
|
|
3
|
+
AKQuant 自带一个本地 MCP(Model Context Protocol)服务。接入 Claude Code、Cursor 等 AI 编程助手后,AI 可以查询与本机安装版本一致的 API、静态检查策略、准备数据、跑回测,并读到结构化的结果和报错,形成“写—跑—改”的闭环。
|
|
4
|
+
|
|
5
|
+
## 安装
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
pip install "akquant[mcp]"
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
安装后会多出一个 `akquant-mcp` 命令。它通过 stdio 与 AI 客户端通信,一般由客户端负责启动,不需要手动运行。
|
|
12
|
+
|
|
13
|
+
## 接入客户端
|
|
14
|
+
|
|
15
|
+
Claude Code(在项目根目录执行):
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
claude mcp add akquant -- akquant-mcp
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
`akquant-mcp` 必须在 PATH 上;如果 AKQuant 装在 uv/venv 环境里,请改用 `claude mcp add akquant -- uv run akquant-mcp`,或写可执行文件的绝对路径。
|
|
22
|
+
|
|
23
|
+
Cursor 等使用 JSON 配置的客户端:
|
|
24
|
+
|
|
25
|
+
```json
|
|
26
|
+
{
|
|
27
|
+
"mcpServers": {
|
|
28
|
+
"akquant": {"command": "akquant-mcp", "args": ["--root", "/path/to/project"]}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
命令行参数:
|
|
34
|
+
|
|
35
|
+
- `--root`:项目根目录,不传时取客户端启动服务的目录,建议显式传入。策略文件和数据文件都必须位于这个目录内。
|
|
36
|
+
- `--max-runs`:保留最近多少次回测结果,默认 50。
|
|
37
|
+
|
|
38
|
+
## 工具清单
|
|
39
|
+
|
|
40
|
+
| 工具 | 作用 |
|
|
41
|
+
|---|---|
|
|
42
|
+
| `search_api` / `get_api` | 查 API 签名与文档(运行时内省,与本机版本一致) |
|
|
43
|
+
| `get_guide` | 写策略要点:骨架、下单、指标、数据格式、市场规则 |
|
|
44
|
+
| `check_strategy` | 静态检查策略文件,不执行代码 |
|
|
45
|
+
| `prepare_data` | 准备数据:本地 CSV/Parquet、AKShare(A 股个股日线)、合成数据 |
|
|
46
|
+
| `run_backtest` | 在子进程中回测,返回核心指标、前几笔成交和结构化报错 |
|
|
47
|
+
| `get_run_details` | 分页读取成交、委托、日频权益和日志 |
|
|
48
|
+
|
|
49
|
+
写作要点同时以 resource `akquant://guide/{topic}` 的形式提供。
|
|
50
|
+
|
|
51
|
+
## 限制
|
|
52
|
+
|
|
53
|
+
- 一期只支持类式策略,即 `Strategy` 子类;函数式写法请直接写脚本调用 `run_backtest`。
|
|
54
|
+
- `run_backtest` 的 `config` 只开放常用参数;期货合约参数、风控、参数优化、报告图表都不在一期范围内。
|
|
55
|
+
|
|
56
|
+
## 工作目录
|
|
57
|
+
|
|
58
|
+
数据缓存和回测结果默认保存在 `<项目根>/.akquant-mcp/`,可以用环境变量 `AKQUANT_MCP_HOME` 改到别处。建议把它加进 `.gitignore`:
|
|
59
|
+
|
|
60
|
+
```text
|
|
61
|
+
.akquant-mcp/
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## 安全说明
|
|
65
|
+
|
|
66
|
+
这是本地开发工具,**不做沙箱**:`run_backtest` 在子进程中执行策略文件,信任程度与你自己运行 `python strategy.py` 相同。路径限制在项目根目录内,只是为了防止 AI 误读其他目录,不是安全隔离。不要用它运行来源不明的策略文件。
|
|
@@ -236,7 +236,7 @@ def run_from_checkpoint(
|
|
|
236
236
|
* `sessions`: 代码前缀 → 时段模板名或自定义时段表(`"default"` 为全局默认),默认 `None`。不传时中国时区按资产类型取默认(股票/基金 `CN_STOCK`、期货 `CN_FUTURES_DAY`、期权 `CN_OPTION`,其他资产 `ALWAYS_OPEN`),其他时区全天连续(`ALWAYS_OPEN`)。可选模板见 `aq.SessionResolver.templates()`;自定义时段表写法见下文 `BacktestConfig.china_futures` 一节的时段说明。
|
|
237
237
|
* `trading_calendar`: 交易日列表(`date` / 字符串 / `Timestamp`),默认 `None`。不传时中国市场按工作日推算(节假日也被当作交易日,节假日前后的夜盘与日终结算会算错),并告警一次;`ALWAYS_OPEN` 每天都算,不告警。数据时刻超出所传日历覆盖范围时报 `ValueError`。
|
|
238
238
|
* `t_plus_one`: 是否启用 T+1 交易规则。不传时取 `broker_profile` 模板的设置(三个内置 A 股模板都开),没有模板时为 False。如果启用,将强制使用中国市场模型。
|
|
239
|
-
* `slippage`: 全局滑点 (默认
|
|
239
|
+
* `slippage`: 全局滑点 (默认 `None`,即不加滑点)。必须写成策略字典,例如 `{"type": "percent", "value": 0.0001}` 代表 1bp (0.01%) 的百分比滑点,或 `{"type": "fixed", "value": 0.2}` 代表固定价差。不再接受裸数字(含 `0`),传入会抛 `TypeError`。要关掉滑点(包括覆盖 `broker_profile` 模板里的滑点)传 `{"type": "zero"}`;不传或传 `None` 表示不覆盖,设了 `broker_profile` 时沿用模板的滑点,否则不加滑点。
|
|
240
240
|
* `volume_limit_pct`: 成交量限制比例,默认 `None`(不限制,等同 0)。设为 0.25 时单根 bar 最多成交该 bar 成交量的 25%,截断量按手数向下取整,不足一手则本根不成交、订单继续挂着。订单剩余量不超过 `成交量 × 比例` 时仍一次成交(可能是零股,比如卖出最后剩下的 50 股);IOC/FOK 订单若取整后的截断量为 0,当根撤销。**bar 的成交量必须与下单数量同单位**:AKShare 的 `stock_zh_a_hist` 等接口成交量单位是“手”,需先乘以 100 再开启量限。量限只作用于 bar 撮合,tick 驱动的撮合不受量限约束。数量可为小数的品种(加密货币、外汇)需设置 `lot_size`(默认 1),否则截断后的数量会向下取整为整数。
|
|
241
241
|
* `warmup_period`: 策略预热期。指定需要预加载的历史数据长度(Bar 数量),用于计算指标。
|
|
242
242
|
* `start_time` / `end_time`: 回测开始/结束时间。若传入 naive 时间字符串或 `Timestamp`,会按当前 `timezone` 解释,再转换为 UTC 参与过滤。
|
|
@@ -271,7 +271,7 @@ def run_from_checkpoint(
|
|
|
271
271
|
* T+1 范围说明:当前 `t_plus_one` 仍是运行级/市场级开关,不支持按 `strategy_id` 分层配置。
|
|
272
272
|
* `analyzer_plugins`: 可选 Analyzer 插件列表。插件接收 `on_start/on_bar/on_trade/on_finish` 生命周期回调,结果汇总到 `result.analyzer_outputs`。
|
|
273
273
|
* `on_event`: 可选事件回调。不传时内部使用 no-op 回调并保持阻塞返回语义;传入时可实时消费事件。
|
|
274
|
-
* `broker_profile`: 可选 broker 参数模板,用于快速注入费率/滑点/最小手数/T+1
|
|
274
|
+
* `broker_profile`: 可选 broker 参数模板,用于快速注入费率/滑点/最小手数/T+1 等默认值,显式参数优先(滑点同理:要覆盖模板里的滑点须显式传 `slippage={"type": "zero"}` 或其他策略字典,不传或传 `None` 时模板滑点生效)。内置模板:`cn_stock_miniqmt`、`cn_stock_t1_low_fee`、`cn_stock_sim_high_slippage`。
|
|
275
275
|
|
|
276
276
|
**fill_policy 推荐示例(主路径):**
|
|
277
277
|
|
|
@@ -496,7 +496,7 @@ class StrategyConfig:
|
|
|
496
496
|
min_commission: float = 0.0
|
|
497
497
|
enable_fractional_shares: bool = False
|
|
498
498
|
round_fill_price: bool = True
|
|
499
|
-
slippage:
|
|
499
|
+
slippage: Optional[Dict[str, Any]] = None
|
|
500
500
|
volume_limit_pct: float = 0.0
|
|
501
501
|
max_long_positions: Optional[int] = None
|
|
502
502
|
max_short_positions: Optional[int] = None
|
|
@@ -545,7 +545,7 @@ class InstrumentConfig:
|
|
|
545
545
|
min_commission: Optional[float] = None
|
|
546
546
|
stamp_tax_rate: Optional[float] = None
|
|
547
547
|
transfer_fee_rate: Optional[float] = None
|
|
548
|
-
slippage: Optional[
|
|
548
|
+
slippage: Optional[Dict[str, Any]] = None
|
|
549
549
|
|
|
550
550
|
# 期权相关
|
|
551
551
|
option_type: Optional[
|
|
@@ -221,7 +221,7 @@ risk = RiskConfig(max_position_pct=0.1, stop_loss_threshold=0.8)
|
|
|
221
221
|
strategy_conf = StrategyConfig(
|
|
222
222
|
initial_cash=1_000_000,
|
|
223
223
|
commission_policy={"type": "per_unit", "value": 0.01}, # 每股 0.01 元
|
|
224
|
-
slippage=0.0002, # 万2滑点
|
|
224
|
+
slippage={"type": "percent", "value": 0.0002}, # 万2滑点
|
|
225
225
|
risk=risk
|
|
226
226
|
)
|
|
227
227
|
|
|
@@ -223,7 +223,7 @@ rb_config = InstrumentConfig(
|
|
|
223
223
|
|
|
224
224
|
* 期货策略请显式配置 `InstrumentConfig(asset_type="FUTURES", multiplier=..., margin_ratio=...)`,不要依赖默认资产类型。
|
|
225
225
|
* 如果你的人工记录按“当根收盘信号、当根收盘附近成交”统计,请显式设置 `fill_policy=CurrentClose()`(从 `akquant` 导入)。默认语义 `NextOpen()` 通常是“当根算信号、下一根开盘成交”。
|
|
226
|
-
* `run_backtest(..., slippage=...)`
|
|
226
|
+
* `run_backtest(..., slippage=...)` 必须显式写成 policy(不再接受裸数字,传入会抛 `TypeError`),例如 `{"type":"percent","value":0.0002}`、`{"type":"fixed","value":0.2}` 或 `{"type":"ticks","value":1}`。其中百分比语义下,`0.0002 = 2 bps`,如果写成 `0.2`,表示 `20%` 滑点,而不是 `0.2` 个点。
|
|
227
227
|
* 需要表达固定点差时,优先使用订单级滑点配置,例如 `slippage={"type":"fixed","value":0.2}`。
|
|
228
228
|
|
|
229
229
|
```python
|
|
@@ -103,6 +103,7 @@ plugins:
|
|
|
103
103
|
Capability Boost Plan: 能力补强路线图
|
|
104
104
|
Timezone Handling: 时区处理
|
|
105
105
|
Testing Guide: 测试指南
|
|
106
|
+
MCP Server: MCP 服务
|
|
106
107
|
API Reference: API 参考
|
|
107
108
|
Architecture & Internals: 架构与原理
|
|
108
109
|
Architecture: 系统架构
|
|
@@ -180,6 +181,7 @@ plugins:
|
|
|
180
181
|
Capability Boost Plan: Capability Boost Plan
|
|
181
182
|
Timezone Handling: Timezone Handling
|
|
182
183
|
Testing Guide: Testing Guide
|
|
184
|
+
MCP Server: MCP Server
|
|
183
185
|
API Reference: API Reference
|
|
184
186
|
Architecture & Internals: Architecture & Internals
|
|
185
187
|
Architecture: Architecture
|
|
@@ -267,6 +269,7 @@ nav:
|
|
|
267
269
|
- Visualization: guide/visualization.md
|
|
268
270
|
- Optimization Guide: guide/optimization.md
|
|
269
271
|
- Testing Guide: guide/testing.md
|
|
272
|
+
- MCP Server: guide/mcp.md
|
|
270
273
|
- Examples: guide/examples.md
|
|
271
274
|
- Advanced Topics:
|
|
272
275
|
- ML Guide: advanced/ml.md
|
|
@@ -4,7 +4,7 @@ build-backend = "maturin"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "akquant"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.76"
|
|
8
8
|
description = "High-performance quantitative trading framework based on Rust and Python"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "MIT License"}
|
|
@@ -40,6 +40,9 @@ Homepage = "https://github.com/akfamily/akquant"
|
|
|
40
40
|
Repository = "https://github.com/akfamily/akquant"
|
|
41
41
|
Documentation = "https://akquant.akfamily.xyz"
|
|
42
42
|
|
|
43
|
+
[project.scripts]
|
|
44
|
+
akquant-mcp = "akquant.mcp.__main__:main"
|
|
45
|
+
|
|
43
46
|
[project.optional-dependencies]
|
|
44
47
|
quantstats = [
|
|
45
48
|
"quantstats>=0.0.60"
|
|
@@ -60,6 +63,9 @@ docs = [
|
|
|
60
63
|
signal-redis = [
|
|
61
64
|
"redis>=5.0.0",
|
|
62
65
|
]
|
|
66
|
+
mcp = [
|
|
67
|
+
"mcp>=2.3,<3",
|
|
68
|
+
]
|
|
63
69
|
full = [
|
|
64
70
|
"plotly>=5.0.0",
|
|
65
71
|
"scikit-learn>=1.0.0",
|
|
@@ -75,6 +81,7 @@ dev = [
|
|
|
75
81
|
"ruff==0.17.1", # 与 .pre-commit-config.yaml 的 ruff-pre-commit rev 保持一致
|
|
76
82
|
"ta-lib==0.8.2; python_version >= '3.11'", # 仅测试: 指标与 TA-Lib 逐值对拍的基准(tests/test_talib_alignment.py), 升级即口径变更; 无 cp310 wheel
|
|
77
83
|
"types-pytz>=2025.2.0.20251108",
|
|
84
|
+
"mcp>=2.3,<3",
|
|
78
85
|
]
|
|
79
86
|
|
|
80
87
|
[tool.maturin]
|
|
@@ -8,7 +8,7 @@ try:
|
|
|
8
8
|
except metadata.PackageNotFoundError:
|
|
9
9
|
__version__ = "0.0.0+unknown"
|
|
10
10
|
|
|
11
|
-
__engine_rule_version__ = "2.1.
|
|
11
|
+
__engine_rule_version__ = "2.1.2" # Increment on behavior-changing updates
|
|
12
12
|
|
|
13
13
|
from . import akquant as _akquant
|
|
14
14
|
from . import log as _log
|
|
@@ -49,6 +49,7 @@ from ..config import (
|
|
|
49
49
|
ChinaStockConfig,
|
|
50
50
|
RiskConfig,
|
|
51
51
|
StrategyConfig,
|
|
52
|
+
bare_slippage_error,
|
|
52
53
|
)
|
|
53
54
|
from ..data import ParquetDataCatalog
|
|
54
55
|
from ..feed_adapter import DEFAULT_INPUT_TIMEZONE, DataFeedAdapter, FeedSlice
|
|
@@ -164,7 +165,7 @@ class SlippagePolicy(TypedDict, total=False):
|
|
|
164
165
|
value: float
|
|
165
166
|
|
|
166
167
|
|
|
167
|
-
SlippageInput = Union[
|
|
168
|
+
SlippageInput = Union[SlippagePolicy, Dict[str, Any], None]
|
|
168
169
|
|
|
169
170
|
|
|
170
171
|
class CommissionPolicy(TypedDict, total=False):
|
|
@@ -3007,66 +3008,18 @@ def _warn_unmatched_instrument_config(
|
|
|
3007
3008
|
)
|
|
3008
3009
|
|
|
3009
3010
|
|
|
3010
|
-
def _warn_if_suspicious_global_slippage(
|
|
3011
|
-
slippage: float, logger: logging.Logger
|
|
3012
|
-
) -> None:
|
|
3013
|
-
"""Warn when a global slippage value looks like a fixed price delta."""
|
|
3014
|
-
if slippage < 0.05:
|
|
3015
|
-
return
|
|
3016
|
-
logger.warning(
|
|
3017
|
-
"Global slippage=%s uses percent semantics in AKQuant. "
|
|
3018
|
-
"For example, 0.2 means 20%% slippage, not a fixed 0.2 price delta. "
|
|
3019
|
-
"If you intended a fixed offset such as 0.2 index points, set "
|
|
3020
|
-
"order-level slippage={'type': 'fixed', 'value': 0.2} instead.",
|
|
3021
|
-
slippage,
|
|
3022
|
-
)
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
def _warn_deprecated_float_slippage(
|
|
3026
|
-
slippage: Union[int, float], logger: logging.Logger, scope: str
|
|
3027
|
-
) -> None:
|
|
3028
|
-
_ = slippage
|
|
3029
|
-
warnings.warn(
|
|
3030
|
-
f"{scope} slippage passed as a bare number is deprecated in AKQuant. "
|
|
3031
|
-
"Use an explicit policy such as "
|
|
3032
|
-
"slippage={'type': 'percent', 'value': 0.0002} or "
|
|
3033
|
-
"slippage={'type': 'fixed', 'value': 0.2}.",
|
|
3034
|
-
DeprecationWarning,
|
|
3035
|
-
stacklevel=3,
|
|
3036
|
-
)
|
|
3037
|
-
logger.warning(
|
|
3038
|
-
"%s slippage passed as a bare number is deprecated in AKQuant. "
|
|
3039
|
-
"Please use an explicit policy such as "
|
|
3040
|
-
"slippage={'type': 'percent', 'value': 0.0002} or "
|
|
3041
|
-
"slippage={'type': 'fixed', 'value': 0.2}.",
|
|
3042
|
-
scope,
|
|
3043
|
-
)
|
|
3044
|
-
|
|
3045
|
-
|
|
3046
3011
|
def _normalize_slippage_policy(
|
|
3047
3012
|
slippage: SlippageInput,
|
|
3048
3013
|
*,
|
|
3049
3014
|
instrument_snapshots: Optional[Dict[str, InstrumentSnapshot]] = None,
|
|
3050
3015
|
logger: Optional[logging.Logger] = None,
|
|
3051
3016
|
scope: str = "Global",
|
|
3052
|
-
allow_float: bool = True,
|
|
3053
3017
|
resolve_ticks: bool = True,
|
|
3054
3018
|
) -> SlippagePolicy:
|
|
3055
3019
|
if slippage is None:
|
|
3056
3020
|
return {"type": "zero", "value": 0.0}
|
|
3057
3021
|
if isinstance(slippage, (int, float)):
|
|
3058
|
-
|
|
3059
|
-
raise TypeError(
|
|
3060
|
-
f"{scope} slippage must be a dict policy when provided; "
|
|
3061
|
-
"bare numeric slippage is no longer accepted here"
|
|
3062
|
-
)
|
|
3063
|
-
numeric_value = float(slippage)
|
|
3064
|
-
if numeric_value < 0:
|
|
3065
|
-
raise ValueError(f"{scope} slippage.value must be >= 0")
|
|
3066
|
-
if logger is not None and numeric_value != 0.0:
|
|
3067
|
-
_warn_deprecated_float_slippage(numeric_value, logger, scope)
|
|
3068
|
-
_warn_if_suspicious_global_slippage(numeric_value, logger)
|
|
3069
|
-
return {"type": "percent", "value": numeric_value}
|
|
3022
|
+
raise bare_slippage_error(scope, slippage)
|
|
3070
3023
|
if not isinstance(slippage, dict):
|
|
3071
3024
|
raise TypeError(f"{scope} slippage must be a dict when provided")
|
|
3072
3025
|
raw_type = str(slippage.get("type", "percent")).strip().lower()
|
|
@@ -3224,11 +3177,14 @@ def run_backtest(
|
|
|
3224
3177
|
:param stamp_tax_rate: 印花税率 (仅卖出, 默认 0.0)
|
|
3225
3178
|
:param transfer_fee_rate: 过户费率 (默认 0.0)
|
|
3226
3179
|
:param min_commission: 最低佣金 (默认 0.0)
|
|
3227
|
-
:param slippage:
|
|
3180
|
+
:param slippage: 滑点策略。必须显式传 dict,如
|
|
3228
3181
|
{"type": "percent", "value": 0.0002}、
|
|
3229
3182
|
{"type": "fixed", "value": 0.2}、
|
|
3230
3183
|
{"type": "ticks", "value": 1}。
|
|
3231
|
-
|
|
3184
|
+
不再接受裸数字(含 0),传入会抛 TypeError。
|
|
3185
|
+
要关掉滑点(包括覆盖 broker_profile 模板里的滑点)传
|
|
3186
|
+
{"type": "zero"};不传或传 None 表示不覆盖:设了
|
|
3187
|
+
broker_profile 时沿用模板滑点,否则不加滑点。
|
|
3232
3188
|
:param volume_limit_pct: 成交量限制比例, 默认 0 表示不限制; 截断量按手数向下取整
|
|
3233
3189
|
:param fill_policy: 统一成交语义配置(可选),传入 ``FillMode`` 对象:
|
|
3234
3190
|
``NextOpen()`` 下一根开盘价、``NextClose()`` 下一根收盘价、
|
|
@@ -3525,8 +3481,6 @@ def run_backtest(
|
|
|
3525
3481
|
if slippage is None:
|
|
3526
3482
|
if config and config.strategy_config:
|
|
3527
3483
|
slippage = config.strategy_config.slippage
|
|
3528
|
-
else:
|
|
3529
|
-
slippage = 0.0
|
|
3530
3484
|
|
|
3531
3485
|
if volume_limit_pct is None:
|
|
3532
3486
|
if config and config.strategy_config:
|
|
@@ -7245,8 +7199,6 @@ def run_from_checkpoint(
|
|
|
7245
7199
|
warm_start_slippage = cast(
|
|
7246
7200
|
SlippageInput, restored_backtest_config.get("slippage")
|
|
7247
7201
|
)
|
|
7248
|
-
if warm_start_slippage is None:
|
|
7249
|
-
warm_start_slippage = 0.0
|
|
7250
7202
|
normalized_global_slippage = _normalize_slippage_policy(
|
|
7251
7203
|
warm_start_slippage,
|
|
7252
7204
|
instrument_snapshots=merged_instrument_snapshots,
|