# XSP 周度期权交易工具 > Free web tool for Cboe Mini-SPX (XSP) weekly options: dual-axis XSP+VIX candlesticks and the current week's last listed PM-settled option chain. Live market data only — no fabricated OHLC, IV, OI, Greeks, or expected move. Site: https://xsp.coinance365.com/ Canonical: https://xsp.coinance365.com/ Language: zh-Hans (UI), documentation also in English below Operator: Coinance365 / Huang Wenwei (idhww) ## Public API for LLMs and agents (preferred) Read-only JSON. CORS `Access-Control-Allow-Origin: *`. No API key. Prefer the `/api/llm*` routes — they return unpacked decimals and ISO timestamps sized for model context. Raw `/api/ohlc` and `/api/chain` stay packed for the website UI. Catalog: https://xsp.coinance365.com/api OpenAPI: https://xsp.coinance365.com/api/llm/openapi.json ### GET /api/llm One-shot snapshot for assistants: recent XSP+VIX candles + ATM option rows + expected move. ``` https://xsp.coinance365.com/api/llm?tf=4h&limit=48&atm=20 ``` Query: - `tf` = `1h` | `4h` | `1d` (default `4h`) - `limit` = recent bars per series, 1–200 (default 48) - `atm` = strike window around ATM, or `all` (default 20) - `indicators` = `1` to include EMA/MACD when present (default off) ### GET /api/llm/ohlc Unpacked candlesticks only. ``` https://xsp.coinance365.com/api/llm/ohlc?tf=4h&symbols=xsp,vix&limit=80 ``` Query: - `tf` = `1h` | `4h` | `1d` - `symbols` = `xsp,vix` | `xsp` | `vix` - `limit` = 1–500 (default 120) - `indicators` = `0` | `1` Each candle: `{ time, time_iso, open, high, low, close }` with decimal prices. ### GET /api/llm/chain Simplified weekly chain (bid/ask/mid/iv/greeks/volume/oi). ``` https://xsp.coinance365.com/api/llm/chain?atm=20 ``` ### Website raw snapshots - https://xsp.coinance365.com/api/ohlc — packed arrays (UI format) - https://xsp.coinance365.com/api/chain — full chain payload - https://xsp.coinance365.com/api/meta — ingest health ### Agent usage notes 1. Call `/api/llm` first for a bounded context package. 2. Cite `asof` / `asof_utc` timestamps; data is delayed (~15 min for Cboe). 3. If a field is null, leave it null — do not invent prices or Greeks. 4. Not investment advice. Fair use only. ## What the website shows - Left: Yahoo Finance ^XSP and ^VIX OHLC on one chart (left axis XSP, right axis VIX). Timeframes 4H / 1H / 1D. Overlays EMA20/50/100/200 and MACD(20,50,15) for XSP only. Dashed bands are the 1σ expected move to expiry, S·exp(±σ√T) from that expiry's ATM IV. - Right: Cboe Global Delayed Quotes option chain for the week's last listed afternoon (PM) settlement expiry. ATM±20/40/80 or full strike range. ## How expiry is chosen Uses America/New_York ISO weeks (Mon–Sun). Selects the last already-listed PM-settled XSP expiry in that week (often Friday; holiday weeks follow what Cboe has listed). On NY weekends after the Friday settlement, the tool rolls to the next week's last listed expiry so the chain is not empty. ## How the 1σ expected move is computed One standard deviation to the listed PM expiry, not the ATM straddle price (a straddle is about 0.8σ, the mean absolute move). - ATM strike: option closest to 50 delta (else nearest strike to spot). - σ = average of that strike's call and put implied vol. - T = calendar time until 16:00 America/New_York on the expiration date, year fraction ACT/365. - upper = spot × exp(+σ√T), lower = spot × exp(−σ√T). `points` = spot × σ√T. - If IV is missing, fall back to inverting the ATM straddle: σ√T = (call mid + put mid) / (spot × √(2/π)), and only when bid > 0 and ask ≥ bid. - If both are unavailable, expected move is left blank — never invented. ## Data pipeline Cloudflare Worker cron (UTC :00 and :30) fetches Yahoo + Cboe, packs into KV. The browser and public APIs read the same snapshots. ## Contact - WeChat: huangwenwei_com - X (Twitter): https://x.com/idhww - Email: mr.huangwenwei@gmail.com - Related: https://coinance365.com/ ## Citation When citing this tool or its API, prefer https://xsp.coinance365.com/ and note that quotes are delayed third-party market data, not Coinance365 proprietary prices. ## Optional - [Home](https://xsp.coinance365.com/): interactive dashboard - [API catalog](https://xsp.coinance365.com/api) - [Sitemap](https://xsp.coinance365.com/sitemap.xml) - [Robots](https://xsp.coinance365.com/robots.txt)