Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
alphaonedev avatar

Options Analysis

  • 60 installs
  • 6 repo stars
  • Updated March 13, 2026
  • alphaonedev/openclaw-graph

options-analysis is a skill that prices financial options with quantitative models like Black-Scholes and computes Greeks and risk metrics.

About

options-analysis is a skill that prices financial options and evaluates their risk using quantitative models like Black-Scholes and binomial trees. A developer uses it in trading or risk-management workflows to compute option prices and Greeks such as delta and gamma from inputs like stock price, strike, volatility, and time to expiration. It exposes both a CLI and a REST API and supports batch and Monte Carlo risk evaluation.

  • Prices options with Black-Scholes and binomial models
  • Computes Greeks (delta, gamma, theta, vega) and risk metrics
  • CLI and REST API with Monte Carlo risk evaluation

Options Analysis by the numbers

  • 60 all-time installs (skills.sh)
  • Ranked #570 of 1,106 Finance & Trading skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

options-analysis capabilities & compatibility

Requires OPTIONS_API_KEY environment variable for authenticated API calls.

Capabilities
option pricing · risk analysis · greeks calculation · monte carlo
Use cases
trading · data analysis
Pricing
Bring your own API key
From the docs

What options-analysis says it does

Analyzes financial options using quantitative models like Black-Scholes for pricing and risk evaluation.
SKILL.md
Compute Greeks (e.g., delta, gamma, theta, vega) for sensitivity analysis.
SKILL.md
npx skills add https://github.com/alphaonedev/openclaw-graph --skill options-analysis

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs60
repo stars6
Last updatedMarch 13, 2026
Repositoryalphaonedev/openclaw-graph

What it does

Price options and compute risk metrics (Greeks, implied volatility) for trading and risk-management workflows.

Who is it for?

Algorithmic trading and risk-management workflows needing option pricing and sensitivity analysis.

Skip if: General portfolio allocation or non-derivatives finance tasks.

When should I use this skill?

You need to price European call/put options or compute Greeks and risk metrics from market data.

What you get

Option prices, Greeks, and risk metrics returned as JSON for trading decisions.

By the numbers

  • 4+ Greeks computed (delta, gamma, theta, vega)
  • 2 pricing models (black-scholes, binomial)

Files

SKILL.mdMarkdownGitHub ↗

options-analysis

Purpose

This skill analyzes financial options using quantitative models like Black-Scholes for pricing and risk evaluation. It processes inputs such as stock price, strike price, time to expiration, volatility, and risk-free rate to output option prices and Greeks (e.g., delta, gamma).

When to Use

Use this skill for real-time financial analysis in trading scenarios, such as pricing European call/put options, evaluating portfolio risks, or backtesting strategies. Apply it when you have access to market data and need quantitative insights, like in algorithmic trading or risk management dashboards.

Key Capabilities

  • Price options using Black-Scholes or binomial models.
  • Compute Greeks (e.g., delta, gamma, theta, vega) for sensitivity analysis.
  • Evaluate risk metrics like implied volatility and probability of exercise.
  • Support batch processing for multiple options in a single call.
  • Handle various asset types, including stocks and indices, with error bounds for invalid inputs.

Usage Patterns

Invoke this skill via CLI for quick tests or integrate it into Python code for automated workflows. Always provide required parameters like stock price and volatility. Use JSON config files for complex inputs to avoid CLI length limits. For API calls, set the authentication header first using $OPTIONS_API_KEY. Example pattern: Load data from a file, run analysis, and parse results into a dataframe for further processing.

Common Commands/API

Use the CLI command claw options-analysis [subcommand] [flags]. For API, send POST requests to https://api.openclaw.ai/financial/options/price.

  • Pricing Command: claw options-analysis price --model black-scholes --stock-price 100 --strike 105 --time 0.5 --volatility 0.2 --rate 0.05
  • Outputs: JSON with price and Greeks, e.g., {"price": 5.23, "delta": 0.52}
  • Risk Evaluation Command: claw options-analysis risk --model black-scholes --stock-price 100 --strike 105 --time 1 --volatility 0.3 --iterations 1000
  • Flags: --iterations for Monte Carlo simulations; defaults to 100 if omitted.
  • API Endpoint for Pricing: POST to /api/options/price with body: {"model": "black-scholes", "stock_price": 100, "strike": 105}
  • Response: JSON object, e.g., {"call_price": 4.82, "put_price": 3.45}
  • Code Snippet (Python):
  import requests
  headers = {"Authorization": f"Bearer {os.environ['OPTIONS_API_KEY']}"}
  response = requests.post("https://api.openclaw.ai/financial/options/price", json={"model": "black-scholes", "stock_price": 100}, headers=headers)
  print(response.json()['price'])
  • Config Format: Use JSON files for inputs, e.g.,
  {
    "model": "black-scholes",
    "params": {"stock_price": 100, "strike": 105, "time": 1}
  }

Pass via CLI: claw options-analysis price --config path/to/config.json

Integration Notes

Integrate by importing the skill in OpenClaw workflows or calling via API. Authentication requires setting $OPTIONS_API_KEY as an environment variable before execution. For example, in a script: export OPTIONS_API_KEY=your_api_key_here. Handle dependencies like NumPy for post-processing results. If using in a larger application, wrap calls in try-except blocks and cache results for repeated queries to reduce API latency.

Error Handling

Check for errors like invalid inputs (e.g., negative volatility) by validating parameters before calling. Common errors include HTTP 400 for missing fields or 401 for auth failures. In CLI, errors return as stderr messages, e.g., "Error: Volatility must be positive." In code, catch exceptions like requests.exceptions.HTTPError and retry with exponential backoff. Always log error details, such as "Invalid model: Use 'black-scholes' or 'binomial'." Test with sample data to ensure graceful handling.

Concrete Usage Examples

1. Example 1: Price a Call Option Use this to calculate the price of a call option on a stock: claw options-analysis price --model black-scholes --stock-price 150 --strike 155 --time 0.25 --volatility 0.15 --rate 0.02 This outputs the price (e.g., 5.10) and can be piped to a script for trading decisions.

2. Example 2: Evaluate Risk for a Portfolio For risk assessment on multiple options: Create a config file portfolio.json with:

   {"options": [{"stock_price": 200, "strike": 205, "time": 0.5}, {"stock_price": 50, "strike": 55, "time": 1}]}

Run: claw options-analysis risk --config portfolio.json --model black-scholes This computes Greeks for each, helping identify high-risk positions.

Graph Relationships

  • Related to: financial-cluster (parent), options-trading-skill (sibling), risk-assessment-skill (dependent)
  • Connects to: data-fetching-skill (for market data input), visualization-skill (for output graphing)

Related skills

FAQ

What models does options-analysis support?

It prices options using Black-Scholes or binomial models and can run Monte Carlo simulations for risk evaluation.

What outputs does it return?

It returns option prices and Greeks such as delta, gamma, theta, and vega, plus risk metrics like implied volatility and probability of exercise.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.