yichengyang-ethan/oracle3/pm-quant-strategy-authoring

Claude Code and agent skill by yichengyang-ethan/oracle3

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Turn an agent's quantitative idea into Strategy code with tunable parameters and verifiable behavior.

Install

npx vskill@latest install yichengyang-ethan/oracle3/pm-quant-strategy-authoring

SKILL.md

PM Quant Strategy Authoring

Use this skill when the user asks the agent to come up with a strategy and write the code.

Goals

  • A runnable strategy class (a QuantStrategy subclass).
  • Exposed numeric parameters, so the strategy can be auto-tuned.
  • strategy validate and backtest run both succeed.

Code entry points

  • Base class contract: oracle3/strategy/quant_strategy.py (QuantStrategy).
  • For LLM-driven strategies use AgentStrategy instead (see pm-agent-strategy-authoring).
  • Example strategies: examples/strategies/*.py, strategies/*.py.
  • New strategies go in strategies/.

Steps

  1. Create the skeleton
  • oracle3 strategy create --output strategies/<name>.py --class-name <ClassName> --type quant
  1. Implement the strategy
  • In process_event, handle only the event types you need (usually PriceChangeEvent).
  • Put parameters in the constructor; numeric parameters are what tuning searches over.
  • Call trader.place_order(...) to act.
  • Record actions and signals with self.record_decision(...).
  1. Quick validation
  • oracle3 strategy validate --strategy-ref strategies/<name>.py:<ClassName> --strategy-kwargs-json '<json>' --dry-run --events 10 --json
  1. Single-market backtest
  • oracle3 backtest run --history-file <history.jsonl> --market-id <M> --event-id <E> --strategy-ref strategies/<name>.py:<ClassName> --strategy-kwargs-json '<json>' --json
  1. Prepare for tuning
  • Every parameter has a clear meaning, bounds and a default.
  • Parameter types stay JSON-serializable.
  • Tune with oracle3 research auto-tune --param-grid-json '<json>' ....

Hard rules

  • Do not hard-code strategy logic in a command-line script; it belongs in its own strategy file.
  • Never use future information (no look-ahead).
  • Keep runs reproducible: record the strategy file path, class name, kwargs and command.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
118
Repository forks
12
7-day trend score
24

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 19 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/yichengyang-ethan/oracle3/pm-quant-strategy-authoring/badge)](https://verified-skill.com/skills/yichengyang-ethan/oracle3/pm-quant-strategy-authoring)

Something wrong with this skill or its page? Tell us.