Back to list
CheekyCodexConjurer

create-strategy-lean

by CheekyCodexConjurer

AERA: local-first workstation for quantitative research, visualization, and backtesting.

0🍴 0📅 Jan 6, 2026

SKILL.md


name: Create Strategy (LEAN) description: Use this skill when you need to add a new LEAN QCAlgorithm strategy in Python.

Create Strategy (LEAN QCAlgorithm)

Use when adding a new strategy under the Strategy Lab strategies/ workspace.

Steps

  1. Create the strategy file
  • Path: server/strategies/<StrategyName>.py
  • Must define a QCAlgorithm class with Initialize and OnData.
  1. Use AERA-injected parameters
  • Read with GetParameter(...) and provide safe defaults:
    • symbol, resolution, cash, feeBps, slippageBps
  1. Keep it LEAN-safe
  • No network I/O.
  • Avoid writing files from the algorithm.
  • Keep logs short (no spam).
  1. Verify
  • Run from the app: Strategy Lab -> Run (LEAN) and inspect job logs/results.
  • Run standard validations: see skills/verify_changes/SKILL.md.

Template

Start from skills/create_strategy/template_strategy.py.

Score

Total Score

55/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新

+5
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon