オプション価格モデル
ブラック・ショールズモデルや二項モデル、モンテカルロ法などを用いて、暗号資産オプションの価格を計算したり、インプライド・ボラティリティやグリークスといった指標を分析したりするSkill。
📜 元の英語説明(参考)
[STUB] Options pricing models including Black-Scholes, binomial trees, Monte Carlo, implied volatility surfaces, and Greeks for crypto options
🇯🇵 日本人クリエイター向け解説
ブラック・ショールズモデルや二項モデル、モンテカルロ法などを用いて、暗号資産オプションの価格を計算したり、インプライド・ボラティリティやグリークスといった指標を分析したりするSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o options-pricing.zip https://jpskill.com/download/10423.zip && unzip -o options-pricing.zip && rm options-pricing.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/10423.zip -OutFile "$d\options-pricing.zip"; Expand-Archive "$d\options-pricing.zip" -DestinationPath $d -Force; ri "$d\options-pricing.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
options-pricing.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
options-pricingフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
オプション価格評価
ステータス: STUB — このスキルは、基本的な Black-Scholes の実装と、計画されている機能の概要を提供します。完全な実装は、コミュニティの貢献を待っています。
オプション価格評価は、デリバティブ取引の定量的な基礎です。暗号資産市場では、BTC および ETH のオプションが Deribit、Lyra、Aevo で活発に取引されており、Solana のオプションは Zeta Markets や PsyOptions などのプラットフォームで登場しつつあります。価格評価モデル、インプライド・ボラティリティ・サーフェス、および Greeks を理解することは、ヘッジ、ボラティリティ取引、およびストラクチャード・プロダクトの構築に不可欠です。
このスキルは、情報提供および分析のみを目的としています。金融アドバイスや取引推奨を提供するものではありません。
現在の機能
このスタブには、Greeks 計算と基本的なインプライド・ボラティリティ・ソルバーを備えた、動作する Black-Scholes 計算機が含まれています。実装については、scripts/black_scholes.py を参照してください。
import math
from scipy.stats import norm
def black_scholes_call(S: float, K: float, T: float, r: float, sigma: float) -> float:
"""Price a European call option using Black-Scholes.
Args:
S: Current underlying price.
K: Strike price.
T: Time to expiration in years.
r: Risk-free rate (annualized).
sigma: Volatility (annualized).
Returns:
Theoretical call option price.
"""
d1 = (math.log(S / K) + (r + 0.5 * sigma**2) * T) / (sigma * math.sqrt(T))
d2 = d1 - sigma * math.sqrt(T)
return S * norm.cdf(d1) - K * math.exp(-r * T) * norm.cdf(d2)
デモを実行します:
python scripts/black_scholes.py --demo
計画されている機能
完全に実装されると、このスキルは以下をカバーします。
価格評価モデル
| モデル | オプション・スタイル | ユースケース |
|---|---|---|
| Black-Scholes | ヨーロピアン | バニラ・コール/プット、クイック Greeks |
| 二項ツリー | アメリカン | 早期行使、配当支払い資産 |
| モンテカルロ | エキゾチック | パス依存、バリア、アジアン・オプション |
| Black-76 | 先物 | 暗号資産パーペチュアルの先物オプション |
Greeks
| Greek | 測定 | 計算の基礎 |
|---|---|---|
| Delta | 原資産に対する価格感応度 | dC/dS |
| Gamma | 原資産に対する Delta の感応度 | d²C/dS² |
| Theta | 1日あたりの時間減価 | dC/dT |
| Vega | ボラティリティに対する感応度 | dC/dσ |
| Rho | 金利に対する感応度 | dC/dr |
インプライド・ボラティリティ
- ニュートン・ラフソン法および二分法による IV ソルバー
- ボラティリティ・スマイルおよびスキュー分析
- IV サーフェスの構築 (ストライク x 満期)
- IV ターム構造分析
- Vol-of-vol 推定
暗号資産オプション・プラットフォーム
| プラットフォーム | チェーン | 資産 | スタイル |
|---|---|---|---|
| Deribit | オフチェーン | BTC, ETH | ヨーロピアン |
| Lyra | Optimism/Arbitrum | ETH, BTC | ヨーロピアン |
| Aevo | Ethereum L2 | BTC, ETH, alts | ヨーロピアン |
| Zeta Markets | Solana | SOL, BTC | ヨーロピアン |
| PsyOptions | Solana | SOL, various | アメリカン |
ストラクチャード・プロダクト
- カバード・コールおよびプロテクティブ・プット
- ボラティリティ取引のためのストラドルおよびストラングル
- 方向性エクスポージャーのためのバーティカル・スプレッド
- レンジ相場のためのアイアン・コンドル
- ターム構造取引のためのカレンダー・スプレッド
前提条件
# コア (完全な実装の場合)
uv pip install numpy scipy
# オプション (可視化の場合)
uv pip install matplotlib
含まれている scripts/black_scholes.py は、Python 標準ライブラリ (math モジュール) のみを使用し、依存関係なしで実行できます。
ユースケース
ヘッジ
オプションを使用して、暗号資産の現物ポジションに対するデルタ・ニュートラルなヘッジ比率を計算します。下落に対するポートフォリオを保護するために必要なプット契約の数を計算します。
ボラティリティ取引
インプライド・ボラティリティと実現ボラティリティを比較して、割高/割安なオプションを特定します。IV が実現ボラティリティを大幅に上回る場合、プレミアムの売りが有利になる可能性があります (逆もまた同様です)。
ストラクチャード・プロダクト
異なるストライクおよび満期のオプションを組み合わせたストラクチャード・プロダクトの価格を評価します。実行前に、ペイオフ・プロファイルと損益分岐点を分析します。
リスク評価
Greeks を使用して、価格変動 (デルタ)、加速 (ガンマ)、時間減価 (セータ)、およびボラティリティの変化 (ベガ) に対するポートフォリオ・レベルのエクスポージャーを理解します。
クイック・リファレンス: Black-Scholes の公式
コール価格:
C = S * N(d1) - K * e^(-rT) * N(d2)
プット価格:
P = K * e^(-rT) * N(-d2) - S * N(-d1)
ここで:
d1 = [ln(S/K) + (r + σ²/2) * T] / (σ * √T)
d2 = d1 - σ * √T
プット・コール・パリティ:
C - P = S - K * e^(-rT)
ファイル
| ファイル | 説明 |
|---|---|
references/planned_features.md |
計画されている機能、公式、データソース、および実装の優先順位 |
scripts/black_scholes.py |
Greeks およびインプライド・ボラティリティ・ソルバーを備えた Black-Scholes 計算機 |
貢献
このスキルは、完全な実装を待っているスタブです。貢献するには:
- アメリカン・スタイルのオプションに対する二項ツリー価格評価を実装します
- エキゾチックなペイオフに対するモンテカルロ・シミュレーションを追加します
- 市場の気配値から IV サーフェスを構築します
- ライブ・オプション・チェーン・データのために Deribit API を統合します
- ポートフォリオの Greeks 集計を追加します
完全な機能リストと実装の優先順位については、references/planned_features.md を参照してください。
このスキルは、情報提供のみを目的とした分析ツールおよび数理モデルを提供します。金融アドバイスを構成するものではありません。オプション取引には、重大な損失のリスクが伴います。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
Options Pricing
Status: STUB — This skill provides a basic Black-Scholes implementation and an overview of planned capabilities. Full implementation is awaiting community contribution.
Options pricing is the quantitative foundation of derivatives trading. For crypto markets, options on BTC and ETH trade actively on Deribit, Lyra, and Aevo, while Solana options are emerging on platforms like Zeta Markets and PsyOptions. Understanding pricing models, implied volatility surfaces, and Greeks is essential for hedging, volatility trading, and constructing structured products.
This skill is informational and analytical only. It does not provide financial advice or trading recommendations.
Current Capabilities
This stub includes a working Black-Scholes calculator with Greeks computation and a basic implied volatility solver. See scripts/black_scholes.py for the implementation.
import math
from scipy.stats import norm
def black_scholes_call(S: float, K: float, T: float, r: float, sigma: float) -> float:
"""Price a European call option using Black-Scholes.
Args:
S: Current underlying price.
K: Strike price.
T: Time to expiration in years.
r: Risk-free rate (annualized).
sigma: Volatility (annualized).
Returns:
Theoretical call option price.
"""
d1 = (math.log(S / K) + (r + 0.5 * sigma**2) * T) / (sigma * math.sqrt(T))
d2 = d1 - sigma * math.sqrt(T)
return S * norm.cdf(d1) - K * math.exp(-r * T) * norm.cdf(d2)
Run the demo:
python scripts/black_scholes.py --demo
Planned Capabilities
When fully implemented, this skill will cover:
Pricing Models
| Model | Option Style | Use Case |
|---|---|---|
| Black-Scholes | European | Vanilla calls/puts, quick Greeks |
| Binomial Tree | American | Early exercise, dividend-paying assets |
| Monte Carlo | Exotic | Path-dependent, barrier, Asian options |
| Black-76 | Futures | Futures options on crypto perpetuals |
Greeks
| Greek | Measures | Formula Basis |
|---|---|---|
| Delta | Price sensitivity to underlying | dC/dS |
| Gamma | Delta sensitivity to underlying | d²C/dS² |
| Theta | Time decay per day | dC/dT |
| Vega | Sensitivity to volatility | dC/dσ |
| Rho | Sensitivity to interest rates | dC/dr |
Implied Volatility
- Newton-Raphson and bisection IV solvers
- Volatility smile and skew analysis
- IV surface construction (strike x expiry)
- IV term structure analysis
- Vol-of-vol estimation
Crypto Options Platforms
| Platform | Chain | Assets | Style |
|---|---|---|---|
| Deribit | Off-chain | BTC, ETH | European |
| Lyra | Optimism/Arbitrum | ETH, BTC | European |
| Aevo | Ethereum L2 | BTC, ETH, alts | European |
| Zeta Markets | Solana | SOL, BTC | European |
| PsyOptions | Solana | SOL, various | American |
Structured Products
- Covered calls and protective puts
- Straddles and strangles for volatility trading
- Vertical spreads for directional exposure
- Iron condors for range-bound markets
- Calendar spreads for term structure trades
Prerequisites
# Core (for full implementation)
uv pip install numpy scipy
# Optional (for visualization)
uv pip install matplotlib
The included scripts/black_scholes.py uses only the Python standard library (math module) and runs without any dependencies.
Use Cases
Hedging
Compute delta-neutral hedge ratios for crypto spot positions using options. Calculate the number of put contracts needed to protect a portfolio against downside moves.
Volatility Trading
Compare implied volatility to realized volatility to identify over/underpriced options. When IV significantly exceeds realized vol, selling premium may be favorable (and vice versa).
Structured Products
Price structured products that combine options at different strikes and expirations. Analyze payoff profiles and breakeven points before execution.
Risk Assessment
Use Greeks to understand portfolio-level exposure to price moves (delta), acceleration (gamma), time decay (theta), and volatility changes (vega).
Quick Reference: Black-Scholes Formulas
Call price:
C = S * N(d1) - K * e^(-rT) * N(d2)
Put price:
P = K * e^(-rT) * N(-d2) - S * N(-d1)
Where:
d1 = [ln(S/K) + (r + σ²/2) * T] / (σ * √T)
d2 = d1 - σ * √T
Put-call parity:
C - P = S - K * e^(-rT)
Files
| File | Description |
|---|---|
references/planned_features.md |
Planned features, formulas, data sources, and implementation priorities |
scripts/black_scholes.py |
Black-Scholes calculator with Greeks and implied vol solver |
Contributing
This skill is a stub awaiting full implementation. To contribute:
- Implement binomial tree pricing for American-style options
- Add Monte Carlo simulation for exotic payoffs
- Build IV surface construction from market quotes
- Integrate Deribit API for live options chain data
- Add portfolio Greeks aggregation
See references/planned_features.md for the full feature list and implementation priorities.
This skill provides analytical tools and mathematical models for informational purposes only. It does not constitute financial advice. Options trading involves substantial risk of loss.