Token导航 LogoToken导航

Agent Skill · 效率

option-calculator(期权计算器)

option-calculator 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

option-calculator 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在效率类的 21,003 个 Skill 里排第 3,243。

总安装 18,577周安装 798GitHub Stars 1下载 6,512核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
2.4.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:option-calculator(期权计算器)
来源仓库:https://github.com/xueyetianya/option-calculator
安装命令:
openclaw skills install option-calculator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install option-calculator

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

为期权定价,计算希腊字母,并通过运动分析绘制损益图。在定价期权、计算希腊值、可视化损益曲线时使用。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install option-calculator;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

option-calculator 怎么安装?

在终端执行 openclaw skills install option-calculator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

option-calculator 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

option-calculator 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

option-calculator 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

option-calculator 用的人多吗?

公开数据是累计安装 18,577 次,近一周安装 798 次,下载 6,512 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

option-calculator 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
option-calculator

期权计算器 · 本页

18,5771接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

version
2.4.0
name
Option Calculator
description
Price options, compute Greeks, and plot P&L diagrams with exercise analysis. Use when pricing options, calculating Greeks, visualizing profit-loss curves.
author
BytesAgain
homepage
https://bytesagain.com
source
https://github.com/bytesagain/ai-skills

Option Calculator

A Black-Scholes option pricing toolkit that runs entirely in your terminal. Feed it a spot price, strike, volatility, and time to expiration — it returns theoretical prices, Greeks, implied volatility, payoff tables, and more.

All math is computed inline via Python 3 using the Abramowitz & Stegun approximation for the normal CDF (no scipy dependency).

Commands

price

option-calculator price <type> <spot> <strike> <rate> <vol> <days>

Compute the Black-Scholes theoretical price for a European call or put.

ArgumentDescription
typecall or put
spotCurrent underlying price
strikeStrike price
rateRisk-free rate (annualized, e.g. 0.05)
volImplied volatility (annualized, e.g. 0.20)
daysDays to expiration

greeks

option-calculator greeks <type> <spot> <strike> <rate> <vol> <days>

Compute the five standard Greeks: Delta, Gamma, Theta (per day), Vega (per 1% vol move), and Rho (per 1% rate move). Same arguments as price.

iv

option-calculator iv <type> <spot> <strike> <rate> <days> <market_price>

Back out the implied volatility from a known market price using Newton-Raphson iteration. Converges to 1e-8 precision within 200 iterations.

ArgumentDescription
market_priceThe observed option premium

payoff

option-calculator payoff <type> <strike> <premium> [range]

Print a table showing intrinsic value and net P/L at expiration across a range of underlying prices. Default range is ±20 around the strike.

compare

option-calculator compare <spot> <strike1> <strike2> <vol> <days>

Side-by-side comparison of two strikes — call price, put price, deltas, and gamma. Uses a fixed risk-free rate of 5%.

chain

option-calculator chain <spot> <vol> <days>

Generate a full option chain with calls, puts, deltas, and gamma across strikes from ~80% to ~120% of spot. Each row is flagged as ITM, ATM, or OTM relative to the call side.

pnl

option-calculator pnl <type> <entry> <current> <qty>

Calculate profit or loss on an existing position. Assumes standard 100 shares per contract. Use negative qty for short positions.

breakeven

option-calculator breakeven <type> <strike> <premium>

Compute the breakeven underlying price at expiration and show max loss for the buyer.

help

option-calculator help

Print the built-in usage guide.

version

option-calculator version

Print the current version string.

Examples

# Price a 30-day call: spot=100, strike=105, rate=5%, vol=20%
$ option-calculator price call 100 105 0.05 0.20 30
Black-Scholes Price (call):
  0.7677

# Greeks for a 60-day put: spot=50, strike=48, rate=3%, vol=35%
$ option-calculator greeks put 50 48 0.03 0.35 60
Greeks (put)  S=50 K=48 r=0.03 σ=0.35 T=60d
──────────────────────────────────
Delta:  -0.312245
Gamma:  0.052040
Theta:  -0.020369  (per day)
Vega:   0.074853  (per 1% vol)
Rho:    -0.029259  (per 1% rate)

# Solve implied volatility from a market price of 3.50
$ option-calculator iv call 100 105 0.05 30 3.50
Implied Volatility Solver (call)  S=100 K=105 r=0.05 T=30d  Market=3.50
──────────────────────────────────
Implied Volatility: 0.416566  (41.66%)

# Payoff table for a call, strike=100, premium=5.50
$ option-calculator payoff call 100 5.50
Payoff Table (call)  K=100  Premium=5.50
──────────────────────────────────
  Underlying    Intrinsic       Net P/L
------------------------------------
       80.00        0.00       -5.50
       85.00        0.00       -5.50
       ...
      100.00        0.00       -5.50 <-- strike
      105.00        5.00       -0.50
      106.00        6.00       +0.50
      110.00       10.00       +4.50
      120.00       20.00      +14.50

# Compare two strikes
$ option-calculator compare 100 95 110 0.25 45
Strike Comparison  S=100  K1=95 vs K2=110  σ=0.25 T=45d
──────────────────────────────────
                      Strike 95.0   Strike 110.0
------------------------------------------------
        Call Price         7.0150         0.7353
         Put Price         1.4312        10.0593
        Call Delta      +0.793714      +0.135799
         Put Delta      -0.206286      -0.864201
             Gamma       0.035611       0.028346

Spot: 100.0  |  Rate: 0.05  |  Vol: 0.25  |  Days: 45.0

# Generate an option chain
$ option-calculator chain 100 0.25 45
Option Chain  |  Spot: 100.0  |  Vol: 25%  |  Days: 45  |  Rate: 0.05
  Strike      Call   C.Delta       Put   P.Delta     Gamma  IV flag
--------------------------------------------------------------
     90.00   10.7823  +0.9268    0.2279  -0.0732  0.012463  ITM
     93.00    8.1952  +0.8639    0.6229  -0.1361  0.019087  ITM
    100.00    3.6738  +0.5580    3.0651  -0.4420  0.032208  ATM
     ...
    110.00    0.8916  +0.1623   10.2497  -0.8377  0.019938  OTM
     ...
    110.00    0.8916  +0.1623   10.2497  -0.8377  0.019938  OTM

# P/L on a long position: bought 5 call contracts at 3.20, now worth 4.80
$ option-calculator pnl call 3.20 4.80 5
Position P/L
──────────────────────────────────
Position:    Long 5x call
Entry:       3.2000
Current:     4.8000
P/L per contract: +1.6000
Total P/L:   +800.00  (+50.00%)

# Breakeven for a put
$ option-calculator breakeven put 100 4.50
Breakeven Analysis
──────────────────────────────────
Put Breakeven: 95.5000
  Strike (100.00) - Premium (4.5000)
  Underlying must fall below 95.5000 to profit at expiration.
  Max loss (buyer): 4.5000 per share

Configuration

The data directory defaults to $HOME/.option-calculator/. It stores a history.log file that records each price command you run for later reference.

Override the directory by setting the OPTION_CALCULATOR_DIR environment variable before invoking the tool:

export OPTION_CALCULATOR_DIR="/tmp/my-options"

Data Storage

FilePurpose
$HOME/.option-calculator/history.logAppend-only log of pricing commands and results

The directory is created automatically on first run.

Requirements

  • bash 4.0+
  • python3 (standard library only — math module)
  • No third-party Python packages needed

When to Use

  • Pricing a European option before placing a trade
  • Checking how Greeks shift across different strikes or expirations
  • Backing out implied volatility from a quoted premium
  • Comparing strikes to decide which contract to buy/sell
  • Generating a quick option chain for scenario analysis
  • Calculating breakeven and P/L on existing positions

*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*

平台分布

OpenClaw

87.36%
按下载量换算5,689

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills