원클릭으로
run-variant-cycle
Create and run a variant of a backtesting or optimiser notebook.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create and run a variant of a backtesting or optimiser notebook.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Convert an optimiser or grid search notebook into a standalone backtest notebook using the bundled helper script and mapping guidance.
Convert a backtesting notebook into a parameter optimisation notebook using the bundled transformation mapping to choose searchable parameters and rewrite the notebook.
Create a variant of a backtesting or optimiser notebook.
Update a notebook's cross-chain vault universe to the top 10 vaults by one-year return using the helper script output.
Delete cached indicator data used by backtesting, grid search, and optimiser notebooks.
Read through all experiment notebooks in a folder and write a summary README.
| 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