examples、scripts、tools 职责与入口静态盘点¶
基线:
D:/source_code/backtrader,分支dev,HEADdede2f9d1ed77be22d90877d61d753d4c5187169(2026-11-01)。范围:按
git ls-files盘点已跟踪文件;下表逐一列出全部 tracked.py。未跟踪/忽略文件不计入规模。对.yaml/.json/.pem、数据、报告及证据类非 Python 文件只使用路径/后缀/数量元数据,没有读取其内容。没有导入或执行 examples/scripts/tools 内的任何目标脚本,也没有读取 private 配置或证据内容。静态职责行:逐个 Python 路径读取源码并做
ast.parse,提取模块说明首行、顶层类/函数名、main guard 与有限副作用标记。目标文件没有被导入或执行。模块说明缺失时标为“待核查”;标记只表示源码出现该名字,不证明分支可达、权限成立或行为通过。工作区例外:六个 tracked
simnow_direct.py当前为未暂存删除,工作树没有文件。为保持逐路径覆盖,它们的行只依据 Git index blob 做 AST 摘要,并明确标注工作树缺失;本调查没有恢复文件或改动删除。
规模和目录职责¶
范围 |
已跟踪规模 |
职责概览 |
|---|---|---|
|
663 个文件:376 |
用户调用展示和离线数据样例。一级目录: |
|
96 个文件:80 |
CI/发行校验、回归和迁移辅助、性能/研究基准、一次性验收/运维入口。 |
|
25 个 Python 文件 |
文档/依赖/性能/缓存分析、测试数据转换; |
setup.py:17-33 通过 find_packages(exclude=...) 明确排除 examples、scripts、tests、docs 和 archive;这些目录中的入口不是发行包 API 或运行时依赖。当前树没有 tracked 的顶层 backtrader_runtime/;scripts/ci/verify_release_wheel.py:218-219 也把发行包中不存在该目录作为检查条件。
Python 体量的长尾明显:最大 examples 文件是 examples/unified/028_alpha003_simnow_minute/run.py(370,914 B)和 alpha003_strategy.py(264,042 B);013_3/.../legacy_runner.py 为 301,176 B;scripts 最大的 iteration51_installed_fixture.py 为 204,224 B、iteration50_installed_fixture.py 为 159,625 B;tools 最大的 dependency_analyzer.py 为 44,694 B。对这些文件应优先用静态符号/入口索引加少量人工复核,而不是按目录批量复制说明。
文件归属和调用边界¶
examples/backtest/:21 个编号离线叶子,通常由run.py/示例脚本装配 Feed、Strategy、Cerebro 并读样例数据。examples/README.md对缺少大数据、输出路径、离线/网络入口做逐项索引。022_cryptohftdata_sma/run.py:28-54是明确的远端只读历史数据例外:必须有--run、可选 SDK 和指定环境变量才继续;普通调用在请求前阻塞。回测中的self.buy/sell是 Backtrader Broker 路径,不能据函数名断定会下单到外部服务。examples/live/000_live_certification/:tracked 树有 Binance、OKX、SimNow 三套件,各 33 个cases/<ID>/run.py与策略文件,即 99 对案例入口/策略文件。案例策略和 certlib 中确有place_order/cancel_order源码路径;它们不是普通测试,外部写能力需结合案例级运行时、环境/凭据、明确 live/allow-write/allow-dangerous/production flags 和进一步口令校验逐层判断。文档/源码存在不等于任何 case PASS,也不授予本次运行授权。examples/unified/:94 个 Python,按示例叶子拆分 CLI、策略、fixture、provider/runtime helper。provider_runtime.py应视为示例到 SDK 的薄接线;legacy_runner.py不能因名称假设已退役或可直接运行,须查具体调用者与__main__分支;run_runtime.py需按实际退役 stub 处理;配置模板仅按公开路径分类,本次未读配置内容。028的 README 明确区分离线 replay、SimNow 连接和写入边界;052README 明确记录当前接线迁移中,后续历史命令不等于复验。scripts/ci/:优先服务当前 CI workflow。scripts/ci/smoke_iteration41_registered_offline.py仍是 tracked 文件但有已移除包的顶层导入(下文详述),而在.github/workflows、Makefile及 scripts 调用点搜索中没有发现它的引用;应标为过期候选或迁移对象,不能误算当前 CI。scripts/根目录:维护、性能和历史验收命令并存。run_*root_activation*.py不是普通 smoke;名字及源码含 native/host/source-binding 入口,需要保留历史身份,任何实际调用必须独立确认新鲜代次、来源、授权和外部状态。基准、fixture builder、release/安装脚本各自有生命周期和副作用。tools/:多数为人执行的分析/整理工具或 crypto 测试,不是框架运行时。deep_reorganize_docs.py有shutil.rmtree、移动和写入,fix_doc_links.py/reorganize_docs.py会改写文档;scripts/setup_mysql_db.py执行CREATE DATABASE/TABLE并提交到本地 MySQL;scripts/release.sh会git add/commit/tag。这些都不是只读盘点命令,不能因放在工具目录就默认安全。
优先复核事项(静态事实,不替代行为验收)¶
Live 场所清单冲突。
examples/README.md:67-70,115描述现有三个套件、99 个案例及 Optional16 CLI 退休;但examples/live/000_live_certification/README.md:3-31仍声称有 13 个新增场所并列出 Bitget、Bybit、Coinbase、dYdX 等目录。当前 tracked 路径实际只有binance_penetration/、okx_penetration/、simnow_penetration/、optional16/和 README。建议只修订这份过期场所目录说明;若存在私有未跟踪副本,只核对其路径、忽略规则和打包元数据,不读取其内容;不能依据旧 README 新建或推断额外场所。CI smoke 引用退役包。
scripts/ci/smoke_iteration41_registered_offline.py:17-25顶层导入backtrader_runtime,112-120又启动python -m backtrader_runtime。当前源码树没有该 tracked 包,release-wheel 检查明确要求其缺失。若手工调用会在入口前导入失败;当前仓库 workflow/Makefile 未找到该脚本调用。应退休/重写后再从 CI 引用,不能把旧包恢复为隐式兼容层。旧入口要按“阻断/退役”而非“可用 runner”登记。
examples/unified/012_1、012_2、013_1、013_2、007_ctp、015下的run_runtime.py是显式RETIRED/BLOCKED返回或RuntimeErrorstub。examples/live/000_live_certification/optional16/run_matrix.py和gateway_capability_check.py固定返回BLOCKED / optional16_acceptance_retired;同目录components.py、gateway_server.py、spec.py是保留历史源码,不是部署入口。仍被 wrapper 调用的私有实现。
examples/unified/012_1_midfreq_cross_exchange/run.py:8,325-334与012_2/.../run.py:8,331-340在--live --allow-write --mechanical-smoke分支调用legacy_runner._run_network_impl(前缀下划线)。传入参数明确是 demo 且声明有界机械 smoke,但 CLI 仍可进入真实外部模拟账户网络/订单路径。这既是私有实现跨文件调用和兼容性耦合,也是高影响入口;应单独核对受信配置/执行授权/耗时和订单边界,不能从 README 或 flag 文字推断保护充分。孤立旧 service backend。
examples/unified/014_1_ctp_options_lowfreq/service_live_backend.py:326-327和015_ctp_options_highfreq/service_live_backend.py:224-227仍延迟导入backtrader_runtime.service_observation,但当前run.py中未找到service_live_backend/run_live_service调用点;014_2后端当前是 fail-closed。应标记候选/未接线,核实调用者后再决定迁移或退役,不能把文件存在解释为可用 service 入口。历史 native activation source 路径已漂移。 5 个 tracked
scripts/run_simnow_c01_native_td_read_v*_root_activation_*.py是历史 Root/host 一次性调用源,不应作为常规 CI/smoke。以当前 R2 源码为例,常量仍引用backtrader_runtime/...及旧的examples/000_live_certification/...路径,而现行套件位于examples/live/000_live_certification/...。本轮只读、未启动;先核验调用代次、当前源码绑定及授权,严禁把历史路径自动替换成当前路径后重跑。文档中的模式与能力级别要保持区分。
examples/README.md:11-17已说明dry/replay/live、entry.tier、--live是旧选择器,--live可能连 demo/testnet,不等于 Iteration 52paper/live。013/014/015的 README/入口对 host injection、Feed 时钟、写入/未实现能力有显式BLOCKED;052当前代码还在接线迁移。不要把配置/profile/mode/--allow-write字段单独视为 provider 权威或写授权。未暂存源删除。 当前六份
simnow_direct.py是 unstaged 删除(Git index 仍保留同一源 blob):013_1、013_2、013_3、014_1、014_2、015。责任行采用 index 源摘要,不能把这些旧副本误记为当前可调用文件;也不在本次恢复或重排。
可规模化的逐文件生成方案¶
权威清单只取 Git index。 用
git ls-files -z -- examples scripts tools构造路径集;分别记录 tracked/worktree 状态,显式标注删除、重命名和“tracked 但缺失”。不扫描.env、真实config.yaml、私有捕获、忽略的evidence/或证据内容;公开、无秘密模板可按公开静态/限量规则读取;真实配置与私密捕获仍禁止读取。按类型读取元数据。 Python 只 tokenize/AST parse,不 import、不执行;提取模块 docstring、顶层定义、import edges、CLI 解析点、
__main__、可识别网络/进程/订单/数据库/文件写/本机调用标记及行号。Shell/bat 只静态扫描命令/入口;Markdown 只取标题、链接、明确状态词;模板/数据只记路径、类型、大小/来源字段(若已公开登记),不读私密值。一文件一行,模板只能帮归组。 输出字段建议:
path, owner_group, declared_role, AST_symbols, callers/importers, entrypoint, config_inputs(names_only), external_effect_markers, outputs, retirement_state, evidence_level, source_anchors, confidence, follow_up。99 个 case 文件可以共用模板指纹列,但仍逐个生成行;只有结构指纹相同也不能推定策略合同/风险完全相同。把推断与已证实事实分列。 每项职责需要源文件/README 行号;模式/账户/生产写入/行为通过必须从真实调用链和可核查验收来源另行确认。没有调用者、声明或足够源码证据时标
待核查,不依据文件名推断“安全”“可用”“已退休”。对于退役 stub,引用返回码/原因;对于遗留 helper,检查是否被当前run.py实际调用。按风险分批人工复核。 第一批 live/managed/provider、
root_activation、网络请求、订单撤销/平仓;第二批数据库、release、批量文件移动/删除与来源修改;第三批普通回测和文档/性能工具。每批先生成静态行,再对 outlier/跨目录调用链人工核对,不运行目标命令。完备性检查。 验证每个 Git 路径恰好一行、总数与 index 分组数一致、重复路径为零;从 current CI workflow 到脚本入口以及
run.py到 helper/Strategy 的静态边逐项核对。自动摘要不能记作行为或账户 acceptance。输出与编码。 生成物仅写
.codex-tmp/;中文 Markdown 用 UTF-8 BOM,严格 UTF-8 解码、无U+FFFD、抽查中文文本,并用 Windows PowerShell 默认Get-Content确认可读。审核通过后再另行决定是否制作正式目录/文档,不在盘点阶段批量搬迁或改写。
tracked Python 文件逐文件静态职责索引¶
下面每个 tracked Python 路径恰有一行。说明来自模块 docstring 首行;符号是顶层类/函数;标记是 AST 可见的入口/高影响 API 名,不是可达性结论。没有文档时仅按路径/声明归类并标“待核查”。
examples/¶
examples/__init__.py— 归属:examples 根级支持源码/入口;说明:Example modules shipped with the local backtrader source tree.;符号:无顶层 class/def;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/_support/clean_bond_data.py— 归属:示例共享辅助(不得成为产品包依赖);说明:Data cleaning script: Find the convertible bond with most trading days from bond_merged_all_data.csv;符号:find_most_traded_bond;标记:main guard、filesystem mutation names;来源:AST / 工作树。examples/_support/cross_exchange_replay_rules.py— 归属:示例共享辅助(不得成为产品包依赖);说明:Load one deliberately small, selected-record public rule snapshot.;符号:PublicRuleSnapshotError, _require_expected, _decimal, _load_payload, load_selected_public_rules;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/_support/ctp_legacy_example_support.py— 归属:示例共享辅助(不得成为产品包依赖);说明:CTP Futures Examples Support Module.;符号:RetiredCtpExecution, legacy_direct_execution_error, load_dotenv_if_available, resolve_config_path, load_config, load_json_config, …(+15);标记:order API names、environment reads;来源:AST / 工作树。examples/_support/entry_tier.py— 归属:示例共享辅助(不得成为产品包依赖);说明:Config-selected entry tier resolution for the unified examples.;符号:TierDecision, config_tier, decide, invalid, conflict, _entry_view;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/_support/sample.py— 归属:示例共享辅助(不得成为产品包依赖);说明:Retired direct-execution shell for the historical CTP sample.;符号:Origin, is_trading_period, LegacyDirectExecutionDisabled, _reject_legacy_direct_execution, SmaCross, run_runtime, …(+1);标记:main guard;来源:AST / 工作树。examples/_support/strategy_candidate_approval.py— 归属:示例共享辅助(不得成为产品包依赖);说明:Verify a 012 strategy candidate’s offline demo-approval receipt.;符号:_normalize_private_report_value, serialize_private_json_report, _set_private_report_permissions, write_private_json_report, DemoApprovalVerificationError, canonical_json_bytes, …(+29);标记:process/subprocess、network/client imports、filesystem mutation names;来源:AST / 工作树。examples/backtest/001_multi_extend_data/run.py— 归属:离线示例入口/runner(examples/backtest);说明:Strategy runner - convertible-bond dual-low factor across multiple products.;符号:load_config, resolve_data_path, load_index_data, clean_data, run;标记:main guard;来源:AST / 工作树。examples/backtest/001_multi_extend_data/strategy_multi_extend_data.py— 归属:离线回测策略(examples/backtest);说明:Convertible bond double-low multi-asset strategy.;符号:ExtendPandasFeed, BondConvertTwoFactor;标记:order API names;来源:AST / 工作树。examples/backtest/002_hft_alignment_demo/common.py— 归属:离线示例支持源码(examples/backtest);说明:Common utilities for hft alignment demo.;符号:default_paths, add_common_arguments, resolve_paths, fill_counter;标记:CLI parser;来源:AST / 工作树。examples/backtest/002_hft_alignment_demo/compare.py— 归属:离线示例支持源码(examples/backtest);说明:Compare backtrader and hftbacktest on Binance BBO alignment demo.;符号:_build_parser, main;标记:main guard;来源:AST / 工作树。examples/backtest/002_hft_alignment_demo/compare_all.py— 归属:离线示例支持源码(examples/backtest);说明:Compare backtrader and hftbacktest across all Binance BBO alignment demo strategies.;符号:_build_parser, main;标记:main guard;来源:AST / 工作树。examples/backtest/002_hft_alignment_demo/run_backtrader.py— 归属:离线示例入口/runner(examples/backtest);说明:Run backtrader on the Binance BBO alignment demo.;符号:_build_parser, main;标记:main guard;来源:AST / 工作树。examples/backtest/002_hft_alignment_demo/run_hftbacktest.py— 归属:离线示例入口/runner(examples/backtest);说明:Run hftbacktest on the Binance BBO alignment demo.;符号:_build_parser, main;标记:main guard;来源:AST / 工作树。examples/backtest/003_hft_notebook_examples/common.py— 归属:离线示例支持源码(examples/backtest);说明:Common utilities for hft notebook examples.;符号:default_paths, resolve_runtime, add_common_arguments, resolve_paths, fill_counter;标记:CLI parser;来源:AST / 工作树。examples/backtest/003_hft_notebook_examples/compare.py— 归属:离线示例支持源码(examples/backtest);说明:Compare migrated hftbacktest notebook strategies on prepared Binance data.;符号:_build_parser, main;标记:main guard;来源:AST / 工作树。examples/backtest/003_hft_notebook_examples/prepare_data.py— 归属:离线示例支持源码(examples/backtest);说明:Prepare Binance BBO data for hftbacktest notebook examples.;符号:_build_parser, _open_zip_csv, _iter_book_ticker_rows, _iter_csv_values, _timestamp_to_ns, _day_bounds, …(+20);标记:main guard、process/subprocess、network/client imports、filesystem mutation names;来源:AST / 工作树。examples/backtest/003_hft_notebook_examples/run_backtrader.py— 归属:离线示例入口/runner(examples/backtest);说明:Run backtrader on migrated hftbacktest notebook strategies.;符号:_build_parser, main;标记:main guard;来源:AST / 工作树。examples/backtest/003_hft_notebook_examples/run_hftbacktest.py— 归属:离线示例入口/runner(examples/backtest);说明:Run hftbacktest on migrated notebook strategies.;符号:_build_parser, main;标记:main guard;来源:AST / 工作树。examples/backtest/004_midfreq_demo/run.py— 归属:离线示例入口/runner(examples/backtest);说明:Mid-frequency demo with mixed bar+orderbook data.;符号:MemoryChannel, DemoStrategy, build_demo_queue, main;标记:main guard、order API names;来源:AST / 工作树。examples/backtest/005_midfreq_arbitrage/run.py— 归属:离线示例入口/runner(examples/backtest);说明:Pair arbitrage demo using mixed bar+orderbook data.;符号:MemoryChannel, PairArbitrageStrategy, build_demo_channel, main;标记:main guard、order API names;来源:AST / 工作树。examples/backtest/006_plots/example_bokeh_charts.py— 归属:离线示例支持源码(examples/backtest);说明:Bokeh interactive chart examples.;符号:resolve_data_path, BokehSMAStrategy, _build_nasdaq_data, example_backtrader_bokeh_dispatch, example_schemes, example_utils, …(+5);标记:main guard、order API names;来源:AST / 工作树。examples/backtest/006_plots/example_plotly_charts.py— 归属:离线示例支持源码(examples/backtest);说明:Plotly interactive chart examples.;符号:resolve_data_path, PlotlySMAStrategy, _build_nasdaq_data, example_backend_compare, example_backend_switch, example_basic_plotly, …(+3);标记:main guard、order API names;来源:AST / 工作树。examples/backtest/006_plots/example_report_generation.py— 归属:离线示例支持源码(examples/backtest);说明:Backtest report generation examples.;符号:resolve_data_path, ReportSMAStrategy, example_quick_report, example_json_export, example_performance_calculator, example_print_summary, …(+2);标记:main guard、order API names;来源:AST / 工作树。examples/backtest/006_plots/plot_plotly_example.py— 归属:离线示例支持源码(examples/backtest);说明:Example demonstrating the Plotly plotting backend for backtrader.;符号:SMAStrategy, run_example;标记:main guard、order API names、filesystem mutation names;来源:AST / 工作树。examples/backtest/008_dual_side/dual_side_basic.py— 归属:离线示例支持源码(examples/backtest);说明:Example: Basic dual-side position mode.;符号:resolve_data_path, DualSideBasicStrategy, main;标记:main guard、order API names;来源:AST / 工作树。examples/backtest/008_dual_side/dual_side_hedge.py— 归属:离线示例支持源码(examples/backtest);说明:Example: Dual-side hedging strategy.;符号:resolve_data_path, DualSideHedgeStrategy, main;标记:main guard、order API names;来源:AST / 工作树。examples/backtest/008_dual_side/dual_side_vs_net.py— 归属:离线示例支持源码(examples/backtest);说明:Example: Dual-side vs net position mode comparison.;符号:resolve_data_path, NetModeStrategy, DualSideModeStrategy, run_backtest, main;标记:main guard、order API names;来源:AST / 工作树。examples/backtest/009_trade_logger/trade_logger_example.py— 归属:离线示例支持源码(examples/backtest);说明:TradeLogger Observer Example - Demonstrates comprehensive logging.;符号:resolve_data_path, SMAStrategy, run_example;标记:main guard、order API names;来源:AST / 工作树。examples/backtest/009_trade_logger/trade_logger_heikin_ashi_example.py— 归属:离线示例支持源码(examples/backtest);说明:Test suite for Heikin Ashi strategy.;符号:resolve_data_path, HeikinAshiStrategy, test_heikin_ashi_strategy;标记:main guard、order API names;来源:AST / 工作树。examples/backtest/011_hft_backtest/orderbook_backtest.py— 归属:离线示例支持源码(examples/backtest);说明:Example 3: Order book depth backtesting with TickBroker.;符号:OBSpreadStrategy, main;标记:main guard、order API names、filesystem mutation names;来源:AST / 工作树。examples/backtest/011_hft_backtest/tick_backtest.py— 归属:离线示例支持源码(examples/backtest);说明:Example 1: Pure tick-level backtesting.;符号:SimpleTickStrategy, main;标记:main guard、order API names、filesystem mutation names;来源:AST / 工作树。examples/backtest/016_self_similarity/__init__.py— 归属:离线示例支持源码(examples/backtest);说明:模块无 docstring,职责待核查;符号:无顶层 class/def;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/backtest/016_self_similarity/run.py— 归属:离线示例入口/runner(examples/backtest);说明:Run the iteration-35 self-similarity strategy (backtest or optimise).;符号:RunnerConfigurationError, _check_keys, load_yaml_config, _as_date, get_frame, pd_timestamp, …(+5);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。examples/backtest/016_self_similarity/self_similarity_strategy.py— 归属:离线回测策略(examples/backtest);说明:Self-similarity (intraday time-of-day pattern matching) strategy.;符号:DataValidationError, validate_ohlcv, pearson_corr, directional_stats, build_decision, stop_take_prices, …(+3);标记:order API names、filesystem mutation names;来源:AST / 工作树。examples/backtest/017_fnn_embedding/fnn_autoencoder.py— 归属:离线示例支持源码(examples/backtest);说明:PyTorch autoencoder + rolling trainer for iteration 35-1 (D351-04/05).;符号:make_deterministic, Autoencoder, train_autoencoder, EncoderBundle, _neighbourhood_retention, _procustes_drift, …(+1);标记:filesystem mutation names;来源:AST / 工作树。examples/backtest/017_fnn_embedding/fnn_embedding_strategy.py— 归属:离线回测策略(examples/backtest);说明:FNN-embedding retrieval strategy (iteration 35-1).;符号:DataValidationError, validate_ohlcv, _empty_store, compute_feature_matrix, _window_mean, _batch_rsi, …(+10);标记:order API names、filesystem mutation names;来源:AST / 工作树。examples/backtest/017_fnn_embedding/run.py— 归属:离线示例入口/runner(examples/backtest);说明:Run the iteration 35-1 FNN-embedding retrieval strategy.;符号:RunnerConfigurationError, _check_keys, load_yaml_config, _as_date, get_frame, _outputs, …(+7);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。examples/backtest/018_sma_crossover/run.py— 归属:离线示例入口/runner(examples/backtest);说明:Run the self-contained SMA crossover example.;符号:_add_checkout_root, _load_config, main;标记:main guard;来源:AST / 工作树。examples/backtest/018_sma_crossover/sma_crossover_strategy.py— 归属:离线回测策略(examples/backtest);说明:Simple Moving Average (SMA) Crossover Strategy Example.;符号:MA_CrossOver;标记:order API names;来源:AST / 工作树。examples/backtest/019_bollinger_band_doge/bollinger_band_strategy_test.py— 归属:离线回测策略(examples/backtest);说明:Bollinger Band Strategy - Test on 2025 Data.;符号:BollingerBandStrategy, load_data, run_backtest, plot_equity_curve, main;标记:main guard、order API names、filesystem mutation names;来源:AST / 工作树。examples/backtest/019_bollinger_band_doge/bollinger_band_strategy_train.py— 归属:离线回测策略(examples/backtest);说明:Bollinger Band Strategy with Parameter Optimization.;符号:BollingerBandStrategy, load_data, run_backtest, run_single_optimization, optimize_parameters, plot_heatmaps, …(+1);标记:main guard、process/subprocess、order API names、filesystem mutation names;来源:AST / 工作树。examples/backtest/020_bollinger_binance_optimizer/optimize_bollinger_strategy.py— 归属:离线回测策略(examples/backtest);说明:Bollinger Bands Breakout Strategy Parameter Optimization Script.;符号:BinanceZipCSVData, load_binance_data, BollingerBandsStrategy, run_single_backtest, run_backtest_with_dict, _print_result_inline, …(+1);标记:main guard、process/subprocess、order API names、filesystem mutation names;来源:AST / 工作树。examples/backtest/021_premium_rate_crossover/run.py— 归属:离线示例入口/runner(examples/backtest);说明:Convertible bond premium rate moving average crossover strategy.;符号:ExtendPandasFeed, PremiumRateCrossoverStrategy, load_bond_data, run_strategy, plot_results, resolve_data_path, …(+1);标记:main guard、order API names、filesystem mutation names;来源:AST / 工作树。examples/backtest/022_cryptohftdata_sma/run.py— 归属:离线示例入口/runner(examples/backtest);说明:Run a simple moving-average backtest on CryptoHFTData minute bars.;符号:MovingAverageCross, main;标记:main guard、order API names;来源:AST / 工作树。examples/backtest/023_mixed_mode_backtest/run.py— 归属:离线示例入口/runner(examples/backtest);说明:Run a local synthetic mixed tick+bar backtest with MixBroker.;符号:_add_checkout_root, MixedStrategy, generate_demo_data, load_bar_events, main;标记:main guard、order API names、filesystem mutation names;来源:AST / 工作树。examples/backtest/024_bond_two_factor_rank_legacy/optimize_strategy.py— 归属:离线回测策略(examples/backtest);说明:Convertible bond dual-factor strategy example.;符号:resolve_data_path, setup_chinese_font, ExtendPandasFeed, clean_data, BondConvertTwoFactor, run_test_strategy;标记:main guard、order API names;来源:AST / 工作树。examples/backtest/025_factor_single/_iteration49_factor_asset_batch.py— 归属:离线示例支持源码(examples/backtest);说明:Private collection support shared by the 025 and 026 factor examples.;符号:run_batched_factor_collection, _capture_batch_graph_refs;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/backtest/025_factor_single/close_ma_factor_strategy.py— 归属:离线回测策略(examples/backtest);说明:Single-factor declaration for the Iteration 45 research example.;符号:_close_ratio, CloseMAFactor;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/backtest/025_factor_single/run.py— 归属:离线示例入口/runner(examples/backtest);说明:Run the self-contained Iteration 45 single-factor research example.;符号:_add_checkout_root, _load_config, _resolve_path, _resolve_factor_mode, _factor_classes, _factor_class_identities, …(+11);标记:main guard、filesystem mutation names;来源:AST / 工作树。examples/backtest/026_factor_multi/multi_factor_strategy.py— 归属:离线回测策略(examples/backtest);说明:Factor declarations for the Iteration 45 multi-factor example.;符号:_close_ratio, _kdj_rsv, _kdj_j, CloseMAFactor, ROCFactor, _SafeRSV, …(+1);标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/backtest/026_factor_multi/run.py— 归属:离线示例入口/runner(examples/backtest);说明:Run the self-contained Iteration 45 multi-factor research example.;符号:_add_checkout_root, _load_config, _resolve_path, _resolve_factor_mode, _factor_classes, _factor_class_identities, …(+11);标记:main guard、filesystem mutation names;来源:AST / 工作树。examples/backtest/027_alpha003_panel_acceptance/run.py— 归属:离线示例入口/runner(examples/backtest);说明:Run the native Alpha003 factor over the observed daily A-share panel.;符号:_add_checkout_root, _load_config, _resolve_path, _resolve_factor_mode, load_daily_panel, _run_factor, …(+2);标记:main guard、filesystem mutation names;来源:AST / 工作树。examples/backtest/027_alpha003_panel_acceptance/run_daily.py— 归属:离线示例入口/runner(examples/backtest);说明:Run the native Alpha003 factor over a source-observed daily panel.;符号:RunIdentityConflictError, _repo_root, _add_checkout_root, _canonical_json, _sha256_file, _write_json, …(+18);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/B01/B01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:B01 — crossing fill plus resting-order lifecycle (demo-engine adapted).;符号:_long_amount, _order_facts, _place_market, _watch_order, _cancel_to_terminal, _flatten_remaining, …(+1);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/B01/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/B02/B02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:B02 — several resting orders are accepted one-by-one and each is canceled.;符号:_plan, _place_resting, _await_status, _residual, B02Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/B02/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/C01/C01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:C01 — authenticated session with baseline account-scope reads.;符号:C01Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/C01/run.py— 归属:单 case 入口(examples/live);说明:Run the C01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/E01/E01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:E01 — genuine venue rejection: insufficient margin (deliberately oversized).;符号:_residual, _confirm_canceled, E01Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/E01/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/E02/E02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:E02 — genuine venue rejection: close direction without a position.;符号:_confirm_canceled, E02Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/E02/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/E03/E03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:E03 — genuine venue rejection: limit price outside the venue price band.;符号:_confirm_canceled, E03Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/E03/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/EM01/EM01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:EM01 — operator permission restriction probe (evidence-based outcome).;符号:_toggle, _hedge_mode, _restore_hedge_mode, _restricted_env_credentials, _restricted_client, _restore_then, …(+1);标记:database/connect names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/EM01/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/EM02/EM02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:EM02 — strategy pause / resume around a terminal-canceled order cycle.;符号:_place_guarded, _wait_status, EM02Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/EM02/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/EM03/EM03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:EM03 — forced logout via the user-data-stream listenKey (session-only).;符号:_digest12, _renew, EM03Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/EM03/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/L01/L01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:L01 — trade-log correlation: a crossing MARKET BUY fill is matched by a;符号:_long_amount, _order_facts, _place_market, _wait_amount, _flatten_remaining, L01Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/L01/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/L02/L02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:L02 — session system log capture.;符号:L02Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/L02/run.py— 归属:单 case 入口(examples/live);说明:Run the L02 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/L03/L03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:L03 — monitor event capture.;符号:L03Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/L03/run.py— 归属:单 case 入口(examples/live);说明:Run the L03 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/L04/L04_strategy.py— 归属:单 case 策略/动作(examples/live);说明:L04 — local validation rejection with no venue dispatch.;符号:_instrument_row, _misaligned_price, _dispatch_absent, L04Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/L04/run.py— 归属:单 case 入口(examples/live);说明:Run the L04 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/M01/M01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:M01 — monitor readiness on a valid venue server-time day.;符号:M01Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/M01/run.py— 归属:单 case 入口(examples/live);说明:Run the M01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/M02/M02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:M02 — user-data-stream disconnect observation (read-only).;符号:M02Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/M02/run.py— 归属:单 case 入口(examples/live);说明:Run the M02 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/M03/M03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:M03 — recovery to a fresh user-data-stream session (read-only).;符号:M03Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/M03/run.py— 归属:单 case 入口(examples/live);说明:Run the M03 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/M04/M04_strategy.py— 归属:单 case 策略/动作(examples/live);说明:M04 — the local monitor records the order submission.;符号:_plan, _place_resting, _await_status, _residual, M04Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/M04/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/M05/M05_strategy.py— 归属:单 case 策略/动作(examples/live);说明:M05 — the local monitor records submit and cancel.;符号:_plan, _place_resting, _await_status, _residual, M05Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/M05/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/O01/O01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:O01 — repeated open submissions are monitored one-for-one.;符号:_plan, _place_resting, _await_status, _residual, O01Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/O01/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/O02/O02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:O02 — resting reduce flow: the MARKET BUY open fills, a non-crossing reduce;符号:_long_amount, _order_facts, _place_market, _wait_amount, _flatten_remaining, _cancel_to_terminal, …(+1);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/O02/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/O03/O03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:O03 — a repeated cancel is either rejected or leaves the order terminal.;符号:_plan, _place_resting, _await_status, _residual, O03Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/O03/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/T01/T01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:T01 — a bounded resting LIMIT order is accepted and finally canceled.;符号:T01Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/T01/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/T02/T02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:T02 — open-then-close with real fills: crossing MARKET BUY open and MARKET;符号:_long_amount, _order_facts, _place_market, _wait_amount, _flatten_remaining, T02Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/T02/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/T03/T03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:T03 — an authorized resting order is finally canceled.;符号:_plan, _place_resting, _await_status, _residual, T03Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/T03/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/TH01/TH01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:TH01 — threshold configuration snapshot (submit threshold).;符号:TH01Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/TH01/run.py— 归属:单 case 入口(examples/live);说明:Run the TH01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/TH02/TH02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:TH02 — the submit-count threshold fires exactly one monitor alert.;符号:_plan, _place_resting, _await_status, _residual, TH02Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/TH02/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/TH03/TH03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:TH03 — threshold configuration snapshot (combined threshold).;符号:TH03Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/TH03/run.py— 归属:单 case 入口(examples/live);说明:Run the TH03 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/TH04/TH04_strategy.py— 归属:单 case 策略/动作(examples/live);说明:TH04 — the combined submit+cancel threshold fires exactly one monitor alert.;符号:_plan, _place_resting, _await_status, _residual, TH04Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/TH04/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/TH05/TH05_strategy.py— 归属:单 case 策略/动作(examples/live);说明:TH05 — threshold configuration snapshot (repeated-submit window).;符号:TH05Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/TH05/run.py— 归属:单 case 入口(examples/live);说明:Run the TH05 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/TH06/TH06_strategy.py— 归属:单 case 策略/动作(examples/live);说明:TH06 — the repeated-submits-in-window threshold fires exactly one alert.;符号:_plan, _place_resting, _await_status, _residual, TH06Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/TH06/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/V01/V01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:V01 — unknown symbol rejected locally with no venue dispatch.;符号:_dispatch_absent, V01Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/V01/run.py— 归属:单 case 入口(examples/live);说明:Run the V01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/V02/V02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:V02 — misaligned price tick derived from the venue mark price.;符号:_dispatch_absent, V02Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/V02/run.py— 归属:单 case 入口(examples/live);说明:Run the V02 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/V03/V03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:V03 — oversize volume rejected locally with no venue dispatch.;符号:_dispatch_absent, V03Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/cases/V03/run.py— 归属:单 case 入口(examples/live);说明:Run the V03 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/certlib/__init__.py— 归属:认证 runner/client/support(examples/live);说明:Minimal certification helpers for the Binance demo penetration suite.;符号:BackendNotImplemented, _request_timeout, _direct_client, make_client;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/certlib/binance_client.py— 归属:认证 runner/client/support(examples/live);说明:Minimal Binance USD-M demo client for certification cases.;符号:BinanceError, BinanceApiError, TransportFailure, WriteOutcomeUnknown, ClientFrozen, BinanceDemoClient, …(+2);标记:network/client imports;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/certlib/context.py— 归属:认证 runner/client/support(examples/live);说明:Case context, result and evidence helpers.;符号:utc_now, CaseResult, CaseContext, _digest, write_evidence, build_evidence;标记:filesystem mutation names;来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/certlib/envfile.py— 归属:认证 runner/client/support(examples/live);说明:Read named variables from the checkout-root ‘.env’.;符号:default_env_path, load_env;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/certlib/monitor.py— 归属:认证 runner/client/support(examples/live);说明:Minimal local certification monitor: event recording + threshold alerts.;符号:Monitor;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/certlib/runner.py— 归属:认证 runner/client/support(examples/live);说明:Uniform case entry used by every ‘cases//run.py’.;符号:_RiskMetadataError, _resolve_case_risk, _risk_grant_block, _parse_args, _load_yaml, _load_strategy, …(+6);标记:CLI parser、order API names、database/connect names;来源:AST / 工作树。 examples/live/000_live_certification/binance_penetration/certlib/service_backend.py— 归属:认证 runner/client/support(examples/live);说明:Read-only Binance C01 client backed by the normal SDK service runtime.;符号:BinanceServiceBackendError, BinanceServiceClient, make_service_client, _required_public_text, _exact_mapping, _resolve_exact;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/binance_penetration/certlib/validation.py— 归属:认证 runner/client/support(examples/live);说明:Local pre-trade rule checks used by the V/L validation cases.;符号:LocalReject, check_instrument, check_price_tick, check_price_band, check_volume, validate_order;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/B01/B01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:B01 — batch order flow: a crossing order fills and a resting order is canceled.;符号:_round_to_step, _brief, _positions, _poll_state, _market, _flatten, …(+2);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/B01/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/B02/B02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:B02 — several resting LIMIT orders are accepted together and canceled.;符号:_Abort, _round_to_step, _prepare, _place_live, _cancel_terminal, _residual_pending, …(+1);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/B02/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/C01/C01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:C01 — authenticated demo session on the same account (read-only).;符号:C01Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/C01/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/E01/E01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:E01 — genuine venue rejection: insufficient margin (deliberately oversized).;符号:_round_to_step, _brief, _positions, _poll_state, _close, _flatten, …(+2);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/E01/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/E02/E02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:E02 — genuine venue rejection: closing SELL without a long position.;符号:_round_to_step, _brief, _positions, _poll_state, _close, E02Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/E02/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/E03/E03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:E03 — genuine venue rejection: limit price outside the venue price band.;符号:_round_to_step, _brief, _positions, _poll_state, _close, _flush_position, …(+1);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/E03/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/EM01/EM01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:EM01 — operator credential restriction is enforced, then restored.;符号:_round_to_step, _brief, _poll_state, _restricted_client, EM01Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/EM01/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/EM02/EM02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:EM02 — strategy pause guard: local write refusal, then resume cycle.;符号:_round_to_step, _brief, _poll_state, _guarded_place, EM02Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/EM02/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/EM03/EM03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:EM03 — operator key revocation observed, with recovery on a new context.;符号:_brief, _credential_names, _load_values, EM03Strategy;标记:database/connect names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/EM03/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/L01/L01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:L01 — fill correlation: crossing MARKET open matched in the venue trade log.;符号:_round_to_step, _brief, _positions, _poll_state, _market, L01Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/L01/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/L02/L02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:L02 — signed-session system log capture.;符号:L02Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/L02/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/L03/L03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:L03 — monitor event capture over the signed session.;符号:L03Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/L03/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/L04/L04_strategy.py— 归属:单 case 策略/动作(examples/live);说明:L04 — local validation rejection with no venue dispatch.;符号:_instrument_meta, _normalized_row, _dispatch_absent, L04Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/L04/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/M01/M01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:M01 — monitor readiness on the signed session.;符号:M01Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/M01/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/M02/M02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:M02 — observed session auth loss (read-only).;符号:_env_values, M02Strategy;标记:database/connect names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/M02/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/M03/M03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:M03 — recovery to a working credential context (read-only).;符号:_env_values, M03Strategy;标记:database/connect names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/M03/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/M04/M04_strategy.py— 归属:单 case 策略/动作(examples/live);说明:M04 — the local monitor records the order submission.;符号:_Abort, _round_to_step, _prepare, _place_live, _cancel_terminal, _residual_pending, …(+1);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/M04/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/M05/M05_strategy.py— 归属:单 case 策略/动作(examples/live);说明:M05 — the local monitor records submit and cancel.;符号:_Abort, _round_to_step, _prepare, _place_live, _cancel_terminal, _residual_pending, …(+1);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/M05/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/O01/O01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:O01 — repeated open submissions are accepted and canceled.;符号:_Abort, _round_to_step, _prepare, _place_live, _cancel_terminal, _residual_pending, …(+1);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/O01/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/O02/O02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:O02 — resting reduce order: accepted live, finally canceled, then flushed.;符号:_round_to_step, _brief, _positions, _poll_state, _market, _flatten, …(+3);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/O02/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/O03/O03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:O03 — repeated cancel is rejected or leaves the terminal state unchanged.;符号:_Abort, _round_to_step, _prepare, _place_live, _cancel_terminal, _residual_pending, …(+2);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/O03/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/T01/T01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:T01 — a bounded resting LIMIT order is accepted and finally canceled.;符号:_round_to_step, T01Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/T01/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/T02/T02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:T02 — open-then-close with real MARKET fills on the position track.;符号:_round_to_step, _brief, _positions, _poll_state, _market, _flatten, …(+1);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/T02/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/T03/T03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:T03 — an authorized resting LIMIT order is accepted and finally canceled.;符号:_Abort, _round_to_step, _prepare, _place_live, _cancel_terminal, _residual_pending, …(+1);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/T03/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/TH01/TH01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:TH01 — threshold configuration snapshot (submit threshold).;符号:TH01Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/TH01/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/TH02/TH02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:TH02 — the submit-count threshold alerts exactly once.;符号:_Abort, _round_to_step, _prepare, _place_live, _cancel_terminal, _residual_pending, …(+1);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/TH02/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/TH03/TH03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:TH03 — threshold configuration snapshot (combined threshold).;符号:TH03Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/TH03/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/TH04/TH04_strategy.py— 归属:单 case 策略/动作(examples/live);说明:TH04 — the combined submit+cancel threshold alerts exactly once.;符号:_Abort, _round_to_step, _prepare, _place_live, _cancel_terminal, _residual_pending, …(+1);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/TH04/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/TH05/TH05_strategy.py— 归属:单 case 策略/动作(examples/live);说明:TH05 — threshold configuration snapshot (repeated-submit window).;符号:TH05Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/TH05/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/TH06/TH06_strategy.py— 归属:单 case 策略/动作(examples/live);说明:TH06 — the repeated-submits-in-window threshold alerts exactly once.;符号:_Abort, _round_to_step, _prepare, _place_live, _cancel_terminal, _residual_pending, …(+1);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/TH06/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/V01/V01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:V01 — unknown instrument rejected locally with no venue dispatch.;符号:_dispatch_absent, V01Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/V01/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/V02/V02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:V02 — misaligned price tick derived from the venue last price.;符号:_instrument_meta, _dispatch_absent, V02Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/V02/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/V03/V03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:V03 — oversize volume rejected locally with no venue dispatch.;符号:_instrument_meta, _dispatch_absent, V03Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/cases/V03/run.py— 归属:单 case 入口(examples/live);说明:Run the certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/certlib/__init__.py— 归属:认证 runner/client/support(examples/live);说明:Minimal certification helpers for the OKX demo penetration suite.;符号:make_client;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/certlib/context.py— 归属:认证 runner/client/support(examples/live);说明:Case context, result and evidence helpers.;符号:utc_now, CaseResult, CaseContext, _digest, write_evidence, build_evidence;标记:filesystem mutation names;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/certlib/envfile.py— 归属:认证 runner/client/support(examples/live);说明:Read named variables from the checkout-root ‘.env’.;符号:default_env_path, load_env;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/certlib/monitor.py— 归属:认证 runner/client/support(examples/live);说明:Minimal local certification monitor: event recording + threshold alerts.;符号:Monitor;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/certlib/okx_client.py— 归属:认证 runner/client/support(examples/live);说明:Minimal OKX demo client for certification cases.;符号:OkxError, OkxApiError, TransportFailure, WriteOutcomeUnknown, ClientFrozen, OkxDemoClient;标记:network/client imports;来源:AST / 工作树。examples/live/000_live_certification/okx_penetration/certlib/runner.py— 归属:认证 runner/client/support(examples/live);说明:Uniform case entry used by every ‘cases//run.py’.;符号:_RiskMetadataError, _resolve_case_risk, _risk_grant_block, _parse_args, _load_yaml, _load_strategy, …(+6);标记:CLI parser、order API names、database/connect names;来源:AST / 工作树。 examples/live/000_live_certification/okx_penetration/certlib/validation.py— 归属:认证 runner/client/support(examples/live);说明:Local pre-trade rule checks used by the V/L validation cases.;符号:LocalReject, check_instrument, check_price_tick, check_price_band, check_volume, validate_order;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/optional16/__init__.py— 归属:Optional16 历史/compat 源(examples/live);说明:Iteration-41 optional-component matrix: gateway/ZMQ transport for 000 cases.;符号:无顶层 class/def;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/optional16/components.py— 归属:Optional16 历史/compat 源(examples/live);说明:Optional-component mounts for the Iteration-41 ‘‘optional16’’ matrix.;符号:ComponentError, _flag, _transport, _case_id, _env_name, _account_ref, …(+22);标记:order API names、filesystem mutation names、database/connect names;来源:AST / 工作树。examples/live/000_live_certification/optional16/gateway_capability_check.py— 归属:Optional16 历史/compat 源(examples/live);说明:Retired Optional16 live gateway-capability acceptance command.;符号:main;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/optional16/gateway_client.py— 归属:Optional16 历史/compat 源(examples/live);说明:Duck-typed gateway client used by the certification cases and strategies.;符号:GatewayError, GatewayUnavailable, GatewayCommandUncertain, GatewayRejected, ClientFrozen, _ZmqLink, …(+7);标记:network/client imports、filesystem mutation names;来源:AST / 工作树。examples/live/000_live_certification/optional16/gateway_server.py— 归属:Optional16 历史/compat 源(examples/live);说明:Localhost-only gateway transport server for the optional-component matrix.;符号:GatewayCommandError, sdk_root, ensure_import_paths, load_transport_package, transport_name, _pick_free_port, …(+14);标记:main guard、network/client imports、filesystem mutation names;来源:AST / 工作树。examples/live/000_live_certification/optional16/run_matrix.py— 归属:Optional16 历史/compat 源(examples/live);说明:Retired Optional16 acceptance-matrix command.;符号:main;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/optional16/spec.py— 归属:Optional16 历史/compat 源(examples/live);说明:Topology specification for the Iteration-41 optional-component matrix.;符号:TopologyError, TopologySpec, _coerce_flag, from_config, combo_id, matrix_specs, …(+1);标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/B01/B01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:B01 — crossing fill plus resting order lifecycle (engine-adapted).;符号:_depth_row, _long_position, _probe_position, _arm, _place, _settle, …(+6);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/B01/run.py— 归属:单 case 入口(examples/live);说明:Run the B01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/B02/B02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:B02 — several resting orders are accepted together and batch-canceled.;符号:_instrument_row, _depth_row, _prepare, _edge_price, _place_visible, _place_many, …(+4);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/B02/run.py— 归属:单 case 入口(examples/live);说明:Run the B02 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/C01/C01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:C01 — authenticated login with a valid session on the same account.;符号:C01Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/C01/run.py— 归属:单 case 入口(examples/live);说明:Run the C01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/E01/E01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:E01 — insufficient-funds rejection: bounded multi-attempt resting probe.;符号:_row_of, _quotes, _snapshot, _poll, _residual, _account_funds, …(+6);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/E01/run.py— 归属:单 case 入口(examples/live);说明:Run the E01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/E02/E02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:E02 — genuine venue rejection: insufficient position (close without position).;符号:_row_of, _quotes, _snapshot, _poll, _residual, _position_breakdown, …(+5);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/E02/run.py— 归属:单 case 入口(examples/live);说明:Run the E02 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/E03/E03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:E03 — genuine venue rejection: price outside the venue price band.;符号:_row_of, _quotes, _snapshot, _poll, _residual, _native_result, …(+2);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/E03/run.py— 归属:单 case 入口(examples/live);说明:Run the E03 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/EM01/EM01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:EM01 — operator permission restriction is enforced, then restored.;符号:_instrument_row, _depth_row, _arm, EM01Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/EM01/run.py— 归属:单 case 入口(examples/live);说明:Run the EM01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/EM02/EM02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:EM02 — strategy pause / resume around a terminal-canceled order cycle.;符号:_instrument_row, _depth_row, _cancel_cycle, EM02Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/EM02/run.py— 归属:单 case 入口(examples/live);说明:Run the EM02 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/EM03/EM03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:EM03 — external operator forced logout on the runner session (read-only).;符号:_native_of, _observe_signal, _register_disconnect_hook, _resolve_hold_seconds, _hold_observation, _run_operator_assist, …(+3);标记:database/connect names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/EM03/run.py— 归属:单 case 入口(examples/live);说明:Run the EM03 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/L01/L01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:L01 — trade-log correlation: a crossing BUY fill matched by OrderRef, then flat.;符号:_depth_row, _long_position, _probe_position, _arm, _place, _settle, …(+3);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/L01/run.py— 归属:单 case 入口(examples/live);说明:Run the L01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/L02/L02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:L02 — session system log capture.;符号:L02Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/L02/run.py— 归属:单 case 入口(examples/live);说明:Run the L02 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/L03/L03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:L03 — monitor event-hook capture.;符号:L03Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/L03/run.py— 归属:单 case 入口(examples/live);说明:Run the L03 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/L04/L04_strategy.py— 归属:单 case 策略/动作(examples/live);说明:L04 — local validation rejection with no venue dispatch.;符号:_instrument_row, _depth_row, _dispatch_absent, L04Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/L04/run.py— 归属:单 case 入口(examples/live);说明:Run the L04 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/M01/M01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:M01 — monitor readiness on a valid trading day.;符号:M01Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/M01/run.py— 归属:单 case 入口(examples/live);说明:Run the M01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/M02/M02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:M02 — monitoring observes a controlled external session stop (read-only).;符号:_native_of, _register_disconnect_hook, M02Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/M02/run.py— 归属:单 case 入口(examples/live);说明:Run the M02 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/M03/M03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:M03 — recovery to a fresh session (read-only).;符号:M03Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/M03/run.py— 归属:单 case 入口(examples/live);说明:Run the M03 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/M04/M04_strategy.py— 归属:单 case 策略/动作(examples/live);说明:M04 — the local monitor records the order submission.;符号:_instrument_row, _depth_row, _prepare, _edge_price, _place_visible, _place_many, …(+4);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/M04/run.py— 归属:单 case 入口(examples/live);说明:Run the M04 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/M05/M05_strategy.py— 归属:单 case 策略/动作(examples/live);说明:M05 — the local monitor records submit and cancel.;符号:_instrument_row, _depth_row, _prepare, _edge_price, _place_visible, _place_many, …(+4);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/M05/run.py— 归属:单 case 入口(examples/live);说明:Run the M05 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/O01/O01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:O01 — repeated open submissions are observed once each.;符号:_instrument_row, _depth_row, _prepare, _edge_price, _place_visible, _place_many, …(+4);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/O01/run.py— 归属:单 case 入口(examples/live);说明:Run the O01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/O02/O02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:O02 — reduce order final state: resting non-crossing reduce, accepted then canceled.;符号:_depth_row, _long_position, _probe_position, _arm, _place, _settle, …(+3);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/O02/run.py— 归属:单 case 入口(examples/live);说明:Run the O02 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/O03/O03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:O03 — a repeated cancel is rejected and the order stays terminal.;符号:_instrument_row, _depth_row, _prepare, _edge_price, _place_visible, _place_many, …(+4);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/O03/run.py— 归属:单 case 入口(examples/live);说明:Run the O03 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/T01/T01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:T01 — a bounded resting LIMIT order is accepted and finally canceled.;符号:_instrument_row, _depth_row, T01Strategy;标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/T01/run.py— 归属:单 case 入口(examples/live);说明:Run the T01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/T02/T02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:T02 — open-then-close with real fills: crossing BUY open, reduce-only close.;符号:_depth_row, _long_position, _probe_position, _arm, _place, _settle, …(+3);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/T02/run.py— 归属:单 case 入口(examples/live);说明:Run the T02 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/T03/T03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:T03 — an authorized resting order is finally canceled.;符号:_instrument_row, _depth_row, _prepare, _edge_price, _place_visible, _place_many, …(+4);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/T03/run.py— 归属:单 case 入口(examples/live);说明:Run the T03 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/TH01/TH01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:TH01 — threshold configuration snapshot (submit threshold).;符号:TH01Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/TH01/run.py— 归属:单 case 入口(examples/live);说明:Run the TH01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/TH02/TH02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:TH02 — the submit-count threshold alert fires exactly once.;符号:_instrument_row, _depth_row, _prepare, _edge_price, _place_visible, _place_many, …(+4);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/TH02/run.py— 归属:单 case 入口(examples/live);说明:Run the TH02 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/TH03/TH03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:TH03 — threshold configuration snapshot (combined threshold).;符号:TH03Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/TH03/run.py— 归属:单 case 入口(examples/live);说明:Run the TH03 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/TH04/TH04_strategy.py— 归属:单 case 策略/动作(examples/live);说明:TH04 — the combined submit+cancel threshold alert fires exactly once.;符号:_instrument_row, _depth_row, _prepare, _edge_price, _place_visible, _place_many, …(+4);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/TH04/run.py— 归属:单 case 入口(examples/live);说明:Run the TH04 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/TH05/TH05_strategy.py— 归属:单 case 策略/动作(examples/live);说明:TH05 — threshold configuration snapshot (repeated-submit window).;符号:TH05Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/TH05/run.py— 归属:单 case 入口(examples/live);说明:Run the TH05 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/TH06/TH06_strategy.py— 归属:单 case 策略/动作(examples/live);说明:TH06 — the repeated-submits-in-window threshold alert fires exactly once.;符号:_instrument_row, _depth_row, _prepare, _edge_price, _place_visible, _place_many, …(+4);标记:order API names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/TH06/run.py— 归属:单 case 入口(examples/live);说明:Run the TH06 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/V01/V01_strategy.py— 归属:单 case 策略/动作(examples/live);说明:V01 — unknown instrument rejected locally with no venue dispatch.;符号:_dispatch_absent, V01Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/V01/run.py— 归属:单 case 入口(examples/live);说明:Run the V01 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/V02/V02_strategy.py— 归属:单 case 策略/动作(examples/live);说明:V02 — misaligned price tick derived from the venue last price.;符号:_instrument_row, _depth_row, _dispatch_absent, V02Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/V02/run.py— 归属:单 case 入口(examples/live);说明:Run the V02 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/V03/V03_strategy.py— 归属:单 case 策略/动作(examples/live);说明:V03 — oversize volume rejected locally with no venue dispatch.;符号:_instrument_row, _depth_row, _dispatch_absent, V03Strategy;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/cases/V03/run.py— 归属:单 case 入口(examples/live);说明:Run the V03 certification case (dry by default; --live to execute).;符号:无顶层 class/def;标记:main guard;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/certlib/__init__.py— 归属:认证 runner/client/support(examples/live);说明:Minimal certification helpers for the SimNow penetration suite.;符号:make_client;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/certlib/context.py— 归属:认证 runner/client/support(examples/live);说明:Case context, result and evidence helpers.;符号:utc_now, CaseResult, CaseContext, _digest, write_evidence, build_evidence;标记:filesystem mutation names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/certlib/ctp_client.py— 归属:认证 runner/client/support(examples/live);说明:Minimal SimNow CTP trader session for certification cases.;符号:SimNowError, SimNowSessionError, ensure_sdk_importable, FrontPair, _endpoint, select_front_pair, …(+4);标记:network/client imports、filesystem mutation names;来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/certlib/envfile.py— 归属:认证 runner/client/support(examples/live);说明:Read named variables from the checkout-root ‘.env’.;符号:default_env_path, load_env;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/certlib/monitor.py— 归属:认证 runner/client/support(examples/live);说明:Minimal local certification monitor: event recording + threshold alerts.;符号:Monitor;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/live/000_live_certification/simnow_penetration/certlib/runner.py— 归属:认证 runner/client/support(examples/live);说明:Uniform case entry used by every SimNow ‘cases//run.py’.;符号:_RiskMetadataError, _resolve_case_risk, _risk_grant_block, _parse_args, _load_yaml, _load_strategy, …(+8);标记:CLI parser、order API names、database/connect names;来源:AST / 工作树。 examples/live/000_live_certification/simnow_penetration/certlib/validation.py— 归属:认证 runner/client/support(examples/live);说明:Local pre-trade rule checks used by the V/L validation cases.;符号:LocalReject, check_instrument, check_price_tick, check_price_band, check_volume, validate_order;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/service_execution_session/run.py— 归属:service execution session 示例;说明:Runnable local example for configured ServiceExecutionSession composition.;符号:_SyntheticEmptyLegacyClient, _SyntheticNoWriteProvider, _SyntheticAdmissionGate, _BarCounter, _client_endpoint, _service_config, …(+10);标记:main guard、process/subprocess、network/client imports、filesystem mutation names;来源:AST / 工作树。examples/unified/007_ctp/ctp_bar_examples_common.py— 归属:统一示例支持源码(按模块说明核对);说明:CTP Bar-Based Trading Examples Common Module.;符号:FiveSecondBarStrategyBase, SingleSymbolMaStrategy, PairSpreadStrategy, get_strategy_class, _parse_bar_point, _build_bar_events, …(+6);标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/007_ctp/ctp_bbroker_5s_examples/backtest/run.py— 归属:多模式示例入口(examples/unified);说明:CTP BackBroker 5-second bar backtest runner.;符号:_run_config_first_cli, main, _build_parser, _legacy_main;标记:main guard;来源:AST / 工作树。examples/unified/007_ctp/ctp_bbroker_5s_examples/live/run.py— 归属:多模式示例入口(examples/unified);说明:CTP BackBroker 5-second bar live trading runner with SimNow.;符号:_run_config_first_cli, main, _build_parser, _validate_config, _legacy_main;标记:main guard、process/subprocess;来源:AST / 工作树。examples/unified/007_ctp/ctp_example_support.py— 归属:统一示例支持源码(按模块说明核对);说明:CTP Futures Examples Support Module.;符号:RetiredCtpExecution, legacy_direct_execution_error, resolve_config_path, load_config, load_json_config, attach_trade_logger, …(+14);标记:order API names、environment reads;来源:AST / 工作树。examples/unified/007_ctp/ctp_mix_examples_common.py— 归属:统一示例支持源码(按模块说明核对);说明:CTP Mixed Bar+Tick Trading Examples Common Module.;符号:SingleSymbolMixStrategy, PairMixArbitrageStrategy, get_strategy_class, _parse_tick_point, _parse_bar_point, _build_tick_events, …(+3);标记:filesystem mutation names;来源:AST / 工作树。examples/unified/007_ctp/ctp_mixbroker_5s_examples/backtest/run.py— 归属:多模式示例入口(examples/unified);说明:CTP MixBroker 5-second bar backtest runner.;符号:_run_config_first_cli, main, _build_parser, _legacy_main;标记:main guard;来源:AST / 工作树。examples/unified/007_ctp/ctp_mixbroker_5s_examples/live/run.py— 归属:多模式示例入口(examples/unified);说明:CTP MixBroker 5-second bar live trading runner with SimNow.;符号:_run_config_first_cli, main, _build_parser, _validate_config, _legacy_main;标记:main guard、process/subprocess;来源:AST / 工作树。examples/unified/007_ctp/ctp_mixbroker_examples/backtest/run.py— 归属:多模式示例入口(examples/unified);说明:CTP MixBroker backtest runner.;符号:_run_config_first_cli, main, _build_parser, _legacy_main;标记:main guard;来源:AST / 工作树。examples/unified/007_ctp/ctp_mixbroker_examples/live/run.py— 归属:多模式示例入口(examples/unified);说明:CTP MixBroker live trading runner with SimNow.;符号:_run_config_first_cli, main, _build_parser, _legacy_main;标记:main guard;来源:AST / 工作树。examples/unified/007_ctp/ctp_sa_dual_ma_strategy.py— 归属:示例策略(examples/unified);说明:Historical SA futures dual moving-average strategy source.;符号:_run_config_first_cli, main, DualMAStrategy;标记:main guard、order API names;来源:AST / 工作树。examples/unified/007_ctp/ctp_tick_examples_common.py— 归属:统一示例支持源码(按模块说明核对);说明:CTP Tick-Based Trading Examples Common Module.;符号:SingleSymbolTickStrategy, PairTickArbitrageStrategy, get_strategy_class, _parse_tick_point, _build_tick_events, build_backtest_channel, …(+1);标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/007_ctp/ctp_tickbroker_5s_examples/backtest/run.py— 归属:多模式示例入口(examples/unified);说明:CTP TickBroker 5-second bar backtest runner.;符号:_run_config_first_cli, main, _build_parser, _legacy_main;标记:main guard;来源:AST / 工作树。examples/unified/007_ctp/ctp_tickbroker_5s_examples/live/run.py— 归属:多模式示例入口(examples/unified);说明:CTP TickBroker 5-second bar live trading runner with SimNow.;符号:_run_config_first_cli, main, _build_parser, _validate_config, _legacy_main;标记:main guard、process/subprocess;来源:AST / 工作树。examples/unified/007_ctp/ctp_tickbroker_examples/backtest/run.py— 归属:多模式示例入口(examples/unified);说明:CTP TickBroker backtest runner.;符号:_run_config_first_cli, main, _build_parser, _legacy_main;标记:main guard;来源:AST / 工作树。examples/unified/007_ctp/ctp_tickbroker_examples/live/run.py— 归属:多模式示例入口(examples/unified);说明:CTP TickBroker live trading runner with SimNow.;符号:_run_config_first_cli, main, _build_parser, _legacy_main;标记:main guard;来源:AST / 工作树。examples/unified/007_ctp/run_runtime.py— 归属:历史 runtime 入口/stub 候选(examples/unified);说明:Retired config-first route for the historical CTP examples.;符号:runtime_registry, run_runtime, main;标记:main guard;来源:AST / 工作树。examples/unified/012_1_midfreq_cross_exchange/cross_exchange_strategy.py— 归属:示例策略(examples/unified);说明:Independent robust-basis strategy for OKX/Binance perpetual contracts.;符号:_utc_datetime_from_epoch, _sha256_payload, _venue_symbols_sha256, BasisModelQualification, _fit_ar1, _unit_root_bootstrap_pvalue, …(+10);标记:order API names、filesystem mutation names;来源:AST / 工作树。examples/unified/012_1_midfreq_cross_exchange/entry_tier.py— 归属:统一示例支持源码(按模块说明核对);说明:Config-selected entry tier resolution for the unified examples.;符号:TierDecision, config_tier, decide, invalid, conflict, _entry_view;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/012_1_midfreq_cross_exchange/legacy_runner.py— 归属:遗留 runner/helper(须查当前调用方);说明:Run the independent mid-frequency OKX/Binance perpetual strategy.;符号:_retired_runtime_cli, LegacyRuntimeUnavailableError, _retired_direct_execution_error, _load_repo_backtrader_package, RunnerConfigurationError, _TransientDemoReadinessEvidence, …(+76);标记:main guard、filesystem mutation names;来源:AST / 工作树。examples/unified/012_1_midfreq_cross_exchange/run.py— 归属:多模式示例入口(examples/unified);说明:012_1 standard entry — dry self-check / offline replay / dual-venue demo smoke.;符号:_load_legacy, _json_print, _load_raw_config, _entry_errors, run_dry, run_replay, …(+3);标记:main guard、filesystem mutation names;来源:AST / 工作树。examples/unified/012_1_midfreq_cross_exchange/run_runtime.py— 归属:历史 runtime 入口/stub 候选(examples/unified);说明:Retired Iteration 53 runtime CLI; use this example’s run.py entrypoint.;符号:main;标记:main guard;来源:AST / 工作树。examples/unified/012_1_midfreq_cross_exchange/strategy_candidate_approval.py— 归属:示例策略(examples/unified);说明:Verify a 012 strategy candidate’s offline demo-approval receipt.;符号:_normalize_private_report_value, serialize_private_json_report, _set_private_report_permissions, write_private_json_report, DemoApprovalVerificationError, canonical_json_bytes, …(+29);标记:process/subprocess、network/client imports、filesystem mutation names;来源:AST / 工作树。examples/unified/012_2_event_driven_cross_exchange/entry_tier.py— 归属:统一示例支持源码(按模块说明核对);说明:Config-selected entry tier resolution for the unified examples.;符号:TierDecision, config_tier, decide, invalid, conflict, _entry_view;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/012_2_event_driven_cross_exchange/event_driven_strategy.py— 归属:示例策略(examples/unified);说明:Independent taker-taker event-driven strategy for cross-exchange perpetuals.;符号:_utc_datetime_from_epoch, _decimal_token, event_fee_bucket, event_depth_bucket, _event_path_model_payload, event_path_model_sha256, …(+9);标记:order API names、filesystem mutation names;来源:AST / 工作树。examples/unified/012_2_event_driven_cross_exchange/legacy_runner.py— 归属:遗留 runner/helper(须查当前调用方);说明:Run the independent event-driven OKX/Binance perpetual strategy.;符号:_retired_runtime_cli, LegacyRuntimeUnavailableError, _retired_direct_execution_error, RunnerConfigurationError, DemoApprovalError, RunnerSourceBindingError, …(+68);标记:main guard、filesystem mutation names;来源:AST / 工作树。examples/unified/012_2_event_driven_cross_exchange/run.py— 归属:多模式示例入口(examples/unified);说明:012_2 standard entry — dry self-check / offline replay / dual-venue demo smoke.;符号:_load_legacy, _json_print, _load_raw_config, _entry_errors, run_dry, run_replay, …(+3);标记:main guard、filesystem mutation names;来源:AST / 工作树。examples/unified/012_2_event_driven_cross_exchange/run_runtime.py— 归属:历史 runtime 入口/stub 候选(examples/unified);说明:Retired Iteration 53 runtime CLI; use this example’s run.py entrypoint.;符号:main;标记:main guard;来源:AST / 工作树。examples/unified/012_2_event_driven_cross_exchange/strategy_candidate_approval.py— 归属:示例策略(examples/unified);说明:Verify a 012 strategy candidate’s offline demo-approval receipt.;符号:_normalize_private_report_value, serialize_private_json_report, _set_private_report_permissions, write_private_json_report, DemoApprovalVerificationError, canonical_json_bytes, …(+29);标记:process/subprocess、network/client imports、filesystem mutation names;来源:AST / 工作树。examples/unified/013_1_midfreq_cross_arbitrage/ctp_example_support.py— 归属:统一示例支持源码(按模块说明核对);说明:CTP Futures Examples Support Module.;符号:CtpLegacyRuntimeRetiredError, _raise_legacy_ctp_runtime_retired, load_dotenv_if_available, resolve_config_path, load_config, load_json_config, …(+15);标记:order API names、environment reads;来源:AST / 工作树。examples/unified/013_1_midfreq_cross_arbitrage/entry_tier.py— 归属:统一示例支持源码(按模块说明核对);说明:Config-selected entry tier resolution for the unified examples.;符号:TierDecision, config_tier, decide, invalid, conflict, _entry_view;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/013_1_midfreq_cross_arbitrage/legacy_runner.py— 归属:遗留 runner/helper(须查当前调用方);说明:Frozen local replay fixture for the mid-frequency pair-arbitrage example.;符号:_retired_runtime_cli, LegacyRuntimeUnavailableError, _contract_code, dominant_contracts, resolve_symbols, load_config, …(+13);标记:main guard、environment reads;来源:AST / 工作树。examples/unified/013_1_midfreq_cross_arbitrage/pair_arbitrage_strategy.py— 归属:示例策略(examples/unified);说明:Mid-frequency cross-product pair arbitrage (soybean meal m vs rapeseed meal RM).;符号:close_offset, close_offset_for_exchange, PairArbitrageStrategy;标记:filesystem mutation names;来源:AST / 工作树。examples/unified/013_1_midfreq_cross_arbitrage/run.py— 归属:多模式示例入口(examples/unified);说明:Unified entry for offline replay and SDK-composed SimNow operation.;符号:LiveRejected, _json_print, _ensure_dev_sdk_path, _load_config, _new_section_errors, _resolve_live_contracts, …(+10);标记:main guard、filesystem mutation names;来源:AST / 工作树。examples/unified/013_1_midfreq_cross_arbitrage/run_runtime.py— 归属:历史 runtime 入口/stub 候选(examples/unified);说明:Retired Iteration 53 runtime CLI; use this example’s run.py entrypoint.;符号:main;标记:main guard;来源:AST / 工作树。examples/unified/013_1_midfreq_cross_arbitrage/simnow_direct.py— 归属:统一示例支持源码(按模块说明核对);说明:Direct registered-sim execution layer for the 013_3 SimNow live mode.;符号:canonical_sha256, strategy_identity_sha256, _endpoint, _probe, _probe_endpoint, _median_success, …(+5);标记:network/client imports、filesystem mutation names;来源:AST / index blob;工作树缺失(unstaged D)。examples/unified/013_2_highfreq_calendar_arbitrage/calendar_arbitrage_strategy.py— 归属:示例策略(examples/unified);说明:High-frequency calendar pair arbitrage (rebar dominant vs next dominant contract).;符号:close_offset, close_offset_for_exchange, PairArbitrageStrategy;标记:filesystem mutation names;来源:AST / 工作树。examples/unified/013_2_highfreq_calendar_arbitrage/ctp_example_support.py— 归属:统一示例支持源码(按模块说明核对);说明:CTP Futures Examples Support Module.;符号:CtpLegacyRuntimeRetiredError, _raise_legacy_ctp_runtime_retired, load_dotenv_if_available, resolve_config_path, load_config, load_json_config, …(+15);标记:order API names、environment reads;来源:AST / 工作树。examples/unified/013_2_highfreq_calendar_arbitrage/entry_tier.py— 归属:统一示例支持源码(按模块说明核对);说明:Config-selected entry tier resolution for the unified examples.;符号:TierDecision, config_tier, decide, invalid, conflict, _entry_view;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/013_2_highfreq_calendar_arbitrage/legacy_runner.py— 归属:遗留 runner/helper(须查当前调用方);说明:Frozen local replay fixture for the calendar pair-arbitrage example.;符号:_retired_runtime_cli, LegacyRuntimeUnavailableError, _contract_code, dominant_contracts, resolve_symbols, load_config, …(+13);标记:main guard、environment reads;来源:AST / 工作树。examples/unified/013_2_highfreq_calendar_arbitrage/run.py— 归属:多模式示例入口(examples/unified);说明:Unified entry for offline replay and SDK-composed SimNow operation.;符号:LiveRejected, _json_print, _ensure_dev_sdk_path, _load_config, _new_section_errors, _resolve_live_contracts, …(+10);标记:main guard、filesystem mutation names;来源:AST / 工作树。examples/unified/013_2_highfreq_calendar_arbitrage/run_runtime.py— 归属:历史 runtime 入口/stub 候选(examples/unified);说明:Retired Iteration 53 runtime CLI; use this example’s run.py entrypoint.;符号:main;标记:main guard;来源:AST / 工作树。examples/unified/013_2_highfreq_calendar_arbitrage/simnow_direct.py— 归属:统一示例支持源码(按模块说明核对);说明:Direct registered-sim execution layer for the 013_3 SimNow live mode.;符号:canonical_sha256, strategy_identity_sha256, _endpoint, _probe, _probe_endpoint, _median_success, …(+5);标记:network/client imports、filesystem mutation names;来源:AST / index blob;工作树缺失(unstaged D)。examples/unified/013_3_sa_midfreq_simnow/__init__.py— 归属:统一示例支持源码(按模块说明核对);说明:Iteration 22 SA mid-frequency SimNow example.;符号:无顶层 class/def;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/013_3_sa_midfreq_simnow/account_lock.py— 归属:统一示例支持源码(按模块说明核对);说明:Small, dependency-free local account lock used by the SimNow runner.;符号:RunnerConfigurationError, AccountLock;标记:filesystem mutation names;来源:AST / 工作树。examples/unified/013_3_sa_midfreq_simnow/entry_tier.py— 归属:统一示例支持源码(按模块说明核对);说明:Config-selected entry tier resolution for the unified examples.;符号:TierDecision, config_tier, decide, invalid, conflict, _entry_view;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/013_3_sa_midfreq_simnow/features.py— 归属:统一示例支持源码(按模块说明核对);说明:Causal level-one quote features for the SA v0 candidate.;符号:_value, _present, _finite, _epoch, _on_tick_grid, QuoteSnapshot, …(+6);标记:filesystem mutation names;来源:AST / 工作树。examples/unified/013_3_sa_midfreq_simnow/legacy_runner.py— 归属:遗留 runner/helper(须查当前调用方);说明:Retained Iteration 22 runner source; use ‘‘run.py’’ for current entrypoints.;符号:_legacy_validated_view, PreflightError, AdmissionReceipt, _mapping, _trade_logger_console_enabled, _attach_trade_logger, …(+104);标记:main guard、process/subprocess、filesystem mutation names、environment reads;来源:AST / 工作树。examples/unified/013_3_sa_midfreq_simnow/reporting.py— 归属:统一示例支持源码(按模块说明核对);说明:Credential-safe, hash-bound evidence for the Iteration 22 example.;符号:EvidenceWriteError, canonical_json, sha256_bytes, sha256_json, sha256_file, source_tree_hash, …(+10);标记:filesystem mutation names、native/OS names;来源:AST / 工作树。examples/unified/013_3_sa_midfreq_simnow/risk.py— 归属:统一示例支持源码(按模块说明核对);说明:Persistent daily risk policy and deterministic execution deadlines.;符号:DailyRiskRecord, DailyRiskStore, FillTimeBounds, GFDOrderDeadline, potential_exposure_lots;标记:filesystem mutation names;来源:AST / 工作树。examples/unified/013_3_sa_midfreq_simnow/run.py— 归属:多模式示例入口(examples/unified);说明:Unified entry for offline replay and SDK-composed SimNow operation.;符号:LiveRejected, _json_print, _ensure_dev_sdk_path, _load_config, _new_section_errors, run_dry, …(+8);标记:main guard、filesystem mutation names;来源:AST / 工作树。examples/unified/013_3_sa_midfreq_simnow/sa_midfreq_strategy.py— 归属:示例策略(examples/unified);说明:SA mid-frequency strategy over provider-neutral and replay projections.;符号:_epoch, _date_key, SystemClock, _event_value, _event_present, _account_core, …(+5);标记:filesystem mutation names;来源:AST / 工作树。examples/unified/013_3_sa_midfreq_simnow/signal_model.py— 归属:统一示例支持源码(按模块说明核对);说明:Frozen deterministic minute/quote fusion and cost admission for SA v0.;符号:_clip, MinuteFeatures, CostInputs, CostDecision, FusionDecision, minute_features, …(+3);标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/013_3_sa_midfreq_simnow/simnow_direct.py— 归属:统一示例支持源码(按模块说明核对);说明:Direct registered-sim execution layer for the 013_3 SimNow live mode.;符号:canonical_sha256, strategy_identity_sha256, _endpoint, _probe, _probe_endpoint, _median_success, …(+5);标记:network/client imports、filesystem mutation names;来源:AST / index blob;工作树缺失(unstaged D)。examples/unified/014_1_ctp_options_lowfreq/__init__.py— 归属:统一示例支持源码(按模块说明核对);说明:Iteration 23 CTP-options replay example package.;符号:无顶层 class/def;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/014_1_ctp_options_lowfreq/ctp_options_lowfreq_strategy.py— 归属:示例策略(examples/unified);说明:Closed-bar C/P/F conversion/reversal strategy used only by this example.;符号:CtpOptionsLowfreqStrategy;标记:filesystem mutation names;来源:AST / 工作树。examples/unified/014_1_ctp_options_lowfreq/entry_tier.py— 归属:统一示例支持源码(按模块说明核对);说明:Config-selected entry tier resolution for the unified examples.;符号:TierDecision, config_tier, decide, invalid, conflict, _entry_view;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/014_1_ctp_options_lowfreq/execution_timing.py— 归属:统一示例支持源码(按模块说明核对);说明:Pure timing and risk projections for the 014_1 offline example.;符号:TimingContractError, ClockSafetyError, _read, _finite, _integer, _text, …(+29);标记:filesystem mutation names;来源:AST / 工作树。examples/unified/014_1_ctp_options_lowfreq/legacy_runner.py— 归属:遗留 runner/helper(须查当前调用方);说明:Retained 014_1 local replay fixture with a config-first script fence.;符号:_iteration41_legacy, _run_config_first_cli, main, RunnerConfigurationError, _canonical_hash, _finite_number, …(+9);标记:main guard、filesystem mutation names;来源:AST / 工作树。examples/unified/014_1_ctp_options_lowfreq/run.py— 归属:多模式示例入口(examples/unified);说明:014_1 standard entry — dry self-check / offline replay / managed-runtime seam.;符号:LiveRejected, _load_legacy, _close_registered_live_store, _observation_write_health_projection, _json_print, _utc_iso, …(+9);标记:main guard、filesystem mutation names;来源:AST / 工作树。examples/unified/014_1_ctp_options_lowfreq/service_live_backend.py— 归属:service live backend 候选;说明:Read-only service route for the 014_1 three-leg live entry.;符号:_emit, _first_strategy, _config_code, _positive_decimal, _contracts, _service_instruments, …(+5);标记:filesystem mutation names;来源:AST / 工作树。examples/unified/014_1_ctp_options_lowfreq/simnow_direct.py— 归属:统一示例支持源码(按模块说明核对);说明:Direct registered-sim execution layer for the 013_3 SimNow live mode.;符号:canonical_sha256, strategy_identity_sha256, _endpoint, _probe, _probe_endpoint, _median_success, …(+5);标记:network/client imports、filesystem mutation names;来源:AST / index blob;工作树缺失(unstaged D)。examples/unified/014_2_ctp_options_midfreq/__init__.py— 归属:统一示例支持源码(按模块说明核对);说明:Iteration 24 CTP-options replay example package.;符号:无顶层 class/def;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/014_2_ctp_options_midfreq/ctp_options_midfreq_strategy.py— 归属:示例策略(examples/unified);说明:Offline Iteration 24 C/P/F strategy with a frozen FQ2 feature boundary.;符号:_load_feature_module, _load_timing_module, ConfigurationError, _require_mapping, _require_exact_keys, _decimal, …(+11);标记:filesystem mutation names;来源:AST / 工作树。examples/unified/014_2_ctp_options_midfreq/entry_tier.py— 归属:统一示例支持源码(按模块说明核对);说明:Config-selected entry tier resolution for the unified examples.;符号:TierDecision, config_tier, decide, invalid, conflict, _entry_view;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/014_2_ctp_options_midfreq/execution_fixture.py— 归属:离线 fixture/replay 支持源码;说明:Bounded synthetic facts and an actual no-bar Cerebro feed for MF-T1.;符号:FixtureExhausted, _clock_for, TimingFixtureProvider, TimingFixtureFeed, build_timing_fixture, build_normal_exit_fixture;标记:filesystem mutation names;来源:AST / 工作树。examples/unified/014_2_ctp_options_midfreq/execution_timing.py— 归属:统一示例支持源码(按模块说明核对);说明:Immutable, local MF-T1 execution timing and risk projections.;符号:TimingContractError, _nonempty, _matches_source_schema, _recognized_source, _canonical_leg, _ns, …(+20);标记:filesystem mutation names;来源:AST / 工作树。examples/unified/014_2_ctp_options_midfreq/features.py— 归属:统一示例支持源码(按模块说明核对);说明:Pure FQ2 minute quote features for the local Iteration 24 example.;符号:FeatureReason, _finite_decimal, _positive_decimal, _aware_datetime, _datetime_value, _value, …(+15);标记:filesystem mutation names;来源:AST / 工作树。examples/unified/014_2_ctp_options_midfreq/fq2_fixture.py— 归属:离线 fixture/replay 支持源码;说明:Explicit local producer for the Iteration 24 FQ2 replay fixture.;符号:_aware, _epoch, ReplayQuoteProducer;标记:filesystem mutation names;来源:AST / 工作树。examples/unified/014_2_ctp_options_midfreq/legacy_runner.py— 归属:遗留 runner/helper(须查当前调用方);说明:Retained 014_2 local replay fixture with a config-first script fence.;符号:_iteration41_legacy, _run_config_first_cli, main, _canonical_config_hash, _contained_config_path, load_config, …(+6);标记:main guard、filesystem mutation names;来源:AST / 工作树。examples/unified/014_2_ctp_options_midfreq/run.py— 归属:多模式示例入口(examples/unified);说明:014_2 standard entry — dry self-check / offline replay / managed-runtime seam.;符号:LiveRejected, _load_legacy, _json_print, _utc_iso, _load_raw_config, _ensure_dev_sdk_path, …(+11);标记:main guard、filesystem mutation names;来源:AST / 工作树。examples/unified/014_2_ctp_options_midfreq/service_live_backend.py— 归属:service live backend 候选;说明:Read-only service backend for the 014_2 standard live entry.;符号:ServiceBackendError, _text, _mapping, _service_document, _account_resources, _curve_profiles, …(+12);标记:filesystem mutation names;来源:AST / 工作树。examples/unified/014_2_ctp_options_midfreq/simnow_direct.py— 归属:统一示例支持源码(按模块说明核对);说明:Direct registered-sim execution layer for the 013_3 SimNow live mode.;符号:canonical_sha256, strategy_identity_sha256, _endpoint, _probe, _probe_endpoint, _median_success, …(+5);标记:network/client imports、filesystem mutation names;来源:AST / index blob;工作树缺失(unstaged D)。examples/unified/015_ctp_options_highfreq/__init__.py— 归属:统一示例支持源码(按模块说明核对);说明:Self-contained Iteration 25 CTP-options tick replay example.;符号:无顶层 class/def;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/015_ctp_options_highfreq/ctp_options_highfreq_strategy.py— 归属:示例策略(examples/unified);说明:Tick-only C/P/F parity candidate used by the Iteration 25 replay.;符号:_decimal, _decimal_text, canonical_sha256, _quote_as_dict, _quote_fingerprint, parity_screen, …(+1);标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/015_ctp_options_highfreq/engineering_smoke.py— 归属:统一示例支持源码(按模块说明核对);说明:Fail-closed SimNow engineering-smoke adapter for Iteration 25.;符号:EngineeringSmokeError, EngineeringObservationBlocked, _ObservationReadOnlyApi, SessionIdentity, NativeAssociation, SmokeState, …(+12);标记:filesystem mutation names;来源:AST / 工作树。examples/unified/015_ctp_options_highfreq/entry_tier.py— 归属:统一示例支持源码(按模块说明核对);说明:Config-selected entry tier resolution for the unified examples.;符号:TierDecision, config_tier, decide, invalid, conflict, _entry_view;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/015_ctp_options_highfreq/execution_timing.py— 归属:统一示例支持源码(按模块说明核对);说明:Immutable, zero-write HF-T1 timing projections.;符号:TimingContractError, _identity, _strict_int, _utc_text, _alias_pairs, TimingScope, …(+12);标记:filesystem mutation names;来源:AST / 工作树。examples/unified/015_ctp_options_highfreq/legacy_runner.py— 归属:遗留 runner/helper(须查当前调用方);说明:Run the self-contained Iteration 25 CTP-options tick replay.;符号:runtime_artifact_evidence, require_target_backtrader_artifact, EnvironmentSelection, classify_sdk_profile, _sdk_environment_resolver, environment_profile_key, …(+45);标记:main guard、filesystem mutation names、environment reads;来源:AST / 工作树。examples/unified/015_ctp_options_highfreq/run.py— 归属:多模式示例入口(examples/unified);说明:015 standard entry — dry self-check / offline replay / managed-runtime seam.;符号:LiveRejected, _load_legacy, _json_print, _utc_iso, _load_raw_config, _ensure_dev_sdk_path, …(+6);标记:main guard、filesystem mutation names;来源:AST / 工作树。examples/unified/015_ctp_options_highfreq/run_runtime.py— 归属:历史 runtime 入口/stub 候选(examples/unified);说明:Retired registered-runtime wrapper for example 015.;符号:run_runtime, main;标记:main guard;来源:AST / 工作树。examples/unified/015_ctp_options_highfreq/service_live_backend.py— 归属:service live backend 候选;说明:Read-only service route for the 015 tick/cohort public entry.;符号:_emit, _first_strategy, _decimal, _contracts, _instruments, _validate_metadata, …(+2);标记:filesystem mutation names;来源:AST / 工作树。examples/unified/015_ctp_options_highfreq/simnow_direct.py— 归属:统一示例支持源码(按模块说明核对);说明:Direct registered-sim execution layer for the 013_3 SimNow live mode.;符号:canonical_sha256, strategy_identity_sha256, _endpoint, _probe, _probe_endpoint, _median_success, …(+5);标记:network/client imports、filesystem mutation names;来源:AST / index blob;工作树缺失(unstaged D)。examples/unified/015_ctp_options_highfreq/simnow_launcher.py— 归属:统一示例支持源码(按模块说明核对);说明:Retired SimNow launcher; use ‘‘run.py --replay’’ for local replay.;符号:_run_config_first_cli, main, require_runtime_artifact, FeedClock, load_env_file, require_frozen_fronts, …(+2);标记:main guard;来源:AST / 工作树。examples/unified/028_alpha003_simnow_minute/alpha003_strategy.py— 归属:示例策略(examples/unified);说明:Ordinary Alpha003 Strategy, risk planner, and Broker order projection.;符号:CohortBatchFacts, FactorPoint, FactorSnapshotFacts, Alpha003PolicyInput, Alpha003SignalTarget, Alpha003TargetDecision, …(+57);标记:filesystem mutation names;来源:AST / 工作树。examples/unified/028_alpha003_simnow_minute/discovery_lifecycle.py— 归属:统一示例支持源码(按模块说明核对);说明:Generic Store shutdown observation for the Alpha003 example.;符号:DiscoveryStoreCloseResult, _Custody, DiscoveryStoreCloseError, _result, _workers_quiescent, close_discovery_store;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/028_alpha003_simnow_minute/entry_tier.py— 归属:统一示例支持源码(按模块说明核对);说明:Config-selected entry tier resolution for the unified examples.;符号:TierDecision, config_tier, decide, invalid, conflict, _entry_view;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/028_alpha003_simnow_minute/protected_simnow.py— 归属:统一示例支持源码(按模块说明核对);说明:Unavailable legacy protected SimNow configuration handoff.;符号:ProtectedSimNowConfigError, protected_simnow_store_config;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/028_alpha003_simnow_minute/run.py— 归属:多模式示例入口(examples/unified);说明:Standalone entry point for the shared native Alpha003 example.;符号:RunnerError, _mapping, _exact_keys, _text, _aware_datetime, _iso_date, …(+110);标记:main guard、filesystem mutation names、native/OS names;来源:AST / 工作树。examples/unified/052_provider_demo_roundtrip/entry_tier.py— 归属:统一示例支持源码(按模块说明核对);说明:Config-selected entry tier resolution for the unified examples.;符号:TierDecision, config_tier, decide, invalid, conflict, _entry_view;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。examples/unified/052_provider_demo_roundtrip/paper_common.py— 归属:统一示例支持源码(按模块说明核对);说明:Shared neutral helpers for the iteration-52 provider paper entry.;符号:strategy_params, write_evidence, summarize, row_value, finite_number, public_login_facts;标记:filesystem mutation names;来源:AST / 工作树。examples/unified/052_provider_demo_roundtrip/provider_demo_roundtrip_strategy.py— 归属:示例策略(examples/unified);说明:One bounded Binance Demo LIMIT open/cancel (or flatten) round trip.;符号:ProviderDemoRoundTripStrategy;标记:order API names;来源:AST / 工作树。examples/unified/052_provider_demo_roundtrip/run.py— 归属:多模式示例入口(examples/unified);说明:Iteration 52 provider-neutral paper entry: one bounded Demo round trip.;符号:_prepend_sources, _load_yaml_text, _venue, _safe_code, _public_configuration, _parse_ledger_routes, …(+7);标记:main guard、process/subprocess;来源:AST / 工作树。examples/unified/052_provider_demo_roundtrip/simnow_paper.py— 归属:统一示例支持源码(按模块说明核对);说明:Provider-neutral helpers for the iteration-52 external paper example.;符号:SimNowPaperError, load_configuration, compose_runtime, collect_readonly_preflight;标记:filesystem mutation names;来源:AST / 工作树。examples/unified/052_provider_demo_roundtrip/simnow_runner.py— 归属:统一示例支持源码(按模块说明核对);说明:SimNow route adapter for the iteration-52 provider demo.;符号:_ManagedSessionAbort, _safe_code, _close_unclaimed_composition_once, _emit, _base_payload, _public_configuration, …(+6);标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。
scripts/¶
scripts/__init__.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Package marker for repository helper scripts.;符号:无顶层 class/def;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。scripts/aggregate_stock_minute_parquet.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Stream a sorted China A-share 1-minute Parquet file into daily bars.;符号:AggregationError, _stat_signature, _require_direct_child, _sha256_file, _json_metadata, _validate_schema, …(+13);标记:main guard、network/client imports、filesystem mutation names;来源:AST / 工作树。scripts/analyze_code_lines.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Code line count analysis script.;符号:should_skip, count_lines, analyze_project, print_stats;标记:main guard;来源:AST / 工作树。scripts/analyze_docstrings.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Analyze Python source files for missing docstrings and Chinese comments.;符号:find_python_files, collect_python_files, select_recommended_file, quick_analyze, count_lines, strip_path_like_tokens, …(+6);标记:main guard;来源:AST / 工作树。scripts/analyze_test_durations.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Analyze pytest --durations=0 output to identify slowest tests and files.;符号:无顶层 class/def;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。scripts/benchmark_data_loading.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Benchmark how long it takes to load each large test data CSV.;符号:time_call, best_of, file_size_mb, line_count, main;标记:main guard;来源:AST / 工作树。scripts/benchmark_factor_collection_pair.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Paired timing of native factor collection and panel/dataset finalization.;符号:_sha256, _canonical_hash, _json_write, _pair_helpers, _safe_input_path, _path_inside, …(+17);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/benchmark_factor_examples.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Run one factor example in a fresh process on the fixed or full universe.;符号:_hash, _inside, _required_source_paths, _source_state, _map_hash, _data_state_fixed500, …(+12);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/benchmark_factor_research.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Stage benchmark for the native factor-research examples 025/026/027.;符号:_load_module, _rss, _peak_rss, _hash_file, _source_hashes, _factor_specs, …(+12);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/benchmark_factor_research_attribution.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Attribute factor-research performance to the float64 kernel and fincore report reuse.;符号:_sha256_bytes, _sha256_file, _canonical_hash, _git_text, _kernel_method_sources, _kernel_hashes, …(+27);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/benchmark_factor_research_pair.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Run paired, fresh-process benchmarks for factor-research examples 025-027.;符号:ModePairComparisonError, _sha256, _process_environment, _canonical_hash, _selected_input_manifest, _load_pair_semantics_helper, …(+38);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/ci/__init__.py— 归属:CI/发行/静态验证脚本;说明:CI helper scripts (governance verification, PR risk classification).;符号:无顶层 class/def;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。scripts/ci/classify_pr_risk.py— 归属:CI/发行/静态验证脚本;说明:Classify a PR’s risk level and suggest labels from its changed paths.;符号:_normalize, _classify_single, classify_risk, suggest_area, suggest_labels, paths_from_file, …(+2);标记:main guard、filesystem mutation names;来源:AST / 工作树。scripts/ci/compare_iteration_runtime.py— 归属:CI/发行/静态验证脚本;说明:Paired, fresh-process iteration 28/29 runtime evidence (no network or orders).;符号:_file_sha256, source_snapshot_manifest, source_environment, is_within, probe_harness_manifest, build_crossover_orders, …(+13);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/ci/render_github_ruleset_payload.py— 归属:CI/发行/静态验证脚本;说明:Render a GitHub Rulesets API payload from an Iteration 140 manifest.;符号:render_payload, main;标记:main guard、filesystem mutation names;来源:AST / 工作树。scripts/ci/run_iteration41_cpython38_core_runtime.py— 归属:CI/发行/静态验证脚本;说明:Run the CPython 3.8 core compatibility and retired-runtime contract.;符号:_source_root, build_pytest_command, _retired_runtime_paths_present, _interpreter_metadata, _is_cpython38, _result_payload, …(+3);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/ci/run_iteration41_ctp_private_windows_smoke.py— 归属:CI/发行/静态验证脚本;说明:Run the synthetic Iteration 41 CTP fail-closed CLI smoke on Windows.;符号:_source_root, build_pytest_command, _interpreter_metadata, _supported_interpreter, _isolated_environment, _write_json, …(+3);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/ci/smoke_iteration41_registered_offline.py— 归属:CI/发行/静态验证脚本;说明:Run every registered Iteration 41 offline config through the public CLI.;符号:_offline_smoke_registrations, main;标记:main guard、process/subprocess;来源:AST / 工作树。scripts/ci/verify_github_governance.py— 归属:CI/发行/静态验证脚本;说明:Verify GitHub governance configuration against the tracked manifests.;符号:parse_codeowners, validate_codeowners, _branch_for_ruleset, _rules_by_type, _status_check_contexts, _check_pull_request_rule, …(+6);标记:main guard;来源:AST / 工作树。scripts/ci/verify_release_wheel.py— 归属:CI/发行/静态验证脚本;说明:Verify a release wheel’s source identity and isolated consumer behavior.;符号:_dist_info_prefix, _validate_archive_members, _distribution_key, _verify_dist_info, _verify_wheel_source_identity, verify, …(+1);标记:main guard、order API names、filesystem mutation names;来源:AST / 工作树。scripts/clean_markdown.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Markdown format cleaner script.;符号:MarkdownCleaner, main;标记:main guard、filesystem mutation names;来源:AST / 工作树。scripts/compare_performance_logs.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Compare two performance profiling logs and generate a detailed report.;符号:parse_log_file, normalize_func_key, compare_logs, format_number, format_pct, generate_report, …(+1);标记:main guard、filesystem mutation names;来源:AST / 工作树。scripts/debug/analyze_okx_min_trading.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Analyze minimum trading capital requirements for OKX trading pairs.;符号:fetch_okx_markets, analyze_min_trading_amount, print_analysis_results, recommend_best_pairs, main;标记:main guard、network/client imports;来源:AST / 工作树。scripts/diagnose_factor_research_pipeline.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Instrumented, non-gating diagnostics for factor-research pipeline stages.;符号:_sha256, _git_head, _rss_bytes, _json_write, _Observer, _patch_method, …(+32);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/extract_test_data_files.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Extract data file usage from each test file in the slow list.;符号:find_data_files;标记:main guard;来源:AST / 工作树。scripts/fix_migrated_data_paths.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Fix data path resolution in migrated regression run.py files.;符号:fix_file, main;标记:main guard、filesystem mutation names;来源:AST / 工作树。scripts/flatten_regression_tests.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Flatten tests/functional/strategies//regression/<NNNN_name>/ tests up to /.;符号:main;标记:main guard、filesystem mutation names;来源:AST / 工作树。 scripts/generate_iteration42_tracker.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Build the deterministic Iteration 42 tracker from pinned public sources only.;符号:TrackerInputError, _unique_object, _keys, _text, _safe_path, _ref_ids, …(+18);标记:main guard、filesystem mutation names;来源:AST / 工作树。scripts/heal_assertions.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Self-healing assertion fixer.;符号:run_test, parse_failure, remove_assertion_for_key, update_assertion, heal_one, find_failing_tests, …(+1);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/inline_regression_tests.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Inline migrated regression strategies into single self-contained test files.;符号:find_migrated_dirs, yaml_to_python_repr, make_repo_relative, clean_source, extract_imports, merge_imports, …(+6);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/iter28_fingerprint_probe.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:AC28-14: source-fingerprint closure over the split execution files.;符号:load_module, snapshot_inputs, partial_provenance, probe_snapshot, main;标记:main guard、filesystem mutation names;来源:AST / 工作树。scripts/iter28_m0_exports.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:M0 baseline: star exports, API signatures, descriptors, object identity.;符号:无顶层 class/def;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。scripts/iter28_m0_pickle.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:M0 baseline: freeze legacy pickle payloads (Cerebro + OptReturn).;符号:SmallStrategy, run_opt, optreturn_summary, main;标记:main guard、order API names、filesystem mutation names;来源:AST / 工作树。scripts/iter28_perf_probe.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Iteration 28 performance probe (D28-06).;符号:PerfStrategy, PerfIndicatorStrategy, _data, load_fastpath, load_runnext_multi, load_runonce_multi_tf, …(+4);标记:main guard、order API names、filesystem mutation names;来源:AST / 工作树。scripts/iter28_pickle_interop.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Write/read local pickle contracts against an explicitly selected source tree.;符号:InteropStrategy, make_engine, summarize, main;标记:main guard、order API names、filesystem mutation names;来源:AST / 工作树。scripts/iter28_pickle_verify.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Iteration 28 AC28-05: pickle cross-version + real spawn verification.;符号:SmallStrategy, load_old, produce_new, read_new;标记:main guard、filesystem mutation names;来源:AST / 工作树。scripts/iter28_spawn_probe.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Run isolated, real spawn optimization contracts for Cerebro.;符号:SpawnStrategy, SpawnAnalysis, run_optimization, main;标记:main guard、process/subprocess、order API names;来源:AST / 工作树。scripts/iter28_split.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Iteration 28 mechanical split tool (one-shot, audited).;符号:method_block, normalize, main;标记:main guard、filesystem mutation names;来源:AST / 工作树。scripts/iter28_verify_moves.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Verify every moved method is textually identical to the pre-split source.;符号:collect_methods, apply_fixes, main;标记:main guard、filesystem mutation names;来源:AST / 工作树。scripts/iteration50_installed_fixture.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Installed-wheel fixtures for the Iteration 50 live-factor handoff.;符号:_ambient_import_environment_names, _sanitized_environment, _isolated_arguments, _run_isolated_entry, _is_direct_script_invocation, _cwd_is_inside_checkout, …(+41);标记:main guard、process/subprocess、order API names、filesystem mutation names;来源:AST / 工作树。scripts/iteration51_installed_fixture.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Run the public 028 Alpha003 CLI against an installed Backtrader wheel.;符号:InstalledFixtureError, _sha256, _pinned_sdk_selector_source, _is_within, _require_external, copy_public_example, …(+21);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/migrate_regression.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Migrate regression strategies from tests/functional/strategies_regression/;符号:_resolve_data_path, remap_data_paths_in_config, edit_run_py, edit_test_py, make_init, migrate_one, …(+1);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/notify_smoke.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Send one real notification per channel - local manual smoke test only.;符号:_required_fields, _channel_is_configured, _parse_args, main;标记:main guard;来源:AST / 工作树。scripts/observe_iteration51_process_memory.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Bounded external RSS sampling for one explicitly identified process tree.;符号:_utc_text, _parse_utc, _is_receipt_path, _atomic_json, _read_receipt, _error_code, …(+7);标记:main guard、filesystem mutation names;来源:AST / 工作树。scripts/parametrize_runonce_tests.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Refactor tests/functional/strategies/ tests to parametrize runonce flag.;符号:transform_file, main;标记:main guard、filesystem mutation names;来源:AST / 工作树。scripts/profile_factor_examples.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Measure the unchanged 025/026/027 public main functions, one process per run.;符号:sha256, main;标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/profile_performance.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Performance profiling script for backtrader tests;符号:discover_test_functions, discover_strategies, get_git_branch, get_git_commit, profile_single_strategy, aggregate_stats, …(+4);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/refresh_cross_exchange_local_manifests.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Re-issue the folder-local admission manifests for the 012_x candidates.;符号:canonical_sha256, file_sha256, candidate_payload, local_manifest, _as_json, main;标记:main guard、filesystem mutation names;来源:AST / 工作树。scripts/refresh_strategy_durations.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Regenerate tests/functional/strategies/.test_durations.json.;符号:parse_log, measure, main;标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/reproduce_issue17_from_csv.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Reproduce issue #17 with the reporter CSV attachment.;符号:_resolved_path, Issue17Data, infer_type_code, build_symbol_frame, read_line_value, type_string_expr, …(+14);标记:main guard;来源:AST / 工作树。scripts/run_iter27_fq3_independent_acceptance.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Run a fresh, source-bound, zero-network acceptance attempt for Iteration 27 T6.;符号:NetworkForbidden, EnvFileForbidden, _sha256, _json_text, _write_new_text, _write_new_json, …(+31);标记:main guard、process/subprocess、order API names、filesystem mutation names;来源:AST / 工作树。scripts/run_iter27_hf_t1_independent_acceptance.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Create a fresh, self-attested local receipt for Iteration 27 T8.;符号:NetworkAttemptError, NativeAPIAttemptError, _sha256, _frozen_fixture_sha256, _json_dump, _relative, …(+50);标记:main guard、process/subprocess、network/client imports、filesystem mutation names;来源:AST / 工作树。scripts/run_iter27_mf_t1_independent_acceptance.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Create one sealed, zero-network Iteration 27 T7 MF-T1 acceptance attempt.;符号:AttemptSetupError, ParentGuard, configure_paths_after_guard, sha256, canonical_fixture_bytes, canonical_fixture_sha256, …(+40);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/run_iteration22_ctp_benchmarks.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Run the frozen Iteration 22 latency and resource benchmarks.;符号:_source_hashes, _sha256_file, _quantile, _cpu_model, _hardware, _raw_quote, …(+21);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/run_iteration41_actor_capacity_benchmark.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:BM58 fake-only two-client/shared-SQLite-authority capacity diagnostic.;符号:BenchmarkError, _Counters, resolve_profile, _write_json, _connect, _begin, …(+12);标记:main guard、process/subprocess、filesystem mutation names、database/connect names;来源:AST / 工作树。scripts/run_iteration41_ai_wheel_interop.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Verify review-only Iteration 41 AI evidence across three isolated wheels.;符号:AiWheelInteropError, _sha256_file, _regular_wheel, _wheel_inputs, _run_checked, verify_wheel_interop, …(+3);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/run_iteration41_direct_benchmark.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Isolated BM57 direct Store microbenchmark with a local fake provider only.;符号:BenchmarkContractError, _sha256, source_tree_sha256, runtime_contract_sha256, _revision_for, _safe_child_environment, …(+19);标记:main guard、process/subprocess、network/client imports、order API names、filesystem mutation names、native/OS names;来源:AST / 工作树。scripts/run_iteration41_monitor_benchmark.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:BM59-M local process measurement; no provider, credentials, or live route.;符号:percentiles, evaluate, _NativeBlocker, install_io_guard, database_size, database_snapshot, …(+4);标记:main guard、process/subprocess、filesystem mutation names、database/connect names;来源:AST / 工作树。scripts/run_iteration50_live_factor_benchmark.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Bounded live-cohort long-stream composition benchmark.;符号:_source_fields_for, _window_bars_for, _sha256_file, _source_revision_is_valid, _journal_options, _capacity_snapshot_values, …(+38);标记:main guard、order API names、filesystem mutation names、database/connect names、native/OS names;来源:AST / 工作树。scripts/run_official_backtrader_strategy_regression.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Run strategy regression tests against the current backtrader installation.;符号:find_repo_root, is_same_or_child, cleaned_env, clean_sys_path, run_command, backtrader_location, …(+16);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/run_selected_tests.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Backtrader Selected Tests Runner;符号:check_test_directories, run_tests, show_info, main;标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/run_simnow_c01_native_td_read_v12_root_activation_r1.py— 归属:历史 Root/native activation wrapper(高影响,一次性);说明:One-shot Root activation for the frozen SimNow C01 V12 TD-read profile.;符号:RootActivationError, _PipeCapture, _sha256, _canonical_json, _canonical_json_value, _strict_pairs, …(+22);标记:main guard、filesystem mutation names、native/OS names;来源:AST / 工作树。scripts/run_simnow_c01_native_td_read_v17_root_activation_r1.py— 归属:历史 Root/native activation wrapper(高影响,一次性);说明:One-shot Root activation for the frozen SimNow C01 V17 TD-read profile.;符号:RootActivationError, _PipeCapture, _sha256, _canonical_json, _canonical_json_value, _strict_pairs, …(+23);标记:main guard、filesystem mutation names、native/OS names;来源:AST / 工作树。scripts/run_simnow_c01_native_td_read_v19_root_activation_r1.py— 归属:历史 Root/native activation wrapper(高影响,一次性);说明:One-shot Root activation for the frozen SimNow C01 V19 TD-read profile.;符号:RootActivationError, _PipeCapture, _sha256, _canonical_json, _canonical_json_value, _strict_pairs, …(+23);标记:main guard、filesystem mutation names、native/OS names;来源:AST / 工作树。scripts/run_simnow_c01_native_td_read_v20_root_activation_r1.py— 归属:历史 Root/native activation wrapper(高影响,一次性);说明:Fixed child handoff wrapper for the unregistered SimNow C01 V20 candidate.;符号:C01V20ChildActivationError, C01V20FrameChannelReceipt, C01V20WrapperCallReceipt, _DiscardingTextSink, _sha256, _read_public_source, …(+16);标记:main guard、native/OS names;来源:AST / 工作树。scripts/run_simnow_c01_native_td_read_v20_root_activation_r2.py— 归属:历史 Root/native activation wrapper(高影响,一次性);说明:Fixed child handoff wrapper for the unregistered SimNow C01 V20 candidate.;符号:C01V20ChildActivationError, C01V20FrameChannelReceipt, C01V20WrapperCallReceipt, _DiscardingTextSink, _sha256, _read_public_source, …(+22);标记:main guard、native/OS names;来源:AST / 工作树。scripts/run_strategy_branch_compare.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Install and run a strategy across multiple git branches for comparison.;符号:BranchRunResult, parse_args, run_command, repo_root, git_stdout, safe_name, …(+25);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/run_test_with_log.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Run test files and display output in terminal while saving to log file.;符号:get_git_branch, git_stash, git_stash_pop, switch_branch, pip_install, cleanup_old_logs, …(+3);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/run_tests_with_timeout.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Test Runner Script for Backtrader.;符号:parse_args, main;标记:main guard、process/subprocess;来源:AST / 工作树。scripts/scan_logging_baseline.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Scan the backtrader package and emit logging-baseline catalogs (iteration 29 M0).;符号:relpath, caught_names, first_effective, logging_call_level, has_logger_call, classify_disposition, …(+2);标记:main guard、filesystem mutation names;来源:AST / 工作树。scripts/select_regression_candidates.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Select ~100 representative regression strategies for migration.;符号:find_strategies, file_size_mb, evaluate, main;标记:main guard、filesystem mutation names;来源:AST / 工作树。scripts/setup_mysql_db.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Setup script for backtrader TradeLogger MySQL database.;符号:get_password, create_database, create_tables, main;标记:main guard、database/connect names;来源:AST / 工作树。scripts/sync_and_test.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Sync test files to master branch and run tests on both branches.;符号:get_git_root, get_git_branch, switch_branch, run_test_with_pythonpath, sync_and_test, main;标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/validate_iteration51_saved_factor_tape.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Offline, bounded Alpha003 validation for one saved live DecisionTape.;符号:SavedTapeValidationError, _fail, _runner_module, _alpha_module, _mapping, _text, …(+19);标记:main guard、filesystem mutation names;来源:AST / 工作树。scripts/verify_cmp_type_optiontype.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Verify bt.Cmp + bt.If Type/OptionType classification behavior.;符号:_resolved_path, OptionData, build_frame, read_line_value, type_string_expr, option_type_string_expr, …(+12);标记:main guard;来源:AST / 工作树。scripts/verify_factor_examples_benchmark.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Verify Iteration 49 full-output runs and exact A/B equivalence.;符号:VerificationError, _reject_constant, _unique_object, _read_json, _canonical_json, _sha256_file, …(+35);标记:main guard、filesystem mutation names;来源:AST / 工作树。scripts/verify_factor_research_installed.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Build pinned research wheels and verify them outside the source checkout.;符号:VerificationError, _archive_paths, _archive_paths_for_commit, _verify_pair_formula_test_witnesses, _verify_alpha101_build_pair_test_witness, _require_record_keys, …(+36);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/verify_factor_research_pair_semantics.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Strict, keyed comparison of paired native-factor outputs without pandas.;符号:ComparisonError, _canonical_json, _payload_digest, capture_report_semantics, _manifest_declares_empty_table, _empty_table_is_contractual, …(+23);标记:main guard、filesystem mutation names、database/connect names;来源:AST / 工作树。scripts/verify_iteration41_external_ai_wheel_interop.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Verify the Iteration 41 offline AI-product evidence boundary from wheels.;符号:InteropError, _sha256_bytes, _is_within, _regular_file, _require_source_root, _offline_wheelhouse, …(+12);标记:main guard、process/subprocess、filesystem mutation names;来源:AST / 工作树。scripts/verify_iteration41_writer_dispositions.py— 归属:仓库维护/基准/回归脚本(依模块说明细分);说明:Verify the review disposition checklist for Iteration 41 write candidates.;符号:DispositionChecklistError, _load_inventory_collector, _canonical_json, _semantic_locator, _sort_key, candidate_records, …(+11);标记:main guard、filesystem mutation names;来源:AST / 工作树。
tools/¶
tools/analyze_current_performance.py— 归属:开发分析/文档/性能/数据工具;说明:Performance Log Analysis Tool for Backtrader Optimization.;符号:parse_log_file, analyze_bottlenecks, compare_with_baseline, generate_optimization_recommendations, main;标记:main guard;来源:AST / 工作树。tools/analyze_performance.py— 归属:开发分析/文档/性能/数据工具;说明:Performance Analysis Script for Backtrader Metaclass Removal;符号:parse_log_header, parse_log_functions, extract_function_name, compare_logs;标记:main guard;来源:AST / 工作树。tools/analyze_performance_diff.py— 归属:开发分析/文档/性能/数据工具;说明:Performance Log Comparison Analysis Tool.;符号:FunctionStats, ProfileReport, parse_log_file, compare_reports, main;标记:main guard;来源:AST / 工作树。tools/cache_optimization_tool.py— 归属:开发分析/文档/性能/数据工具;说明:Cache Optimization Tool for Backtrader Store System.;符号:LRUCache, MethodCache, SingletonCache, OptimizedParameterizedSingletonMixin, CacheOptimizationTool, main;标记:main guard;来源:AST / 工作树。tools/compare_binance_bbo_strategy.py— 归属:开发分析/文档/性能/数据工具;说明:Comparison tool for backtrader and hftbacktest on Binance BBO data.;符号:_build_parser, main;标记:main guard;来源:AST / 工作树。tools/compare_performance.py— 归属:开发分析/文档/性能/数据工具;说明:Performance comparison script for backtrader profiling reports;符号:parse_log_header, parse_function_stats, compare_stats, generate_comparison_report, main;标记:main guard;来源:AST / 工作树。tools/convert_binance_bbo.py— 归属:开发分析/文档/性能/数据工具;说明:Conversion tool for Binance bookTicker and trades data to hftbacktest format.;符号:_build_parser, main;标记:main guard、filesystem mutation names;来源:AST / 工作树。tools/crypto_tests/test_base_funding_rate.py— 归属:crypto 数据/Store 集成测试;说明:Tests for crypto futures funding rate trading.;符号:GenericFundingRateCsv, get_data_root, FundingRateStrategy, run_strategy, get_expected_value, test_base_funding_rate;标记:main guard、order API names;来源:AST / 工作树。tools/crypto_tests/test_buy_sell_order_strategy.py— 归属:crypto 数据/Store 集成测试;说明:Tests for crypto exchange buy/sell order execution.;符号:get_from_time_and_end_time, TestStrategy, get_account_config, test_binance_buy_sell_order, test_okx_buy_and_sell, test_okx_and_binance_buy_sell_order;标记:main guard、order API names、filesystem mutation names;来源:AST / 工作树。tools/crypto_tests/test_crypto_store.py— 归属:crypto 数据/Store 集成测试;说明:Crypto Store Module Tests.;符号:test_init_two_time;标记:未命中有限标记集(不证明无副作用);来源:AST / 工作树。tools/crypto_tests/test_data_ma.py— 归属:crypto 数据/Store 集成测试;说明:Cryptocurrency exchange data integration tests with Moving Average indicators.;符号:get_from_time_and_end_time, TestStrategy, get_account_config, test_binance_ma, test_okx_ma, test_okx_and_binance;标记:main guard、filesystem mutation names;来源:AST / 工作树。tools/crypto_tests/test_data_strategy.py— 归属:crypto 数据/Store 集成测试;说明:Tests for crypto data feed functionality.;符号:get_from_time_and_end_time, TestStrategy, get_account_config, test_binance_three_data_strategy, test_binance_one_data_strategy, test_okx_one_data_strategy, …(+2);标记:main guard、filesystem mutation names;来源:AST / 工作树。tools/deep_reorganize_docs.py— 归属:开发分析/文档/性能/数据工具;说明:Deep reorganization of docs directory.;符号:DeepDocsReorganizer;标记:main guard、filesystem mutation names;来源:AST / 工作树。tools/dependency_analyzer.py— 归属:开发分析/文档/性能/数据工具;说明:Backtrader Class Dependency Analyzer.;符号:ClassInfo, DependencyEdge, RiskAssessment, ClassDependencyAnalyzer, ProjectDependencyAnalyzer, main;标记:main guard;来源:AST / 工作树。tools/doc_consistency_checker.py— 归属:开发分析/文档/性能/数据工具;说明:Documentation Consistency Checker for Backtrader.;符号:ConsistencyIssue, DocConsistencyChecker, main;标记:main guard;来源:AST / 工作树。tools/doc_coverage_scanner.py— 归属:开发分析/文档/性能/数据工具;说明:Documentation Coverage Scanner for Backtrader.;符号:DocCoverageStats, MissingDocItem, DocCoverageScanner, main;标记:main guard;来源:AST / 工作树。tools/doc_link_validator.py— 归属:开发分析/文档/性能/数据工具;说明:Documentation Link Validator for Backtrader.;符号:LinkIssue, DocLinkValidator, main;标记:main guard、network/client imports;来源:AST / 工作树。tools/docstring_enhancer.py— 归属:开发分析/文档/性能/数据工具;说明:Docstring Enhancement Tool for Backtrader.;符号:FunctionInfo, DocstringEnhancer, main;标记:main guard;来源:AST / 工作树。tools/fix_doc_links.py— 归属:开发分析/文档/性能/数据工具;说明:Tool for automatically fixing documentation link issues.;符号:fix_external_urls, fix_badge_urls, fix_file, main;标记:main guard;来源:AST / 工作树。tools/generate_test_data.py— 归属:开发分析/文档/性能/数据工具;说明:Test data generation tool for Iteration 138.;符号:generate_ticks, generate_orderbook, generate_funding, generate_bars, write_tick_csv, write_orderbook_jsonl, …(+4);标记:main guard、filesystem mutation names;来源:AST / 工作树。tools/memory_optimization_tool.py— 归属:开发分析/文档/性能/数据工具;说明:Memory optimization tool for backtrader Store classes.;符号:MemoryProfiler, SlottedStore, OptimizedStore, MemoryOptimizationTool, main;标记:main guard;来源:AST / 工作树。tools/performance_benchmark.py— 归属:开发分析/文档/性能/数据工具;说明:Performance Benchmark Tool for Backtrader.;符号:PerformanceBenchmark, main;标记:main guard;来源:AST / 工作树。tools/performance_bottleneck_analyzer.py— 归属:开发分析/文档/性能/数据工具;说明:Performance bottleneck analyzer for the Store system.;符号:PerformanceBottleneckAnalyzer, main;标记:main guard;来源:AST / 工作树。tools/reorganize_docs.py— 归属:开发分析/文档/性能/数据工具;说明:Reorganize docs directory structure.;符号:DocsReorganizer;标记:main guard、filesystem mutation names;来源:AST / 工作树。tools/store_performance_benchmark.py— 归属:开发分析/文档/性能/数据工具;说明:Performance benchmark tool for Store system.;符号:StoreBenchmark, main;标记:main guard;来源:AST / 工作树。
静态生成完整性¶
indexed tracked Python paths:481;工作树存在:475;工作树缺失并从 index 摘要:6;AST 解析失败:0。
工作树缺失清单:
examples/unified/013_1_midfreq_cross_arbitrage/simnow_direct.py、examples/unified/013_2_highfreq_calendar_arbitrage/simnow_direct.py、examples/unified/013_3_sa_midfreq_simnow/simnow_direct.py、examples/unified/014_1_ctp_options_lowfreq/simnow_direct.py、examples/unified/014_2_ctp_options_midfreq/simnow_direct.py、examples/unified/015_ctp_options_highfreq/simnow_direct.py。逐文件行数应与当前
git ls-files.py数一致;这是职责目录草稿,不是逐行安全审计、入口可运行证明、账户授权或验收结果。