options-trading

options-trading is a skill for Claude Code from marketcalls/openalgo-claude-plugin. It costs 38 tokens per session (3,693 once invoked), scanned A, original, MIT.

A set of OpenAlgo tools for trading options, which are contracts whose value depends on an underlying share or index. It covers individual trades, multi-part strategies, options-chain analysis, and risk measures called Greeks.

In plain words
What is it for?
It is for single-leg option orders, Iron Condors, Straddles, Strangles, spreads, strike selection, options-chain work, and Greeks calculations for index and stock options.
Why use it?
It helps represent and execute common options strategies without building every leg and calculation from scratch.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the openalgo-python plugin — 6 skills shipped together

Good fit It is for single-leg option orders, Iron Condors, Straddles, Strangles, spreads, strike selection, options-chain work, and Greeks calculations for index and stock options.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/marketcalls/openalgo-claude-plugin/options-trading
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add marketcalls/openalgo-claude-plugin --skill options-trading
Clone the repo
git clone --depth 1 https://github.com/marketcalls/openalgo-claude-plugin

Made for: Claude Code.

Or install openalgo-python, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for options-trading

README.md
[![agentmods](https://agentmods.dev/badge/skills/marketcalls/openalgo-claude-plugin/options-trading/github.svg)](https://agentmods.dev/skills/marketcalls/openalgo-claude-plugin/options-trading)
Your own site
<a href="https://agentmods.dev/skills/marketcalls/openalgo-claude-plugin/options-trading"><img src="https://agentmods.dev/badge/skills/marketcalls/openalgo-claude-plugin/options-trading/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for options-trading

Your own site · 80×15
<a href="https://agentmods.dev/skills/marketcalls/openalgo-claude-plugin/options-trading"><img src="https://agentmods.dev/badge/skills/marketcalls/openalgo-claude-plugin/options-trading.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,693 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.03693
Opus 5 $0.00019 $0.01847
Sonnet 5 $0.00008 $0.00739
Haiku 4.5 $0.00004 $0.00369

Measured 11d ago against content hash 30b2aada5a64, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

options-trading scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/greeks.py, scripts/iron_condor.py, scripts/options_order.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/openalgo-python/skills/options-trading/SKILL.md · 481 lines

How it starts

The opening of the file, as written. The whole thing — 481 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OpenAlgo Options Trading

Execute options trading strategies using OpenAlgo's unified Python SDK. Supports index options (NIFTY, BANKNIFTY, FINNIFTY), stock options, and complex multi-leg strategies.

Environment Setup

from openalgo import api

client = api(
    api_key='your_api_key_here',
    host='http://127.0.0.1:5000'
)

Quick Start Scripts

Single Leg Options Order

python scripts/options_order.py --underlying NIFTY --expiry 30JAN25 --offset ATM --option-type CE --action BUY --quantity 75

Iron Condor Strategy

python scripts/iron_condor.py --underlying NIFTY --expiry 30JAN25 --quantity 75

Straddle Strategy

python scripts/straddle.py --underlying BANKNIFTY --expiry 30JAN25 --action BUY --quantity 30

Options Symbol Format

OpenAlgo uses standardized symbol formats:

Type Format Example
Index Options [INDEX][DDMMMYY][STRIKE][CE/PE] NIFTY30JAN2526000CE
Stock Options [SYMBOL][DDMMMYY][STRIKE][CE/PE] RELIANCE30JAN251400CE
Index Futures [INDEX][DDMMMYY]FUT NIFTY30JAN25FUT

Offset System

OpenAlgo uses an intuitive offset system to select strikes relative to ATM:

Offset Meaning Example (NIFTY ATM=26000)
ATM At The Money 26000
ITM1 1 strike In The Money CE: 25950, PE: 26050
ITM2 2 strikes In The Money CE: 25900, PE: 26100
OTM1 1 strike Out of The Money CE: 26050, PE: 25950
OTM2 2 strikes Out of The Money CE: 26100, PE: 25900
OTM5 5 strikes Out of The Money CE: 26250, PE: 25750

Core API Methods

1. Single Leg Options Order

Place ATM, ITM, or OTM options orders:

# ATM Call Option
response = client.optionsorder(
    strategy="OptionsBot",
    underlying="NIFTY",
    exchange="NSE_INDEX",
    expiry_date="30JAN25",
    offset="ATM",
    option_type="CE",
    action="BUY",
    quantity=75,
    pricetype="MARKET",
    product="NRML",
    splitsize=0  # 0 = no splitting
)

Read the full file on GitHub · 481 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 481 lines · 38 tokens per session scan A 30b2aada5a64

Subscribe to this mod's changes

options-trading is a skill published in the GitHub repository marketcalls/openalgo-claude-plugin (3 stars, last pushed 8mo ago), licensed MIT. It adds 38 tokens to every session and 3,693 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.