Help us improve
Share bugs, ideas, or general feedback.
From alpha-mining
Run and analyze WorldQuant BRAIN alpha backtests. Use when running batch simulations, analyzing backtest results, or checking which alphas are submittable. Triggers on "backtest", "simulate", "run batch", "analyze results", or "check alpha".
npx claudepluginhub zxx264547/worldquant-brain-research --plugin alpha-miningHow this skill is triggered — by the user, by Claude, or both
Slash command
/alpha-mining:backtest-analysisThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run and analyze alpha backtests via the BRAIN platform API.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Creates, reads, edits, and analyzes .docx files using docx-js for new documents, pandoc for text extraction, Python scripts for XML unpacking/validation/changes, and LibreOffice for conversions.
Share bugs, ideas, or general feedback.
Run and analyze alpha backtests via the BRAIN platform API.
from worldquant_brain.engine.backtest_runner import BacktestRunner
runner = BacktestRunner()
await runner.init()
result = await runner.run(expression, settings={...}, name="my_alpha")
| Metric | Requirement |
|---|---|
| Sharpe | >= 1.58 |
| Fitness | > 0.5 |
| PPC | < 0.5 |
| Margin | > Turnover |
| Prod Corr | < 0.7 |
| Weight Conc. | < 0.1 |
| Turnover | > 0.01, < 0.7 |
BacktestRunner.run_batch() for concurrent runsworldquant_brain/data/brain.dbsharpe — meets 1.58?fitness — above 1.0?turnover — between 0.01 and 0.7?/alphas/{id}/correlations/prod/alphas/{id}/check