Agent skill · Backend & API

QuantConnect Optimization

QuantConnect optimization API and Phase 4 parameter tuning (project)

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill quantconnect-optimization-derekcrosslu-claude-code-explore-01cce --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/ai-ml/quantconnect-optimization-derekcrosslu-claude-code-explore-01cce/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# QuantConnect Optimization (Phase 4) **Progressive Disclosure**: This primer loads essential information. Detailed guides in `reference/` (load on-demand). --- ## When to Use Load when running `/qc-optimize` command for parameter tuning after successful backtest (Phase 3). --- ## ⚠️ CRITICAL CONSTRAINT: Project ID Rule **YOU MUST USE project_id FROM iteration_state.json (created during /qc-backtest)** ### Why This Matters 1. **QC API requires baseline backtest** - Cannot optimize empty project 2. **Must optimize correct strategy** - Use project from Phase 3 3. **Prevents API errors** - Missing baseline causes failures 4. **Maintains audit trail** - Same project through all phases ### Correct Workflow ```python # ✅ CORRECT: Read from iteration_state.json with open('iteration_state.json', 'r') as f: state = json.load(f) project_id = state['project']['project_id'] # REQUIRED backtest_id = state['phase_results']['backtest']['backtest_id'] # Validate exists # Validate before optimization if not project_id or not backtest_id: raise ValueError("Run /qc-backtest first - no baseline found") # Now safe to optimize ``` ### Wrong Examples (DO NOT DO) ```python # ❌ WRONG: Creating new project

What's inside
Steps it walks through
  1. When to Use
  2. ⚠️ CRITICAL CONSTRAINT: Project ID Rule
  3. Why This Matters
  4. Correct Workflow
  5. Wrong Examples (DO NOT DO)
  6. CLI Command
  7. Quick Start
  8. 1. Define Parameter Grid
  9. 2. Run Optimization
  10. 3. Evaluate Results (Phase 4 Decision)
  11. Common Issues
  12. 1. "No baseline backtest found"
  13. 2. "Grid too large" (>100 combinations)
  14. 3. API Authentication Errors
Ships with 1 file
  • metadata.json
Commands it runs
Using qc_optimize.py CLI (progressive disclosure pattern)
qc_optimize.py run --config optimization_params.json --state iteration_state.json
Check status
qc_optimize.py status --optimization-id <id>
Get results
qc_optimize.py results --optimization-id <id>
qc_optimize.py run --config optimization_params.json
qc_optimize.py run --strategy euler --max-backtests 50
python SCRIPTS/qc_optimize.py --help
More from claude-skill-registry
All skills →
About this skill
What does the QuantConnect Optimization skill do?

QuantConnect optimization API and Phase 4 parameter tuning (project)

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill quantconnect-optimization-derekcrosslu-claude-code-explore-01cce --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going