MCPInstall

algo-options

Generate options-only execution strategies (short straddle, iron condor). Backtest mode is intentionally disabled. Live mode uses optionsmultiorder + per-leg SL.

Installs
44
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/marketcalls/openalgo-execution-skills --skill algo-options
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads algo-options automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Create an options execution strategy.

Arguments

Parse $ARGUMENTS as: template underlying expiry-date

  • $0 = template (short-straddle, iron-condor)
  • $1 = underlying (e.g. NIFTY, BANKNIFTY). Default: NIFTY
  • $2 = expiry date in DDMMMYY format (e.g. 30DEC25). REQUIRED - no auto-roll. Ask if not given.

If no arguments, ask the user which template.

Instructions

  1. Read algo-expert/rules/options-execution.md, unified-strategy-pattern.md, and self-hosted-strategies.md.
  2. Confirm with the user that backtest mode is disabled for options strategies (the file will exit with a clear message if --mode backtest is passed). They use OpenAlgo's UI analyzer toggle for sandbox testing instead.
  3. Ask the user:
    • Lots: how many lots (default 1)
    • OTM offsets (iron-condor only): OTM_NEAR for short body (default 4), OTM_FAR for long wings (default 8)
    • Entry time (IST, e.g. 09:20)
    • Exit time (IST, e.g. 15:15)
    • SL multiplier (short_straddle, e.g. 1.30 for 30% premium SL)
  4. Read the matching template at algo-expert/rules/assets/<template>/strategy.py.
  5. Create strategies/<template>_<underlying>/ and copy + customize.
  6. Set:
    • UNDERLYING, UNDERLYING_EXCH, EXPIRY_DATE
    • LOTS, LOT_SIZE (NIFTY=65, BANKNIFTY=30, FINNIFTY=60 per Apr 2026 SEBI - see lot-sizes.md)
    • ENTRY_TIME, EXIT_TIME as dtime(H, M)
    • SL_MULTIPLIER for short straddle
    • OTM_NEAR, OTM_FAR for iron condor
  7. Tell the user:
    • To upload to /python: requires apscheduler and pytz packages installed (covered by setup)
    • Always re-confirm EXPIRY_DATE before each cycle - the file does NOT auto-roll
    • Set MODE=live in upload form parameters; OpenAlgo UI's analyzer toggle decides sandbox vs real
    • Strategy holds NRML overnight if not flat at EXIT_TIME - cancelallorder + closeposition is called automatically

Templates

TemplateDescription
short-straddleSell ATM CE + ATM PE at scheduled time, per-leg broker SL at SL_MULTIPLIER * premium, flat at EXIT_TIME
iron-condorOTM_NEAR short CE/PE + OTM_FAR long CE/PE wings, monitor and flat at EXIT_TIME

Backtest mode is off

The generated file checks for --mode backtest and exits:

Options backtesting is not supported in this skill pack.
Options pricing depends on volatility surfaces, time decay, and OI dynamics
that intraday OHLCV backtests don't capture well.
Use --mode live (with OpenAlgo's UI analyzer toggle for sandbox).

If the user wants to dry-run, they should:

  1. Flip OpenAlgo's analyzer toggle ON (in /analyzer UI)
  2. Run with --mode live - orders go to the sandbox, not the broker

Avoid

  • Do not use icons/emojis
  • Do not auto-roll expiry date (EXPIRY_DATE = "30DEC25" is hardcoded; user must update weekly)
  • Do not implement options backtesting - explicitly out of scope
  • Do not skip the SL placement - per-leg SL is critical for short premium strategies

FAQ

What does the algo-options skill do?

Generate options-only execution strategies (short straddle, iron condor). Backtest mode is intentionally disabled. Live mode uses optionsmultiorder + per-leg SL.

How do I install algo-options?

Run npx skills add https://github.com/marketcalls/openalgo-execution-skills --skill algo-options in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/algo-options/ (personal) or .claude/skills/algo-options/ (project).

Which AI agents can use algo-options?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is algo-options safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains algo-options?

It is published by marketcalls in marketcalls/openalgo-execution-skills. It has 44 recorded installs.

More from marketcalls/openalgo-execution-skills

View all →

algo-strategy

marketcalls/openalgo-execution-skills

Open the skill to read its SKILL.md instructions.

45 installs

algo-risk-test

marketcalls/openalgo-execution-skills

Verify a strategy's SL / TP / trailing stop / portfolio caps fire correctly. Uses OpenAlgo sandbox + synthetic price moves. Run this before going live.

Testing & QA43 installs

algo-expert

marketcalls/openalgo-execution-skills

Open the skill to read its SKILL.md instructions.

42 installs

algo-host

marketcalls/openalgo-execution-skills

Open the skill to read its SKILL.md instructions.

41 installs

algo-setup

marketcalls/openalgo-execution-skills

Set up the Python environment for OpenAlgo execution skills - venv, openalgo[indicators], vectorbt, talib, scikit-learn, xgboost. Scaffolds strategies/ folder and .env.

algo-portfolio

marketcalls/openalgo-execution-skills

Run multiple strategies under one supervisor with portfolio-level risk caps (portfolio SL/TP, daily PnL limits, max concurrent positions). YAML-driven.

41 installs

Popular other skills

View category →

hyperframes-cli

heygen-com/hyperframes

The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.

1.3M installs

triage

mattpocock/skills

Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.

1M installs

ask-matt

mattpocock/skills

Ask which skill or flow fits your situation. A router over the skills in this repo.

778.4K installs

to-questionnaire

mattpocock/skills

Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

508.9K installs

wait-what

mattpocock/skills

Stop. That last message did not land: re-pitch it.

459.7K installs

loop-me

mattpocock/skills

Grill me about specs for the workflows I want to build, within this workspace.

447.9K installs