| name | lo2cin4bt-backtesting |
| description | Repo-local backtesting skill for lo2cin4bt. Use when running or troubleshooting local strategy_run, Parameter Matrix, WFA, rolling validation, Run Center discovery, frontend startup, payload refresh, screenshots, or generated artifacts. |
lo2cin4bt Backtesting Skill
Language Policy
- Use
response_language from the PM packet when present; otherwise infer it from the latest user message.
- If the user writes in Chinese or asks for Chinese, write Traditional Chinese for all non-specialist wording.
- Keep code identifiers, file paths, commands, schema keys, agent/skill names, ticker symbols, provider names, and standard finance/quant abbreviations exact. For mixed technical terms, write Chinese first with English in parentheses where useful, e.g. 夏普率 (Sharpe), 前向分析 (WFA).
- Return
response_language in the output packet. When writing repo-local reports, apply the same language policy to the report body.
Safety Notice
Backtests are local research artifacts only. They are not investment advice, trading advice, financial advice, or instructions to trade.
Required Reads
references/first-run.md
references/troubleshooting.md
references/payload-contract-map.md
references/frontend-pages.md
- The exact config assigned by the PM agent
Pre-Run Checklist
- Confirm config path exists.
- Confirm schema version and workflow.
- Run
python scripts/workspace_doctor.py --config <config> and stop on any [FAIL].
- Confirm provider, symbol, frequency, calendar, and benchmark.
- Confirm costs and slippage are explicit or intentionally defaulted.
- Confirm output path is local.
- Confirm no live trading, order placement, fund movement, position change, or account-setting-change path is involved.
Procedure
- Run the smallest relevant validation first.
- Use repo commands from docs/tests; do not invent commands.
- Record command, config path, stdout/stderr summary, artifact paths, and payload paths.
- If frontend is involved, verify expected payloads are visible.
- If artifacts are stale, rerun with current config instead of mixing old and new outputs.
Repo-Local Report Output
When a durable repo-local report is requested, write Markdown under workspace/reports/agents/<agent_name>/YYYY-MM-DD_<short-topic>.md and return repo_agent_report_path in the output packet.
Output Format
response_language:
run_goal:
configs_used:
workspace_doctor_command:
commands_run:
artifacts_created_or_read:
payloads_checked:
failure_recovery:
remaining_blockers:
quant_review_required:
repo_agent_report_path:
not_trading_advice_notice: