用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tradingstrategy-ai/getting-started --skill run-variant-cycle命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | run-variant-cycle |
| description | Create and run a variant of a backtesting or optimiser notebook. |
This skill creates a variant of a backtesting or optimiser notebook, runs it and reports result back.
Usually you determine this from the conversation context and it is a previous experiment notebook, or a notebook linked by the user.
Then the user tells you how they want to modify the notebook.
Changes include
For further examples you can use:
scratchpad/vault-of-vaults/67-hyperliquid-dual-signal-parameter-tuning.ipynbscratchpad/vault-of-vaults/40-hyperliquid-august-start.ipynbBased on this we create a new notebook.
Parameters class, but sometimes they do not, such as when changing the optimiser target function.If the original notebook uses an optimiser (e.g. perform_optimisation with an iterations variable), reset iterations = 18 in the variant so that the initial run does not take too long. The user can increase iterations later once the notebook is confirmed working.
Run the notebook with the observable jupyter-execute-agent runner as described
in CLAUDE.md, using a subagent — poetry run jupyter-execute-agent {notebook}.ipynb
(see notebook-execution.md).
If there are any bugs, make sure subagent fixed them and rerun the notebook again.
From each backtest run, we should get
Reflect changes in the notebook
After the notebook has been successfully run, analyse the experiment result.
Update the notebook head section with the a Markdown table of summary of results.
Analyse individual positions and jumps in the equity curve. If the result looks lucky because of a single trade on one vault, instead of many vaults moving together during a broader market event, use curator.py to quantify that trade.
Check for other suspicious traits in the results, such as an unusually strong best day or extreme kurtosis. Note that a strong best day can still be valid if BTC and ETH moved sharply on that day.
We must have a worktree, branch and Github PR open.
poetry run notebook-static-server --port 8765 --url-for <notebook-path>.Mention the Github PR comment link in the chat.
setsid poetry run notebook-static-server --port 8765 > /tmp/notebook-static-server.log 2>&1 & echo $! > /tmp/notebook-static-server.pid
Check that Github PR comment correctly contains
基于 SOC 职业分类