akquant 0.3.86__tar.gz → 0.3.87__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.
Files changed (950) hide show
  1. {akquant-0.3.86 → akquant-0.3.87}/CHANGELOG.md +8 -0
  2. {akquant-0.3.86 → akquant-0.3.87}/Cargo.lock +1 -1
  3. {akquant-0.3.86 → akquant-0.3.87}/Cargo.toml +1 -1
  4. {akquant-0.3.86 → akquant-0.3.87}/PKG-INFO +1 -1
  5. {akquant-0.3.86 → akquant-0.3.87}/docs/en/guide/factor.md +20 -0
  6. {akquant-0.3.86 → akquant-0.3.87}/docs/en/reference/api.md +1 -1
  7. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/guide/factor.md +13 -2
  8. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/reference/api.md +1 -1
  9. {akquant-0.3.86 → akquant-0.3.87}/pyproject.toml +1 -1
  10. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/factor/parser.py +48 -4
  11. {akquant-0.3.86 → akquant-0.3.87}/server.json +3 -3
  12. akquant-0.3.87/tests/test_factor_logic_ops.py +171 -0
  13. {akquant-0.3.86 → akquant-0.3.87}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  14. {akquant-0.3.86 → akquant-0.3.87}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  15. {akquant-0.3.86 → akquant-0.3.87}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  16. {akquant-0.3.86 → akquant-0.3.87}/.github/dependabot.yml +0 -0
  17. {akquant-0.3.86 → akquant-0.3.87}/.github/workflows/deploy-docs.yml +0 -0
  18. {akquant-0.3.86 → akquant-0.3.87}/.github/workflows/docs-quality.yml +0 -0
  19. {akquant-0.3.86 → akquant-0.3.87}/.github/workflows/release.yml +0 -0
  20. {akquant-0.3.86 → akquant-0.3.87}/.gitignore +0 -0
  21. {akquant-0.3.86 → akquant-0.3.87}/.pre-commit-config.yaml +0 -0
  22. {akquant-0.3.86 → akquant-0.3.87}/CODE_OF_CONDUCT.md +0 -0
  23. {akquant-0.3.86 → akquant-0.3.87}/CONTRIBUTING.md +0 -0
  24. {akquant-0.3.86 → akquant-0.3.87}/LICENSE +0 -0
  25. {akquant-0.3.86 → akquant-0.3.87}/README.md +0 -0
  26. {akquant-0.3.86 → akquant-0.3.87}/assets/dashboard_preview.png +0 -0
  27. {akquant-0.3.86 → akquant-0.3.87}/assets/logo.svg +0 -0
  28. {akquant-0.3.86 → akquant-0.3.87}/assets/social_preview.png +0 -0
  29. {akquant-0.3.86 → akquant-0.3.87}/docs/CNAME +0 -0
  30. {akquant-0.3.86 → akquant-0.3.87}/docs/assets/akquant-icon.svg +0 -0
  31. {akquant-0.3.86 → akquant-0.3.87}/docs/assets/akquant-logo.svg +0 -0
  32. {akquant-0.3.86 → akquant-0.3.87}/docs/assets/reports/akquant_report.html +0 -0
  33. {akquant-0.3.86 → akquant-0.3.87}/docs/en/advanced/analyzer_plugin_spec.md +0 -0
  34. {akquant-0.3.86 → akquant-0.3.87}/docs/en/advanced/broker_capability_matrix.md +0 -0
  35. {akquant-0.3.86 → akquant-0.3.87}/docs/en/advanced/custom_broker_production_checklist.md +0 -0
  36. {akquant-0.3.86 → akquant-0.3.87}/docs/en/advanced/custom_broker_registry.md +0 -0
  37. {akquant-0.3.86 → akquant-0.3.87}/docs/en/advanced/custom_strategy_loader.md +0 -0
  38. {akquant-0.3.86 → akquant-0.3.87}/docs/en/advanced/data_feed_adapter_spec.md +0 -0
  39. {akquant-0.3.86 → akquant-0.3.87}/docs/en/advanced/live_functional_quickstart.md +0 -0
  40. {akquant-0.3.86 → akquant-0.3.87}/docs/en/advanced/llm.md +0 -0
  41. {akquant-0.3.86 → akquant-0.3.87}/docs/en/advanced/ml.md +0 -0
  42. {akquant-0.3.86 → akquant-0.3.87}/docs/en/advanced/multi_strategy_guide.md +0 -0
  43. {akquant-0.3.86 → akquant-0.3.87}/docs/en/advanced/multi_timeframe_feed_api.md +0 -0
  44. {akquant-0.3.86 → akquant-0.3.87}/docs/en/advanced/runtime_config.md +0 -0
  45. {akquant-0.3.86 → akquant-0.3.87}/docs/en/advanced/signal_ingestion.md +0 -0
  46. {akquant-0.3.86 → akquant-0.3.87}/docs/en/advanced/strategy_style_decision.md +0 -0
  47. {akquant-0.3.86 → akquant-0.3.87}/docs/en/advanced/tick_size_alignment.md +0 -0
  48. {akquant-0.3.86 → akquant-0.3.87}/docs/en/advanced/timezone.md +0 -0
  49. {akquant-0.3.86 → akquant-0.3.87}/docs/en/advanced/warm_start.md +0 -0
  50. {akquant-0.3.86 → akquant-0.3.87}/docs/en/guide/analysis.md +0 -0
  51. {akquant-0.3.86 → akquant-0.3.87}/docs/en/guide/cross_section_checklist.md +0 -0
  52. {akquant-0.3.86 → akquant-0.3.87}/docs/en/guide/custom_indicator.md +0 -0
  53. {akquant-0.3.86 → akquant-0.3.87}/docs/en/guide/data.md +0 -0
  54. {akquant-0.3.86 → akquant-0.3.87}/docs/en/guide/examples.md +0 -0
  55. {akquant-0.3.86 → akquant-0.3.87}/docs/en/guide/indicator_scenario_quickref.md +0 -0
  56. {akquant-0.3.86 → akquant-0.3.87}/docs/en/guide/mcp.md +0 -0
  57. {akquant-0.3.86 → akquant-0.3.87}/docs/en/guide/optimization.md +0 -0
  58. {akquant-0.3.86 → akquant-0.3.87}/docs/en/guide/python_basics.md +0 -0
  59. {akquant-0.3.86 → akquant-0.3.87}/docs/en/guide/quant_basics.md +0 -0
  60. {akquant-0.3.86 → akquant-0.3.87}/docs/en/guide/rust_indicator_reference.md +0 -0
  61. {akquant-0.3.86 → akquant-0.3.87}/docs/en/guide/strategy.md +0 -0
  62. {akquant-0.3.86 → akquant-0.3.87}/docs/en/guide/talib_indicator_playbook.md +0 -0
  63. {akquant-0.3.86 → akquant-0.3.87}/docs/en/guide/testing.md +0 -0
  64. {akquant-0.3.86 → akquant-0.3.87}/docs/en/guide/visualization.md +0 -0
  65. {akquant-0.3.86 → akquant-0.3.87}/docs/en/index.md +0 -0
  66. {akquant-0.3.86 → akquant-0.3.87}/docs/en/meta/architecture.md +0 -0
  67. {akquant-0.3.86 → akquant-0.3.87}/docs/en/meta/internals.md +0 -0
  68. {akquant-0.3.86 → akquant-0.3.87}/docs/en/start/first_strategy.md +0 -0
  69. {akquant-0.3.86 → akquant-0.3.87}/docs/en/start/installation.md +0 -0
  70. {akquant-0.3.86 → akquant-0.3.87}/docs/en/start/quickstart.md +0 -0
  71. {akquant-0.3.86 → akquant-0.3.87}/docs/en/start/setup_guide.md +0 -0
  72. {akquant-0.3.86 → akquant-0.3.87}/docs/en/textbook/01_foundations.md +0 -0
  73. {akquant-0.3.86 → akquant-0.3.87}/docs/en/textbook/02_programming.md +0 -0
  74. {akquant-0.3.86 → akquant-0.3.87}/docs/en/textbook/03_data.md +0 -0
  75. {akquant-0.3.86 → akquant-0.3.87}/docs/en/textbook/04_backtest_engine.md +0 -0
  76. {akquant-0.3.86 → akquant-0.3.87}/docs/en/textbook/05_strategy.md +0 -0
  77. {akquant-0.3.86 → akquant-0.3.87}/docs/en/textbook/06_stock_a.md +0 -0
  78. {akquant-0.3.86 → akquant-0.3.87}/docs/en/textbook/07_futures.md +0 -0
  79. {akquant-0.3.86 → akquant-0.3.87}/docs/en/textbook/08_options.md +0 -0
  80. {akquant-0.3.86 → akquant-0.3.87}/docs/en/textbook/09_funds.md +0 -0
  81. {akquant-0.3.86 → akquant-0.3.87}/docs/en/textbook/10_analysis.md +0 -0
  82. {akquant-0.3.86 → akquant-0.3.87}/docs/en/textbook/11_optimization.md +0 -0
  83. {akquant-0.3.86 → akquant-0.3.87}/docs/en/textbook/12_ml.md +0 -0
  84. {akquant-0.3.86 → akquant-0.3.87}/docs/en/textbook/13_visualization.md +0 -0
  85. {akquant-0.3.86 → akquant-0.3.87}/docs/en/textbook/14_factor.md +0 -0
  86. {akquant-0.3.86 → akquant-0.3.87}/docs/en/textbook/15_live_trading.md +0 -0
  87. {akquant-0.3.86 → akquant-0.3.87}/docs/en/textbook/16_rust_indicators.md +0 -0
  88. {akquant-0.3.86 → akquant-0.3.87}/docs/en/textbook/index.md +0 -0
  89. {akquant-0.3.86 → akquant-0.3.87}/docs/javascripts/mathjax.js +0 -0
  90. {akquant-0.3.86 → akquant-0.3.87}/docs/javascripts/search-lang-filter.js +0 -0
  91. {akquant-0.3.86 → akquant-0.3.87}/docs/llms.txt +0 -0
  92. {akquant-0.3.86 → akquant-0.3.87}/docs/robots.txt +0 -0
  93. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/advanced/adding_a_broker.md +0 -0
  94. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/advanced/analyzer_plugin_spec.md +0 -0
  95. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/advanced/broker_capability_matrix.md +0 -0
  96. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/advanced/custom_broker_production_checklist.md +0 -0
  97. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/advanced/custom_broker_registry.md +0 -0
  98. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/advanced/custom_strategy_loader.md +0 -0
  99. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/advanced/data_feed_adapter_spec.md +0 -0
  100. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/advanced/live_functional_quickstart.md +0 -0
  101. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/advanced/llm.md +0 -0
  102. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/advanced/ml.md +0 -0
  103. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/advanced/multi_strategy_guide.md +0 -0
  104. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/advanced/multi_timeframe_feed_api.md +0 -0
  105. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/advanced/runtime_config.md +0 -0
  106. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/advanced/signal_ingestion.md +0 -0
  107. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/advanced/strategy_style_decision.md +0 -0
  108. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/advanced/tick_size_alignment.md +0 -0
  109. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/advanced/timezone.md +0 -0
  110. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/advanced/warm_start.md +0 -0
  111. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/guide/analysis.md +0 -0
  112. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/guide/cross_section_checklist.md +0 -0
  113. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/guide/custom_indicator.md +0 -0
  114. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/guide/data.md +0 -0
  115. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/guide/examples.md +0 -0
  116. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/guide/indicator_scenario_quickref.md +0 -0
  117. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/guide/mcp.md +0 -0
  118. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/guide/optimization.md +0 -0
  119. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/guide/python_basics.md +0 -0
  120. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/guide/quant_basics.md +0 -0
  121. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/guide/rust_indicator_reference.md +0 -0
  122. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/guide/strategy.md +0 -0
  123. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/guide/talib_indicator_playbook.md +0 -0
  124. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/guide/testing.md +0 -0
  125. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/guide/visualization.md +0 -0
  126. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/index.md +0 -0
  127. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/meta/architecture.md +0 -0
  128. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/meta/columnar-rfc.md +0 -0
  129. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/meta/internals.md +0 -0
  130. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/start/first_strategy.md +0 -0
  131. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/start/installation.md +0 -0
  132. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/start/quickstart.md +0 -0
  133. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/start/setup_guide.md +0 -0
  134. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/00_glossary.md +0 -0
  135. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/01_foundations.md +0 -0
  136. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/02_programming.md +0 -0
  137. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/03_data.md +0 -0
  138. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/04_backtest_engine.md +0 -0
  139. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/05_strategy.md +0 -0
  140. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/06_stock_a.md +0 -0
  141. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/07_futures.md +0 -0
  142. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/08_options.md +0 -0
  143. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/09_funds.md +0 -0
  144. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/10_analysis.md +0 -0
  145. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/11_optimization.md +0 -0
  146. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/12_ml.md +0 -0
  147. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/13_visualization.md +0 -0
  148. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/14_factor.md +0 -0
  149. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/15_live_trading.md +0 -0
  150. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/16_rust_indicators.md +0 -0
  151. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/ROADMAP.md +0 -0
  152. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/appendix_cite.md +0 -0
  153. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/appendix_pitfalls.md +0 -0
  154. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/appendix_setup.md +0 -0
  155. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/capstone.md +0 -0
  156. {akquant-0.3.86 → akquant-0.3.87}/docs/zh/textbook/index.md +0 -0
  157. {akquant-0.3.86 → akquant-0.3.87}/examples/01_quickstart.py +0 -0
  158. {akquant-0.3.86 → akquant-0.3.87}/examples/02_parameter_optimization.py +0 -0
  159. {akquant-0.3.86 → akquant-0.3.87}/examples/03_parameter_optimization_advanced.py +0 -0
  160. {akquant-0.3.86 → akquant-0.3.87}/examples/04_mixed_assets.py +0 -0
  161. {akquant-0.3.86 → akquant-0.3.87}/examples/05_live_trading_ctp.py +0 -0
  162. {akquant-0.3.86 → akquant-0.3.87}/examples/06_complex_orders.py +0 -0
  163. {akquant-0.3.86 → akquant-0.3.87}/examples/07_option_test.py +0 -0
  164. {akquant-0.3.86 → akquant-0.3.87}/examples/08_event_callbacks.py +0 -0
  165. {akquant-0.3.86 → akquant-0.3.87}/examples/09_ml_framework.py +0 -0
  166. {akquant-0.3.86 → akquant-0.3.87}/examples/10_ml_walk_forward.py +0 -0
  167. {akquant-0.3.86 → akquant-0.3.87}/examples/11_plot_visualization.py +0 -0
  168. {akquant-0.3.86 → akquant-0.3.87}/examples/12_wfo_integrated.py +0 -0
  169. {akquant-0.3.86 → akquant-0.3.87}/examples/13_quantstats_report.py +0 -0
  170. {akquant-0.3.86 → akquant-0.3.87}/examples/14_multi_frequency.py +0 -0
  171. {akquant-0.3.86 → akquant-0.3.87}/examples/15_plot_intraday.py +0 -0
  172. {akquant-0.3.86 → akquant-0.3.87}/examples/16_adj_returns_signal.py +0 -0
  173. {akquant-0.3.86 → akquant-0.3.87}/examples/17_readme_demo.py +0 -0
  174. {akquant-0.3.86 → akquant-0.3.87}/examples/18_benchmark_multisymbol.py +0 -0
  175. {akquant-0.3.86 → akquant-0.3.87}/examples/19_factor_expression.py +0 -0
  176. {akquant-0.3.86 → akquant-0.3.87}/examples/20_risk_management_demo.py +0 -0
  177. {akquant-0.3.86 → akquant-0.3.87}/examples/21_warm_start_demo.py +0 -0
  178. {akquant-0.3.86 → akquant-0.3.87}/examples/22_strategy_runtime_config_demo.py +0 -0
  179. {akquant-0.3.86 → akquant-0.3.87}/examples/23_functional_callbacks_demo.py +0 -0
  180. {akquant-0.3.86 → akquant-0.3.87}/examples/24_functional_tick_simulation_demo.py +0 -0
  181. {akquant-0.3.86 → akquant-0.3.87}/examples/25_streaming_backtest_demo.py +0 -0
  182. {akquant-0.3.86 → akquant-0.3.87}/examples/26_streaming_quickstart.py +0 -0
  183. {akquant-0.3.86 → akquant-0.3.87}/examples/27_streaming_monitoring_console.py +0 -0
  184. {akquant-0.3.86 → akquant-0.3.87}/examples/28_streaming_alerts_and_persist.py +0 -0
  185. {akquant-0.3.86 → akquant-0.3.87}/examples/29_streaming_event_report.py +0 -0
  186. {akquant-0.3.86 → akquant-0.3.87}/examples/30_streaming_report_oneclick.py +0 -0
  187. {akquant-0.3.86 → akquant-0.3.87}/examples/31_streaming_live_console.py +0 -0
  188. {akquant-0.3.86 → akquant-0.3.87}/examples/32_streaming_live_web.py +0 -0
  189. {akquant-0.3.86 → akquant-0.3.87}/examples/33_report_and_analysis_outputs.py +0 -0
  190. {akquant-0.3.86 → akquant-0.3.87}/examples/34_multi_strategy_demo.py +0 -0
  191. {akquant-0.3.86 → akquant-0.3.87}/examples/35_custom_broker_registry_demo.py +0 -0
  192. {akquant-0.3.86 → akquant-0.3.87}/examples/36_trailing_orders.py +0 -0
  193. {akquant-0.3.86 → akquant-0.3.87}/examples/37_feed_replay_alignment_demo.py +0 -0
  194. {akquant-0.3.86 → akquant-0.3.87}/examples/38_live_functional_strategy_demo.py +0 -0
  195. {akquant-0.3.86 → akquant-0.3.87}/examples/39_live_broker_submit_order_demo.py +0 -0
  196. {akquant-0.3.86 → akquant-0.3.87}/examples/39_live_mixed_broker_demo.py +0 -0
  197. {akquant-0.3.86 → akquant-0.3.87}/examples/40_functional_multi_slot_risk_demo.py +0 -0
  198. {akquant-0.3.86 → akquant-0.3.87}/examples/41_live_multi_slot_orchestration_demo.py +0 -0
  199. {akquant-0.3.86 → akquant-0.3.87}/examples/42_live_broker_event_audit_demo.py +0 -0
  200. {akquant-0.3.86 → akquant-0.3.87}/examples/43_target_weights_rebalance.py +0 -0
  201. {akquant-0.3.86 → akquant-0.3.87}/examples/44_strategy_source_loader_demo.py +0 -0
  202. {akquant-0.3.86 → akquant-0.3.87}/examples/45_talib_indicator_playbook_demo.py +0 -0
  203. {akquant-0.3.86 → akquant-0.3.87}/examples/46_broker_profile_demo.py +0 -0
  204. {akquant-0.3.86 → akquant-0.3.87}/examples/47_margin_liquidation_audit_demo.py +0 -0
  205. {akquant-0.3.86 → akquant-0.3.87}/examples/48_margin_liquidation_priority_compare.py +0 -0
  206. {akquant-0.3.86 → akquant-0.3.87}/examples/49_on_expiry_demo.py +0 -0
  207. {akquant-0.3.86 → akquant-0.3.87}/examples/50_framework_hooks_demo.py +0 -0
  208. {akquant-0.3.86 → akquant-0.3.87}/examples/51_class_tick_callbacks_demo.py +0 -0
  209. {akquant-0.3.86 → akquant-0.3.87}/examples/52_pre_open_demo.py +0 -0
  210. {akquant-0.3.86 → akquant-0.3.87}/examples/53_timer_to_pre_open_demo.py +0 -0
  211. {akquant-0.3.86 → akquant-0.3.87}/examples/54_functional_pre_open_demo.py +0 -0
  212. {akquant-0.3.86 → akquant-0.3.87}/examples/55_functional_ml_walk_forward.py +0 -0
  213. {akquant-0.3.86 → akquant-0.3.87}/examples/56_functional_warm_start_demo.py +0 -0
  214. {akquant-0.3.86 → akquant-0.3.87}/examples/57_functional_multi_slot_warm_start_demo.py +0 -0
  215. {akquant-0.3.86 → akquant-0.3.87}/examples/58_incremental_bootstrap_demo.py +0 -0
  216. {akquant-0.3.86 → akquant-0.3.87}/examples/59_akshare_etf_rotation.py +0 -0
  217. {akquant-0.3.86 → akquant-0.3.87}/examples/60_custom_indicator_demo.py +0 -0
  218. {akquant-0.3.86 → akquant-0.3.87}/examples/61_indicator_visualization_export_demo.py +0 -0
  219. {akquant-0.3.86 → akquant-0.3.87}/examples/61_signal_platform_webhook.py +0 -0
  220. {akquant-0.3.86 → akquant-0.3.87}/examples/62_indicator_streaming_demo.py +0 -0
  221. {akquant-0.3.86 → akquant-0.3.87}/examples/63_indicator_ws_bridge_demo.py +0 -0
  222. {akquant-0.3.86 → akquant-0.3.87}/examples/64_indicator_live_web.py +0 -0
  223. {akquant-0.3.86 → akquant-0.3.87}/examples/65_bar_generator.py +0 -0
  224. {akquant-0.3.86 → akquant-0.3.87}/examples/66_logging_audit_demo.py +0 -0
  225. {akquant-0.3.86 → akquant-0.3.87}/examples/67_lwc_trade_review.py +0 -0
  226. {akquant-0.3.86 → akquant-0.3.87}/examples/68_backtest_tick_demo.py +0 -0
  227. {akquant-0.3.86 → akquant-0.3.87}/examples/69_live_runtime_config_dispatch_demo.py +0 -0
  228. {akquant-0.3.86 → akquant-0.3.87}/examples/70_csv_multi_symbol_import_demo.py +0 -0
  229. {akquant-0.3.86 → akquant-0.3.87}/examples/71_native_multi_timeframe_live.py +0 -0
  230. {akquant-0.3.86 → akquant-0.3.87}/examples/72_declarative_indicators.py +0 -0
  231. {akquant-0.3.86 → akquant-0.3.87}/examples/73_lwc_live_indicators.py +0 -0
  232. {akquant-0.3.86 → akquant-0.3.87}/examples/74_indicator_scripts.py +0 -0
  233. {akquant-0.3.86 → akquant-0.3.87}/examples/75_intrabar_indicators.py +0 -0
  234. {akquant-0.3.86 → akquant-0.3.87}/examples/76_tick_intrabar_indicators.py +0 -0
  235. {akquant-0.3.86 → akquant-0.3.87}/examples/77_heikin_ashi_indicator.py +0 -0
  236. {akquant-0.3.86 → akquant-0.3.87}/examples/78_chart_drawings.py +0 -0
  237. {akquant-0.3.86 → akquant-0.3.87}/examples/79_multi_symbol_indicator_timer.py +0 -0
  238. {akquant-0.3.86 → akquant-0.3.87}/examples/README.md +0 -0
  239. {akquant-0.3.86 → akquant-0.3.87}/examples/benchmark_utils.py +0 -0
  240. {akquant-0.3.86 → akquant-0.3.87}/examples/pb_mock.py +0 -0
  241. {akquant-0.3.86 → akquant-0.3.87}/examples/strategies/01_stock_dual_moving_average.py +0 -0
  242. {akquant-0.3.86 → akquant-0.3.87}/examples/strategies/02_stock_grid_trading.py +0 -0
  243. {akquant-0.3.86 → akquant-0.3.87}/examples/strategies/03_stock_atr_breakout.py +0 -0
  244. {akquant-0.3.86 → akquant-0.3.87}/examples/strategies/04_stock_momentum_rotation.py +0 -0
  245. {akquant-0.3.86 → akquant-0.3.87}/examples/strategies/05_stock_momentum_rotation_timer.py +0 -0
  246. {akquant-0.3.86 → akquant-0.3.87}/examples/strategies/06_stock_momentum_rotation_bucket.py +0 -0
  247. {akquant-0.3.86 → akquant-0.3.87}/examples/strategies/07_stock_momentum_rotation_on_timer.py +0 -0
  248. {akquant-0.3.86 → akquant-0.3.87}/examples/strategies/08_target_positions_long_short.py +0 -0
  249. {akquant-0.3.86 → akquant-0.3.87}/examples/strategies/09_stock_momentum_rotation_after_bar.py +0 -0
  250. {akquant-0.3.86 → akquant-0.3.87}/examples/strategies/README.md +0 -0
  251. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch01_quickstart.py +0 -0
  252. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch01_quickstart_functional.py +0 -0
  253. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch02_programming.py +0 -0
  254. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch03_data.py +0 -0
  255. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch04_comparison.py +0 -0
  256. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch04_comparison_functional.py +0 -0
  257. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch05_strategy.py +0 -0
  258. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch05_strategy_functional.py +0 -0
  259. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch06_stock_a.py +0 -0
  260. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch06_stock_a_functional.py +0 -0
  261. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch07_futures.py +0 -0
  262. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch07_futures_functional.py +0 -0
  263. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch08_options.py +0 -0
  264. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch08_options_functional.py +0 -0
  265. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch09_funds.py +0 -0
  266. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch09_funds_functional.py +0 -0
  267. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch09_portfolio.py +0 -0
  268. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch09_portfolio_functional.py +0 -0
  269. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch10_analysis.py +0 -0
  270. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch10_analysis_functional.py +0 -0
  271. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch11_optimization.py +0 -0
  272. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch11_optimization_functional.py +0 -0
  273. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch12_ml.py +0 -0
  274. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch12_ml_functional.py +0 -0
  275. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch13_visualization.py +0 -0
  276. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch13_visualization_functional.py +0 -0
  277. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch14_factor.py +0 -0
  278. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch15_live_trading.py +0 -0
  279. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch15_live_trading_functional.py +0 -0
  280. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch15_strategy_loader.py +0 -0
  281. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch15_strategy_loader_functional.py +0 -0
  282. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch16_indicators.py +0 -0
  283. {akquant-0.3.86 → akquant-0.3.87}/examples/textbook/ch16_indicators_functional.py +0 -0
  284. {akquant-0.3.86 → akquant-0.3.87}/mkdocs.yml +0 -0
  285. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/__init__.py +0 -0
  286. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/akquant.pyi +0 -0
  287. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/analysis/__init__.py +0 -0
  288. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/analysis/benchmark.py +0 -0
  289. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/analyzer_plugin.py +0 -0
  290. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/backtest/__init__.py +0 -0
  291. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/backtest/__init__.pyi +0 -0
  292. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/backtest/_viz.py +0 -0
  293. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/backtest/engine.py +0 -0
  294. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/backtest/fill_mode.py +0 -0
  295. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/backtest/merge.py +0 -0
  296. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/backtest/result.py +0 -0
  297. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/backtest/tick_input.py +0 -0
  298. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/bar_batch.py +0 -0
  299. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/bar_generator.py +0 -0
  300. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/chart/__init__.py +0 -0
  301. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/chart/_drawing.py +0 -0
  302. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/chart/_normalize.py +0 -0
  303. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/chart/d3kline.py +0 -0
  304. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/checkpoint.py +0 -0
  305. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/cli.py +0 -0
  306. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/config.py +0 -0
  307. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/data.py +0 -0
  308. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/execution/__init__.py +0 -0
  309. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/execution/base.py +0 -0
  310. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/execution/sim.py +0 -0
  311. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/factor/__init__.py +0 -0
  312. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/factor/engine.py +0 -0
  313. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/factor/ops.py +0 -0
  314. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/feed_adapter.py +0 -0
  315. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/fund/__init__.py +0 -0
  316. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/futures/__init__.py +0 -0
  317. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/__init__.py +0 -0
  318. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/base.py +0 -0
  319. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/broker_event_adapter.py +0 -0
  320. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/broker_event_bridge.py +0 -0
  321. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/broker_event_mapper.py +0 -0
  322. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/broker_execution.py +0 -0
  323. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/broker_models.py +0 -0
  324. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/broker_recovery.py +0 -0
  325. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/broker_runtime.py +0 -0
  326. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/broker_state_cache.py +0 -0
  327. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/broker_stats.py +0 -0
  328. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/broker_strategy_api.py +0 -0
  329. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/brokers/__init__.py +0 -0
  330. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/brokers/builtins.py +0 -0
  331. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/brokers/ctp/__init__.py +0 -0
  332. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/brokers/ctp/adapter.py +0 -0
  333. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/brokers/ctp/native.py +0 -0
  334. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/brokers/miniqmt/__init__.py +0 -0
  335. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/brokers/miniqmt/stub.py +0 -0
  336. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/brokers/plugins.py +0 -0
  337. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/brokers/ptrade/__init__.py +0 -0
  338. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/brokers/ptrade/stub.py +0 -0
  339. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/brokers/replay/__init__.py +0 -0
  340. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/brokers/replay/gateway.py +0 -0
  341. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/ctp_adapter.py +0 -0
  342. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/ctp_native.py +0 -0
  343. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/factory.py +0 -0
  344. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/local_stop_book.py +0 -0
  345. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/mapper.py +0 -0
  346. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/miniqmt.py +0 -0
  347. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/models.py +0 -0
  348. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/order_audit.py +0 -0
  349. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/order_errors.py +0 -0
  350. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/order_receipt.py +0 -0
  351. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/order_submitter.py +0 -0
  352. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/protocols.py +0 -0
  353. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/ptrade.py +0 -0
  354. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/registry.py +0 -0
  355. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/symbol_match.py +0 -0
  356. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/gateway/trader_base.py +0 -0
  357. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/indicator_declaration.py +0 -0
  358. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/indicator_identity.py +0 -0
  359. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/indicator_recording.py +0 -0
  360. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/indicator_script.py +0 -0
  361. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/indicator_stream.py +0 -0
  362. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/live/__init__.py +0 -0
  363. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/live/_facade.py +0 -0
  364. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/live/_gateway_setup.py +0 -0
  365. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/live/_paper_execution.py +0 -0
  366. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/live/_payload_utils.py +0 -0
  367. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/live/_preload.py +0 -0
  368. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/live/_runner.py +0 -0
  369. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/live/_strategy_maps.py +0 -0
  370. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/live/_stream_sink.py +0 -0
  371. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/log.py +0 -0
  372. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/lwc/__init__.py +0 -0
  373. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/lwc/_drawings.py +0 -0
  374. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/lwc/_indicators.py +0 -0
  375. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/lwc/_payload.py +0 -0
  376. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/lwc/_template.py +0 -0
  377. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/lwc/assets/LICENSE.lightweight-charts +0 -0
  378. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/lwc/assets/NOTICE.md +0 -0
  379. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/lwc/assets/lightweight-charts.standalone.production.js +0 -0
  380. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/lwc/review.py +0 -0
  381. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/__init__.py +0 -0
  382. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/__main__.py +0 -0
  383. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/guides/data-format.md +0 -0
  384. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/guides/indicators.md +0 -0
  385. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/guides/market-rules.md +0 -0
  386. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/guides/orders-and-positions.md +0 -0
  387. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/guides/strategy-skeleton.md +0 -0
  388. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/server.py +0 -0
  389. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/service/__init__.py +0 -0
  390. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/service/api_index.py +0 -0
  391. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/service/check.py +0 -0
  392. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/service/data.py +0 -0
  393. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/service/errors.py +0 -0
  394. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/service/guides.py +0 -0
  395. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/service/members.py +0 -0
  396. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/service/paths.py +0 -0
  397. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/service/records.py +0 -0
  398. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/service/runs.py +0 -0
  399. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/mcp/worker.py +0 -0
  400. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/ml/__init__.py +0 -0
  401. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/ml/model.py +0 -0
  402. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/normalize.py +0 -0
  403. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/optimize.py +0 -0
  404. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/option/__init__.py +0 -0
  405. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/params.py +0 -0
  406. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/params_adapter.py +0 -0
  407. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/plot/__init__.py +0 -0
  408. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/plot/_market_data.py +0 -0
  409. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/plot/analysis.py +0 -0
  410. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/plot/dashboard.py +0 -0
  411. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/plot/indicator.py +0 -0
  412. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/plot/report.py +0 -0
  413. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/plot/strategy.py +0 -0
  414. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/plot/utils.py +0 -0
  415. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/precomputed.py +0 -0
  416. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/py.typed +0 -0
  417. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/risk.py +0 -0
  418. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/schema.py +0 -0
  419. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/sessions_config.py +0 -0
  420. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/signal/__init__.py +0 -0
  421. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/signal/dedup.py +0 -0
  422. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/signal/dispatcher.py +0 -0
  423. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/signal/models.py +0 -0
  424. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/signal/protocols.py +0 -0
  425. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/signal/registry.py +0 -0
  426. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/signal/security.py +0 -0
  427. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/signal/sinks.py +0 -0
  428. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/signal/sources/__init__.py +0 -0
  429. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/signal/sources/http.py +0 -0
  430. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/signal/sources/queue.py +0 -0
  431. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/signal/sources/redis_stream.py +0 -0
  432. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/sizer.py +0 -0
  433. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/stock/__init__.py +0 -0
  434. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/strategy.py +0 -0
  435. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/strategy_drawing.py +0 -0
  436. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/strategy_events.py +0 -0
  437. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/strategy_framework_hooks.py +0 -0
  438. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/strategy_history.py +0 -0
  439. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/strategy_inspect.py +0 -0
  440. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/strategy_loader.py +0 -0
  441. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/strategy_logging.py +0 -0
  442. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/strategy_ml.py +0 -0
  443. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/strategy_order_events.py +0 -0
  444. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/strategy_position.py +0 -0
  445. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/strategy_preload.py +0 -0
  446. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/strategy_runtime_config.py +0 -0
  447. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/strategy_scheduler.py +0 -0
  448. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/strategy_stats.py +0 -0
  449. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/strategy_time.py +0 -0
  450. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/strategy_trading_api.py +0 -0
  451. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/strategy_window.py +0 -0
  452. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/stream_schema.py +0 -0
  453. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/talib/__init__.py +0 -0
  454. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/talib/_kernels.py +0 -0
  455. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/talib/backend.py +0 -0
  456. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/talib/core.py +0 -0
  457. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/talib/funcs.py +0 -0
  458. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/talib/lookback.py +0 -0
  459. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/trade_stream.py +0 -0
  460. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/utils/__init__.py +0 -0
  461. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/utils/inspector.py +0 -0
  462. {akquant-0.3.86 → akquant-0.3.87}/python/akquant/utils/price.py +0 -0
  463. {akquant-0.3.86 → akquant-0.3.87}/requirements-dev.txt +0 -0
  464. {akquant-0.3.86 → akquant-0.3.87}/scripts/bench_engine_perbar.py +0 -0
  465. {akquant-0.3.86 → akquant-0.3.87}/scripts/cargo-test.sh +0 -0
  466. {akquant-0.3.86 → akquant-0.3.87}/scripts/check_docs_api_examples.py +0 -0
  467. {akquant-0.3.86 → akquant-0.3.87}/scripts/check_docs_links.py +0 -0
  468. {akquant-0.3.86 → akquant-0.3.87}/scripts/check_release.py +0 -0
  469. {akquant-0.3.86 → akquant-0.3.87}/scripts/dev-check.sh +0 -0
  470. {akquant-0.3.86 → akquant-0.3.87}/scripts/golden_baseline_report.py +0 -0
  471. {akquant-0.3.86 → akquant-0.3.87}/scripts/profile_backtest.py +0 -0
  472. {akquant-0.3.86 → akquant-0.3.87}/scripts/stress_out_of_core.py +0 -0
  473. {akquant-0.3.86 → akquant-0.3.87}/scripts/update_cn_exchange_calendar.py +0 -0
  474. {akquant-0.3.86 → akquant-0.3.87}/src/account.rs +0 -0
  475. {akquant-0.3.86 → akquant-0.3.87}/src/analysis/excursion_tests.rs +0 -0
  476. {akquant-0.3.86 → akquant-0.3.87}/src/analysis/live_stats.rs +0 -0
  477. {akquant-0.3.86 → akquant-0.3.87}/src/analysis/mod.rs +0 -0
  478. {akquant-0.3.86 → akquant-0.3.87}/src/analysis/python.rs +0 -0
  479. {akquant-0.3.86 → akquant-0.3.87}/src/analysis/result.rs +0 -0
  480. {akquant-0.3.86 → akquant-0.3.87}/src/analysis/strategy_stats.rs +0 -0
  481. {akquant-0.3.86 → akquant-0.3.87}/src/analysis/tests.rs +0 -0
  482. {akquant-0.3.86 → akquant-0.3.87}/src/analysis/tracker.rs +0 -0
  483. {akquant-0.3.86 → akquant-0.3.87}/src/analysis/types.rs +0 -0
  484. {akquant-0.3.86 → akquant-0.3.87}/src/bin/stub_gen.rs +0 -0
  485. {akquant-0.3.86 → akquant-0.3.87}/src/calendar/clock.rs +0 -0
  486. {akquant-0.3.86 → akquant-0.3.87}/src/calendar/cn_exchange.rs +0 -0
  487. {akquant-0.3.86 → akquant-0.3.87}/src/calendar/cn_exchange_closed.txt +0 -0
  488. {akquant-0.3.86 → akquant-0.3.87}/src/calendar/mod.rs +0 -0
  489. {akquant-0.3.86 → akquant-0.3.87}/src/calendar/python.rs +0 -0
  490. {akquant-0.3.86 → akquant-0.3.87}/src/calendar/resolver.rs +0 -0
  491. {akquant-0.3.86 → akquant-0.3.87}/src/calendar/schedule.rs +0 -0
  492. {akquant-0.3.86 → akquant-0.3.87}/src/calendar/trading_calendar.rs +0 -0
  493. {akquant-0.3.86 → akquant-0.3.87}/src/clock.rs +0 -0
  494. {akquant-0.3.86 → akquant-0.3.87}/src/context.rs +0 -0
  495. {akquant-0.3.86 → akquant-0.3.87}/src/data/aggregator.rs +0 -0
  496. {akquant-0.3.86 → akquant-0.3.87}/src/data/batch.rs +0 -0
  497. {akquant-0.3.86 → akquant-0.3.87}/src/data/client.rs +0 -0
  498. {akquant-0.3.86 → akquant-0.3.87}/src/data/columns.rs +0 -0
  499. {akquant-0.3.86 → akquant-0.3.87}/src/data/compute.rs +0 -0
  500. {akquant-0.3.86 → akquant-0.3.87}/src/data/feed.rs +0 -0
  501. {akquant-0.3.86 → akquant-0.3.87}/src/data/mod.rs +0 -0
  502. {akquant-0.3.86 → akquant-0.3.87}/src/data/parquet_stream.rs +0 -0
  503. {akquant-0.3.86 → akquant-0.3.87}/src/data/python_window.rs +0 -0
  504. {akquant-0.3.86 → akquant-0.3.87}/src/data/window.rs +0 -0
  505. {akquant-0.3.86 → akquant-0.3.87}/src/engine/core.rs +0 -0
  506. {akquant-0.3.86 → akquant-0.3.87}/src/engine/mod.rs +0 -0
  507. {akquant-0.3.86 → akquant-0.3.87}/src/engine/python.rs +0 -0
  508. {akquant-0.3.86 → akquant-0.3.87}/src/engine/state.rs +0 -0
  509. {akquant-0.3.86 → akquant-0.3.87}/src/engine/strategy_handler.rs +0 -0
  510. {akquant-0.3.86 → akquant-0.3.87}/src/error.rs +0 -0
  511. {akquant-0.3.86 → akquant-0.3.87}/src/event.rs +0 -0
  512. {akquant-0.3.86 → akquant-0.3.87}/src/event_manager.rs +0 -0
  513. {akquant-0.3.86 → akquant-0.3.87}/src/execution/common.rs +0 -0
  514. {akquant-0.3.86 → akquant-0.3.87}/src/execution/crypto.rs +0 -0
  515. {akquant-0.3.86 → akquant-0.3.87}/src/execution/forex.rs +0 -0
  516. {akquant-0.3.86 → akquant-0.3.87}/src/execution/futures.rs +0 -0
  517. {akquant-0.3.86 → akquant-0.3.87}/src/execution/matcher.rs +0 -0
  518. {akquant-0.3.86 → akquant-0.3.87}/src/execution/mod.rs +0 -0
  519. {akquant-0.3.86 → akquant-0.3.87}/src/execution/option.rs +0 -0
  520. {akquant-0.3.86 → akquant-0.3.87}/src/execution/python.rs +0 -0
  521. {akquant-0.3.86 → akquant-0.3.87}/src/execution/realtime.rs +0 -0
  522. {akquant-0.3.86 → akquant-0.3.87}/src/execution/simulated.rs +0 -0
  523. {akquant-0.3.86 → akquant-0.3.87}/src/execution/slippage.rs +0 -0
  524. {akquant-0.3.86 → akquant-0.3.87}/src/execution/stock.rs +0 -0
  525. {akquant-0.3.86 → akquant-0.3.87}/src/execution/validation.rs +0 -0
  526. {akquant-0.3.86 → akquant-0.3.87}/src/history.rs +0 -0
  527. {akquant-0.3.86 → akquant-0.3.87}/src/indicators/momentum.rs +0 -0
  528. {akquant-0.3.86 → akquant-0.3.87}/src/indicators/momentum_oscillators.rs +0 -0
  529. {akquant-0.3.86 → akquant-0.3.87}/src/indicators/momentum_rates.rs +0 -0
  530. {akquant-0.3.86 → akquant-0.3.87}/src/indicators/moving_average.rs +0 -0
  531. {akquant-0.3.86 → akquant-0.3.87}/src/indicators/moving_average_compound.rs +0 -0
  532. {akquant-0.3.86 → akquant-0.3.87}/src/indicators/moving_average_core.rs +0 -0
  533. {akquant-0.3.86 → akquant-0.3.87}/src/indicators/moving_average_hilbert.rs +0 -0
  534. {akquant-0.3.86 → akquant-0.3.87}/src/indicators/moving_average_transforms.rs +0 -0
  535. {akquant-0.3.86 → akquant-0.3.87}/src/indicators/moving_average_windowed.rs +0 -0
  536. {akquant-0.3.86 → akquant-0.3.87}/src/indicators/trend.rs +0 -0
  537. {akquant-0.3.86 → akquant-0.3.87}/src/indicators/trend_directional.rs +0 -0
  538. {akquant-0.3.86 → akquant-0.3.87}/src/indicators/trend_oscillators.rs +0 -0
  539. {akquant-0.3.86 → akquant-0.3.87}/src/indicators/trend_regression.rs +0 -0
  540. {akquant-0.3.86 → akquant-0.3.87}/src/indicators/volatility.rs +0 -0
  541. {akquant-0.3.86 → akquant-0.3.87}/src/indicators/volatility_candle.rs +0 -0
  542. {akquant-0.3.86 → akquant-0.3.87}/src/indicators/volatility_price.rs +0 -0
  543. {akquant-0.3.86 → akquant-0.3.87}/src/indicators/volatility_stats.rs +0 -0
  544. {akquant-0.3.86 → akquant-0.3.87}/src/indicators/volume.rs +0 -0
  545. {akquant-0.3.86 → akquant-0.3.87}/src/indicators.rs +0 -0
  546. {akquant-0.3.86 → akquant-0.3.87}/src/lib.rs +0 -0
  547. {akquant-0.3.86 → akquant-0.3.87}/src/log_context.rs +0 -0
  548. {akquant-0.3.86 → akquant-0.3.87}/src/margin/calculator.rs +0 -0
  549. {akquant-0.3.86 → akquant-0.3.87}/src/margin/engine.rs +0 -0
  550. {akquant-0.3.86 → akquant-0.3.87}/src/margin/mod.rs +0 -0
  551. {akquant-0.3.86 → akquant-0.3.87}/src/market/china.rs +0 -0
  552. {akquant-0.3.86 → akquant-0.3.87}/src/market/core.rs +0 -0
  553. {akquant-0.3.86 → akquant-0.3.87}/src/market/corporate_action.rs +0 -0
  554. {akquant-0.3.86 → akquant-0.3.87}/src/market/fee_override.rs +0 -0
  555. {akquant-0.3.86 → akquant-0.3.87}/src/market/fund.rs +0 -0
  556. {akquant-0.3.86 → akquant-0.3.87}/src/market/futures.rs +0 -0
  557. {akquant-0.3.86 → akquant-0.3.87}/src/market/manager.rs +0 -0
  558. {akquant-0.3.86 → akquant-0.3.87}/src/market/mod.rs +0 -0
  559. {akquant-0.3.86 → akquant-0.3.87}/src/market/option.rs +0 -0
  560. {akquant-0.3.86 → akquant-0.3.87}/src/market/simple.rs +0 -0
  561. {akquant-0.3.86 → akquant-0.3.87}/src/market/stock.rs +0 -0
  562. {akquant-0.3.86 → akquant-0.3.87}/src/model/corporate_action.rs +0 -0
  563. {akquant-0.3.86 → akquant-0.3.87}/src/model/instrument.rs +0 -0
  564. {akquant-0.3.86 → akquant-0.3.87}/src/model/market_data.rs +0 -0
  565. {akquant-0.3.86 → akquant-0.3.87}/src/model/mod.rs +0 -0
  566. {akquant-0.3.86 → akquant-0.3.87}/src/model/order.rs +0 -0
  567. {akquant-0.3.86 → akquant-0.3.87}/src/model/timer.rs +0 -0
  568. {akquant-0.3.86 → akquant-0.3.87}/src/model/types.rs +0 -0
  569. {akquant-0.3.86 → akquant-0.3.87}/src/order_ledger.rs +0 -0
  570. {akquant-0.3.86 → akquant-0.3.87}/src/order_manager.rs +0 -0
  571. {akquant-0.3.86 → akquant-0.3.87}/src/pipeline/mod.rs +0 -0
  572. {akquant-0.3.86 → akquant-0.3.87}/src/pipeline/processor.rs +0 -0
  573. {akquant-0.3.86 → akquant-0.3.87}/src/pipeline/runner.rs +0 -0
  574. {akquant-0.3.86 → akquant-0.3.87}/src/pipeline/stages/channel.rs +0 -0
  575. {akquant-0.3.86 → akquant-0.3.87}/src/pipeline/stages/cleanup.rs +0 -0
  576. {akquant-0.3.86 → akquant-0.3.87}/src/pipeline/stages/data.rs +0 -0
  577. {akquant-0.3.86 → akquant-0.3.87}/src/pipeline/stages/execution.rs +0 -0
  578. {akquant-0.3.86 → akquant-0.3.87}/src/pipeline/stages/mod.rs +0 -0
  579. {akquant-0.3.86 → akquant-0.3.87}/src/pipeline/stages/shared.rs +0 -0
  580. {akquant-0.3.86 → akquant-0.3.87}/src/pipeline/stages/statistics.rs +0 -0
  581. {akquant-0.3.86 → akquant-0.3.87}/src/pipeline/stages/strategy.rs +0 -0
  582. {akquant-0.3.86 → akquant-0.3.87}/src/portfolio.rs +0 -0
  583. {akquant-0.3.86 → akquant-0.3.87}/src/risk/common.rs +0 -0
  584. {akquant-0.3.86 → akquant-0.3.87}/src/risk/config.rs +0 -0
  585. {akquant-0.3.86 → akquant-0.3.87}/src/risk/futures.rs +0 -0
  586. {akquant-0.3.86 → akquant-0.3.87}/src/risk/manager.rs +0 -0
  587. {akquant-0.3.86 → akquant-0.3.87}/src/risk/mod.rs +0 -0
  588. {akquant-0.3.86 → akquant-0.3.87}/src/risk/option.rs +0 -0
  589. {akquant-0.3.86 → akquant-0.3.87}/src/risk/portfolio.rs +0 -0
  590. {akquant-0.3.86 → akquant-0.3.87}/src/risk/rule.rs +0 -0
  591. {akquant-0.3.86 → akquant-0.3.87}/src/risk/stock.rs +0 -0
  592. {akquant-0.3.86 → akquant-0.3.87}/src/risk/strategy_limits.rs +0 -0
  593. {akquant-0.3.86 → akquant-0.3.87}/src/settlement/expiry.rs +0 -0
  594. {akquant-0.3.86 → akquant-0.3.87}/src/settlement/handler.rs +0 -0
  595. {akquant-0.3.86 → akquant-0.3.87}/src/settlement/manager.rs +0 -0
  596. {akquant-0.3.86 → akquant-0.3.87}/src/settlement/mod.rs +0 -0
  597. {akquant-0.3.86 → akquant-0.3.87}/src/settlement/option.rs +0 -0
  598. {akquant-0.3.86 → akquant-0.3.87}/src/signal_port.rs +0 -0
  599. {akquant-0.3.86 → akquant-0.3.87}/src/statistics/mod.rs +0 -0
  600. {akquant-0.3.86 → akquant-0.3.87}/tests/_checkpoint_0371.py +0 -0
  601. {akquant-0.3.86 → akquant-0.3.87}/tests/_mock_ctx.py +0 -0
  602. {akquant-0.3.86 → akquant-0.3.87}/tests/_order_event_scenarios.py +0 -0
  603. {akquant-0.3.86 → akquant-0.3.87}/tests/_plot_cases.py +0 -0
  604. {akquant-0.3.86 → akquant-0.3.87}/tests/fixtures/checkpoint_0371_minute.pkl +0 -0
  605. {akquant-0.3.86 → akquant-0.3.87}/tests/fixtures/order_event_traces.json +0 -0
  606. {akquant-0.3.86 → akquant-0.3.87}/tests/gateway_contract/test_event_bridge_contract.py +0 -0
  607. {akquant-0.3.86 → akquant-0.3.87}/tests/gateway_contract/test_recovery_contract.py +0 -0
  608. {akquant-0.3.86 → akquant-0.3.87}/tests/gateway_contract/test_submitter_contract.py +0 -0
  609. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/BASELINE_REPORT.md +0 -0
  610. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/futures_margin/equity_curve.parquet +0 -0
  611. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/futures_margin/metrics.json +0 -0
  612. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/futures_margin/orders.parquet +0 -0
  613. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/futures_margin/trading_day_ends.json +0 -0
  614. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/futures_night_weekend/equity_curve.parquet +0 -0
  615. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/futures_night_weekend/metrics.json +0 -0
  616. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/futures_night_weekend/orders.parquet +0 -0
  617. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/futures_night_weekend/trades.parquet +0 -0
  618. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/futures_night_weekend/trading_day_ends.json +0 -0
  619. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/option_basic/equity_curve.parquet +0 -0
  620. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/option_basic/metrics.json +0 -0
  621. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/option_basic/orders.parquet +0 -0
  622. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/option_basic/trading_day_ends.json +0 -0
  623. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/order_cancel/equity_curve.parquet +0 -0
  624. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/order_cancel/metrics.json +0 -0
  625. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/order_cancel/orders.parquet +0 -0
  626. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/order_cancel/trades.parquet +0 -0
  627. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/order_cancel/trading_day_ends.json +0 -0
  628. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/stock_minute_auction/equity_curve.parquet +0 -0
  629. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/stock_minute_auction/metrics.json +0 -0
  630. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/stock_minute_auction/orders.parquet +0 -0
  631. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/stock_minute_auction/trades.parquet +0 -0
  632. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/stock_minute_auction/trading_day_ends.json +0 -0
  633. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/stock_t1/equity_curve.parquet +0 -0
  634. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/stock_t1/metrics.json +0 -0
  635. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/stock_t1/orders.parquet +0 -0
  636. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/stock_t1/trades.parquet +0 -0
  637. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/baselines/stock_t1/trading_day_ends.json +0 -0
  638. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/data/future_margin.parquet +0 -0
  639. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/data/future_margin.parquet.sha256 +0 -0
  640. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/data/futures_night_weekend.parquet +0 -0
  641. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/data/futures_night_weekend.parquet.sha256 +0 -0
  642. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/data/option_basic.parquet +0 -0
  643. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/data/option_basic.parquet.sha256 +0 -0
  644. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/data/order_cancel.parquet +0 -0
  645. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/data/order_cancel.parquet.sha256 +0 -0
  646. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/data/stock_minute_auction.parquet +0 -0
  647. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/data/stock_minute_auction.parquet.sha256 +0 -0
  648. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/data/stock_t1.parquet +0 -0
  649. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/data/stock_t1.parquet.sha256 +0 -0
  650. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/gen_data.py +0 -0
  651. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/runner.py +0 -0
  652. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/strategies/futures_margin.py +0 -0
  653. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/strategies/futures_night_weekend.py +0 -0
  654. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/strategies/option_basic.py +0 -0
  655. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/strategies/order_cancel.py +0 -0
  656. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/strategies/stock_minute_auction.py +0 -0
  657. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/strategies/stock_t1.py +0 -0
  658. {akquant-0.3.86 → akquant-0.3.87}/tests/golden/test_golden.py +0 -0
  659. {akquant-0.3.86 → akquant-0.3.87}/tests/mcp_server/conftest.py +0 -0
  660. {akquant-0.3.86 → akquant-0.3.87}/tests/mcp_server/test_cli.py +0 -0
  661. {akquant-0.3.86 → akquant-0.3.87}/tests/mcp_server/test_mcp_api_index.py +0 -0
  662. {akquant-0.3.86 → akquant-0.3.87}/tests/mcp_server/test_mcp_check.py +0 -0
  663. {akquant-0.3.86 → akquant-0.3.87}/tests/mcp_server/test_mcp_data.py +0 -0
  664. {akquant-0.3.86 → akquant-0.3.87}/tests/mcp_server/test_mcp_errors.py +0 -0
  665. {akquant-0.3.86 → akquant-0.3.87}/tests/mcp_server/test_mcp_guides.py +0 -0
  666. {akquant-0.3.86 → akquant-0.3.87}/tests/mcp_server/test_mcp_main.py +0 -0
  667. {akquant-0.3.86 → akquant-0.3.87}/tests/mcp_server/test_mcp_paths.py +0 -0
  668. {akquant-0.3.86 → akquant-0.3.87}/tests/mcp_server/test_mcp_records.py +0 -0
  669. {akquant-0.3.86 → akquant-0.3.87}/tests/mcp_server/test_mcp_runs.py +0 -0
  670. {akquant-0.3.86 → akquant-0.3.87}/tests/mcp_server/test_mcp_server.py +0 -0
  671. {akquant-0.3.86 → akquant-0.3.87}/tests/test_account_risk_rules.py +0 -0
  672. {akquant-0.3.86 → akquant-0.3.87}/tests/test_api_rename_cash.py +0 -0
  673. {akquant-0.3.86 → akquant-0.3.87}/tests/test_api_rename_composites.py +0 -0
  674. {akquant-0.3.86 → akquant-0.3.87}/tests/test_api_rename_equity.py +0 -0
  675. {akquant-0.3.86 → akquant-0.3.87}/tests/test_api_rename_holding_bars.py +0 -0
  676. {akquant-0.3.86 → akquant-0.3.87}/tests/test_api_rename_positions.py +0 -0
  677. {akquant-0.3.86 → akquant-0.3.87}/tests/test_api_rename_rebalance.py +0 -0
  678. {akquant-0.3.86 → akquant-0.3.87}/tests/test_api_rename_scheduler.py +0 -0
  679. {akquant-0.3.86 → akquant-0.3.87}/tests/test_backtest_fund_fee_rules.py +0 -0
  680. {akquant-0.3.86 → akquant-0.3.87}/tests/test_backtest_params.py +0 -0
  681. {akquant-0.3.86 → akquant-0.3.87}/tests/test_backtest_symbol_column_aliases.py +0 -0
  682. {akquant-0.3.86 → akquant-0.3.87}/tests/test_backtest_tick_aggregate.py +0 -0
  683. {akquant-0.3.86 → akquant-0.3.87}/tests/test_backtest_tick_entry.py +0 -0
  684. {akquant-0.3.86 → akquant-0.3.87}/tests/test_backtest_tick_history.py +0 -0
  685. {akquant-0.3.86 → akquant-0.3.87}/tests/test_bar_aggregator_live.py +0 -0
  686. {akquant-0.3.86 → akquant-0.3.87}/tests/test_bar_generator.py +0 -0
  687. {akquant-0.3.86 → akquant-0.3.87}/tests/test_bar_hook_bookkeeping_invariants.py +0 -0
  688. {akquant-0.3.86 → akquant-0.3.87}/tests/test_bench_noise_gate.py +0 -0
  689. {akquant-0.3.86 → akquant-0.3.87}/tests/test_boundary_bar_fill.py +0 -0
  690. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_bridge_adapts_events.py +0 -0
  691. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_bridge_drives_order_groups.py +0 -0
  692. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_dropped_counts_periodic_summary.py +0 -0
  693. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_event_adapter.py +0 -0
  694. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_event_adapter_local_id.py +0 -0
  695. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_event_symbol_filter.py +0 -0
  696. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_event_task_isolation.py +0 -0
  697. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_execution_local_stops.py +0 -0
  698. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_execution_read_path_parity.py +0 -0
  699. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_execution_stop_requeue.py +0 -0
  700. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_live_risk_enforcement.py +0 -0
  701. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_order_redelivery_dedup.py +0 -0
  702. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_plugins.py +0 -0
  703. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_position_sync.py +0 -0
  704. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_profile_cn_stock.py +0 -0
  705. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_recovery_cadence.py +0 -0
  706. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_recovery_error_visibility.py +0 -0
  707. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_seed_baseline.py +0 -0
  708. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_trade_redelivery_dedup.py +0 -0
  709. {akquant-0.3.86 → akquant-0.3.87}/tests/test_broker_trade_stats.py +0 -0
  710. {akquant-0.3.86 → akquant-0.3.87}/tests/test_builtin_calendar.py +0 -0
  711. {akquant-0.3.86 → akquant-0.3.87}/tests/test_buying_power_new_symbol.py +0 -0
  712. {akquant-0.3.86 → akquant-0.3.87}/tests/test_cancel_request_persistence.py +0 -0
  713. {akquant-0.3.86 → akquant-0.3.87}/tests/test_cancel_same_cycle.py +0 -0
  714. {akquant-0.3.86 → akquant-0.3.87}/tests/test_candle_exporters.py +0 -0
  715. {akquant-0.3.86 → akquant-0.3.87}/tests/test_candle_render_type.py +0 -0
  716. {akquant-0.3.86 → akquant-0.3.87}/tests/test_chart_d3kline.py +0 -0
  717. {akquant-0.3.86 → akquant-0.3.87}/tests/test_chart_drawing_normalize.py +0 -0
  718. {akquant-0.3.86 → akquant-0.3.87}/tests/test_chart_normalize.py +0 -0
  719. {akquant-0.3.86 → akquant-0.3.87}/tests/test_check_release.py +0 -0
  720. {akquant-0.3.86 → akquant-0.3.87}/tests/test_checkpoint_0371_compat.py +0 -0
  721. {akquant-0.3.86 → akquant-0.3.87}/tests/test_checkpoint_option_rules.py +0 -0
  722. {akquant-0.3.86 → akquant-0.3.87}/tests/test_close_position_delegate.py +0 -0
  723. {akquant-0.3.86 → akquant-0.3.87}/tests/test_composed_ctx_not_ready.py +0 -0
  724. {akquant-0.3.86 → akquant-0.3.87}/tests/test_cost_config_consolidation.py +0 -0
  725. {akquant-0.3.86 → akquant-0.3.87}/tests/test_cross_section_day_order_next_open_fill.py +0 -0
  726. {akquant-0.3.86 → akquant-0.3.87}/tests/test_ctp_classify_order_error.py +0 -0
  727. {akquant-0.3.86 → akquant-0.3.87}/tests/test_custom_matcher.py +0 -0
  728. {akquant-0.3.86 → akquant-0.3.87}/tests/test_data_catalog.py +0 -0
  729. {akquant-0.3.86 → akquant-0.3.87}/tests/test_date_only_rewrite_cache.py +0 -0
  730. {akquant-0.3.86 → akquant-0.3.87}/tests/test_day_order_expiry_no_zombie_fill.py +0 -0
  731. {akquant-0.3.86 → akquant-0.3.87}/tests/test_deterministic_order.py +0 -0
  732. {akquant-0.3.86 → akquant-0.3.87}/tests/test_docs_api_examples.py +0 -0
  733. {akquant-0.3.86 → akquant-0.3.87}/tests/test_docs_links.py +0 -0
  734. {akquant-0.3.86 → akquant-0.3.87}/tests/test_drawing_stream.py +0 -0
  735. {akquant-0.3.86 → akquant-0.3.87}/tests/test_dual_stream_freq_inference.py +0 -0
  736. {akquant-0.3.86 → akquant-0.3.87}/tests/test_engine.py +0 -0
  737. {akquant-0.3.86 → akquant-0.3.87}/tests/test_engine_python_crossings.py +0 -0
  738. {akquant-0.3.86 → akquant-0.3.87}/tests/test_event_model_parity.py +0 -0
  739. {akquant-0.3.86 → akquant-0.3.87}/tests/test_examples_regression.py +0 -0
  740. {akquant-0.3.86 → akquant-0.3.87}/tests/test_execution_binding.py +0 -0
  741. {akquant-0.3.86 → akquant-0.3.87}/tests/test_execution_broker.py +0 -0
  742. {akquant-0.3.86 → akquant-0.3.87}/tests/test_execution_broker_reads_routed.py +0 -0
  743. {akquant-0.3.86 → akquant-0.3.87}/tests/test_execution_composed_parity.py +0 -0
  744. {akquant-0.3.86 → akquant-0.3.87}/tests/test_execution_read_delegation.py +0 -0
  745. {akquant-0.3.86 → akquant-0.3.87}/tests/test_execution_sim.py +0 -0
  746. {akquant-0.3.86 → akquant-0.3.87}/tests/test_execution_write_delegation.py +0 -0
  747. {akquant-0.3.86 → akquant-0.3.87}/tests/test_expiry_terminal_dispatch.py +0 -0
  748. {akquant-0.3.86 → akquant-0.3.87}/tests/test_expiry_trade_accounting.py +0 -0
  749. {akquant-0.3.86 → akquant-0.3.87}/tests/test_factor_engine.py +0 -0
  750. {akquant-0.3.86 → akquant-0.3.87}/tests/test_factor_ops.py +0 -0
  751. {akquant-0.3.86 → akquant-0.3.87}/tests/test_feed_adapter.py +0 -0
  752. {akquant-0.3.86 → akquant-0.3.87}/tests/test_fetch_akshare_symbol.py +0 -0
  753. {akquant-0.3.86 → akquant-0.3.87}/tests/test_fill_mode.py +0 -0
  754. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_broker_live_cancel.py +0 -0
  755. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_broker_live_reads.py +0 -0
  756. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_broker_models_ext.py +0 -0
  757. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_broker_state_cache.py +0 -0
  758. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_broker_state_invalidation.py +0 -0
  759. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_broker_submitter_quantity.py +0 -0
  760. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_broker_submitter_readiness.py +0 -0
  761. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_broker_submitter_signature.py +0 -0
  762. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_brokers_paths.py +0 -0
  763. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_builtins_registry.py +0 -0
  764. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_callbacks.py +0 -0
  765. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_cancel_failure.py +0 -0
  766. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_ctp_adapter.py +0 -0
  767. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_ctp_dual_stream.py +0 -0
  768. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_ctp_native.py +0 -0
  769. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_expired_order_status.py +0 -0
  770. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_factory.py +0 -0
  771. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_mapper.py +0 -0
  772. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_mixed_market_trader.py +0 -0
  773. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_optional_market.py +0 -0
  774. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_order_error_classification.py +0 -0
  775. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_order_submitter_extra.py +0 -0
  776. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_order_tick_reject_soft.py +0 -0
  777. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_order_tick_validation.py +0 -0
  778. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_place_order_failure.py +0 -0
  779. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_registry.py +0 -0
  780. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_sim_submit_guard.py +0 -0
  781. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_symbol_match.py +0 -0
  782. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_tif_mapping.py +0 -0
  783. {akquant-0.3.86 → akquant-0.3.87}/tests/test_gateway_trader_base.py +0 -0
  784. {akquant-0.3.86 → akquant-0.3.87}/tests/test_get_order_finalized.py +0 -0
  785. {akquant-0.3.86 → akquant-0.3.87}/tests/test_grid_search_all_failed.py +0 -0
  786. {akquant-0.3.86 → akquant-0.3.87}/tests/test_heikin_ashi.py +0 -0
  787. {akquant-0.3.86 → akquant-0.3.87}/tests/test_history_depth_after_start.py +0 -0
  788. {akquant-0.3.86 → akquant-0.3.87}/tests/test_history_lookback_autogrow.py +0 -0
  789. {akquant-0.3.86 → akquant-0.3.87}/tests/test_hooks_functional_wrapper.py +0 -0
  790. {akquant-0.3.86 → akquant-0.3.87}/tests/test_hooks_inherited_via_base.py +0 -0
  791. {akquant-0.3.86 → akquant-0.3.87}/tests/test_indicator_declaration.py +0 -0
  792. {akquant-0.3.86 → akquant-0.3.87}/tests/test_indicator_declaration_review.py +0 -0
  793. {akquant-0.3.86 → akquant-0.3.87}/tests/test_indicator_dual_stream.py +0 -0
  794. {akquant-0.3.86 → akquant-0.3.87}/tests/test_indicator_duplicate_name.py +0 -0
  795. {akquant-0.3.86 → akquant-0.3.87}/tests/test_indicator_intrabar.py +0 -0
  796. {akquant-0.3.86 → akquant-0.3.87}/tests/test_indicator_live_web_example.py +0 -0
  797. {akquant-0.3.86 → akquant-0.3.87}/tests/test_indicator_multi_symbol_access.py +0 -0
  798. {akquant-0.3.86 → akquant-0.3.87}/tests/test_indicator_non_finite.py +0 -0
  799. {akquant-0.3.86 → akquant-0.3.87}/tests/test_indicator_owner_identity.py +0 -0
  800. {akquant-0.3.86 → akquant-0.3.87}/tests/test_indicator_recording.py +0 -0
  801. {akquant-0.3.86 → akquant-0.3.87}/tests/test_indicator_script.py +0 -0
  802. {akquant-0.3.86 → akquant-0.3.87}/tests/test_inspector.py +0 -0
  803. {akquant-0.3.86 → akquant-0.3.87}/tests/test_instrument_default_tick.py +0 -0
  804. {akquant-0.3.86 → akquant-0.3.87}/tests/test_instrument_fee_override.py +0 -0
  805. {akquant-0.3.86 → akquant-0.3.87}/tests/test_instrument_slippage.py +0 -0
  806. {akquant-0.3.86 → akquant-0.3.87}/tests/test_instrument_symbol_suffix_normalization.py +0 -0
  807. {akquant-0.3.86 → akquant-0.3.87}/tests/test_instruments_config_symbol_mismatch.py +0 -0
  808. {akquant-0.3.86 → akquant-0.3.87}/tests/test_lifecycle_hooks.py +0 -0
  809. {akquant-0.3.86 → akquant-0.3.87}/tests/test_lifecycle_review_fixes.py +0 -0
  810. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_auto_preload.py +0 -0
  811. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_broker_slot_routing.py +0 -0
  812. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_duration_wallclock.py +0 -0
  813. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_freq_injection.py +0 -0
  814. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_market_config_by_asset_type.py +0 -0
  815. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_mixed_market_broker.py +0 -0
  816. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_multi_slot_windows.py +0 -0
  817. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_paper_execution_params.py +0 -0
  818. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_preload_normalize.py +0 -0
  819. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_preload_runner.py +0 -0
  820. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_public_api.py +0 -0
  821. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_runner.py +0 -0
  822. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_runner_bounded_session.py +0 -0
  823. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_runner_broker_bridge.py +0 -0
  824. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_runner_broker_readiness.py +0 -0
  825. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_runner_broker_recovery.py +0 -0
  826. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_runner_broker_submitter.py +0 -0
  827. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_runner_client_order_id.py +0 -0
  828. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_runner_instrument_snapshots.py +0 -0
  829. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_runner_lifecycle.py +0 -0
  830. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_runner_no_market_data_warning.py +0 -0
  831. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_runner_order_request_cache.py +0 -0
  832. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_runner_sigterm_stop.py +0 -0
  833. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_runner_stop_remap.py +0 -0
  834. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_runtime_config_dispatch.py +0 -0
  835. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_subscribe_forwards_to_gateway.py +0 -0
  836. {akquant-0.3.86 → akquant-0.3.87}/tests/test_live_summary_stop_reason.py +0 -0
  837. {akquant-0.3.86 → akquant-0.3.87}/tests/test_local_stop_book.py +0 -0
  838. {akquant-0.3.86 → akquant-0.3.87}/tests/test_local_stop_book_threadsafe.py +0 -0
  839. {akquant-0.3.86 → akquant-0.3.87}/tests/test_local_stop_scenario.py +0 -0
  840. {akquant-0.3.86 → akquant-0.3.87}/tests/test_log_sensitive_filter.py +0 -0
  841. {akquant-0.3.86 → akquant-0.3.87}/tests/test_lwc_drawings.py +0 -0
  842. {akquant-0.3.86 → akquant-0.3.87}/tests/test_lwc_indicators.py +0 -0
  843. {akquant-0.3.86 → akquant-0.3.87}/tests/test_lwc_review.py +0 -0
  844. {akquant-0.3.86 → akquant-0.3.87}/tests/test_merge_results.py +0 -0
  845. {akquant-0.3.86 → akquant-0.3.87}/tests/test_ml_rolling_training_threshold.py +0 -0
  846. {akquant-0.3.86 → akquant-0.3.87}/tests/test_multi_slot_ownership.py +0 -0
  847. {akquant-0.3.86 → akquant-0.3.87}/tests/test_multisymbol_cross_section_consistency.py +0 -0
  848. {akquant-0.3.86 → akquant-0.3.87}/tests/test_naive_timezone.py +0 -0
  849. {akquant-0.3.86 → akquant-0.3.87}/tests/test_normalize.py +0 -0
  850. {akquant-0.3.86 → akquant-0.3.87}/tests/test_oco_bracket_broker_live_scenario.py +0 -0
  851. {akquant-0.3.86 → akquant-0.3.87}/tests/test_on_bars.py +0 -0
  852. {akquant-0.3.86 → akquant-0.3.87}/tests/test_on_execution_report_noop.py +0 -0
  853. {akquant-0.3.86 → akquant-0.3.87}/tests/test_on_timer_suspension_deadlock.py +0 -0
  854. {akquant-0.3.86 → akquant-0.3.87}/tests/test_optimize_functional_params.py +0 -0
  855. {akquant-0.3.86 → akquant-0.3.87}/tests/test_optimize_params.py +0 -0
  856. {akquant-0.3.86 → akquant-0.3.87}/tests/test_option_expiry_settlement.py +0 -0
  857. {akquant-0.3.86 → akquant-0.3.87}/tests/test_option_fees.py +0 -0
  858. {akquant-0.3.86 → akquant-0.3.87}/tests/test_option_market_side_effects.py +0 -0
  859. {akquant-0.3.86 → akquant-0.3.87}/tests/test_order_api_return_values.py +0 -0
  860. {akquant-0.3.86 → akquant-0.3.87}/tests/test_order_audit.py +0 -0
  861. {akquant-0.3.86 → akquant-0.3.87}/tests/test_order_callback_dedupe.py +0 -0
  862. {akquant-0.3.86 → akquant-0.3.87}/tests/test_order_event_timing.py +0 -0
  863. {akquant-0.3.86 → akquant-0.3.87}/tests/test_order_event_traces.py +0 -0
  864. {akquant-0.3.86 → akquant-0.3.87}/tests/test_order_ledger_binding.py +0 -0
  865. {akquant-0.3.86 → akquant-0.3.87}/tests/test_order_receipt.py +0 -0
  866. {akquant-0.3.86 → akquant-0.3.87}/tests/test_order_receipt_backtest.py +0 -0
  867. {akquant-0.3.86 → akquant-0.3.87}/tests/test_order_target_lot_size_alignment.py +0 -0
  868. {akquant-0.3.86 → akquant-0.3.87}/tests/test_orders_df.py +0 -0
  869. {akquant-0.3.86 → akquant-0.3.87}/tests/test_params.py +0 -0
  870. {akquant-0.3.86 → akquant-0.3.87}/tests/test_params_adapter.py +0 -0
  871. {akquant-0.3.86 → akquant-0.3.87}/tests/test_parquet_stream.py +0 -0
  872. {akquant-0.3.86 → akquant-0.3.87}/tests/test_partial_filled_status.py +0 -0
  873. {akquant-0.3.86 → akquant-0.3.87}/tests/test_pickle_model_objects.py +0 -0
  874. {akquant-0.3.86 → akquant-0.3.87}/tests/test_plot_defaults.py +0 -0
  875. {akquant-0.3.86 → akquant-0.3.87}/tests/test_portfolio.py +0 -0
  876. {akquant-0.3.86 → akquant-0.3.87}/tests/test_position_effect_flip.py +0 -0
  877. {akquant-0.3.86 → akquant-0.3.87}/tests/test_pre_open_live_warns.py +0 -0
  878. {akquant-0.3.86 → akquant-0.3.87}/tests/test_product_presets.py +0 -0
  879. {akquant-0.3.86 → akquant-0.3.87}/tests/test_quickstart_stream_consistency.py +0 -0
  880. {akquant-0.3.86 → akquant-0.3.87}/tests/test_reduce_only_sell_affordability.py +0 -0
  881. {akquant-0.3.86 → akquant-0.3.87}/tests/test_removed_wrappers.py +0 -0
  882. {akquant-0.3.86 → akquant-0.3.87}/tests/test_replay_live_end_to_end.py +0 -0
  883. {akquant-0.3.86 → akquant-0.3.87}/tests/test_replay_market_gateway.py +0 -0
  884. {akquant-0.3.86 → akquant-0.3.87}/tests/test_report_helpers.py +0 -0
  885. {akquant-0.3.86 → akquant-0.3.87}/tests/test_report_plot_extensions.py +0 -0
  886. {akquant-0.3.86 → akquant-0.3.87}/tests/test_result_analysis_extensions.py +0 -0
  887. {akquant-0.3.86 → akquant-0.3.87}/tests/test_review_minors_cleanup.py +0 -0
  888. {akquant-0.3.86 → akquant-0.3.87}/tests/test_run_live_indicator_stream.py +0 -0
  889. {akquant-0.3.86 → akquant-0.3.87}/tests/test_session_config.py +0 -0
  890. {akquant-0.3.86 → akquant-0.3.87}/tests/test_session_matching.py +0 -0
  891. {akquant-0.3.86 → akquant-0.3.87}/tests/test_session_resolver.py +0 -0
  892. {akquant-0.3.86 → akquant-0.3.87}/tests/test_signal_module.py +0 -0
  893. {akquant-0.3.86 → akquant-0.3.87}/tests/test_signal_port_injection.py +0 -0
  894. {akquant-0.3.86 → akquant-0.3.87}/tests/test_signal_sources_p3.py +0 -0
  895. {akquant-0.3.86 → akquant-0.3.87}/tests/test_sizer_auto_resize.py +0 -0
  896. {akquant-0.3.86 → akquant-0.3.87}/tests/test_slippage_bare_number.py +0 -0
  897. {akquant-0.3.86 → akquant-0.3.87}/tests/test_sort_determinism.py +0 -0
  898. {akquant-0.3.86 → akquant-0.3.87}/tests/test_source_trading_day.py +0 -0
  899. {akquant-0.3.86 → akquant-0.3.87}/tests/test_stock_tick_validation.py +0 -0
  900. {akquant-0.3.86 → akquant-0.3.87}/tests/test_stop_id_remap_scenario.py +0 -0
  901. {akquant-0.3.86 → akquant-0.3.87}/tests/test_stop_orders.py +0 -0
  902. {akquant-0.3.86 → akquant-0.3.87}/tests/test_stop_retry_client_order_id.py +0 -0
  903. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_custom_init_params.py +0 -0
  904. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_drawing.py +0 -0
  905. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_events_stop_hook.py +0 -0
  906. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_extras.py +0 -0
  907. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_freq_attribute.py +0 -0
  908. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_history_dual_stream.py +0 -0
  909. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_history_missing_symbol_warning.py +0 -0
  910. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_inspect.py +0 -0
  911. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_loader_candidates.py +0 -0
  912. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_loader_exports.py +0 -0
  913. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_loader_pickle.py +0 -0
  914. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_loader_plugins.py +0 -0
  915. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_loader_reload.py +0 -0
  916. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_ml_dual_stream.py +0 -0
  917. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_order_group_lock.py +0 -0
  918. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_params.py +0 -0
  919. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_session_api.py +0 -0
  920. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_sizing_broker_live_guard.py +0 -0
  921. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_stats.py +0 -0
  922. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_stats_parity.py +0 -0
  923. {akquant-0.3.86 → akquant-0.3.87}/tests/test_strategy_timers_indicators.py +0 -0
  924. {akquant-0.3.86 → akquant-0.3.87}/tests/test_stream_series_key.py +0 -0
  925. {akquant-0.3.86 → akquant-0.3.87}/tests/test_subscribe_live_warns.py +0 -0
  926. {akquant-0.3.86 → akquant-0.3.87}/tests/test_suspension_zero_volume_gtc_terminal.py +0 -0
  927. {akquant-0.3.86 → akquant-0.3.87}/tests/test_symbols_filtering.py +0 -0
  928. {akquant-0.3.86 → akquant-0.3.87}/tests/test_symbols_whitelist_rust.py +0 -0
  929. {akquant-0.3.86 → akquant-0.3.87}/tests/test_t_plus_one.py +0 -0
  930. {akquant-0.3.86 → akquant-0.3.87}/tests/test_talib_alignment.py +0 -0
  931. {akquant-0.3.86 → akquant-0.3.87}/tests/test_talib_backend.py +0 -0
  932. {akquant-0.3.86 → akquant-0.3.87}/tests/test_talib_compat.py +0 -0
  933. {akquant-0.3.86 → akquant-0.3.87}/tests/test_target_orders_core.py +0 -0
  934. {akquant-0.3.86 → akquant-0.3.87}/tests/test_tick_indicators.py +0 -0
  935. {akquant-0.3.86 → akquant-0.3.87}/tests/test_tick_input.py +0 -0
  936. {akquant-0.3.86 → akquant-0.3.87}/tests/test_trade_stream_bridge.py +0 -0
  937. {akquant-0.3.86 → akquant-0.3.87}/tests/test_trades_df.py +0 -0
  938. {akquant-0.3.86 → akquant-0.3.87}/tests/test_trading_day_lifecycle.py +0 -0
  939. {akquant-0.3.86 → akquant-0.3.87}/tests/test_utils_price.py +0 -0
  940. {akquant-0.3.86 → akquant-0.3.87}/tests/test_vectorized.py +0 -0
  941. {akquant-0.3.86 → akquant-0.3.87}/tests/test_version.py +0 -0
  942. {akquant-0.3.86 → akquant-0.3.87}/tests/test_viz_namespace.py +0 -0
  943. {akquant-0.3.86 → akquant-0.3.87}/tests/test_volume_limit.py +0 -0
  944. {akquant-0.3.86 → akquant-0.3.87}/tests/test_walk_forward_kwargs.py +0 -0
  945. {akquant-0.3.86 → akquant-0.3.87}/tests/test_warm_start_slippage_inherit.py +0 -0
  946. {akquant-0.3.86 → akquant-0.3.87}/tests/test_warmup_period_per_symbol.py +0 -0
  947. {akquant-0.3.86 → akquant-0.3.87}/tests/test_window_checkpoint.py +0 -0
  948. {akquant-0.3.86 → akquant-0.3.87}/tests/test_window_live_replay.py +0 -0
  949. {akquant-0.3.86 → akquant-0.3.87}/tests/test_window_sessions.py +0 -0
  950. {akquant-0.3.86 → akquant-0.3.87}/tests/test_window_subscriptions.py +0 -0
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.3.87] - 2026-11-13
11
+
12
+ ### Fixed
13
+ - **因子表达式支持逻辑组合**(#446):文档一直写着条件里可以用 `&`、`|`,但解析器从未实现,照文档写会报 `ValueError: Unsupported binary operator: <class 'ast.BitAnd'>`。现在 `&`、`|`、`~` 以及等价的 `and`、`or`、`not` 都可用,如 `If((Close > Open) & (Volume > Ts_Mean(Volume, 20)), 1, 0)`。逐元素计算、没有短路;空值按三值逻辑处理(`空 & False` 得 `False`、`空 | True` 得 `True`)。`&`、`|` 两侧的比较漏写括号时,报错会说明加括号或改用 `and`、`or`。旧版本可用嵌套写法 `If(A, If(B, 1, 0), 0)` 代替。
14
+
15
+ ### Changed
16
+ - 文档补充 0.3.86 内置交易所日历的一处影响:`broker="replay"` 回放走实盘入口,不按数据修正日历,回放数据落在休市日(如手工造的从 2024-01-01 元旦起的数据)时当天全天闭市、订单不成交(0.3.85 及以前按工作日推算,会成交)。请把数据放在真实交易日,或用 `trading_calendar=` 把这些日期列为交易日。
17
+
10
18
  ## [0.3.86] - 2026-11-11
11
19
 
12
20
  > **规则版本 2.4.0**:不传 `trading_calendar` 时的缺省交易日历变了。受影响的是此前靠“周一至周五”推算交易日的运行:`schedule_daily` 等按交易日触发的定时任务不再在节假日触发;节前收盘后 `self.trading_day` 直接是节后首个交易日;数据里含周末或节假日日期的回测,这些日期各自成为一个交易日(此前并入下一交易日)。只含真实交易日的 A 股日线回测,收益、回撤等数值不变。显式传了 `trading_calendar` 的运行不受影响。
@@ -30,7 +30,7 @@ dependencies = [
30
30
 
31
31
  [[package]]
32
32
  name = "akquant"
33
- version = "0.3.86"
33
+ version = "0.3.87"
34
34
  dependencies = [
35
35
  "anyhow",
36
36
  "chrono",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "akquant"
3
- version = "0.3.86"
3
+ version = "0.3.87"
4
4
  edition = "2024"
5
5
  description = "High-performance quantitative trading framework based on Rust and Python"
6
6
  license = "MIT"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: akquant
3
- Version: 0.3.86
3
+ Version: 0.3.87
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -97,6 +97,26 @@ df_batch = engine.run_batch([
97
97
 
98
98
  Expressions support variables (column names, case-insensitive, e.g., `Close`, `open`) and constants.
99
99
 
100
+ ### Arithmetic, Comparison & Logical Operators
101
+
102
+ - Arithmetic: `+`, `-`, `*`, `/`, `**`, `%`
103
+ - Comparison: `>`, `<`, `>=`, `<=`, `==`, `!=`
104
+ - Logical: `&` (and), `|` (or), `~` (not); the keywords `and`, `or`, `not` are equivalent
105
+
106
+ ```python
107
+ If((Close > Open) & (Volume > Ts_Mean(Volume, 20)), 1, 0)
108
+ If(Close > Open and Volume > Ts_Mean(Volume, 20), 1, 0)
109
+ ```
110
+
111
+ Notes:
112
+
113
+ - **Parenthesize each comparison around `&` and `|`.** They bind tighter than comparisons, so `Close > Open & Volume > 0` is read as `Close > (Open & Volume) > 0` and raises an error. `and` / `or` bind looser than comparisons and need no parentheses.
114
+ - **Element-wise, no short-circuit.** `and` / `or` behave exactly like `&` / `|` and are evaluated row by row.
115
+ - **Nulls follow three-valued logic.** A comparison against a rolling window that is not yet full is null; `null & False` is `False`, `null | True` is `True`, and other combinations stay null. `If` takes its third argument when the condition is null.
116
+ - Chained comparisons such as `1 < Close < 5` are not supported; write `(1 < Close) & (Close < 5)`.
117
+
118
+ Logical operators are available since 0.3.87. On 0.3.86 and earlier, nest instead: `If(A, If(B, 1, 0), 0)`.
119
+
100
120
  ### Time Series Operators
101
121
 
102
122
  Calculated independently for each symbol over time.
@@ -1184,7 +1184,7 @@ run_live(
1184
1184
  * **Must match the exchange timezone**: for Chinese markets (e.g. `klinedata` market data, `middleware` trading) keep the default rather than the local machine's or server's timezone; otherwise trading days, end-of-day settlement and Day-order expiry are split by the wrong timezone.
1185
1185
  * `sessions` / `trading_calendar`: same as in `run_backtest` (template names or custom schedules); see the session notes in [Chapter 7](../textbook/07_futures.md).
1186
1186
  * **Session-aware matching only in paper/replay**: under simulated matching, orders submitted while the session is closed, on break or in a call auction are queued and not filled as continuous trading. Under `broker_live` orders go straight to the broker counter without session queueing; the session table only determines `ctx.session`, `is_market_open()`, the trading-day split, and the timing of end-of-day settlement and the trading-day hooks. Futures without `sessions` use the `CN_FUTURES_DAY` day-session table, so night-session data is classified as closed (under paper, orders are queued until the day session); symbols with a night session must pass `sessions=` (e.g. `{"rb": "CN_FUTURES_NIGHT_23"}`).
1187
- * **Trading calendar in live sessions**: Live sessions without `trading_calendar=` use the built-in exchange calendar, so holidays are neither opened nor settled. The built-in calendar is updated with each release; if it expires within 30 days (or has expired) a warning is logged once at startup — upgrade AKQuant or pass `trading_calendar=`. Custom session tables outside China time zones have no built-in calendar: long-running sessions must pass one, otherwise trading days are inferred from weekdays and holidays are opened and settled (a warning is logged once at startup). When the market-data source reports the trading day (e.g. CTP's `TradingDay`), it can only correct the default calendar before the affected trading day is opened. Since live_server 0.12.0, klinedata sessions fetch the SSE/SZSE trading calendar from the market-data service and pass it in automatically (when that service is deployed in jwt mode it requires `X-QMF-Session`, which live_server does not send, so the calendar cannot be fetched and the built-in exchange calendar is used).
1187
+ * **Trading calendar in live sessions**: Live sessions without `trading_calendar=` use the built-in exchange calendar, so holidays are neither opened nor settled. The built-in calendar is updated with each release; if it expires within 30 days (or has expired) a warning is logged once at startup — upgrade AKQuant or pass `trading_calendar=`. Custom session tables outside China time zones have no built-in calendar: long-running sessions must pass one, otherwise trading days are inferred from weekdays and holidays are opened and settled (a warning is logged once at startup). When the market-data source reports the trading day (e.g. CTP's `TradingDay`), it can only correct the default calendar before the affected trading day is opened. Since live_server 0.12.0, klinedata sessions fetch the SSE/SZSE trading calendar from the market-data service and pass it in automatically (when that service is deployed in jwt mode it requires `X-QMF-Session`, which live_server does not send, so the calendar cannot be fetched and the built-in exchange calendar is used). **`broker="replay"` goes through the live entry point and does not adjust the calendar from data**: replay data that falls on a non-trading day (weekends or holidays, e.g. hand-made data starting on 2024-01-01) is closed all day and orders do not fill; put the data on real trading days, or list those dates in `trading_calendar=`.
1188
1188
  * `day_close_delay`: `float`, default `60.0` (seconds), range 0–86400; out-of-range or non-finite values raise `ValueError`, non-numbers raise `TypeError`. Live end-of-day settlement (Day-order expiry, T+1 unlock, closing snapshot) and `on_after_trading` run at "session close + `day_close_delay`", while the closing snapshot is still stamped at the close; settlement is scheduled from the trading calendar, so it happens even on days without any market data. Backtests are unaffected (they settle at the close).
1189
1189
  * **Post-close grace**: in live trading (including replay), market data arriving within `day_close_delay` seconds after the close and before the next trading day's first session segment still belongs to the current day. The grace never crosses the next trading day's open, so session tables such as `ALWAYS_OPEN`, where the close is immediately followed by the next open, effectively have no grace unless an explicit calendar leaves a gap; `day_close_delay=0` also disables it. In the grace window `ctx.trading_day` is the current day and the session is `Closed` (`PostClose` if the custom table has a post-close segment); nothing is matched, no equity point is produced, and the next trading day is not opened early; Day orders submitted in the grace window still belong to the next trading day. The settlement time does not change, and the settlement price is the latest price at the close (only raw market data stamped no later than the close counts). When the gateway aggregates bars from ticks, ticks within `day_close_delay − 5` seconds after the close are merged into the closing bar, which is emitted 2 seconds after that clamping window ends (with `day_close_delay` under 5 seconds nothing is merged). `Engine.trading_day_at` is a pure calendar query and ignores the grace.
1190
1190
  * Known limitations: when a checkpoint is taken during the grace window and resumed, that day's settlement price is the latest price at checkpoint time; if a symbol has no tick before the close and only grace-window ticks, its settlement price equals the grace price; a closing bar that arrives after settlement is still dispatched to `on_bar`; with dual streams the symbol's grace ticks are pushed before the closing bar, so timestamps step back once; with several session tables the grace window follows the session-level close (the latest one), so data for an earlier-closing symbol between its own close and the session close is not grace data: it counts toward the day and its settlement price as usual and triggers a one-time "closed session" warning.
@@ -77,16 +77,27 @@ df_batch = engine.run_batch(
77
77
 
78
78
  ### 4.2 运算符
79
79
 
80
- - 算术运算:`+`, `-`, `*`, `/`
80
+ - 算术运算:`+`, `-`, `*`, `/`, `**`, `%`
81
81
  - 比较运算:`>`, `<`, `>=`, `<=`, `==`, `!=`
82
- - 逻辑组合:可在条件中使用 `&`, `|`
82
+ - 逻辑组合:`&`(且)、`|`(或)、`~`(非),也可以写成 `and`、`or`、`not`,两套写法等价
83
83
 
84
84
  示例:
85
85
 
86
86
  ```python
87
87
  If((Close > Open) & (Volume > Ts_Mean(Volume, 20)), 1, 0)
88
+ If(Close > Open and Volume > Ts_Mean(Volume, 20), 1, 0)
88
89
  ```
89
90
 
91
+ 使用时注意:
92
+
93
+ - **`&`、`|` 两侧的比较必须各自加括号**。`&`、`|` 的优先级高于比较运算符,`Close > Open & Volume > 0` 会被理解成 `Close > (Open & Volume) > 0` 而报错;`and`、`or` 的优先级低于比较运算符,不需要括号。
94
+ - **逐元素计算,没有短路**。`and`、`or` 在这里与 `&`、`|` 完全相同,对每一行分别求值,不是 Python 里“前一个为假就不再看后一个”的语义。
95
+ - **空值按三值逻辑处理**。滚动窗口未填满时比较结果为空值,此时 `空 & False` 得 `False`、`空 | True` 得 `True`,其余组合仍为空值;`If` 的条件为空值时取第三个参数(“否”分支)。
96
+ - 不支持链式比较 `1 < Close < 5`,请写成 `(1 < Close) & (Close < 5)`。
97
+
98
+ !!! note "版本说明"
99
+ 逻辑组合自 0.3.87 起可用。0.3.86 及以前的版本请改用嵌套写法 `If(A, If(B, 1, 0), 0)`。
100
+
90
101
  ### 4.3 三类分区语义
91
102
 
92
103
  - **TS(时序)**:按 `symbol` 分组滚动。
@@ -1251,7 +1251,7 @@ run_live(
1251
1251
  * **须与交易所时区一致**:接中国市场(如 `klinedata` 行情、`middleware` 交易)时保持默认,不要改成本机或服务器所在时区,否则交易日、日终结算与 Day 单过期会按该时区划分,与交易所实际不符。
1252
1252
  * `sessions` / `trading_calendar`:与 `run_backtest` 同义(模板名或自定义时段表),写法见上文 `BacktestConfig.china_futures` 一节的时段说明与[第 7 章](../textbook/07_futures.md)。
1253
1253
  * **按时段撮合只在 paper/replay**:模拟撮合下,时段为闭市、休市或集合竞价时订单排队,不按连续竞价成交。`broker_live` 下订单直接报到柜台、不按时段排队,时段表只决定 `ctx.session`、`is_market_open()`、交易日划分与日终结算、交易日钩子的时刻。期货不传 `sessions` 时按 `CN_FUTURES_DAY` 日盘时段,夜盘行情的时段判为闭市(paper 下订单排到日盘才撮合),有夜盘的品种必须传 `sessions=`(如 `{"rb": "CN_FUTURES_NIGHT_23"}`)。
1254
- * **实盘的交易日历**:实盘不传 `trading_calendar=` 时用内置交易所日历,节假日不开日、不结算;内置日历随版本更新,启动时若 30 天内到期(或已过期)会告警一次,届时请升级 AKQuant 或传入 `trading_calendar=`。非中国时区的自定义时段表没有内置日历,长期运行必须传,否则按工作日推算、节假日照常开日结算(启动时告警一次)。行情源报告交易日(如 CTP 的 `TradingDay`)时,只能在所涉交易日开日前修正缺省日历。live_server 0.12.0 起,klinedata 会话自动从行情服务取沪深交易日历传入(行情服务以 jwt 模式部署时需要 `X-QMF-Session`,live_server 不带,取不到日历,退回内置交易所日历)。
1254
+ * **实盘的交易日历**:实盘不传 `trading_calendar=` 时用内置交易所日历,节假日不开日、不结算;内置日历随版本更新,启动时若 30 天内到期(或已过期)会告警一次,届时请升级 AKQuant 或传入 `trading_calendar=`。非中国时区的自定义时段表没有内置日历,长期运行必须传,否则按工作日推算、节假日照常开日结算(启动时告警一次)。行情源报告交易日(如 CTP 的 `TradingDay`)时,只能在所涉交易日开日前修正缺省日历。live_server 0.12.0 起,klinedata 会话自动从行情服务取沪深交易日历传入(行情服务以 jwt 模式部署时需要 `X-QMF-Session`,live_server 不带,取不到日历,退回内置交易所日历)。**`broker="replay"` 回放走实盘入口,不按数据修正日历**:回放数据落在休市日(周末、节假日,如手工造的从 2024-01-01 起的数据)时当天全天闭市,订单不成交;请把数据放在真实交易日,或用 `trading_calendar=` 把这些日期列为交易日。
1255
1255
  * `day_close_delay`:`float`,默认 `60.0`(秒),取值 0~86400,越界或非有限值抛 `ValueError`,非数字抛 `TypeError`。实盘日终结算(Day 单过期、T+1 解冻、收盘快照)与 `on_after_trading` 在“会话收盘 + `day_close_delay`”触发,收盘快照仍记在收盘时刻;按交易日历登记,当日没有任何行情也会结算。回测不受影响(收盘时刻结算)。
1256
1256
  * **收盘宽限**:实盘(含 replay)在收盘后 `day_close_delay` 秒内、且早于下一交易日首个时段开始时到达的行情仍归当日(宽限不越过下一交易日开盘,因此 `ALWAYS_OPEN` 这类收盘即次日开盘的时段表实际没有宽限,除非显式日历有空档;`day_close_delay=0` 时也没有宽限)——`ctx.trading_day` 为当日,时段为 `Closed`(自定义表有盘后段时为 `PostClose`),不撮合、不产生权益点,也不提前开下一交易日;宽限期内下的 Day 单仍属下一交易日。结算时刻不变,结算价为收盘时刻的最新价(只认时间戳不晚于收盘的原始行情)。网关由 tick 合成 bar 时,收盘后 `day_close_delay − 5` 秒内的 tick 并入收盘那根 bar,该 bar 在这段钳制宽限结束后 2 秒补发(`day_close_delay` 不足 5 秒时不并入)。`Engine.trading_day_at` 是纯日历查询,不考虑宽限。
1257
1257
  * 已知限制:宽限期内存档后续跑,当日结算价按存档时的最新价;某品种收盘前没有 tick、只有宽限期 tick 时,结算价等于宽限价;结算之后才到的收盘 bar 仍派发给 `on_bar`;双流下同品种的宽限 tick 先于收盘 bar 推出,时间戳会倒退一次;多张时段表时宽限按会话级收盘(取最晚)判,早收盘品种在其自身收盘后、会话收盘前的行情不属宽限,照常计入当日与结算价,并报一次“闭市时段”告警。
@@ -4,7 +4,7 @@ build-backend = "maturin"
4
4
 
5
5
  [project]
6
6
  name = "akquant"
7
- version = "0.3.86"
7
+ version = "0.3.87"
8
8
  description = "High-performance quantitative trading framework based on Rust and Python"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT License"}
@@ -126,6 +126,33 @@ class ExpressionParser:
126
126
 
127
127
  return steps
128
128
 
129
+ @staticmethod
130
+ def _as_expr(value: Any) -> pl.Expr:
131
+ """Wrap Python constants so logical operators always act on expressions."""
132
+ if isinstance(value, pl.Expr):
133
+ return value
134
+ return pl.lit(value)
135
+
136
+ @staticmethod
137
+ def _chained_comparison_message(node: ast.Compare) -> str:
138
+ """Explain a chained comparison, which is usually a precedence slip."""
139
+ operands = [node.left, *node.comparators]
140
+ bitwise = any(
141
+ isinstance(operand, ast.BinOp)
142
+ and isinstance(operand.op, (ast.BitAnd, ast.BitOr))
143
+ for operand in operands
144
+ )
145
+ if bitwise:
146
+ return (
147
+ "Chained comparisons not supported: & and | bind tighter than "
148
+ "comparisons, so wrap each comparison in parentheses, "
149
+ "e.g. (Close > Open) & (Volume > 0), or use and / or instead."
150
+ )
151
+ return (
152
+ "Chained comparisons not supported: split into two comparisons "
153
+ "joined by & (or and), e.g. (1 < Close) & (Close < 5)."
154
+ )
155
+
129
156
  def _visit(self, node: Any) -> Any:
130
157
  # Handle Function Calls
131
158
  if isinstance(node, ast.Call):
@@ -166,24 +193,41 @@ class ExpressionParser:
166
193
  return left**right
167
194
  elif isinstance(node.op, ast.Mod):
168
195
  return left % right
196
+ elif isinstance(node.op, ast.BitAnd):
197
+ return left & right
198
+ elif isinstance(node.op, ast.BitOr):
199
+ return left | right
169
200
  else:
170
201
  raise ValueError(f"Unsupported binary operator: {type(node.op)}")
171
202
 
172
- # Handle Unary Operators (-, ~)
203
+ # Handle Logical Operators (and, or)
204
+ # Element-wise like & and |: no short-circuit, nulls follow
205
+ # three-valued logic.
206
+ elif isinstance(node, ast.BoolOp):
207
+ values = [self._as_expr(self._visit(value)) for value in node.values]
208
+ combined = values[0]
209
+ for value in values[1:]:
210
+ if isinstance(node.op, ast.And):
211
+ combined = combined & value
212
+ else:
213
+ combined = combined | value
214
+ return combined
215
+
216
+ # Handle Unary Operators (-, not, ~)
173
217
  elif isinstance(node, ast.UnaryOp):
174
218
  operand = self._visit(node.operand)
175
219
 
176
220
  if isinstance(node.op, ast.USub):
177
221
  return -operand
178
- elif isinstance(node.op, ast.Not):
179
- return ~operand # Logical NOT
222
+ elif isinstance(node.op, (ast.Not, ast.Invert)):
223
+ return ~self._as_expr(operand) # Logical NOT
180
224
  else:
181
225
  raise ValueError(f"Unsupported unary operator: {type(node.op)}")
182
226
 
183
227
  # Handle Comparisons (<, >, ==)
184
228
  elif isinstance(node, ast.Compare):
185
229
  if len(node.ops) != 1:
186
- raise ValueError("Chained comparisons not supported")
230
+ raise ValueError(self._chained_comparison_message(node))
187
231
 
188
232
  left = self._visit(node.left)
189
233
  right = self._visit(node.comparators[0])
@@ -3,7 +3,7 @@
3
3
  "name": "io.github.akfamily/akquant",
4
4
  "title": "AKQuant",
5
5
  "description": "Write and backtest trading strategies with AKQuant: API lookup, strategy checks, backtest runs",
6
- "version": "0.3.86",
6
+ "version": "0.3.87",
7
7
  "websiteUrl": "https://akquant.akfamily.xyz/guide/mcp/",
8
8
  "repository": {
9
9
  "url": "https://github.com/akfamily/akquant",
@@ -14,13 +14,13 @@
14
14
  "registryType": "pypi",
15
15
  "registryBaseUrl": "https://pypi.org",
16
16
  "identifier": "akquant",
17
- "version": "0.3.86",
17
+ "version": "0.3.87",
18
18
  "runtimeHint": "uvx",
19
19
  "runtimeArguments": [
20
20
  {
21
21
  "type": "named",
22
22
  "name": "--with",
23
- "value": "akquant[mcp]==0.3.86",
23
+ "value": "akquant[mcp]==0.3.87",
24
24
  "description": "Install the optional MCP dependencies (MCP SDK and AKShare) together with AKQuant"
25
25
  }
26
26
  ],
@@ -0,0 +1,171 @@
1
+ """Logical operators in factor expressions: & | and or ~ (issue #446)."""
2
+
3
+ from datetime import date, timedelta
4
+ from typing import Any, List, cast
5
+
6
+ import polars as pl
7
+ import pytest
8
+ from akquant.factor import FactorEngine
9
+ from akquant.factor.parser import ExpressionParser
10
+
11
+ # 单标的 6 行:
12
+ # close > open -> T F T F T F
13
+ # volume > 15 -> F T F F T T
14
+ # open == 4 -> F F F T F F
15
+ _OPEN = [1.0, 2.0, 3.0, 4.0, 5.0, 6.0]
16
+ _CLOSE = [2.0, 1.0, 4.0, 3.0, 6.0, 5.0]
17
+ _VOLUME = [10.0, 20.0, 5.0, 10.0, 50.0, 60.0]
18
+
19
+
20
+ def _frame() -> pl.DataFrame:
21
+ n = len(_OPEN)
22
+ return pl.DataFrame(
23
+ {
24
+ "date": [date(2024, 1, 1) + timedelta(days=i) for i in range(n)],
25
+ "symbol": ["A"] * n,
26
+ "open": _OPEN,
27
+ "close": _CLOSE,
28
+ "volume": _VOLUME,
29
+ }
30
+ )
31
+
32
+
33
+ def _two_symbol_frame(rows: int = 30) -> pl.DataFrame:
34
+ """Two symbols with different paths, long enough to fill a 20-row window."""
35
+ dates = [date(2024, 1, 1) + timedelta(days=i) for i in range(rows)]
36
+ frames = []
37
+ for symbol, phase in (("A", 0), ("B", 3)):
38
+ close = [10.0 + ((i + phase) * 7 % 11) + i * 0.3 for i in range(rows)]
39
+ open_ = [c - 0.5 + ((i + phase) % 3) * 0.5 for i, c in enumerate(close)]
40
+ volume = [100.0 + ((i + phase) * 13 % 17) * 10 for i in range(rows)]
41
+ frames.append(
42
+ pl.DataFrame(
43
+ {
44
+ "date": dates,
45
+ "symbol": [symbol] * rows,
46
+ "open": open_,
47
+ "high": [max(o, c) + 0.2 for o, c in zip(open_, close)],
48
+ "low": [min(o, c) - 0.2 for o, c in zip(open_, close)],
49
+ "close": close,
50
+ "volume": volume,
51
+ }
52
+ )
53
+ )
54
+ return pl.concat(frames)
55
+
56
+
57
+ def _run(expr: str, data: pl.DataFrame | None = None) -> List[Any]:
58
+ # run_on_data 不读 catalog,与 issue 里的复现写法一致
59
+ engine = FactorEngine(cast(Any, None))
60
+ df = engine.run_on_data(_frame() if data is None else data, expr)
61
+ return df.sort(["symbol", "date"])["factor_value"].to_list()
62
+
63
+
64
+ @pytest.mark.parametrize(
65
+ ("expr", "expected"),
66
+ [
67
+ ("If((Close > Open) & (Volume > 15), 1, 0)", [0, 0, 0, 0, 1, 0]),
68
+ ("If((Close > Open) | (Volume > 15), 1, 0)", [1, 1, 1, 0, 1, 1]),
69
+ ("If(Close > Open and Volume > 15, 1, 0)", [0, 0, 0, 0, 1, 0]),
70
+ ("If(Close > Open or Volume > 15, 1, 0)", [1, 1, 1, 0, 1, 1]),
71
+ ("If(~(Close > Open), 1, 0)", [0, 1, 0, 1, 0, 1]),
72
+ ("If(not (Close > Open), 1, 0)", [0, 1, 0, 1, 0, 1]),
73
+ # 三个操作数
74
+ ("If(Close > Open and Volume > 15 and Close > 5, 1, 0)", [0, 0, 0, 0, 1, 0]),
75
+ ("If(Close > Open or Volume > 15 or Open == 4, 1, 0)", [1, 1, 1, 1, 1, 1]),
76
+ (
77
+ "If((Close > Open) | (Volume > 15) | (Open == 4), 1, 0)",
78
+ [1, 1, 1, 1, 1, 1],
79
+ ),
80
+ # and 优先于 or,与 Python 一致
81
+ ("If(Close > Open and Volume > 15 or Open == 4, 1, 0)", [0, 0, 0, 1, 1, 0]),
82
+ ("If(Open == 4 or Close > Open and Volume > 15, 1, 0)", [0, 0, 0, 1, 1, 0]),
83
+ # 取反与组合混用
84
+ ("If(~(Close > Open) & (Volume > 15), 1, 0)", [0, 1, 0, 0, 0, 1]),
85
+ ("If(not Close > Open and Volume > 15, 1, 0)", [0, 1, 0, 0, 0, 1]),
86
+ ],
87
+ )
88
+ def test_logical_operators(expr: str, expected: List[int]) -> None:
89
+ """Logical operators evaluate element-wise."""
90
+ assert _run(expr) == expected
91
+
92
+
93
+ def test_null_follows_three_valued_logic() -> None:
94
+ """Nulls from an unfilled window combine by three-valued logic."""
95
+ # Ts_Mean(Volume, 3) 前两行为 null;之后 volume > 均值 -> F F T T
96
+ assert _run("(Volume > Ts_Mean(Volume, 3)) & (Close > Open)") == [
97
+ None, # null & True
98
+ False, # null & False
99
+ False,
100
+ False,
101
+ True,
102
+ False,
103
+ ]
104
+ assert _run("(Volume > Ts_Mean(Volume, 3)) | (Close > Open)") == [
105
+ True, # null | True
106
+ None, # null | False
107
+ True,
108
+ False,
109
+ True,
110
+ True,
111
+ ]
112
+ # If 遇到 null 条件走“否”分支
113
+ assert _run("If((Volume > Ts_Mean(Volume, 3)) & (Close > Open), 1, 0)") == [
114
+ 0,
115
+ 0,
116
+ 0,
117
+ 0,
118
+ 1,
119
+ 0,
120
+ ]
121
+
122
+
123
+ @pytest.mark.parametrize(
124
+ ("documented", "equivalent"),
125
+ [
126
+ # docs/zh/guide/factor.md §4.2
127
+ (
128
+ "If((Close > Open) & (Volume > Ts_Mean(Volume, 20)), 1, 0)",
129
+ "If(Close > Open, If(Volume > Ts_Mean(Volume, 20), 1, 0), 0)",
130
+ ),
131
+ # docs/zh/textbook/14_factor.md §14.5.4
132
+ (
133
+ "If((Close == Ts_Max(Close, 20)) & (Volume < Ts_Mean(Volume, 20)), 1, 0)",
134
+ "If(Close == Ts_Max(Close, 20), If(Volume < Ts_Mean(Volume, 20), 1, 0), 0)",
135
+ ),
136
+ ],
137
+ )
138
+ def test_documented_examples_run(documented: str, equivalent: str) -> None:
139
+ """Documented examples run and match the nested-If spelling."""
140
+ data = _two_symbol_frame()
141
+ got = _run(documented, data)
142
+ assert got == _run(equivalent, data)
143
+ assert set(got) == {0, 1}
144
+
145
+
146
+ def test_logical_condition_inside_cross_partition_nesting() -> None:
147
+ """A logical condition survives the CS-over-TS step split."""
148
+ data = _two_symbol_frame()
149
+ got = _run("Rank(If((Close > Open) & (Volume > Ts_Mean(Volume, 5)), 1, 0))", data)
150
+ want = _run(
151
+ "Rank(If(Close > Open, If(Volume > Ts_Mean(Volume, 5), 1, 0), 0))", data
152
+ )
153
+ assert got == want
154
+ assert len(set(got)) > 1
155
+
156
+
157
+ def test_missing_parentheses_error_points_at_fix() -> None:
158
+ """Missing parentheses around & operands produce an actionable error."""
159
+ with pytest.raises(ValueError, match=r"parenthes") as excinfo:
160
+ ExpressionParser().parse("If(Close > Open & Volume > 15, 1, 0)")
161
+ assert "and" in str(excinfo.value)
162
+
163
+ with pytest.raises(ValueError, match=r"parenthes"):
164
+ ExpressionParser().parse("If(Close > Open | Volume > 15, 1, 0)")
165
+
166
+
167
+ def test_chained_comparison_error_suggests_split() -> None:
168
+ """Real chained comparisons stay unsupported but suggest the split."""
169
+ with pytest.raises(ValueError, match=r"Chained comparisons") as excinfo:
170
+ ExpressionParser().parse("If(1 < Close < 5, 1, 0)")
171
+ assert "&" in str(excinfo.value)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes