$npx -y skills add ajeeshworkspace/indian-trading-skills --skill options-strategy-advisorOptions strategy analysis for Indian F&O markets (NSE). Use when user requests options strategy recommendations, P/L analysis, Greeks calculation, risk management, or F&O strategy planning for Nifty, Bank Nifty, or stock options.
| 1 | # Options Strategy Advisor — Indian F&O Markets (NSE) |
| 2 | |
| 3 | ## Overview |
| 4 | |
| 5 | This skill provides comprehensive options strategy analysis tailored to the Indian |
| 6 | Futures & Options market on the National Stock Exchange (NSE). It covers strategy |
| 7 | selection, live data retrieval, margin estimation, profit/loss simulation, Greeks |
| 8 | analysis, and risk management — all adapted for the specific characteristics of |
| 9 | Indian F&O trading. |
| 10 | |
| 11 | --- |
| 12 | |
| 13 | ## Indian F&O Market Characteristics |
| 14 | |
| 15 | ### Exercise Style |
| 16 | - **European-style exercise only.** Options on NSE can only be exercised at expiry, |
| 17 | not before. This simplifies pricing (Black-Scholes applies directly without |
| 18 | early-exercise adjustments) and means time value is always fully captured by |
| 19 | the seller until expiry. |
| 20 | |
| 21 | ### Expiry Schedule |
| 22 | | Underlying | Expiry Day | Expiry Type | |
| 23 | |--------------|-------------|----------------------| |
| 24 | | NIFTY | Thursday | Weekly + Monthly | |
| 25 | | BANK NIFTY | Wednesday | Weekly + Monthly | |
| 26 | | FINNIFTY | Tuesday | Weekly + Monthly | |
| 27 | | SENSEX (BSE) | Friday | Weekly + Monthly | |
| 28 | | Stock Options | Last Thursday | Monthly only | |
| 29 | |
| 30 | - Monthly expiry is the last Thursday of the month (or preceding trading day if |
| 31 | Thursday is a holiday). |
| 32 | - Weekly expiries are available only for index options, not individual stocks. |
| 33 | |
| 34 | ### Lot Sizes |
| 35 | Lot sizes are periodically revised by the exchanges. Always verify current lot |
| 36 | sizes using the Groww MCP tool `fno_mcx_contracts_search_tool` before calculating |
| 37 | margin or position size. Recent reference values: |
| 38 | - NIFTY: 75 (recently changed — confirm via MCP) |
| 39 | - BANK NIFTY: 15 (recently changed — confirm via MCP) |
| 40 | - FINNIFTY: 25 |
| 41 | - Stock options: Varies by stock (check contract specifications) |
| 42 | |
| 43 | ### Margin Requirements |
| 44 | SEBI mandates the following margin components for F&O: |
| 45 | 1. **SPAN Margin** — Risk-based margin calculated by the exchange clearing corporation. |
| 46 | 2. **Exposure Margin** — Additional margin over SPAN for market-wide risk. |
| 47 | 3. **Peak Margin** — Intraday margin snapshots; brokers must collect at least the |
| 48 | peak margin observed during the day. |
| 49 | |
| 50 | Use `calculate_fno_margin` to get exact margin for any trade before placing it. |
| 51 | |
| 52 | ### Transaction Costs |
| 53 | - **STT (Securities Transaction Tax):** Levied on the sell side of options at |
| 54 | 0.0625% of the intrinsic value on exercise (for ITM options at expiry). For |
| 55 | futures, STT is 0.0125% on sell side. |
| 56 | - **Brokerage:** Varies by broker (Groww charges per-order flat fees). |
| 57 | - **Exchange charges, GST, SEBI turnover fee, stamp duty** also apply. |
| 58 | |
| 59 | ### F&O Ban Mechanism |
| 60 | When the market-wide position limit (MWPL) for a stock's F&O contracts exceeds |
| 61 | 95%, SEBI places the stock under an F&O ban. During the ban: |
| 62 | - No new positions can be initiated. |
| 63 | - Only squaring off (closing) of existing positions is allowed. |
| 64 | - The ban is lifted when MWPL drops below 80%. |
| 65 | |
| 66 | --- |
| 67 | |
| 68 | ## Broker MCP Tool Integration |
| 69 | |
| 70 | This skill uses broker MCP tools for live market data and execution support. Use whichever broker is connected (Groww or Zerodha Kite). Always prefer live data over assumptions. |
| 71 | |
| 72 | ### Groww MCP Tools (if connected) |
| 73 | |
| 74 | | Tool | Purpose | |
| 75 | |------|---------| |
| 76 | | `get_ltp` (segment=FNO, query_type=fno) | Live option/futures prices and OI | |
| 77 | | `get_quotes_and_depth` (segment=FNO) | Bid/ask spreads and market depth | |
| 78 | | `fno_mcx_contracts_search_tool` | Search F&O contracts, lot sizes, expiries | |
| 79 | | `fetch_historical_candle_data` (segment=FNO) | Historical option price data | |
| 80 | | `fetch_curated_fno` | F&O gainers, losers, most traded | |
| 81 | | `get_open_interest_analysis` | OI structure, PCR, support/resistance | |
| 82 | | `get_greeks_for_fno_contract` | Live Greeks for specific contracts | |
| 83 | | `get_greeks_for_fno_symbol` | Greeks for all contracts of an underlying | |
| 84 | | `get_atm_straddle_chart` | ATM straddle premium analysis | |
| 85 | | `get_payoff_chart_steps` | Payoff diagram generation instructions | |
| 86 | | `calculate_fno_margin` | Margin requirement calculation | |
| 87 | | `get_available_margin_details` | User's available margin | |
| 88 | | `resolve_market_time_and_calendar` | Market hours and trading calendar | |
| 89 | |
| 90 | ### Zerodha Kite MCP Tools (if connected) |
| 91 | |
| 92 | | Tool | Purpose | |
| 93 | |------|---------| |
| 94 | | `get_ltp` | Last traded price for F&O instruments | |
| 95 | | `get_quotes` | Real-time quotes with bid/ask depth | |
| 96 | | `get_ohlc` | OHLC data for options/futures contracts | |
| 97 | | `get_historical_data` | Historical candle data for F&O | |
| 98 | | `search_instruments` | Search for F&O contracts by name/expiry | |
| 99 | | `get_margins` | Account margins and available funds | |
| 100 | | `get_positions` | Current F&O positions | |
| 101 | | `get_orders` / `get_order_history` | Order status and execution details | |
| 102 | | `place_order` / `modify_order` / `cancel_order` | Order management | |
| 103 | | `place_gtt_ord |