options-payoff
यह क्या करती है
यह स्किल समझाती है कि एक्सपायरी पर कोई ऑप्शन ट्रेड कितना कमा या गँवा सकता है। यह उन ट्रेडरों और छात्रों के लिए है जो रणनीति लगाने से पहले उसका पेऑफ़ देखना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप एक ऑप्शन या बहु-लेग रणनीति का लाभ-हानि चार्ट देखना चाहें।
- ✓जब आपको किसी ऑप्शन पोज़िशन का ब्रेकईवन भाव और अधिकतम नुकसान चाहिए।
- ✓जब आप अलग-अलग अस्थिरता स्तरों पर रणनीति के व्यवहार की तुलना करना चाहें।
Skill का लिंक
https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/options-payoff/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Apple पर एक कॉल खरीदने और एक ऊँची कॉल बेचने के लाभ-हानि चार्ट दिखाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह ट्रेड के लेग्स, जैसे कॉल और पुट खरीदना या बेचना, लेती है और एक्सपायरी पर उनका मूल्य निकालती है। परिदृश्य दिखाने के लिए यह Black-Scholes मॉडल से ऑप्शन की कीमत भी तय करती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Options Payoff — Option P&L Analysis Methodology
Overview
This skill is designed for option strategy analysis scenarios within the Vibe-Trading quantitative framework, covering:
- P&L curve generation for single-leg and multi-leg option portfolios
- Black-Scholes pricing and Greeks calculation
- Implied volatility inversion
- Strategy selection decision support
Constraint: For research and backtesting only. Do not output live trading instructions, in line with the project's guardrails.
Built-in execution tool
Load this skill for methodology, then call options_payoff for production
calculations. Pass signed legs (qty > 0 long, qty < 0 short),
entry_spot, and expiry_days; optionally pass actual per-share premiums,
multiplier, commission, chart bounds, and IV scenarios. The tool returns an
expiry curve, a spot × IV scenario matrix, and analytic breakeven/max-risk
results that do not depend on the display grid containing every strike.
1. Supported Strategy Types
1.1 Single-Leg Strategies
| Strategy | Bias | Premium | Max Profit | Max Loss |
|---|---|---|---|---|
| Long Call | Bullish | Paid | Unlimited | Premium |
| Long Put | Bearish | Paid | Strike - premium | Premium |
| Short Call | Neutral / mildly bearish | Received | Premium | Unlimited |
| Short Put | Neutral / mildly bullish | Received | Premium | Strike - premium |
1.2 Vertical Spreads
| Strategy | Structure | Market View | Net Premium |
|---|---|---|---|
| Bull Call Spread | Long Call (lower K) + Short Call (higher K) | Moderately bullish | Net debit |
| Bear Put Spread | Long Put (higher K) + Short Put (lower K) | Moderately bearish | Net debit |
| Bull Put Spread | Short Put (higher K) + Long Put (lower K) | Moderately bullish | Net credit |
| Bear Call Spread | Short Call (lower K) + Long Call (higher K) | Moderately bearish | Net credit |
1.3 Straddles / Strangles (Volatility Strategies)
| Strategy | Structure | Market View |
|---|---|---|
| Long Straddle | Long Call (ATM) + Long Put (ATM) | Large move up or down, low volatility |
| Short Straddle | Short Call (ATM) + Short Put (ATM) | Range-bound market, high volatility |
| Long Strangle | Long Call (OTM) + Long Put (OTM) | Large move, lower cost than a straddle |
| Short Strangle | Short Call (OTM) + Short Put (OTM) | Tight range, collect two-sided premium |
1.4 Butterflies / Iron Butterflies
| Strategy | Structure | Feature |
|---|---|---|
| Long Butterfly (Call) | Long Call (K1) + 2× Short Call (K2) + Long Call (K3) | Low-cost bet that the underlying expires near K2 |
| Long Butterfly (Put) | Long Put (K3) + 2× Short Put (K2) + Long Put (K1) | Same logic, built with puts |
| Iron Butterfly | Short Call (K2) + Short Put (K2) + Long Call (K3) + Long Put (K1) | Net credit, max profit at K2 |
1.5 Condors / Iron Condors
| Strategy | Structure | Feature |
|---|---|---|
| Long Condor (Call) | Long Call (K1) + Short Call (K2) + Short Call (K3) + Long Call (K4) | Bet that the underlying stays between K2 and K3 |
| Iron Condor | Short Put (K2) + Long Put (K1) + Short Call (K3) + Long Call (K4) | Most common neutral strategy with capped risk on both sides |
Here K1 < K2 < K3 < K4, and K2 / K3 are usually OTM.
1.6 Calendar Spreads (Time Spreads)
| Strategy | Structure | Market View |
|---|---|---|
| Calendar Spread | Short near-month Call/Put (K) + Long far-month Call/Put (K) | Short-term range-bound market + rising forward volatility |
| Diagonal Spread | Short near-month Call/Put (K1) + Long far-month Call/Put (K2) | Calendar spread with mild directional bias |
Calendar spreads profit because near-month Theta decay is faster than far-month Theta decay.
1.7 Ratio Spreads
| Strategy | Structure | Feature |
|---|---|---|
| Ratio Call Spread | Long 1× Call (K1) + Short N× Call (K2), N>1 | Limited upside profit, losses if the upside move becomes extreme |
| Ratio Put Spread | Long 1× Put (K2) + Short N× Put (K1) | Limited downside profit, losses if the downside move becomes extreme |
| Call Back Spread | Short 1× Call (K1) + Long N× Call (K2), N>1 | Profits from extreme upside, loses on a modest rally |
| Put Back Spread | Short 1× Put (K2) + Long N× Put (K1), N>1 | Profits from extreme downside, loses on a mild decline |
1.8 Protective / Hedging Strategies
| Strategy | Structure | Use Case |
|---|---|---|
| Covered Call | L |
अक्सर पूछे जाने वाले सवाल
ब्रेकईवन बिंदु क्या हैं?
वे अंतर्निहित कीमतें जहाँ एक्सपायरी पर ट्रेड न मुनाफ़ा देता है न नुकसान।
क्या यह लाइव ट्रेडिंग के निर्देश देती है?
नहीं। यह सिर्फ़ शोध और बैकटेस्टिंग के लिए है, और ट्रेडिंग ऑर्डर नहीं देती।
यह कौन-सी रणनीतियाँ कवर करती है?
लॉन्ग कॉल और पुट जैसे एक-लेग ट्रेड, और कई ऑप्शन से बनी बहु-लेग रणनीतियाँ।
जानकारी
लेखक का मूल विवरण
Option P&L analysis methodology: payoff diagrams, breakeven calculation, multi-leg strategy visualization, and Greeks-based scenario analysis.
repo: HKUDS/Vibe-Trading
लोकप्रियता
- GitHub स्टार
- 37k
- रैंकिंग में स्थान
- #7538
- लाइसेंस
- MIT
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
vibe-trading
37kयह आपके एजेंट को वित्त शोध का पूरा टूलकिट देती है, जिसमें बैकटेस्ट, फ़ैक्टर एनालिसिस, ऑप्शन प्राइसिंग और कई बाज़ारों का डेटा शामिल है।
adr-hshare
37kयह आपके एजेंट को दिखाती है कि कई बाज़ारों में लिस्टेड एक चीनी कंपनी के भाव की तुलना कैसे करें, जैसे अमेरिकी ADR और हॉन्गकॉन्ग शेयर।
akshare
37kयह आपके एजेंट को चीनी और वैश्विक शेयरों, फ़्यूचर्स, फ़ॉरेक्स और आर्थिक संकेतकों का मुफ़्त बाज़ार डेटा लेने देती है, बिना API key के।
alpha-zoo
37kयह आपके एजेंट को बने-बनाए स्टॉक फ़ैक्टरों की लाइब्रेरी देखने और चुने हुए बाज़ार पर उनके पूरे समूह के रिटर्न की भविष्यवाणी की क्षमता जाँचने देती है।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।