Real-time streaming API for equity quotes, trades, and market indices. Subscribe to specific symbols with field-level granularity to receive only the data you need, minimizing bandwidth and latency.
WSS
/
v1
/
market
/
ws
What this stream gives you. Open one connection to wss://api.aries.com/v1/market/ws, authenticate once, and the server will push live prices, trades, and order-book activity for any symbols you ask about. You can stream the same data a professional trader watches on screen — bid/ask quotes, last sale prices, intraday OHLC, every individual trade as it prints, full depth-of-market, and option Greeks — without polling.
Key Features
Field-Level Subscriptions
Choose specific quote/trade fields or use wildcard * for all fields. Minimize bandwidth by requesting only the data you need.
Real-Time Updates
NDJSON message framing for optimal performance with millisecond-level latency.
Initial Snapshot
Get the current market state when you subscribe.
Multi-Symbol Support
Subscribe to multiple symbols in a single request for efficient batch subscriptions.
Equities & Options
Stream real-time data for stocks and option contracts using OSI symbols.
Market Indices
Track major indices including SPX, NDX, DJI, VIX, and more in real-time.
Supported Symbols
Equities
Standard stock ticker symbols. Pass them just as you’d type them on a brokerage screen — for example AAPL, MSFT, GOOGL, TSLA. No special formatting required.
Indices
Major market indices are supported:
Symbol
Index
SPX
S&P 500 — broad large-cap U.S. stocks
NDX
Nasdaq 100 — 100 largest non-financial Nasdaq stocks
DJI
Dow Jones Industrial Average — 30 blue-chip U.S. stocks
VIX
CBOE Volatility Index — market “fear gauge”
RUT
Russell 2000 — small-cap U.S. stocks
COMP
Nasdaq Composite — all Nasdaq-listed stocks
NYA
NYSE Composite — all NYSE-listed stocks
OEX
S&P 100 — 100 largest S&P 500 companies
MID
S&P MidCap 400 — mid-sized U.S. stocks
SML
S&P SmallCap 600 — small-cap U.S. stocks
Indices are computed values, not securities you can buy and sell directly, so they don’t have bid/ask quotes. When subscribing to an index, only request trade fields (lastPrice, openPrice, highPrice, lowPrice, netChange, totalVolume, etc.). Quote fields like bidPrice/askPrice will be empty.
Options
Option contracts use OSI (Options Symbology Initiative) symbols — the 21-character standard the U.S. options industry uses to uniquely identify a contract.The format is ROOT + YYMMDD + C/P + 00000000 (the strike price in cents, left-padded). For example, AAPL240119C00150000 decodes as:
When subscribing to options, set symbolType: "option" so the server knows to apply option-specific routing and to enable Greeks if requested.
Data Types
Quote Data
The best price a buyer is currently willing to pay (bid) and the best price a seller is currently willing to accept (ask), pulled from all U.S. exchanges combined — known as the NBBO (National Best Bid and Offer).
Trade Data
The price and size of the most recent trade, plus session-level totals: OHLC = Open, High, Low, Close — the standard four prices used to draw a candle on a chart.
Level 2 / Order Book Data
Market depth — every visible bid and ask across the major exchanges, not just the single best price. Lets you see how much demand is sitting at each price level and which exchanges are quoting it.
Time & Sales Data
Every individual trade as it prints, with price, size, timestamp, and the exchange where it executed. Often called “the tape” — traders use it to read order flow and gauge buying vs. selling pressure.
Greeks Data
For option contracts: the standard risk measures (delta, gamma, theta, vega, rho) plus implied volatility. The first message is a snapshot of the last known values; after that you receive updates whenever the Greeks are recalculated. Only available when symbolType: "option" and greeksFields is specified.
Market Status
Whether the U.S. market is currently open, closed, in pre-market, or in after-hours trading, plus the status of individual exchanges.
What you receive first: Quote, trade, and Greeks subscriptions all send an initial snapshot of the current state, then stream updates as values change. Level 2 is the exception — it does not send a snapshot, only live updates as new depth arrives from the exchanges.
Level 2: compact order book rows
Level 2 updates are forwarded from the market feed as compact string arrays. payload.data.orderBook entries use askSize:price:bidSize, and payload.data.quotes entries use exchange:askPrice:askSize:bidPrice:bidSize.Example:
To keep latency low when the market is active, the server may bundle several updates into a single WebSocket frame and separate them with a newline character (\n). This format is called NDJSON — Newline-Delimited JSON.What this means for you: Don’t just call JSON.parse(frame) on every incoming message. Instead, split the frame on \n, drop empty lines, and parse each line independently. Otherwise you will silently lose messages whenever the server coalesces.
Clients should split on \n and parse each line independently.
Requirements
WebSocket Client
Library that supports WSS protocol for secure WebSocket connections.
Authentication
Valid authentication token (if required by your environment).
JSON Parser
NDJSON message format handling capability for parsing streaming data.
Network Connectivity
Stable network connection to the WebSocket endpoint.
Use Cases
Portfolio Monitoring
Live price updates, bid/ask spreads, and intraday performance tracking for your holdings.
Trading Applications
Real-time market prices for order entry systems and trade execution platforms.
Market Dashboards
Display market trends and index movements (SPX, NDX, VIX) on your analytics dashboard.
Price Alert Systems
Trigger notifications on price thresholds, volume spikes, or custom market conditions.
Market Analysis Tools
Real-time data feeds for technical analysis and market research applications.
Authentication
If authentication is enabled, authenticate after opening the WebSocket and before subscribing. Auth uses the request/response envelope with POST /auth; the body is only the token object expected by the backend.Client sends:
To start receiving data for a symbol, send a subscribe message. The payload is always an array, even when you only want one symbol — each item describes one symbol and the specific fields you want to receive for it.Subscription object fields:
Field
Type
Required
What to enter
symbol
string
Yes
A stock ticker (e.g. AAPL), an index code (e.g. SPX), or an OSI option symbol (e.g. AAPL240119C00150000).
symbolType
string
No
equity (default) for stocks and indices, or option for option contracts. Must be option if you want Greeks.
quoteFields
string | array
No
Quote fields to subscribe to (see Quote Fields table below). Use ["*"] for all.
tradeFields
string | array
No
Trade fields to subscribe to (see Trade Fields table below). Use ["*"] for all.
level2
boolean
No
true to receive full order-book depth for this symbol. Defaults to false.
timeAndSales
boolean
No
true to receive a message for every individual trade execution. Defaults to false.
timeAndSalesFields
string | array
No
Specific T&S fields to receive when timeAndSales: true. Defaults to all fields.
greeksFields
string | array
No
Greek fields to subscribe to (options only). Use ["*"] for all.
symbolType defaults to "equity". Set it to "option" only when you’re subscribing to an option contract.
If you omit bothquoteFields and tradeFields, the server treats it as “send me everything” and subscribes you to all quote and all trade fields for that symbol.
Any field list (quoteFields, tradeFields, timeAndSalesFields, greeksFields) accepts either a single string ("bidPrice") or an array (["bidPrice", "askPrice"]). Arrays are recommended for consistency.
greeksFields is only applicable when symbolType is "option". Including it for equity symbols has no effect.
Available Fields Reference
Frequently used fields you can subscribe to, organized by data type. The wildcard ["*"] expands to every backend-supported field for that category.
Quote Fields
Subscribe to these fields using the quoteFields array. Use ["*"] for all fields.
Field
Description
*
Wildcard - Subscribe to all available quote fields
bidPrice
Current best bid price - the highest price a buyer is willing to pay
bidSize
Number of shares available at the bid price (typically in round lots of 100)
bidExchange
Exchange code where the best bid originated (e.g., ‘Q’ for NASDAQ, ‘N’ for NYSE)
askPrice
Current best ask (offer) price - the lowest price a seller is willing to accept
askSize
Number of shares available at the ask price (typically in round lots of 100)
askExchange
Exchange code where the best ask originated (e.g., ‘Q’ for NASDAQ, ‘N’ for NYSE)
quoteTimestamp
Unix timestamp in milliseconds of the consolidated/top-of-book quote time
midPrice
Midpoint price calculated as (bidPrice + askPrice) / 2
spread
Bid-ask spread calculated as askPrice - bidPrice
openInterest
Total outstanding open contracts for the option (options only; include in quoteFields when symbolType is "option")
type
Data source type for the snapshot record
sicCode
Standard Industrial Classification (SIC) code identifying the company’s industry
hasOptions
Whether the symbol has listed options available (boolean)
sharesOutstanding
Total shares outstanding
assets
Total assets
liabilities
Total liabilities
longTermDebt
Long-term debt
EPSDiluted
Diluted earnings per share
EPSLatest12Month
Latest 12-month (trailing) earnings per share
EPS3YearGrowthRate
3-year EPS growth rate
EPS5YearGrowthRate
5-year EPS growth rate
avgVolume4Weeks
Average daily trading volume over the trailing 4 weeks
PE
Price-to-earnings (P/E) ratio
high52WeekPrice
52-week high price
high52WeekDate
Date of the 52-week high
low52WeekPrice
52-week low price
low52WeekDate
Date of the 52-week low
dividend
Latest dividend amount
shortSaleRestricted
Whether the symbol is under a short-sale restriction (SSR)
Fields from type down are fundamental and reference data drawn from the symbol snapshot rather than the live order book. They are delivered as strings (except hasOptions, which is a boolean), and field names are case-sensitive — use the exact casing shown (e.g. PE, EPSDiluted).
No Initial Snapshot: Level 2 data does not provide an initial snapshot. You will receive updates as they arrive from the market feed.
Greeks Fields
Subscribe to these fields using the greeksFields array. Only available for option contracts (symbolType: "option"). Use ["*"] for all fields.What are Greeks? Greeks are standard risk measures that tell you how an option’s price is likely to move when something changes — the underlying stock price, time, or volatility. They are the building blocks of options risk management.
Field
Description
*
Wildcard — subscribe to all available Greeks fields
delta
How much the option’s price moves for a **$1 move in the underlying stock**. Calls are 0 to 1, puts are -1 to 0. A 0.50 delta call gains ≈ $0.50 if the stock rises $1. Also a rough estimate of the probability the option expires in-the-money.
gamma
How much delta itself changes per $1 move in the underlying. High gamma = delta swings quickly, so position risk changes fast.
theta
How much value the option loses per day purely from time passing (the “time decay”). Almost always negative for long option holders.
vega
How much the option’s price changes for a 1-percentage-point change in implied volatility. Long options have positive vega — they gain when volatility rises.
rho
How much the option’s price changes for a 1-percentage-point change in interest rates. Usually small for short-dated options.
impliedVolatility
The market’s expectation of how volatile the underlying will be over the option’s life, expressed as a decimal: 0.2752 means 27.52% annualized. Higher IV = more expensive options.
symbol
The OSI symbol of the option contract
timestamp
ISO 8601 timestamp of when the Greeks were last calculated
Field-level unsubscribe is supported for quote and trade fields. For Greeks, use greeks: true to remove the full Greeks subscription for an option symbol.
Unsubscribe Response
When you unsubscribe, the server confirms the action:
Upon subscribing with greeksFields, the server immediately sends a snapshot of the last known Greeks values. Subsequent updates are streamed whenever Greeks are recalculated.1. Initial snapshot (received immediately on subscribe):
Use action: "snapshot" vs action: "update" to distinguish the initial state from real-time changes. Only the fields you subscribed to are included in each message.
Update Responses
After the snapshot, you receive real-time updates with only changed fields:
Streaming market data events use the following envelope:
Field
Type
Description
type
string
Outer envelope type. Streaming market data events always use event.
payload.action
string
What kind of event this is. One of: snapshot (the first message you receive after subscribing — current state), update (a real-time change), error (something went wrong), unsubscribe (the server confirming you’ve been removed from a feed).
payload.type
string
Which data category the event belongs to. One of: quote (best bid/ask), trade (last sale info), level2nOB (order book depth), timeAndSales (every individual trade), greeks (option risk measures), marketStatus (market session state).
payload.symbol
string
The ticker or option symbol the event is about. Omitted for market-wide events such as marketStatus.
payload.data
object
The actual data payload. Note that update messages only include fields that changed since the last message — fields not in the update have not changed.
payload.id
string
Correlation ID. When the event was triggered by one of your subscribe requests, the server echoes back the id you sent.
payload.timestamp
integer
When the event happened, in Unix milliseconds (epoch).
Quick guide to outer type values:
event — Streaming pushes from the server: market data, auth/refresh notifications, unsubscribe confirmations, subscription errors.
pong — Reply to a ping you sent. Used only for keep-alive.
response — Reply to an on-demand request you sent (e.g. fetching option expiry dates).
Successful request replies are returned as type: "response" with payload.status and payload.data.Request/response errors use type: "response" with payload.status and payload.error. Streaming subscription errors use type: "event" with payload.action: "error".
Request to subscribe to market data for one or more symbols
Unsubscribe Request
type:object
Request to unsubscribe from market data
Ping Request
type:object
Keep-alive ping message
Get Expiry Dates Request
type:object
Request to get option expiration dates for a symbol
Get Contract Symbols Request
type:object
Request to get option contract symbols for a symbol and expiry date
Get Equity Snapshot Request
type:object
Request to get a full snapshot of equity data for a symbol
Quote Update
type:object
Real-time quote update for a subscribed symbol
Trade Update
type:object
Real-time trade/price update for a subscribed symbol
Level 2 / Order Book Update
type:object
Real-time Level 2 order book update showing market depth across exchanges
Time & Sales Update
type:object
Real-time trade execution from the time and sales feed
Greeks Update
type:object
Greeks snapshot on subscribe and real-time updates for an option contract
Error Response
type:object
Error message from the server
Auth Required Response
type:object
Server requests authentication
Refresh Auth Response
type:object
Server warns authentication expires soon
Auth Expired Response
type:object
Server notifies authentication has expired
Auth Success Response
type:object
Successful authentication response
Snapshot Response
type:object
Initial snapshot of market data after subscription
Unsubscribe Response
type:object
Confirmation of unsubscribe request
Pong Response
type:object
Response to ping request
Get Expiry Dates Response
type:object
Response containing option expiration dates
Get Contract Symbols Response
type:object
Response containing option contract symbols (calls and puts)
Get Equity Snapshot Response
type:object
Response containing comprehensive equity data snapshot
Market Status Update
type:object
Current market status
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Aries API","colors":{"primary":"#0BAA5E","light":"#0BAA5E","dark":"#098F4E"},"logo":{"light":"https://mintcdn.com/ariesfinancialinc/RAN-JEltzDnib-_A/logo/light.svg?fit=max\u0026auto=format\u0026n=RAN-JEltzDnib-_A\u0026q=85\u0026s=4eae127cdf55bb09159d2b5a625690e3","dark":"https://mintcdn.com/ariesfinancialinc/RAN-JEltzDnib-_A/logo/dark.svg?fit=max\u0026auto=format\u0026n=RAN-JEltzDnib-_A\u0026q=85\u0026s=fbee595bbc78c2506c5e92673b91d2c7"},"favicon":"https://mintcdn.com/ariesfinancialinc/RAN-JEltzDnib-_A/favicon.svg?fit=max\u0026auto=format\u0026n=RAN-JEltzDnib-_A\u0026q=85\u0026s=0c47f5ea65b933ab26eae6eaca2fc12c","api":{"openapi":["openapi.json"],"playground":{"display":"interactive"}},"navbar":{"links":[{"href":"mailto:support@aries.com","label":"Support"}],"primary":{"type":"button","label":"Aries","href":"https://aries.com"}},"contextual":{"options":["chatgpt","claude","view"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"ariesfinancialinc","hasAudioNarration":false,"actualSubdomain":"ariesfinancialinc","customDomains":["finance.dev"],"gitSource":{"type":"github","owner":"aries-financial-inc","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6afdd5859267861064b3c438","clientVersion":"0.0.4270","searchFilterCounts":[{"language":"default","tag":"Supplemental API","count":116},{"language":"default","tag":"Core API","count":38},{"language":"default","tag":"Orders","count":22},{"language":"default","tag":"Prediction API","count":20},{"language":"default","tag":"Stock Alternative","count":18},{"language":"default","tag":"Analytics","count":13},{"language":"default","tag":"Options","count":11},{"language":"default","tag":"Guide","count":10},{"language":"default","tag":"Stocks","count":10},{"language":"default","tag":"MCP Auth","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"html{visibility:visible!important;opacity:1!important}body{opacity:1!important;transition:none!important;will-change:auto!important}html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeSpeed;font-display:swap}.hero-title{text-align:center!important;font-size:clamp(2rem, 5vw, 3rem)!important;font-weight:700!important;margin:0 auto!important;will-change:transform!important}.hero-description,.hero-title+p{text-align:center!important;max-width:800px!important;margin:1rem auto!important}div[class*=\"CardGroup\"],.card-group{display:grid!important;grid-template-columns:repeat(auto-fit, minmax(300px, 1fr))!important;gap:1.5rem!important;contain:layout style!important;content-visibility:auto!important}.aries-oauth-dialog[open]{display:flex;align-items:center;justify-content:center;width:100%;min-height:100dvh;min-height:100vh;max-width:100vw;max-height:100dvh;max-height:100vh;box-sizing:border-box;margin:0;border:none;padding:1rem;background:transparent;overflow:auto;overscroll-behavior:contain}.aries-oauth-dialog::backdrop{background:rgba(0, 0, 0, 0.65);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.aries-oauth-dialog[data-oauth-theme=\"light\"]::backdrop{background:rgba(0, 0, 0, 0.45);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.aries-oauth-dialog[data-oauth-theme=\"dark\"]::backdrop{background:rgba(0, 0, 0, 0.72);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}.welcome-hero{background:linear-gradient(180deg, #ecfdf5 0%, #d1fae5 50%, #ecfdf5 100%)!important}.welcome-hero-gradient{background:linear-gradient(to top, #a7f3d0, transparent)!important}.welcome-feature-box{background:#E7F6EF!important;border:1px solid #0BAA5E!important;box-shadow:0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)!important}.welcome-feature-box:hover{background:#DAF2E7!important;border-color:#0BAA5E!important;transform:translateY(-4px)!important;box-shadow:0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)!important}.welcome-feature-link{color:#0BAA5E!important}.welcome-feature-title{color:#000000!important}.dark .welcome-hero{background:linear-gradient(180deg, rgba(11, 170, 94, 0.15) 0%, rgba(11, 170, 94, 0.25) 50%, rgba(11, 170, 94, 0.15) 100%)!important}.dark .welcome-hero-gradient{background:linear-gradient(to top, rgba(11, 170, 94, 0.2), transparent)!important}.dark .welcome-feature-box{background:rgba(11, 170, 94, 0.15)!important;border:1px solid rgba(11, 170, 94, 0.5)!important}.dark .welcome-feature-box:hover{background:rgba(11, 170, 94, 0.2)!important;border-color:rgba(11, 170, 94, 0.6)!important}.dark .welcome-feature-link{color:#0BAA5E!important}.dark .welcome-feature-title{color:#FFFFFF!important}.welcome-feature-box-coming-soon{cursor:default!important;pointer-events:none!important}.welcome-feature-box-coming-soon:hover{transform:none!important}.welcome-coming-soon{color:#0BAA5E!important;font-weight:600!important}.dark .welcome-coming-soon{color:#0BAA5E!important}*/\n\n/* Hero Section Theme-Aware Styling */\n/* Light mode hero styling (default) */\n.hero-title{color:#000000!important}.hero-description{color:#000000!important}.hero-footnote{color:#000000!important}.hero-link{color:#0BAA5E!important}.section-title{color:#000000!important}.welcome-cards a[class*=\"Card\"],.welcome-cards .card{transition:transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),\n box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1),\n border-color 0.22s cubic-bezier(0.4, 0, 0.2, 1),\n background-color 0.22s cubic-bezier(0.4, 0, 0.2, 1)!important;transform-origin:center center!important}.welcome-cards,.welcome-cards div[class*=\"CardGroup\"],.welcome-cards .card-group{overflow:visible!important}.welcome-cards a[class*=\"Card\"]:hover,.welcome-cards .card:hover{transform:translateY(-6px)!important;border-color:rgba(11, 170, 94, 0.45)!important;box-shadow:0 18px 30px -12px rgba(0, 0, 0, 0.16),\n 0 10px 18px -14px rgba(11, 170, 94, 0.35)!important}.dark .welcome-cards a[class*=\"Card\"]:hover,.dark .welcome-cards .card:hover{border-color:rgba(11, 170, 94, 0.55)!important;box-shadow:0 18px 30px -12px rgba(0, 0, 0, 0.45),\n 0 10px 22px -16px rgba(11, 170, 94, 0.35)!important}.dark .hero-title{color:#FFFFFF!important}.dark .hero-description{color:#D1D5DB!important}.dark .hero-footnote{color:#9CA3AF!important}.dark .hero-link{color:#0BAA5E!important}.dark .section-title{color:#FFFFFF!important}@media (max-width: 1024px){.welcome-side-by-side{grid-template-columns:1fr!important}}@media (max-width: 640px){.welcome-cards{padding:0 24px!important}}.dark select,.dark select option{background-color:#000000!important;color:#ffffff!important;border-color:rgba(255, 255, 255, 0.2)!important}.dark select:focus,.dark select:active{background-color:#000000!important;color:#ffffff!important}.dark [class*=\"playground\"] select,.dark [class*=\"api\"] select,.dark [class*=\"request\"] select,.dark form select{background-color:#000000!important;color:#ffffff!important;border-color:rgba(255, 255, 255, 0.2)!important}.dark [class*=\"playground\"] select option,.dark [class*=\"api\"] select option,.dark [class*=\"request\"] select option,.dark form select option{background-color:#000000!important;color:#ffffff!important}select,select option{background-color:#ffffff!important;color:#000000!important}.prompt{background-color:#ffffff!important;border-color:rgba(10, 15, 13, 0.1)!important}.dark .prompt{background-color:#0B0C0E!important;border-color:rgba(255, 255, 255, 0.1)!important}img[src=\"/logo/claude-logo.png\"]{border-radius:23%!important}img[src=\"https://cdn.simpleicons.org/cursor\"],img[src=\"/logo/chatgpt-logo.png\"]{background-color:#ffffff!important;border-radius:23%!important;padding:3px!important}"}]}
{"page":{"pagePath":"websockets/market-data","slug":"/websockets/market-data","pageMetadata":{"title":"Market Data WebSocket","description":"Real-time streaming API for equity quotes, trades, and market indices. Subscribe to specific symbols with field-level granularity to receive only the data you need, minimizing bandwidth and latency.","asyncapi":"asyncapi-specs/market-data.json marketDataStream","href":"/websockets/market-data"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Real-time streaming API for equity quotes, trades, and market indices. Subscribe to specific symbols with field-level granularity to receive only the data you need, minimizing bandwidth and latency.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,em:`em`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CardGroup,CodeBlock,Heading,Info,Note,Tab,Table,Tabs,Warning}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Info)_missingMdxReference(`Info`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What this stream gives you.`}),` Open one connection to `,_jsx(_components.code,{children:`wss://api.aries.com/v1/market/ws`}),`, authenticate once, and the server will push live prices, trades, and order-book activity for any symbols you ask about. You can stream the same data a professional trader watches on screen — bid/ask quotes, last sale prices, intraday OHLC, every individual trade as it prints, full depth-of-market, and option Greeks — without polling.`]})}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Key Features`,icon:`star`,defaultOpen:true,id:`key-features`,children:_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Field-Level Subscriptions`,icon:`filter`,children:_jsxs(_components.p,{children:[`Choose specific quote/trade fields or use wildcard `,_jsx(_components.code,{children:`*`}),` for all fields. Minimize bandwidth by requesting only the data you need.`]})}),_jsx(Card,{title:`Real-Time Updates`,icon:`bolt`,children:_jsx(_components.p,{children:`NDJSON message framing for optimal performance with millisecond-level latency.`})}),_jsx(Card,{title:`Initial Snapshot`,icon:`camera`,children:_jsx(_components.p,{children:`Get the current market state when you subscribe.`})}),_jsx(Card,{title:`Multi-Symbol Support`,icon:`layer-group`,children:_jsx(_components.p,{children:`Subscribe to multiple symbols in a single request for efficient batch subscriptions.`})}),_jsx(Card,{title:`Equities \u0026 Options`,icon:`building`,children:_jsx(_components.p,{children:`Stream real-time data for stocks and option contracts using OSI symbols.`})}),_jsx(Card,{title:`Market Indices`,icon:`chart-line-up`,children:_jsx(_components.p,{children:`Track major indices including SPX, NDX, DJI, VIX, and more in real-time.`})})]})}),_jsxs(Accordion,{title:`Supported Symbols`,icon:`tags`,id:`supported-symbols`,children:[_jsx(Heading,{level:`3`,id:`equities`,children:`Equities`}),_jsxs(_components.p,{children:[`Standard stock ticker symbols. Pass them just as you’d type them on a brokerage screen — for example `,_jsx(_components.code,{children:`AAPL`}),`, `,_jsx(_components.code,{children:`MSFT`}),`, `,_jsx(_components.code,{children:`GOOGL`}),`, `,_jsx(_components.code,{children:`TSLA`}),`. No special formatting required.`]}),_jsx(Heading,{level:`3`,id:`indices`,children:`Indices`}),_jsx(_components.p,{children:`Major market indices are supported:`}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Symbol`}),_jsx(_components.th,{children:`Index`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SPX`})}),_jsx(_components.td,{children:`S\u0026P 500 — broad large-cap U.S. stocks`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`NDX`})}),_jsx(_components.td,{children:`Nasdaq 100 — 100 largest non-financial Nasdaq stocks`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`DJI`})}),_jsx(_components.td,{children:`Dow Jones Industrial Average — 30 blue-chip U.S. stocks`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VIX`})}),_jsx(_components.td,{children:`CBOE Volatility Index — market “fear gauge”`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`RUT`})}),_jsx(_components.td,{children:`Russell 2000 — small-cap U.S. stocks`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`COMP`})}),_jsx(_components.td,{children:`Nasdaq Composite — all Nasdaq-listed stocks`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`NYA`})}),_jsx(_components.td,{children:`NYSE Composite — all NYSE-listed stocks`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`OEX`})}),_jsx(_components.td,{children:`S\u0026P 100 — 100 largest S\u0026P 500 companies`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`MID`})}),_jsx(_components.td,{children:`S\u0026P MidCap 400 — mid-sized U.S. stocks`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SML`})}),_jsx(_components.td,{children:`S\u0026P SmallCap 600 — small-cap U.S. stocks`})]})]})]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Indices are computed values, not securities you can buy and sell directly, so they don’t have bid/ask quotes. When subscribing to an index, only request `,_jsx(_components.strong,{children:`trade fields`}),` (`,_jsx(_components.code,{children:`lastPrice`}),`, `,_jsx(_components.code,{children:`openPrice`}),`, `,_jsx(_components.code,{children:`highPrice`}),`, `,_jsx(_components.code,{children:`lowPrice`}),`, `,_jsx(_components.code,{children:`netChange`}),`, `,_jsx(_components.code,{children:`totalVolume`}),`, etc.). Quote fields like `,_jsx(_components.code,{children:`bidPrice`}),`/`,_jsx(_components.code,{children:`askPrice`}),` will be empty.`]})}),_jsx(Heading,{level:`3`,id:`options`,children:`Options`}),_jsxs(_components.p,{children:[`Option contracts use `,_jsx(_components.strong,{children:`OSI`}),` (Options Symbology Initiative) symbols — the 21-character standard the U.S. options industry uses to uniquely identify a contract.`]}),_jsxs(_components.p,{children:[`The format is `,_jsx(_components.code,{children:`ROOT + YYMMDD + C/P + 00000000`}),` (the strike price in cents, left-padded). For example, `,_jsx(_components.code,{children:`AAPL240119C00150000`}),` decodes as:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`AAPL`}),` — underlying stock`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`240119`}),` — expiration date, 2024-01-19`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`C`}),` — call (use `,_jsx(_components.code,{children:`P`}),` for a put)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`00150000`}),` — strike price, $150.00 (00150000 ÷ 1000)`]}),`\n`]}),_jsxs(_components.p,{children:[`When subscribing to options, set `,_jsx(_components.code,{children:`symbolType: \"option\"`}),` so the server knows to apply option-specific routing and to enable Greeks if requested.`]})]}),_jsxs(Accordion,{title:`Data Types`,icon:`database`,id:`data-types`,children:[_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Quote Data`,icon:`quotes`,children:_jsxs(_components.p,{children:[`The best price a buyer is currently willing to pay (`,_jsx(_components.strong,{children:`bid`}),`) and the best price a seller is currently willing to accept (`,_jsx(_components.strong,{children:`ask`}),`), pulled from all U.S. exchanges combined — known as the `,_jsx(_components.strong,{children:`NBBO`}),` (National Best Bid and Offer).`]})}),_jsx(Card,{title:`Trade Data`,icon:`arrow-right-arrow-left`,children:_jsxs(_components.p,{children:[`The price and size of the most recent trade, plus session-level totals: `,_jsx(_components.strong,{children:`OHLC`}),` = Open, High, Low, Close — the standard four prices used to draw a candle on a chart.`]})}),_jsx(Card,{title:`Level 2 / Order Book Data`,icon:`layer-group`,children:_jsx(_components.p,{children:`Market depth — every visible bid and ask across the major exchanges, not just the single best price. Lets you see how much demand is sitting at each price level and which exchanges are quoting it.`})}),_jsx(Card,{title:`Time \u0026 Sales Data`,icon:`clock`,children:_jsx(_components.p,{children:`Every individual trade as it prints, with price, size, timestamp, and the exchange where it executed. Often called “the tape” — traders use it to read order flow and gauge buying vs. selling pressure.`})}),_jsx(Card,{title:`Greeks Data`,icon:`function`,children:_jsxs(_components.p,{children:[`For option contracts: the standard risk measures (delta, gamma, theta, vega, rho) plus implied volatility. The first message is a snapshot of the last known values; after that you receive updates whenever the Greeks are recalculated. Only available when `,_jsx(_components.code,{children:`symbolType: \"option\"`}),` and `,_jsx(_components.code,{children:`greeksFields`}),` is specified.`]})}),_jsx(Card,{title:`Market Status`,icon:`signal`,children:_jsxs(_components.p,{children:[`Whether the U.S. market is currently `,_jsx(_components.code,{children:`open`}),`, `,_jsx(_components.code,{children:`closed`}),`, in pre-market, or in after-hours trading, plus the status of individual exchanges.`]})})]}),_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What you receive first:`}),` Quote, trade, and Greeks subscriptions all send an initial `,_jsx(_components.strong,{children:`snapshot`}),` of the current state, then stream `,_jsx(_components.strong,{children:`updates`}),` as values change. Level 2 is the exception — it does not send a snapshot, only live updates as new depth arrives from the exchanges.`]})})]}),_jsxs(Accordion,{title:`Level 2: compact order book rows`,icon:`table`,id:`level-2-compact-order-book-rows`,children:[_jsxs(_components.p,{children:[`Level 2 updates are forwarded from the market feed as compact string arrays. `,_jsx(_components.code,{children:`payload.data.orderBook`}),` entries use `,_jsx(_components.code,{children:`askSize:price:bidSize`}),`, and `,_jsx(_components.code,{children:`payload.data.quotes`}),` entries use `,_jsx(_components.code,{children:`exchange:askPrice:askSize:bidPrice:bidSize`}),`.`]}),_jsx(_components.p,{children:`Example:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"orderBook\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"0:250.00:100\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"100:272.55:0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quotes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"EDGX:272.55:100:272.00:500\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-12-29T05:18:33.600000-05:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsxs(Accordion,{title:`Message Framing (NDJSON)`,icon:`code`,id:`message-framing-ndjson`,children:[_jsxs(_components.p,{children:[`To keep latency low when the market is active, the server may bundle several updates into a single WebSocket frame and separate them with a newline character (`,_jsx(_components.code,{children:`\\\\n`}),`). This format is called `,_jsx(_components.strong,{children:`NDJSON`}),` — Newline-Delimited JSON.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What this means for you:`}),` Don’t just call `,_jsx(_components.code,{children:`JSON.parse(frame)`}),` on every incoming message. Instead, split the frame on `,_jsx(_components.code,{children:`\\\\n`}),`, drop empty lines, and parse each line independently. Otherwise you will silently lose messages whenever the server coalesces.`]}),_jsx(Heading,{level:`3`,id:`example`,children:`Example`}),_jsx(_components.p,{children:`A single WebSocket frame may contain:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`3`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`3`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{\"type\":\"event\",\"payload\":{\"action\":\"snapshot\",\"type\":\"quote\",\"symbol\":\"MSFT\",\"data\":{\"bidPrice\":189.94},\"id\":\"sub-1\",\"timestamp\":1701450000123}}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`{\"type\":\"event\",\"payload\":{\"action\":\"snapshot\",\"type\":\"quote\",\"symbol\":\"AAPL\",\"data\":{\"bidPrice\":172.21},\"id\":\"sub-1\",\"timestamp\":1701450000124}}`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),_jsxs(_components.p,{children:[`Clients should split on `,_jsx(_components.code,{children:`\\\\n`}),` and parse each line independently.`]})]}),_jsx(Accordion,{title:`Requirements`,icon:`list-check`,id:`requirements`,children:_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`WebSocket Client`,icon:`plug`,children:_jsx(_components.p,{children:`Library that supports WSS protocol for secure WebSocket connections.`})}),_jsx(Card,{title:`Authentication`,icon:`key`,children:_jsx(_components.p,{children:`Valid authentication token (if required by your environment).`})}),_jsx(Card,{title:`JSON Parser`,icon:`code`,children:_jsx(_components.p,{children:`NDJSON message format handling capability for parsing streaming data.`})}),_jsx(Card,{title:`Network Connectivity`,icon:`wifi`,children:_jsx(_components.p,{children:`Stable network connection to the WebSocket endpoint.`})})]})}),_jsx(Accordion,{title:`Use Cases`,icon:`lightbulb`,id:`use-cases`,children:_jsxs(CardGroup,{cols:2,children:[_jsx(Card,{title:`Portfolio Monitoring`,icon:`chart-line`,children:_jsx(_components.p,{children:`Live price updates, bid/ask spreads, and intraday performance tracking for your holdings.`})}),_jsx(Card,{title:`Trading Applications`,icon:`arrow-right-arrow-left`,children:_jsx(_components.p,{children:`Real-time market prices for order entry systems and trade execution platforms.`})}),_jsx(Card,{title:`Market Dashboards`,icon:`chart-mixed`,children:_jsx(_components.p,{children:`Display market trends and index movements (SPX, NDX, VIX) on your analytics dashboard.`})}),_jsx(Card,{title:`Price Alert Systems`,icon:`bell`,children:_jsx(_components.p,{children:`Trigger notifications on price thresholds, volume spikes, or custom market conditions.`})}),_jsx(Card,{title:`Market Analysis Tools`,icon:`magnifying-glass-chart`,children:_jsx(_components.p,{children:`Real-time data feeds for technical analysis and market research applications.`})})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`authentication`,children:`Authentication`}),`\n`,_jsxs(_components.p,{children:[`If authentication is enabled, authenticate after opening the WebSocket and before subscribing. Auth uses the request/response envelope with `,_jsx(_components.code,{children:`POST /auth`}),`; the body is only the token object expected by the backend.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Client sends:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"request\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"auth-001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"POST\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/auth\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"body\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"token\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Server responds:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"authSuccess\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"auth-001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiresIn\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`2700000`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1701450000123`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`subscribing-to-market-data`,children:`Subscribing to Market Data`}),`\n`,_jsx(Heading,{level:`3`,id:`basic-subscription-structure`,children:`Basic Subscription Structure`}),`\n`,_jsxs(_components.p,{children:[`To start receiving data for a symbol, send a `,_jsx(_components.strong,{children:`subscribe`}),` message. The `,_jsx(_components.code,{children:`payload`}),` is always an `,_jsx(_components.strong,{children:`array`}),`, even when you only want one symbol — each item describes one symbol and the specific fields you want to receive for it.`]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Subscription object fields:`})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Required`}),_jsx(_components.th,{children:`What to enter`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`symbol`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Yes`}),_jsxs(_components.td,{children:[`A stock ticker (e.g. `,_jsx(_components.code,{children:`AAPL`}),`), an index code (e.g. `,_jsx(_components.code,{children:`SPX`}),`), or an OSI option symbol (e.g. `,_jsx(_components.code,{children:`AAPL240119C00150000`}),`).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`symbolType`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`equity`}),` (default) for stocks and indices, or `,_jsx(_components.code,{children:`option`}),` for option contracts. Must be `,_jsx(_components.code,{children:`option`}),` if you want Greeks.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quoteFields`})}),_jsx(_components.td,{children:`string | array`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Quote fields to subscribe to (see Quote Fields table below). Use `,_jsx(_components.code,{children:`[\"*\"]`}),` for all.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tradeFields`})}),_jsx(_components.td,{children:`string | array`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Trade fields to subscribe to (see Trade Fields table below). Use `,_jsx(_components.code,{children:`[\"*\"]`}),` for all.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`level2`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`true`}),` to receive full order-book depth for this symbol. Defaults to `,_jsx(_components.code,{children:`false`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timeAndSales`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`true`}),` to receive a message for every individual trade execution. Defaults to `,_jsx(_components.code,{children:`false`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timeAndSalesFields`})}),_jsx(_components.td,{children:`string | array`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Specific T\u0026S fields to receive when `,_jsx(_components.code,{children:`timeAndSales: true`}),`. Defaults to all fields.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`greeksFields`})}),_jsx(_components.td,{children:`string | array`}),_jsx(_components.td,{children:`No`}),_jsxs(_components.td,{children:[`Greek fields to subscribe to (options only). Use `,_jsx(_components.code,{children:`[\"*\"]`}),` for all.`]})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`16`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"optional-correlation-id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbolType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"equity\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lastPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"totalVolume\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"level2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timeAndSales\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timeAndSalesFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"greeksFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"delta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gamma\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(Note,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Defaults \u0026 shortcuts.`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`symbolType`}),` defaults to `,_jsx(_components.code,{children:`\"equity\"`}),`. Set it to `,_jsx(_components.code,{children:`\"option\"`}),` only when you’re subscribing to an option contract.`]}),`\n`,_jsxs(_components.li,{children:[`If you omit `,_jsx(_components.strong,{children:`both`}),` `,_jsx(_components.code,{children:`quoteFields`}),` and `,_jsx(_components.code,{children:`tradeFields`}),`, the server treats it as “send me everything” and subscribes you to all quote and all trade fields for that symbol.`]}),`\n`,_jsxs(_components.li,{children:[`Any field list (`,_jsx(_components.code,{children:`quoteFields`}),`, `,_jsx(_components.code,{children:`tradeFields`}),`, `,_jsx(_components.code,{children:`timeAndSalesFields`}),`, `,_jsx(_components.code,{children:`greeksFields`}),`) accepts either a single string (`,_jsx(_components.code,{children:`\"bidPrice\"`}),`) or an array (`,_jsx(_components.code,{children:`[\"bidPrice\", \"askPrice\"]`}),`). Arrays are recommended for consistency.`]}),`\n`]})]}),`\n`,_jsx(Heading,{level:`3`,id:`subscription-examples`,children:`Subscription Examples`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`Basic Examples`,icon:`play`,id:`basic-examples`,children:[_jsx(Heading,{level:`3`,id:`subscribe-to-trade-fields-only`,children:`Subscribe to Trade Fields Only`}),_jsx(_components.p,{children:`Get just price and size data for AAPL:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`subscribe-to-all-quote-and-trade-fields`,children:`Subscribe to All Quote and Trade Fields`}),_jsxs(_components.p,{children:[`When both `,_jsx(_components.code,{children:`quoteFields`}),` and `,_jsx(_components.code,{children:`tradeFields`}),` are omitted, the backend subscribes to all quote and all trade fields:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`subscribe-to-quote-fields-only`,children:`Subscribe to Quote Fields Only`}),_jsxs(_components.p,{children:[`Include only `,_jsx(_components.code,{children:`quoteFields`}),` when you do not want a trade subscription:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-quote-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`subscribe-to-all-fields-using-wildcard`,children:`Subscribe to All Fields Using Wildcard`}),_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`\"*\"`}),` to subscribe to all available fields:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GOOGL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"*\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"*\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsxs(Accordion,{title:`Multiple Symbols`,icon:`layer-group`,id:`multiple-symbols`,children:[_jsx(Heading,{level:`3`,id:`subscribe-to-specific-quote-fields-for-multiple-symbols`,children:`Subscribe to Specific Quote Fields for Multiple Symbols`}),_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`14`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"midPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"spread\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MSFT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"midPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"spread\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`subscribe-to-multiple-symbols-with-different-fields`,children:`Subscribe to Multiple Symbols with Different Fields`}),_jsx(_components.p,{children:`Different symbols can have different field subscriptions:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`19`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-6\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lastPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"netChange\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tick\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MSFT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"spread\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GOOGL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"*\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"*\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsxs(Accordion,{title:`Level 2 \u0026 Time \u0026 Sales`,icon:`chart-network`,id:`level-2-and-time-and-sales`,children:[_jsx(Heading,{level:`3`,id:`subscribe-to-level-2-order-book-data`,children:`Subscribe to Level 2 Order Book Data`}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-l2-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"level2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`subscribe-to-time-%26-sales-data`,children:`Subscribe to Time \u0026 Sales Data`}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-tns-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timeAndSales\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`subscribe-to-both-level-2-and-time-%26-sales`,children:`Subscribe to Both Level 2 and Time \u0026 Sales`}),_jsx(_components.p,{children:`Perfect for tape reading and order flow analysis:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-l2-tns-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"level2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timeAndSales\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`full-market-data-suite`,children:`Full Market Data Suite`}),_jsx(_components.p,{children:`Subscribe to quotes, trades, Level 2, and Time \u0026 Sales:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-full-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"midPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"spread\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lastPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"totalVolume\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"netChange\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"level2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timeAndSales\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsxs(Accordion,{title:`Index Data`,icon:`chart-line-up`,id:`index-data`,children:[_jsx(Heading,{level:`3`,id:`subscribe-to-s%26p-500-index`,children:`Subscribe to S\u0026P 500 Index`}),_jsx(Warning,{children:_jsxs(_components.p,{children:[`Indices do not have bid/ask quote data. Use `,_jsx(_components.code,{children:`tradeFields`}),` only.`]})}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-7\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SPX\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lastPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"openPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"highPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lowPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"netChange\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"totalVolume\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`subscribe-to-multiple-indices`,children:`Subscribe to Multiple Indices`}),_jsx(CodeBlock,{filename:``,numberOfLines:`18`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-8\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SPX\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lastPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"netChange\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"NDX\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lastPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"netChange\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"VIX\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lastPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"netChange\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`mixed-equities-and-indices`,children:`Mixed Equities and Indices`}),_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-9\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"midPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lastPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"netChange\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"SPX\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lastPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"openPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"highPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lowPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsxs(Accordion,{title:`Option Contracts`,icon:`option`,id:`option-contracts`,children:[_jsx(Heading,{level:`3`,id:`subscribe-to-a-single-option-contract`,children:`Subscribe to a Single Option Contract`}),_jsx(Info,{children:_jsxs(_components.p,{children:[`Options use OSI (Options Symbology Initiative) symbols. You `,_jsx(_components.strong,{children:`must`}),` set `,_jsx(_components.code,{children:`symbolType: \"option\"`}),`.`]})}),_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-10\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL240119C00150000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbolType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"option\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"midPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"spread\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"openInterest\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lastPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"totalVolume\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`subscribe-to-multiple-option-contracts`,children:`Subscribe to Multiple Option Contracts`}),_jsx(CodeBlock,{filename:``,numberOfLines:`24`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`24`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-11\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL240119C00150000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbolType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"option\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lastPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL240119C00155000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbolType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"option\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lastPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL240119P00145000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbolType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"option\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lastPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`subscribe-to-all-greeks-wildcard`,children:`Subscribe to All Greeks (Wildcard)`}),_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`\"*\"`}),` to receive all Greeks fields for an option contract:`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-greeks-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"XSP281215C00920000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbolType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"option\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"greeksFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"*\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`subscribe-to-specific-greeks-fields`,children:`Subscribe to Specific Greeks Fields`}),_jsx(_components.p,{children:`Request only the Greeks you need to minimize bandwidth:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-greeks-2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL240119C00150000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbolType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"option\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"greeksFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"delta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"impliedVolatility\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`subscribe-to-greeks-alongside-quotes`,children:`Subscribe to Greeks Alongside Quotes`}),_jsx(_components.p,{children:`Combine Greeks with quote data in a single subscription:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`12`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`12`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"subscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-greeks-3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL240119C00150000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbolType\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"option\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"midPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"greeksFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"delta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gamma\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"theta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"vega\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"impliedVolatility\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`greeksFields`}),` is only applicable when `,_jsx(_components.code,{children:`symbolType`}),` is `,_jsx(_components.code,{children:`\"option\"`}),`. Including it for equity symbols has no effect.`]})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`available-fields-reference`,children:`Available Fields Reference`}),`\n`,_jsxs(_components.p,{children:[`Frequently used fields you can subscribe to, organized by data type. The wildcard `,_jsx(_components.code,{children:`[\"*\"]`}),` expands to every backend-supported field for that category.`]}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`Quote Fields`,icon:`quotes`,defaultOpen:true,id:`quote-fields`,children:[_jsxs(_components.p,{children:[`Subscribe to these fields using the `,_jsx(_components.code,{children:`quoteFields`}),` array. Use `,_jsx(_components.code,{children:`[\"*\"]`}),` for all fields.`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`*`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Wildcard`}),` - Subscribe to all available quote fields`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`bidPrice`})}),_jsx(_components.td,{children:`Current best bid price - the highest price a buyer is willing to pay`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`bidSize`})}),_jsx(_components.td,{children:`Number of shares available at the bid price (typically in round lots of 100)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`bidExchange`})}),_jsx(_components.td,{children:`Exchange code where the best bid originated (e.g., ‘Q’ for NASDAQ, ‘N’ for NYSE)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`askPrice`})}),_jsx(_components.td,{children:`Current best ask (offer) price - the lowest price a seller is willing to accept`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`askSize`})}),_jsx(_components.td,{children:`Number of shares available at the ask price (typically in round lots of 100)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`askExchange`})}),_jsx(_components.td,{children:`Exchange code where the best ask originated (e.g., ‘Q’ for NASDAQ, ‘N’ for NYSE)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quoteTimestamp`})}),_jsx(_components.td,{children:`Unix timestamp in milliseconds of the consolidated/top-of-book quote time`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`midPrice`})}),_jsx(_components.td,{children:`Midpoint price calculated as (bidPrice + askPrice) / 2`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`spread`})}),_jsx(_components.td,{children:`Bid-ask spread calculated as askPrice - bidPrice`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`openInterest`})}),_jsxs(_components.td,{children:[`Total outstanding open contracts for the option (options only; include in `,_jsx(_components.code,{children:`quoteFields`}),` when `,_jsx(_components.code,{children:`symbolType`}),` is `,_jsx(_components.code,{children:`\"option\"`}),`)`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`Data source type for the snapshot record`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sicCode`})}),_jsx(_components.td,{children:`Standard Industrial Classification (SIC) code identifying the company’s industry`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`hasOptions`})}),_jsx(_components.td,{children:`Whether the symbol has listed options available (boolean)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sharesOutstanding`})}),_jsx(_components.td,{children:`Total shares outstanding`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`assets`})}),_jsx(_components.td,{children:`Total assets`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`liabilities`})}),_jsx(_components.td,{children:`Total liabilities`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`longTermDebt`})}),_jsx(_components.td,{children:`Long-term debt`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`EPSDiluted`})}),_jsx(_components.td,{children:`Diluted earnings per share`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`EPSLatest12Month`})}),_jsx(_components.td,{children:`Latest 12-month (trailing) earnings per share`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`EPS3YearGrowthRate`})}),_jsx(_components.td,{children:`3-year EPS growth rate`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`EPS5YearGrowthRate`})}),_jsx(_components.td,{children:`5-year EPS growth rate`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`avgVolume4Weeks`})}),_jsx(_components.td,{children:`Average daily trading volume over the trailing 4 weeks`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`PE`})}),_jsx(_components.td,{children:`Price-to-earnings (P/E) ratio`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`high52WeekPrice`})}),_jsx(_components.td,{children:`52-week high price`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`high52WeekDate`})}),_jsx(_components.td,{children:`Date of the 52-week high`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`low52WeekPrice`})}),_jsx(_components.td,{children:`52-week low price`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`low52WeekDate`})}),_jsx(_components.td,{children:`Date of the 52-week low`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`dividend`})}),_jsx(_components.td,{children:`Latest dividend amount`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`shortSaleRestricted`})}),_jsx(_components.td,{children:`Whether the symbol is under a short-sale restriction (SSR)`})]})]})]}),_jsx(Note,{children:_jsxs(_components.p,{children:[`Fields from `,_jsx(_components.code,{children:`type`}),` down are `,_jsx(_components.strong,{children:`fundamental and reference data`}),` drawn from the symbol snapshot rather than the live order book. They are delivered as strings (except `,_jsx(_components.code,{children:`hasOptions`}),`, which is a boolean), and field names are `,_jsx(_components.strong,{children:`case-sensitive`}),` — use the exact casing shown (e.g. `,_jsx(_components.code,{children:`PE`}),`, `,_jsx(_components.code,{children:`EPSDiluted`}),`).`]})}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example:`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"quoteFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"midPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"spread\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`]})})})]}),_jsxs(Accordion,{title:`Trade Fields`,icon:`arrow-right-arrow-left`,id:`trade-fields`,children:[_jsxs(_components.p,{children:[`Subscribe to these fields using the `,_jsx(_components.code,{children:`tradeFields`}),` array. Use `,_jsx(_components.code,{children:`[\"*\"]`}),` for all fields.`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`*`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Wildcard`}),` - Subscribe to all available trade fields`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`price`})}),_jsx(_components.td,{children:`Last trade execution price (same as lastPrice in most cases)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`size`})}),_jsx(_components.td,{children:`Number of shares in the last trade execution`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`totalVolume`})}),_jsx(_components.td,{children:`Cumulative trading volume for the current session (total shares traded)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`openPrice`})}),_jsx(_components.td,{children:`Opening price for the current trading session`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`highPrice`})}),_jsx(_components.td,{children:`Highest price reached during the current trading session`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lowPrice`})}),_jsx(_components.td,{children:`Lowest price reached during the current trading session`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`lastPrice`})}),_jsx(_components.td,{children:`Most recent trade price (last sale price)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`netChange`})}),_jsx(_components.td,{children:`Net price change from previous close (lastPrice - previousClosePrice)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tick`})}),_jsx(_components.td,{children:`Tick direction indicator: ‘up’ (uptick), ‘down’ (downtick), or ‘unchanged’`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tradeSeq`})}),_jsx(_components.td,{children:`Trade sequence number - monotonically increasing identifier for each trade`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tradeTimestamp`})}),_jsx(_components.td,{children:`ISO 8601 timestamp of when the trade was executed`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`closePrice`})}),_jsx(_components.td,{children:`Official closing price (may be from current or previous session depending on market hours)`})]})]})]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example:`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"lastPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"totalVolume\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"netChange\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tick\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`]})})}),_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`For Indices`}),`: Use trade fields only. Indices do not have bid/ask quote data.`]})})]}),_jsxs(Accordion,{title:`Time \u0026 Sales Fields`,icon:`clock`,id:`time-and-sales-fields`,children:[_jsxs(_components.p,{children:[`Subscribe to these fields using the `,_jsx(_components.code,{children:`timeAndSalesFields`}),` array when `,_jsx(_components.code,{children:`timeAndSales: true`}),`. Use `,_jsx(_components.code,{children:`[\"*\"]`}),` for all fields (default if not specified).`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`*`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Wildcard`}),` - Subscribe to all available Time \u0026 Sales fields`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`symbol`})}),_jsx(_components.td,{children:`The ticker symbol for the trade`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`price`})}),_jsx(_components.td,{children:`Trade execution price`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`size`})}),_jsx(_components.td,{children:`Number of shares in the trade`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tick`})}),_jsx(_components.td,{children:`Tick direction indicator: ‘up’ (uptick), ‘down’ (downtick), or ‘unchanged’`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tradeSeq`})}),_jsx(_components.td,{children:`Trade sequence number - monotonically increasing identifier for each trade`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tradeExchange`})}),_jsx(_components.td,{children:`Exchange code where the trade was executed (e.g., ‘Q’ for NASDAQ, ‘N’ for NYSE, ‘D’ for FINRA ADF)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`tradeTimestamp`})}),_jsx(_components.td,{children:`ISO 8601 timestamp of when the trade was executed`})]})]})]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example:`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timeAndSales\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timeAndSalesFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tick\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tradeTimestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tradeExchange\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Info,{children:_jsxs(_components.p,{children:[`Time \u0026 Sales shows `,_jsx(_components.strong,{children:`every individual trade execution`}),` in real-time. Essential for tape reading and order flow analysis.`]})})]}),_jsxs(Accordion,{title:`Level 2 Fields`,icon:`layer-group`,id:`level-2-fields`,children:[_jsxs(_components.p,{children:[`Level 2 data is enabled with `,_jsx(_components.code,{children:`level2: true`}),`. The response contains market depth across multiple exchanges in a compact format.`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`symbol`})}),_jsx(_components.td,{children:`The ticker symbol for the order book`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`orderBook`})}),_jsxs(_components.td,{children:[`Array of compact order book entries in format `,_jsx(_components.code,{children:`\"askSize:price:bidSize\"`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`quotes`})}),_jsxs(_components.td,{children:[`Array of exchange quotes in format `,_jsx(_components.code,{children:`\"EXCHANGE:askPrice:askSize:bidPrice:bidSize\"`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timestamp`})}),_jsx(_components.td,{children:`ISO 8601 timestamp of the update`})]})]})]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Order Book Format:`}),`\nEach entry in `,_jsx(_components.code,{children:`orderBook`}),` follows: `,_jsx(_components.code,{children:`\"askSize:price:bidSize\"`})]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`askSize`}),`: Number of shares at ask (0 if no ask)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`price`}),`: Price level`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`bidSize`}),`: Number of shares at bid (0 if no bid)`]}),`\n`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Quotes Format:`}),`\nEach entry in `,_jsx(_components.code,{children:`quotes`}),` follows: `,_jsx(_components.code,{children:`\"EXCHANGE:askPrice:askSize:bidPrice:bidSize\"`})]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`EXCHANGE`}),`: Exchange code (NSDQ, NYSE, BATS, EDGX, etc.)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`askPrice`}),`: Ask price at this exchange`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`askSize`}),`: Number of shares at ask`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`bidPrice`}),`: Bid price at this exchange`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`bidSize`}),`: Number of shares at bid`]}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example Response:`})}),_jsxs(Note,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Format Guide:`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`orderBook`}),`: `,_jsx(_components.code,{children:`askSize:price:bidSize`}),` (e.g., `,_jsx(_components.code,{children:`\"0:250.00:100\"`}),` = 0 shares ask, $250.00 price, 100 shares bid)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`quotes`}),`: `,_jsx(_components.code,{children:`exchange:askPrice:askSize:bidPrice:bidSize`}),` (e.g., `,_jsx(_components.code,{children:`\"EDGX:272.55:100:272.00:500\"`}),` = EDGX exchange, `,`$272.55 ask with 100 shares, $`,`272.00 bid with 500 shares)`]}),`\n`]})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`25`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`25`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"update\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"level2nOB\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"orderBook\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"0:250.00:100\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"0:271.00:100\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"0:272.00:1000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"45:272.49:0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"100:272.55:0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quotes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"EDGX:272.55:100:272.00:500\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"BATS:272.58:300:271.00:100\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"NSDQ:272.49:45:272.40:10\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-12-29T05:18:33.600000-05:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1767003513653`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`No Initial Snapshot`}),`: Level 2 data does not provide an initial snapshot. You will receive updates as they arrive from the market feed.`]})})]}),_jsxs(Accordion,{title:`Greeks Fields`,icon:`function`,id:`greeks-fields`,children:[_jsxs(_components.p,{children:[`Subscribe to these fields using the `,_jsx(_components.code,{children:`greeksFields`}),` array. Only available for option contracts (`,_jsx(_components.code,{children:`symbolType: \"option\"`}),`). Use `,_jsx(_components.code,{children:`[\"*\"]`}),` for all fields.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`What are Greeks?`}),` Greeks are standard risk measures that tell you `,_jsx(_components.em,{children:`how`}),` an option’s price is likely to move when something changes — the underlying stock price, time, or volatility. They are the building blocks of options risk management.`]}),_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`*`})}),_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Wildcard`}),` — subscribe to all available Greeks fields`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`delta`})}),_jsxs(_components.td,{children:[`How much the option’s price moves for a **`,`$1 move in the underlying stock**. Calls are 0 to 1, puts are -1 to 0. A 0.50 delta call gains ≈ $`,`0.50 if the stock rises $1. Also a rough estimate of the probability the option expires in-the-money.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`gamma`})}),_jsxs(_components.td,{children:[`How much `,_jsx(_components.strong,{children:`delta itself`}),` changes per $1 move in the underlying. High gamma = delta swings quickly, so position risk changes fast.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`theta`})}),_jsxs(_components.td,{children:[`How much value the option `,_jsx(_components.strong,{children:`loses per day`}),` purely from time passing (the “time decay”). Almost always negative for long option holders.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`vega`})}),_jsxs(_components.td,{children:[`How much the option’s price changes for a `,_jsx(_components.strong,{children:`1-percentage-point change in implied volatility`}),`. Long options have positive vega — they gain when volatility rises.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`rho`})}),_jsxs(_components.td,{children:[`How much the option’s price changes for a `,_jsx(_components.strong,{children:`1-percentage-point change in interest rates`}),`. Usually small for short-dated options.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`impliedVolatility`})}),_jsxs(_components.td,{children:[`The market’s expectation of how volatile the underlying will be over the option’s life, expressed as a decimal: `,_jsx(_components.code,{children:`0.2752`}),` means 27.52% annualized. Higher IV = more expensive options.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`symbol`})}),_jsx(_components.td,{children:`The OSI symbol of the option contract`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`timestamp`})}),_jsx(_components.td,{children:`ISO 8601 timestamp of when the Greeks were last calculated`})]})]})]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example (all Greeks):`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"greeksFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"*\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`]})})}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Example (selective fields):`})}),_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"greeksFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"delta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"gamma\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"impliedVolatility\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`]})})}),_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.code,{children:`greeksFields`}),` is only applicable when `,_jsx(_components.code,{children:`symbolType`}),` is `,_jsx(_components.code,{children:`\"option\"`}),`. It has no effect for equity or index symbols.`]})})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`unsubscribing-from-market-data`,children:`Unsubscribing from Market Data`}),`\n`,_jsx(_components.p,{children:`The WebSocket supports three unsubscribe modes for flexible subscription management.`}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Mode 1: Full Unsubscribe`,id:`mode-1%3A-full-unsubscribe`,children:[_jsx(_components.p,{children:`Remove all subscriptions for one or more symbols:`}),_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`5`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsubscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsub-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MSFT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GOOGL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[`This removes `,_jsx(_components.strong,{children:`all quote, trade, Level 2, Time \u0026 Sales, and Greeks subscriptions`}),` for the specified symbols.`]})]}),_jsxs(Tab,{title:`Mode 2: Type-Specific`,id:`mode-2%3A-type-specific`,\"data-child-heading-ids\":`[\"unsubscribe-from-quotes-only\",\"unsubscribe-from-trades-only\",\"unsubscribe-from-level-2-only\",\"unsubscribe-from-time-%26-sales-only\",\"unsubscribe-from-level-2-and-time-%26-sales\",\"unsubscribe-from-all-greeks\"]`,children:[_jsx(_components.p,{children:`Unsubscribe from specific data types while keeping others active:`}),_jsx(Heading,{level:`3`,id:`unsubscribe-from-quotes-only`,children:`Unsubscribe from Quotes Only`}),_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsubscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsub-2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quote\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"trade\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`unsubscribe-from-trades-only`,children:`Unsubscribe from Trades Only`}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsubscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsub-3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TSLA\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"trade\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`unsubscribe-from-level-2-only`,children:`Unsubscribe from Level 2 Only`}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsubscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsub-l2-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"level2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`unsubscribe-from-time-\u0026-sales-only`,children:`Unsubscribe from Time \u0026 Sales Only`}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsubscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsub-tns-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timeAndSales\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`unsubscribe-from-level-2-and-time-\u0026-sales`,children:`Unsubscribe from Level 2 and Time \u0026 Sales`}),_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsubscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsub-l2-tns-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"level2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timeAndSales\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`unsubscribe-from-all-greeks`,children:`Unsubscribe from All Greeks`}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsubscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsub-greeks-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"XSP281215C00920000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"greeks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Available type flags:`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`quote`}),`: boolean - Unsubscribe from all quote data`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`trade`}),`: boolean - Unsubscribe from all trade data`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`level2`}),`: boolean - Unsubscribe from Level 2 data`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`timeAndSales`}),`: boolean - Unsubscribe from Time \u0026 Sales data`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`greeks`}),`: boolean - Unsubscribe from all Greeks data (options only)`]}),`\n`]})]}),_jsxs(Tab,{title:`Mode 3: Field-Level`,id:`mode-3%3A-field-level`,\"data-child-heading-ids\":`[\"unsubscribe-from-specific-quote-fields\",\"unsubscribe-from-specific-trade-fields\",\"unsubscribe-from-mixed-fields\"]`,children:[_jsx(_components.p,{children:`Remove specific fields while keeping the subscription active:`}),_jsx(Heading,{level:`3`,id:`unsubscribe-from-specific-quote-fields`,children:`Unsubscribe from Specific Quote Fields`}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsubscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsub-4\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GOOGL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"bidSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"askSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`unsubscribe-from-specific-trade-fields`,children:`Unsubscribe from Specific Trade Fields`}),_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsubscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsub-5\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"totalVolume\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tick\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tradeSeq\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Heading,{level:`3`,id:`unsubscribe-from-mixed-fields`,children:`Unsubscribe from Mixed Fields`}),_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsubscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsub-6\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"MSFT\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"midPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"spread\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"tradeTimestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"closePrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Info,{children:_jsxs(_components.p,{children:[`Field-level unsubscribe is supported for quote and trade fields. For Greeks, use `,_jsx(_components.code,{children:`greeks: true`}),` to remove the full Greeks subscription for an option symbol.`]})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`unsubscribe-response`,children:`Unsubscribe Response`}),`\n`,_jsx(_components.p,{children:`When you unsubscribe, the server confirms the action:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsubscribe\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbols\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"unsub-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1701450000123`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`message-formats-\u0026-responses`,children:`Message Formats \u0026 Responses`}),`\n`,_jsx(Heading,{level:`3`,id:`snapshot-responses`,children:`Snapshot Responses`}),`\n`,_jsx(_components.p,{children:`When you subscribe, you immediately receive a snapshot of current market data. The snapshot contains all requested fields.`}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Quote Snapshot Example`,icon:`quotes`,defaultOpen:true,id:`quote-snapshot-example`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`21`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`21`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"snapshot\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"quote\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bidPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`150.25`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bidSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`500`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bidExchange\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Q\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"askPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`150.26`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"askSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`300`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"askExchange\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"N\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quoteTimestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1701450000121`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"midPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`150.255`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"spread\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.01`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1701450000123`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Accordion,{title:`Trade Snapshot Example`,icon:`arrow-right-arrow-left`,id:`trade-snapshot-example`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`24`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`24`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"snapshot\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"trade\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`150.25`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lastPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`150.25`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`100`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"totalVolume\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`45678900`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"openPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`149.50`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"highPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`151.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"lowPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`149.25`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"closePrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`149.80`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"netChange\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.45`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tick\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"up\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeSeq\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`123456`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeTimestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-04-20T07:11:01.123000-04:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1701450000125`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsxs(Accordion,{title:`Level 2 Update Example`,icon:`layer-group`,id:`level-2-update-example`,children:[_jsx(Warning,{children:_jsx(_components.p,{children:`Level 2 does not send an initial snapshot. You receive updates as they arrive.`})}),_jsxs(Note,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Format Guide:`})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`orderBook`}),`: `,_jsx(_components.code,{children:`askSize:price:bidSize`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`quotes`}),`: `,_jsx(_components.code,{children:`exchange:askPrice:askSize:bidPrice:bidSize`})]}),`\n`]})]}),_jsx(CodeBlock,{filename:``,numberOfLines:`25`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`25`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"update\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"level2nOB\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1701450000123`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"orderBook\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"0:150.24:200\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"0:150.24:300\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"500:150.26:0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"300:150.26:0\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"400:150.27:0\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"quotes\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"NSDQ:150.26:500:150.25:400\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"NYSE:150.27:200:150.24:200\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"PACF:150.26:300:150.24:300\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2025-12-29T05:18:33.123000-05:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})]}),_jsxs(Accordion,{title:`Time \u0026 Sales Update Example`,icon:`clock`,id:`time-and-sales-update-example`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`18`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`18`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"update\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"timeAndSales\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1701450000458`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"150.26\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"250\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tick\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"up\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeSeq\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"123457\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeExchange\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Q\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeTimestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-04-20T07:11:01.717000-04:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Info,{children:_jsxs(_components.p,{children:[`Each Time \u0026 Sales message represents a `,_jsx(_components.strong,{children:`single trade execution`}),`. You may receive multiple messages per second during active trading.`]})})]}),_jsx(Accordion,{title:`Option Contract Snapshot`,icon:`option`,id:`option-contract-snapshot`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`19`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"snapshot\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"quote\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL240119C00150000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bidPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5.25`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"askPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5.30`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bidSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"askSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`75`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"midPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`5.275`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"spread\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.05`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"openInterest\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`12450`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-opt-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1701450000123`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsxs(Accordion,{title:`Greeks Snapshot \u0026 Update Example`,icon:`function`,id:`greeks-snapshot-and-update-example`,children:[_jsxs(_components.p,{children:[`Upon subscribing with `,_jsx(_components.code,{children:`greeksFields`}),`, the server immediately sends a `,_jsx(_components.strong,{children:`snapshot`}),` of the last known Greeks values. Subsequent `,_jsx(_components.strong,{children:`updates`}),` are streamed whenever Greeks are recalculated.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`1. Initial snapshot`}),` (received immediately on subscribe):`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`19`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"snapshot\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"greeks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"XSP281215C00920000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1770975436651`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"delta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.522`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"gamma\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.0386`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"impliedVolatility\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.2752`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"XSP281215C00920000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"theta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`-0.0246`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rho\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.004`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-02-13T15:07:16.65+05:30\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"vega\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.1606`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`2. Real-time update`}),` (streamed when Greeks change):`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`19`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"update\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"greeks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"XSP281215C00920000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1770975502651`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"delta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.531`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"gamma\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.0391`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"impliedVolatility\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.2788`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"XSP281215C00920000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"theta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`-0.0249`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"rho\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.004`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-02-13T15:08:22.10+05:30\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"vega\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.1618`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Selective fields`}),` (using `,_jsx(_components.code,{children:`greeksFields: [\"delta\", \"impliedVolatility\"]`}),`):`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`13`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`13`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"snapshot\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"greeks\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL240119C00150000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1701450000890`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"delta\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.638`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"impliedVolatility\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.3105`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Info,{children:_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`action: \"snapshot\"`}),` vs `,_jsx(_components.code,{children:`action: \"update\"`}),` to distinguish the initial state from real-time changes. Only the fields you subscribed to are included in each message.`]})})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`update-responses`,children:`Update Responses`}),`\n`,_jsxs(_components.p,{children:[`After the snapshot, you receive real-time updates with `,_jsx(_components.strong,{children:`only changed fields`}),`:`]}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`Quote Update`,icon:`quotes`,defaultOpen:true,id:`quote-update`,children:[_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"update\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"quote\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1701450001456`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bidPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`150.26`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"bidSize\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`600`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"midPrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`150.255`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"spread\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`0.01`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(Info,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Bandwidth Optimization`}),`: Updates contain only fields that changed since the last message, minimizing network usage.`]})})]}),_jsx(Accordion,{title:`Trade Update`,icon:`arrow-right-arrow-left`,id:`trade-update`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`16`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`16`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"update\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"trade\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GOOG\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1776683461767`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"netChange\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`-3.1300000000000003`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"price\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`336.27000000000004`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"size\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`6`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GOOG\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"tradeTimestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-04-20T07:11:01.717000-04:00\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})})]}),`\n`,_jsx(Heading,{level:`3`,id:`market-status-updates`,children:`Market Status Updates`}),`\n`,_jsx(_components.p,{children:`After successful authentication and whenever market status changes, the server can send a market status event:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`21`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`21`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"update\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"marketStatus\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"market\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"open\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"serverTime\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-05-13T10:30:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"exchanges\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nyse\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"open\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nasdaq\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"open\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currencies\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fx\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"open\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"afterHours\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"earlyHours\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1701450000123`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`streaming-event-structure`,children:`Streaming event structure`}),`\n`,_jsx(_components.p,{children:`Streaming market data events use the following envelope:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Outer envelope type. Streaming market data events always use `,_jsx(_components.code,{children:`event`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payload.action`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`What kind of event this is. One of: `,_jsx(_components.code,{children:`snapshot`}),` (the first message you receive after subscribing — current state), `,_jsx(_components.code,{children:`update`}),` (a real-time change), `,_jsx(_components.code,{children:`error`}),` (something went wrong), `,_jsx(_components.code,{children:`unsubscribe`}),` (the server confirming you’ve been removed from a feed).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payload.type`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Which data category the event belongs to. One of: `,_jsx(_components.code,{children:`quote`}),` (best bid/ask), `,_jsx(_components.code,{children:`trade`}),` (last sale info), `,_jsx(_components.code,{children:`level2nOB`}),` (order book depth), `,_jsx(_components.code,{children:`timeAndSales`}),` (every individual trade), `,_jsx(_components.code,{children:`greeks`}),` (option risk measures), `,_jsx(_components.code,{children:`marketStatus`}),` (market session state).`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payload.symbol`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`The ticker or option symbol the event is about. Omitted for market-wide events such as `,_jsx(_components.code,{children:`marketStatus`}),`.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payload.data`})}),_jsx(_components.td,{children:`object`}),_jsxs(_components.td,{children:[`The actual data payload. Note that `,_jsx(_components.code,{children:`update`}),` messages only include fields that changed since the last message — fields not in the update have not changed.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payload.id`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Correlation ID. When the event was triggered by one of your subscribe requests, the server echoes back the `,_jsx(_components.code,{children:`id`}),` you sent.`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`payload.timestamp`})}),_jsx(_components.td,{children:`integer`}),_jsx(_components.td,{children:`When the event happened, in Unix milliseconds (epoch).`})]})]})]}),`\n`,_jsxs(Note,{children:[_jsx(_components.p,{children:_jsxs(_components.strong,{children:[`Quick guide to outer `,_jsx(_components.code,{children:`type`}),` values:`]})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`event`}),` — Streaming pushes from the server: market data, auth/refresh notifications, unsubscribe confirmations, subscription errors.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`pong`}),` — Reply to a `,_jsx(_components.code,{children:`ping`}),` you sent. Used only for keep-alive.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`response`}),` — Reply to an on-demand `,_jsx(_components.code,{children:`request`}),` you sent (e.g. fetching option expiry dates).`]}),`\n`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`error-handling`,children:`Error Handling`}),`\n`,_jsx(Heading,{level:`3`,id:`error-response-format`,children:`Error Response Format`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`10`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`10`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"action\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"INVALID\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"error\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"symbol not found\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"sub-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`1701450000123`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`common-error-messages`,children:`Common Error Messages`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Message`}),_jsx(_components.th,{children:`Description`}),_jsx(_components.th,{children:`Resolution`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`authentication required`})}),_jsx(_components.td,{children:`The connection must authenticate before this action`}),_jsxs(_components.td,{children:[`Send a `,_jsx(_components.code,{children:`POST /auth`}),` request message with a valid token`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid subscribe format`})}),_jsx(_components.td,{children:`Subscribe payload could not be parsed as an array of symbol requests`}),_jsxs(_components.td,{children:[`Send `,_jsx(_components.code,{children:`payload`}),` as an array of objects`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid unsubscribe format`})}),_jsx(_components.td,{children:`Unsubscribe payload could not be parsed as an array of strings or objects`}),_jsxs(_components.td,{children:[`Send `,_jsx(_components.code,{children:`payload`}),` as `,_jsx(_components.code,{children:`[\"AAPL\"]`}),` or `,_jsx(_components.code,{children:`[{ \"symbol\": \"AAPL\", \"quote\": true }]`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`no symbols provided`})}),_jsx(_components.td,{children:`The request did not include any symbols`}),_jsx(_components.td,{children:`Include at least one symbol`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`too many symbols in request`})}),_jsx(_components.td,{children:`Request exceeded the backend symbol limit`}),_jsx(_components.td,{children:`Split symbols across multiple requests`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid quote fields: ...`})}),_jsx(_components.td,{children:`One or more quote field names are not supported`}),_jsx(_components.td,{children:`Check field names against the quote field list`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid trade fields: ...`})}),_jsx(_components.td,{children:`One or more trade field names are not supported`}),_jsx(_components.td,{children:`Check field names against the trade field list`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`invalid greeks fields: ...`})}),_jsx(_components.td,{children:`One or more Greeks field names are not supported`}),_jsxs(_components.td,{children:[`Use only `,_jsx(_components.code,{children:`delta`}),`, `,_jsx(_components.code,{children:`gamma`}),`, `,_jsx(_components.code,{children:`theta`}),`, `,_jsx(_components.code,{children:`vega`}),`, `,_jsx(_components.code,{children:`rho`}),`, or `,_jsx(_components.code,{children:`impliedVolatility`})]})]})]})]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Always implement error handling in your WebSocket client to handle network issues, invalid requests, and server errors gracefully.`})}),`\n`,_jsx(Heading,{level:`2`,id:`connection-management`,children:`Connection Management`}),`\n`,_jsx(Heading,{level:`3`,id:`ping/pong-keepalive`,children:`Ping/Pong Keepalive`}),`\n`,_jsx(_components.p,{children:`Send periodic pings to keep the WebSocket connection alive and detect network issues:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Client sends:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ping\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ping-001\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Server responds:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"pong\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"ping-001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-05-13T10:30:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`null`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recommended`}),`: Send a ping every 30-60 seconds to maintain the connection and detect disconnects quickly.`]})}),`\n`,_jsx(Heading,{level:`3`,id:`handling-disconnects`,children:`Handling Disconnects`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`14`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`14`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` ws`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` WebSocket`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'wss://api.aries.com/v1/market/ws'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ws`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`onclose`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`event`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'WebSocket closed:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`event`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`code`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`event`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`reason`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Implement reconnection logic with exponential backoff`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` setTimeout`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(() `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:` reconnect`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`();`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }, `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getBackoffDelay`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`());`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ws`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`onerror`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'WebSocket error:'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`]})})}),`\n`,_jsx(Info,{children:_jsxs(_components.p,{children:[`Implement `,_jsx(_components.strong,{children:`exponential backoff`}),` for reconnections: start with 1 second, then 2s, 4s, 8s, up to a maximum of 60 seconds.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`request/response-pattern`,children:`Request/Response Pattern`}),`\n`,_jsx(_components.p,{children:`Besides streaming subscriptions, the WebSocket supports on-demand queries using a RESTful-style request/response pattern.`}),`\n`,_jsx(Heading,{level:`3`,id:`get-option-expiry-dates`,children:`Get Option Expiry Dates`}),`\n`,_jsx(_components.p,{children:`Query all available expiration dates for an underlying symbol:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Request:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"request\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"req-expiry-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/options/AAPL/expiry-dates\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Response:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`24`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`24`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"response\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"req-expiry-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiryDates\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-19\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-02-16\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-03-15\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"date\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-04-19\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`get-option-contract-symbols`,children:`Get Option Contract Symbols`}),`\n`,_jsx(_components.p,{children:`Query all call and put contracts for a symbol and expiration date:`}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Request:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"request\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"req-contracts-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/options/AAPL/contracts/2024-01-19\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`For weekly contracts, include the optional frequency path segment:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"request\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"req-contracts-weekly-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"method\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"GET\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"path\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"/options/SPX/contracts/2024-01-19/W\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Response:`})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`31`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`31`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"response\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"req-contracts-1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"payload\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"expiryDate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2024-01-19\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"calls\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL240119C00145000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"strikePrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`145.00`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL240119C00150000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"strikePrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`150.00`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"puts\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL240119P00145000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"strikePrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`145.00`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"symbol\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AAPL240119P00150000\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"strikePrice\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`150.00`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`request-responses`,children:`Request Responses`}),`\n`,_jsxs(_components.p,{children:[`Successful request replies are returned as `,_jsx(_components.code,{children:`type: \"response\"`}),` with `,_jsx(_components.code,{children:`payload.status`}),` and `,_jsx(_components.code,{children:`payload.data`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Request/response errors use `,_jsx(_components.code,{children:`type: \"response\"`}),` with `,_jsx(_components.code,{children:`payload.status`}),` and `,_jsx(_components.code,{children:`payload.error`}),`. Streaming subscription errors use `,_jsx(_components.code,{children:`type: \"event\"`}),` with `,_jsx(_components.code,{children:`payload.action: \"error\"`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Market Data WebSocket","description":"Real-time streaming API for equity quotes, trades, and market indices. Subscribe to specific symbols with field-level granularity to receive only the data you need, minimizing bandwidth and latency.","asyncapi":"asyncapi-specs/market-data.json marketDataStream","href":"/websockets/market-data"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Authentication","slug":"authentication","depth":2,"children":[]},{"title":"Subscribing to Market Data","slug":"subscribing-to-market-data","depth":2,"children":[{"title":"Basic Subscription Structure","slug":"basic-subscription-structure","depth":3,"children":[]},{"title":"Subscription Examples","slug":"subscription-examples","depth":3,"children":[]}]},{"title":"Available Fields Reference","slug":"available-fields-reference","depth":2,"children":[]},{"title":"Unsubscribing from Market Data","slug":"unsubscribing-from-market-data","depth":2,"children":[{"title":"Unsubscribe from Quotes Only","slug":"unsubscribe-from-quotes-only","depth":3,"children":[],"tabId":"mode-2%3A-type-specific"},{"title":"Unsubscribe from Trades Only","slug":"unsubscribe-from-trades-only","depth":3,"children":[],"tabId":"mode-2%3A-type-specific"},{"title":"Unsubscribe from Level 2 Only","slug":"unsubscribe-from-level-2-only","depth":3,"children":[],"tabId":"mode-2%3A-type-specific"},{"title":"Unsubscribe from Time \u0026 Sales Only","slug":"unsubscribe-from-time-\u0026-sales-only","depth":3,"children":[],"tabId":"mode-2%3A-type-specific"},{"title":"Unsubscribe from Level 2 and Time \u0026 Sales","slug":"unsubscribe-from-level-2-and-time-\u0026-sales","depth":3,"children":[],"tabId":"mode-2%3A-type-specific"},{"title":"Unsubscribe from All Greeks","slug":"unsubscribe-from-all-greeks","depth":3,"children":[],"tabId":"mode-2%3A-type-specific"},{"title":"Unsubscribe from Specific Quote Fields","slug":"unsubscribe-from-specific-quote-fields","depth":3,"children":[],"tabId":"mode-3%3A-field-level"},{"title":"Unsubscribe from Specific Trade Fields","slug":"unsubscribe-from-specific-trade-fields","depth":3,"children":[],"tabId":"mode-3%3A-field-level"},{"title":"Unsubscribe from Mixed Fields","slug":"unsubscribe-from-mixed-fields","depth":3,"children":[],"tabId":"mode-3%3A-field-level"},{"title":"Unsubscribe Response","slug":"unsubscribe-response","depth":3,"children":[]}]},{"title":"Message Formats \u0026 Responses","slug":"message-formats-\u0026-responses","depth":2,"children":[{"title":"Snapshot Responses","slug":"snapshot-responses","depth":3,"children":[]},{"title":"Update Responses","slug":"update-responses","depth":3,"children":[]},{"title":"Market Status Updates","slug":"market-status-updates","depth":3,"children":[]},{"title":"Streaming event structure","slug":"streaming-event-structure","depth":3,"children":[]}]},{"title":"Error Handling","slug":"error-handling","depth":2,"children":[{"title":"Error Response Format","slug":"error-response-format","depth":3,"children":[]},{"title":"Common Error Messages","slug":"common-error-messages","depth":3,"children":[]}]},{"title":"Connection Management","slug":"connection-management","depth":2,"children":[{"title":"Ping/Pong Keepalive","slug":"ping/pong-keepalive","depth":3,"children":[]},{"title":"Handling Disconnects","slug":"handling-disconnects","depth":3,"children":[]}]},{"title":"Request/Response Pattern","slug":"request/response-pattern","depth":2,"children":[{"title":"Get Option Expiry Dates","slug":"get-option-expiry-dates","depth":3,"children":[]},{"title":"Get Option Contract Symbols","slug":"get-option-contract-symbols","depth":3,"children":[]},{"title":"Request Responses","slug":"request-responses","depth":3,"children":[]}]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/ariesfinancialinc/d35069a6af6e0e00/public/oauth-manager.js","/_mintlify/custom/ariesfinancialinc/baaed03e98a52073/public/token-autofill.js","/_mintlify/custom/ariesfinancialinc/5c3c9fc4fbc77145/public/paste-plain-text.js"],"apiReferenceData":{"channel":{"id":"marketDataStream","title":"Market data stream","description":"Bidirectional WebSocket endpoint for market data streaming. Clients connect here to send subscription requests and receive real-time market data updates.","servers":[{"id":"production","protocol":"wss","host":"api.aries.com","bindings":[],"variables":[]}],"address":"/v1/market/ws","parameters":[],"bindings":[],"operations":[{"id":"authenticate","title":"Authenticate","description":"Sign in to the market-data WebSocket","type":"receive","messages":[{"id":"authRequest","contentType":"application/json","payload":[{"name":"Auth Request","description":"Request to authenticate the WebSocket connection","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `request` when you authenticate.","enumValues":["request"],"required":true},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want it returned in the auth reply.","required":false},{"name":"timestamp","type":"string","description":"Optional time when your client created this message, in ISO 8601 format.","required":false},{"name":"payload","type":"object","description":"Put the auth request details here.","required":true,"properties":[{"name":"method","type":"string","description":"Use `POST` to send the token for authentication.","enumValues":["POST"],"required":true},{"name":"path","type":"string","description":"Auth route on the WebSocket API. Always `/auth`.","enumValues":["/auth"],"required":true},{"name":"body","type":"object","description":"JSON body for `POST /auth`. Put the raw access token directly in `body.token`.","required":true,"properties":[{"name":"token","type":"string","description":"Access token for this WebSocket connection.","required":true}]}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Sign-in message. Send this right after connecting so the server can open your market-data connection.","properties":{"type":{"type":"string","enum":["request"],"description":"Set this to `request` when you authenticate.","example":"request","x-parser-schema-id":"\u003canonymous-schema-1>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want it returned in the auth reply.","example":"auth-001","x-parser-schema-id":"\u003canonymous-schema-2>"},"timestamp":{"type":"string","format":"date-time","description":"Optional time when your client created this message, in ISO 8601 format.","example":"2025-01-15T10:30:00Z","x-parser-schema-id":"\u003canonymous-schema-3>"},"payload":{"type":"object","required":["method","path","body"],"description":"Put the auth request details here.","properties":{"method":{"type":"string","enum":["POST"],"description":"Use `POST` to send the token for authentication.","example":"POST","x-parser-schema-id":"\u003canonymous-schema-5>"},"path":{"type":"string","enum":["/auth"],"description":"Auth route on the WebSocket API. Always `/auth`.","example":"/auth","x-parser-schema-id":"\u003canonymous-schema-6>"},"body":{"type":"object","required":["token"],"description":"JSON body for `POST /auth`. Put the raw access token directly in `body.token`.","properties":{"token":{"type":"string","description":"Access token for this WebSocket connection.","example":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...","x-parser-schema-id":"\u003canonymous-schema-8>"}},"example":{"token":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."},"x-parser-schema-id":"\u003canonymous-schema-7>"}},"example":{"method":"POST","path":"/auth","body":{"token":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."}},"x-parser-schema-id":"\u003canonymous-schema-4>"}},"x-parser-schema-id":"AuthRequestPayload"},"title":"Auth Request","description":"Request to authenticate the WebSocket connection","example":"{\n \"type\": \"request\",\n \"id\": \"auth-001\",\n \"payload\": {\n \"method\": \"POST\",\n \"path\": \"/auth\",\n \"body\": {\n \"token\": \"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyLTEyMzQ1IiwiZXhwIjoxNzAxNDUzNjAwfQ.signature\"\n }\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"authRequest"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"subscribe","title":"Subscribe to Market Data","description":"Subscribe to real-time quote, trade, Level 2, Time \u0026 Sales, and/or Greeks data for one or more symbols","type":"receive","messages":[{"id":"subscribeRequest","contentType":"application/json","payload":[{"name":"Subscribe Request","description":"Request to subscribe to market data for one or more symbols","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `subscribe` to start live updates.","enumValues":["subscribe"],"required":true},{"name":"payload","type":"array","description":"Add one or more symbol requests here. Each one tells the server which symbol and data you want.","required":true,"properties":[{"name":"symbol","type":"string","description":"Symbol to subscribe to. For stocks and indices use ticker symbols such as `AAPL` or `SPX`. For options use symbols such as `AAPL240119C00150000`.","required":true},{"name":"symbolType","type":"string","description":"Optional. Use `option` only when the symbol is an option.","enumValues":["equity","option"],"required":false},{"name":"fields","type":"oneOf","description":"Combined field list. Use this if you want to send one field list instead of separate quote, trade, or Greeks lists. Use `[\"*\"]` to ask for all fields.","required":false},{"name":"quoteFields","type":"oneOf","description":"Quote fields you want back. If you leave both `quoteFields` and `tradeFields` empty, the server sends all quote and trade fields.","required":false},{"name":"tradeFields","type":"oneOf","description":"Trade fields you want back. If you leave both `quoteFields` and `tradeFields` empty, the server sends all quote and trade fields.","required":false},{"name":"level2","type":"boolean","description":"Set to `true` to get Level 2 order book updates from multiple exchanges.","required":false},{"name":"timeAndSales","type":"boolean","description":"Set to `true` to get Time \u0026 Sales updates.","required":false},{"name":"timeAndSalesFields","type":"oneOf","description":"Time \u0026 Sales fields to subscribe to. If omitted when timeAndSales is true, all Time \u0026 Sales fields are included.","required":false},{"name":"greeksFields","type":"oneOf","description":"Greeks fields you want back. Use this only for options.","required":false}]},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want the server to send it back in related replies.","required":false}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"properties":{"type":{"type":"string","enum":["subscribe"],"const":"subscribe","description":"Set this to `subscribe` to start live updates.","example":"subscribe","x-parser-schema-id":"\u003canonymous-schema-9>"},"payload":{"type":"array","description":"Add one or more symbol requests here. Each one tells the server which symbol and data you want.","minItems":1,"items":{"type":"object","required":["symbol"],"description":"Subscription request for a single symbol with optional field selection and data types. Field list properties accept either a string or an array of strings.","properties":{"symbol":{"type":"string","description":"Symbol to subscribe to. For stocks and indices use ticker symbols such as `AAPL` or `SPX`. For options use symbols such as `AAPL240119C00150000`.","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-11>"},"symbolType":{"type":"string","enum":["equity","option"],"default":"equity","description":"Optional. Use `option` only when the symbol is an option.","example":"equity","x-parser-schema-id":"\u003canonymous-schema-12>"},"fields":{"oneOf":[{"type":"string","description":"Field names you can use in `SymbolFieldRequest.fields`.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available Greeks fields","x-parser-schema-id":"\u003canonymous-schema-14>"},{"const":"bidPrice","description":"Current best bid price - the highest price a buyer is willing to pay","x-parser-schema-id":"\u003canonymous-schema-15>"},{"const":"bidSize","description":"Number of shares available at the bid price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-16>"},{"const":"bidExchange","description":"Exchange code where the best bid originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-17>"},{"const":"askPrice","description":"Current best ask (offer) price - the lowest price a seller is willing to accept","x-parser-schema-id":"\u003canonymous-schema-18>"},{"const":"askSize","description":"Number of shares available at the ask price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-19>"},{"const":"askExchange","description":"Exchange code where the best ask originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-20>"},{"const":"quoteTimestamp","description":"Unix timestamp in milliseconds of the consolidated/top-of-book quote time","x-parser-schema-id":"\u003canonymous-schema-21>"},{"const":"midPrice","description":"Midpoint price calculated as (bidPrice + askPrice) / 2","x-parser-schema-id":"\u003canonymous-schema-22>"},{"const":"spread","description":"Bid-ask spread calculated as askPrice - bidPrice","x-parser-schema-id":"\u003canonymous-schema-23>"},{"const":"openInterest","description":"Total number of outstanding open contracts for the option. Only applicable when symbolType is 'option'.","x-parser-schema-id":"\u003canonymous-schema-24>"},{"const":"price","description":"Last trade execution price (same as lastPrice in most cases)","x-parser-schema-id":"\u003canonymous-schema-25>"},{"const":"size","description":"Number of shares in the last trade execution","x-parser-schema-id":"\u003canonymous-schema-26>"},{"const":"totalVolume","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-27>"},{"const":"openPrice","description":"Opening price for today.","x-parser-schema-id":"\u003canonymous-schema-28>"},{"const":"highPrice","description":"Highest price so far today.","x-parser-schema-id":"\u003canonymous-schema-29>"},{"const":"lowPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-30>"},{"const":"lastPrice","description":"Most recent trade price (last sale price)","x-parser-schema-id":"\u003canonymous-schema-31>"},{"const":"netChange","description":"Net price change from previous close (lastPrice - previousClosePrice)","x-parser-schema-id":"\u003canonymous-schema-32>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-33>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-34>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-35>"},{"const":"closePrice","description":"Official close price. This may be from today or the previous trading day, depending on market hours.","x-parser-schema-id":"\u003canonymous-schema-36>"},{"const":"delta","description":"Rate of change of the option price relative to a $1 change in the underlying asset price. Ranges from -1 to 1 for puts and 0 to 1 for calls.","x-parser-schema-id":"\u003canonymous-schema-37>"},{"const":"gamma","description":"Rate of change of delta relative to a $1 change in the underlying asset price. Measures the convexity of the option's value.","x-parser-schema-id":"\u003canonymous-schema-38>"},{"const":"theta","description":"Rate of change of the option price relative to the passage of time (time decay). Typically negative, representing daily value erosion.","x-parser-schema-id":"\u003canonymous-schema-39>"},{"const":"vega","description":"Rate of change of the option price relative to a 1% change in implied volatility.","x-parser-schema-id":"\u003canonymous-schema-40>"},{"const":"rho","description":"Rate of change of the option price relative to a 1% change in the risk-free interest rate.","x-parser-schema-id":"\u003canonymous-schema-41>"},{"const":"impliedVolatility","description":"The market's implied volatility for the option contract, expressed as a decimal (e.g., 0.2752 = 27.52%).","x-parser-schema-id":"\u003canonymous-schema-42>"},{"const":"symbol","description":"Option symbol.","x-parser-schema-id":"\u003canonymous-schema-43>"},{"const":"timestamp","description":"Time when these Greeks were calculated, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-44>"}],"x-parser-schema-id":"UnifiedFieldEnum"},{"type":"array","description":"Array of field names","minItems":1,"items":{"type":"string","description":"Field names you can use in `SymbolFieldRequest.fields`.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available Greeks fields","x-parser-schema-id":"\u003canonymous-schema-14>"},{"const":"bidPrice","description":"Current best bid price - the highest price a buyer is willing to pay","x-parser-schema-id":"\u003canonymous-schema-15>"},{"const":"bidSize","description":"Number of shares available at the bid price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-16>"},{"const":"bidExchange","description":"Exchange code where the best bid originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-17>"},{"const":"askPrice","description":"Current best ask (offer) price - the lowest price a seller is willing to accept","x-parser-schema-id":"\u003canonymous-schema-18>"},{"const":"askSize","description":"Number of shares available at the ask price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-19>"},{"const":"askExchange","description":"Exchange code where the best ask originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-20>"},{"const":"quoteTimestamp","description":"Unix timestamp in milliseconds of the consolidated/top-of-book quote time","x-parser-schema-id":"\u003canonymous-schema-21>"},{"const":"midPrice","description":"Midpoint price calculated as (bidPrice + askPrice) / 2","x-parser-schema-id":"\u003canonymous-schema-22>"},{"const":"spread","description":"Bid-ask spread calculated as askPrice - bidPrice","x-parser-schema-id":"\u003canonymous-schema-23>"},{"const":"openInterest","description":"Total number of outstanding open contracts for the option. Only applicable when symbolType is 'option'.","x-parser-schema-id":"\u003canonymous-schema-24>"},{"const":"price","description":"Last trade execution price (same as lastPrice in most cases)","x-parser-schema-id":"\u003canonymous-schema-25>"},{"const":"size","description":"Number of shares in the last trade execution","x-parser-schema-id":"\u003canonymous-schema-26>"},{"const":"totalVolume","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-27>"},{"const":"openPrice","description":"Opening price for today.","x-parser-schema-id":"\u003canonymous-schema-28>"},{"const":"highPrice","description":"Highest price so far today.","x-parser-schema-id":"\u003canonymous-schema-29>"},{"const":"lowPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-30>"},{"const":"lastPrice","description":"Most recent trade price (last sale price)","x-parser-schema-id":"\u003canonymous-schema-31>"},{"const":"netChange","description":"Net price change from previous close (lastPrice - previousClosePrice)","x-parser-schema-id":"\u003canonymous-schema-32>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-33>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-34>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-35>"},{"const":"closePrice","description":"Official close price. This may be from today or the previous trading day, depending on market hours.","x-parser-schema-id":"\u003canonymous-schema-36>"},{"const":"delta","description":"Rate of change of the option price relative to a $1 change in the underlying asset price. Ranges from -1 to 1 for puts and 0 to 1 for calls.","x-parser-schema-id":"\u003canonymous-schema-37>"},{"const":"gamma","description":"Rate of change of delta relative to a $1 change in the underlying asset price. Measures the convexity of the option's value.","x-parser-schema-id":"\u003canonymous-schema-38>"},{"const":"theta","description":"Rate of change of the option price relative to the passage of time (time decay). Typically negative, representing daily value erosion.","x-parser-schema-id":"\u003canonymous-schema-39>"},{"const":"vega","description":"Rate of change of the option price relative to a 1% change in implied volatility.","x-parser-schema-id":"\u003canonymous-schema-40>"},{"const":"rho","description":"Rate of change of the option price relative to a 1% change in the risk-free interest rate.","x-parser-schema-id":"\u003canonymous-schema-41>"},{"const":"impliedVolatility","description":"The market's implied volatility for the option contract, expressed as a decimal (e.g., 0.2752 = 27.52%).","x-parser-schema-id":"\u003canonymous-schema-42>"},{"const":"symbol","description":"Option symbol.","x-parser-schema-id":"\u003canonymous-schema-43>"},{"const":"timestamp","description":"Time when these Greeks were calculated, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-44>"}],"x-parser-schema-id":"UnifiedFieldEnum"},"x-parser-schema-id":"\u003canonymous-schema-45>"}],"description":"Combined field list. Use this if you want to send one field list instead of separate quote, trade, or Greeks lists. Use `[\"*\"]` to ask for all fields.","example":["bidPrice","lastPrice","delta"],"x-parser-schema-id":"\u003canonymous-schema-13>"},"quoteFields":{"oneOf":[{"type":"string","description":"Available fields for quote subscriptions. Quote data represents the current best bid and ask prices from the order book. You can also subscribe to fundamental and reference fields (e.g. sharesOutstanding, PE, dividend) sourced from the symbol snapshot; these are delivered as strings (except hasOptions, which is a boolean) and their field names are case-sensitive.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available quote fields","x-parser-schema-id":"\u003canonymous-schema-47>"},{"const":"bidPrice","description":"Current best bid price - the highest price a buyer is willing to pay","x-parser-schema-id":"\u003canonymous-schema-48>"},{"const":"bidSize","description":"Number of shares available at the bid price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-49>"},{"const":"bidExchange","description":"Exchange code where the best bid originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-50>"},{"const":"askPrice","description":"Current best ask (offer) price - the lowest price a seller is willing to accept","x-parser-schema-id":"\u003canonymous-schema-51>"},{"const":"askSize","description":"Number of shares available at the ask price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-52>"},{"const":"askExchange","description":"Exchange code where the best ask originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-53>"},{"const":"quoteTimestamp","description":"Unix timestamp in milliseconds of the consolidated/top-of-book quote time","x-parser-schema-id":"\u003canonymous-schema-54>"},{"const":"midPrice","description":"Midpoint price calculated as (bidPrice + askPrice) / 2","x-parser-schema-id":"\u003canonymous-schema-55>"},{"const":"spread","description":"Bid-ask spread calculated as askPrice - bidPrice","x-parser-schema-id":"\u003canonymous-schema-56>"},{"const":"openInterest","description":"Total number of outstanding open contracts for the option. Only applicable when symbolType is 'option'.","x-parser-schema-id":"\u003canonymous-schema-57>"},{"const":"type","description":"Data source type for the snapshot record. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-58>"},{"const":"sicCode","description":"Standard Industrial Classification (SIC) code identifying the company's industry. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-59>"},{"const":"hasOptions","description":"Whether the symbol has listed options available. Fundamental/reference field delivered as a boolean.","x-parser-schema-id":"\u003canonymous-schema-60>"},{"const":"sharesOutstanding","description":"Total shares outstanding. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-61>"},{"const":"assets","description":"Total assets. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-62>"},{"const":"liabilities","description":"Total liabilities. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-63>"},{"const":"longTermDebt","description":"Long-term debt. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-64>"},{"const":"EPSDiluted","description":"Diluted earnings per share. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-65>"},{"const":"EPSLatest12Month","description":"Latest 12-month (trailing) earnings per share. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-66>"},{"const":"EPS3YearGrowthRate","description":"3-year EPS growth rate. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-67>"},{"const":"EPS5YearGrowthRate","description":"5-year EPS growth rate. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-68>"},{"const":"avgVolume4Weeks","description":"Average daily trading volume over the trailing 4 weeks. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-69>"},{"const":"PE","description":"Price-to-earnings (P/E) ratio. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-70>"},{"const":"high52WeekPrice","description":"52-week high price. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-71>"},{"const":"high52WeekDate","description":"Date of the 52-week high. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-72>"},{"const":"low52WeekPrice","description":"52-week low price. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-73>"},{"const":"low52WeekDate","description":"Date of the 52-week low. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-74>"},{"const":"dividend","description":"Latest dividend amount. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-75>"},{"const":"shortSaleRestricted","description":"Whether the symbol is under a short-sale restriction (SSR). Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-76>"}],"x-parser-schema-id":"QuoteFieldEnum"},{"type":"array","description":"Array of field names","minItems":1,"items":{"type":"string","description":"Available fields for quote subscriptions. Quote data represents the current best bid and ask prices from the order book. You can also subscribe to fundamental and reference fields (e.g. sharesOutstanding, PE, dividend) sourced from the symbol snapshot; these are delivered as strings (except hasOptions, which is a boolean) and their field names are case-sensitive.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available quote fields","x-parser-schema-id":"\u003canonymous-schema-47>"},{"const":"bidPrice","description":"Current best bid price - the highest price a buyer is willing to pay","x-parser-schema-id":"\u003canonymous-schema-48>"},{"const":"bidSize","description":"Number of shares available at the bid price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-49>"},{"const":"bidExchange","description":"Exchange code where the best bid originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-50>"},{"const":"askPrice","description":"Current best ask (offer) price - the lowest price a seller is willing to accept","x-parser-schema-id":"\u003canonymous-schema-51>"},{"const":"askSize","description":"Number of shares available at the ask price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-52>"},{"const":"askExchange","description":"Exchange code where the best ask originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-53>"},{"const":"quoteTimestamp","description":"Unix timestamp in milliseconds of the consolidated/top-of-book quote time","x-parser-schema-id":"\u003canonymous-schema-54>"},{"const":"midPrice","description":"Midpoint price calculated as (bidPrice + askPrice) / 2","x-parser-schema-id":"\u003canonymous-schema-55>"},{"const":"spread","description":"Bid-ask spread calculated as askPrice - bidPrice","x-parser-schema-id":"\u003canonymous-schema-56>"},{"const":"openInterest","description":"Total number of outstanding open contracts for the option. Only applicable when symbolType is 'option'.","x-parser-schema-id":"\u003canonymous-schema-57>"},{"const":"type","description":"Data source type for the snapshot record. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-58>"},{"const":"sicCode","description":"Standard Industrial Classification (SIC) code identifying the company's industry. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-59>"},{"const":"hasOptions","description":"Whether the symbol has listed options available. Fundamental/reference field delivered as a boolean.","x-parser-schema-id":"\u003canonymous-schema-60>"},{"const":"sharesOutstanding","description":"Total shares outstanding. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-61>"},{"const":"assets","description":"Total assets. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-62>"},{"const":"liabilities","description":"Total liabilities. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-63>"},{"const":"longTermDebt","description":"Long-term debt. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-64>"},{"const":"EPSDiluted","description":"Diluted earnings per share. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-65>"},{"const":"EPSLatest12Month","description":"Latest 12-month (trailing) earnings per share. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-66>"},{"const":"EPS3YearGrowthRate","description":"3-year EPS growth rate. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-67>"},{"const":"EPS5YearGrowthRate","description":"5-year EPS growth rate. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-68>"},{"const":"avgVolume4Weeks","description":"Average daily trading volume over the trailing 4 weeks. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-69>"},{"const":"PE","description":"Price-to-earnings (P/E) ratio. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-70>"},{"const":"high52WeekPrice","description":"52-week high price. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-71>"},{"const":"high52WeekDate","description":"Date of the 52-week high. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-72>"},{"const":"low52WeekPrice","description":"52-week low price. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-73>"},{"const":"low52WeekDate","description":"Date of the 52-week low. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-74>"},{"const":"dividend","description":"Latest dividend amount. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-75>"},{"const":"shortSaleRestricted","description":"Whether the symbol is under a short-sale restriction (SSR). Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-76>"}],"x-parser-schema-id":"QuoteFieldEnum"},"x-parser-schema-id":"\u003canonymous-schema-77>"}],"description":"Quote fields you want back. If you leave both `quoteFields` and `tradeFields` empty, the server sends all quote and trade fields.","example":["bidPrice","askPrice","midPrice","spread"],"x-parser-schema-id":"\u003canonymous-schema-46>"},"tradeFields":{"oneOf":[{"type":"string","description":"Available fields for trade subscriptions. Trade data includes last sale information, volume, and OHLC (Open-High-Low-Close) prices.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available trade fields","x-parser-schema-id":"\u003canonymous-schema-79>"},{"const":"price","description":"Last trade execution price (same as lastPrice in most cases)","x-parser-schema-id":"\u003canonymous-schema-80>"},{"const":"size","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-81>"},{"const":"totalVolume","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-82>"},{"const":"openPrice","description":"Highest price so far today.","x-parser-schema-id":"\u003canonymous-schema-83>"},{"const":"highPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-84>"},{"const":"lowPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-85>"},{"const":"lastPrice","description":"Most recent trade price (last sale price)","x-parser-schema-id":"\u003canonymous-schema-86>"},{"const":"netChange","description":"Net price change from previous close (lastPrice - previousClosePrice)","x-parser-schema-id":"\u003canonymous-schema-87>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-88>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-89>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-90>"},{"const":"closePrice","description":"Official close price. This may be from today or the previous trading day, depending on market hours.","x-parser-schema-id":"\u003canonymous-schema-91>"}],"x-parser-schema-id":"TradeFieldEnum"},{"type":"array","description":"Array of field names","minItems":1,"items":{"type":"string","description":"Available fields for trade subscriptions. Trade data includes last sale information, volume, and OHLC (Open-High-Low-Close) prices.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available trade fields","x-parser-schema-id":"\u003canonymous-schema-79>"},{"const":"price","description":"Last trade execution price (same as lastPrice in most cases)","x-parser-schema-id":"\u003canonymous-schema-80>"},{"const":"size","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-81>"},{"const":"totalVolume","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-82>"},{"const":"openPrice","description":"Highest price so far today.","x-parser-schema-id":"\u003canonymous-schema-83>"},{"const":"highPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-84>"},{"const":"lowPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-85>"},{"const":"lastPrice","description":"Most recent trade price (last sale price)","x-parser-schema-id":"\u003canonymous-schema-86>"},{"const":"netChange","description":"Net price change from previous close (lastPrice - previousClosePrice)","x-parser-schema-id":"\u003canonymous-schema-87>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-88>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-89>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-90>"},{"const":"closePrice","description":"Official close price. This may be from today or the previous trading day, depending on market hours.","x-parser-schema-id":"\u003canonymous-schema-91>"}],"x-parser-schema-id":"TradeFieldEnum"},"x-parser-schema-id":"\u003canonymous-schema-92>"}],"description":"Trade fields you want back. If you leave both `quoteFields` and `tradeFields` empty, the server sends all quote and trade fields.","example":["lastPrice","size","totalVolume","netChange"],"x-parser-schema-id":"\u003canonymous-schema-78>"},"level2":{"type":"boolean","default":false,"description":"Set to `true` to get Level 2 order book updates from multiple exchanges.","example":true,"x-parser-schema-id":"\u003canonymous-schema-93>"},"timeAndSales":{"type":"boolean","default":false,"description":"Set to `true` to get Time \u0026 Sales updates.","example":true,"x-parser-schema-id":"\u003canonymous-schema-94>"},"timeAndSalesFields":{"oneOf":[{"type":"string","description":"Available fields for Time \u0026 Sales subscriptions. Time \u0026 Sales shows individual trade executions in real-time.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available Time \u0026 Sales fields","x-parser-schema-id":"\u003canonymous-schema-96>"},{"const":"symbol","description":"The ticker symbol for the trade","x-parser-schema-id":"\u003canonymous-schema-97>"},{"const":"price","description":"Trade execution price","x-parser-schema-id":"\u003canonymous-schema-98>"},{"const":"size","description":"Number of shares in the trade","x-parser-schema-id":"\u003canonymous-schema-99>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-100>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-101>"},{"const":"tradeExchange","description":"Exchange code where the trade was executed (e.g., 'Q' for NASDAQ, 'N' for NYSE, 'D' for FINRA ADF)","x-parser-schema-id":"\u003canonymous-schema-102>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-103>"}],"x-parser-schema-id":"TimeAndSalesFieldEnum"},{"type":"array","description":"Array of field names","minItems":1,"items":{"type":"string","description":"Available fields for Time \u0026 Sales subscriptions. Time \u0026 Sales shows individual trade executions in real-time.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available Time \u0026 Sales fields","x-parser-schema-id":"\u003canonymous-schema-96>"},{"const":"symbol","description":"The ticker symbol for the trade","x-parser-schema-id":"\u003canonymous-schema-97>"},{"const":"price","description":"Trade execution price","x-parser-schema-id":"\u003canonymous-schema-98>"},{"const":"size","description":"Number of shares in the trade","x-parser-schema-id":"\u003canonymous-schema-99>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-100>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-101>"},{"const":"tradeExchange","description":"Exchange code where the trade was executed (e.g., 'Q' for NASDAQ, 'N' for NYSE, 'D' for FINRA ADF)","x-parser-schema-id":"\u003canonymous-schema-102>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-103>"}],"x-parser-schema-id":"TimeAndSalesFieldEnum"},"x-parser-schema-id":"\u003canonymous-schema-104>"}],"description":"Time \u0026 Sales fields to subscribe to. If omitted when timeAndSales is true, all Time \u0026 Sales fields are included.","example":["price","size","tick","tradeTimestamp"],"x-parser-schema-id":"\u003canonymous-schema-95>"},"greeksFields":{"oneOf":[{"type":"string","description":"Available fields for Greeks subscriptions. Greeks are only available for option contracts (symbolType: 'option').","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available Greeks fields","x-parser-schema-id":"\u003canonymous-schema-106>"},{"const":"delta","description":"Rate of change of the option price relative to a $1 change in the underlying asset price. Ranges from -1 to 1 for puts and 0 to 1 for calls.","x-parser-schema-id":"\u003canonymous-schema-107>"},{"const":"gamma","description":"Rate of change of delta relative to a $1 change in the underlying asset price. Measures the convexity of the option's value.","x-parser-schema-id":"\u003canonymous-schema-108>"},{"const":"theta","description":"Rate of change of the option price relative to the passage of time (time decay). Typically negative, representing daily value erosion.","x-parser-schema-id":"\u003canonymous-schema-109>"},{"const":"vega","description":"Rate of change of the option price relative to a 1% change in implied volatility.","x-parser-schema-id":"\u003canonymous-schema-110>"},{"const":"rho","description":"Rate of change of the option price relative to a 1% change in the risk-free interest rate.","x-parser-schema-id":"\u003canonymous-schema-111>"},{"const":"impliedVolatility","description":"The market's implied volatility for the option contract, expressed as a decimal (e.g., 0.2752 = 27.52%).","x-parser-schema-id":"\u003canonymous-schema-112>"},{"const":"symbol","description":"Option symbol.","x-parser-schema-id":"\u003canonymous-schema-113>"},{"const":"timestamp","description":"Time when these Greeks were calculated, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-114>"}],"x-parser-schema-id":"GreeksFieldEnum"},{"type":"array","description":"Array of field names","minItems":1,"items":{"type":"string","description":"Available fields for Greeks subscriptions. Greeks are only available for option contracts (symbolType: 'option').","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available Greeks fields","x-parser-schema-id":"\u003canonymous-schema-106>"},{"const":"delta","description":"Rate of change of the option price relative to a $1 change in the underlying asset price. Ranges from -1 to 1 for puts and 0 to 1 for calls.","x-parser-schema-id":"\u003canonymous-schema-107>"},{"const":"gamma","description":"Rate of change of delta relative to a $1 change in the underlying asset price. Measures the convexity of the option's value.","x-parser-schema-id":"\u003canonymous-schema-108>"},{"const":"theta","description":"Rate of change of the option price relative to the passage of time (time decay). Typically negative, representing daily value erosion.","x-parser-schema-id":"\u003canonymous-schema-109>"},{"const":"vega","description":"Rate of change of the option price relative to a 1% change in implied volatility.","x-parser-schema-id":"\u003canonymous-schema-110>"},{"const":"rho","description":"Rate of change of the option price relative to a 1% change in the risk-free interest rate.","x-parser-schema-id":"\u003canonymous-schema-111>"},{"const":"impliedVolatility","description":"The market's implied volatility for the option contract, expressed as a decimal (e.g., 0.2752 = 27.52%).","x-parser-schema-id":"\u003canonymous-schema-112>"},{"const":"symbol","description":"Option symbol.","x-parser-schema-id":"\u003canonymous-schema-113>"},{"const":"timestamp","description":"Time when these Greeks were calculated, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-114>"}],"x-parser-schema-id":"GreeksFieldEnum"},"x-parser-schema-id":"\u003canonymous-schema-115>"}],"description":"Greeks fields you want back. Use this only for options.","example":["delta","gamma","impliedVolatility"],"x-parser-schema-id":"\u003canonymous-schema-105>"}},"x-parser-schema-id":"SymbolFieldRequest"},"example":[{"symbol":"AAPL","quoteFields":["bidPrice","askPrice"],"tradeFields":["lastPrice","totalVolume"]}],"x-parser-schema-id":"\u003canonymous-schema-10>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want the server to send it back in related replies.","example":"sub-1","x-parser-schema-id":"\u003canonymous-schema-116>"}},"description":"Use this message to start live updates for one or more symbols.","x-parser-schema-id":"SubscribeRequestPayload"},"title":"Subscribe Request","description":"Request to subscribe to market data for one or more symbols","example":"{\n \"type\": \"subscribe\",\n \"id\": \"sub-1\",\n \"payload\": [\n {\n \"symbol\": \"AAPL\",\n \"tradeFields\": [\n \"price\",\n \"size\"\n ]\n }\n ]\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"subscribeRequest"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveQuoteUpdate","title":"Receive Quote Update","description":"Receive real-time quote updates","type":"send","messages":[{"id":"quoteUpdate","contentType":"application/json","payload":[{"name":"Quote Update","description":"Real-time quote update for a subscribed symbol","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for live updates.","required":false},{"name":"payload","type":"object","description":"Data inside an update event. This is a live change after the initial snapshot.","required":false,"properties":[{"name":"action","type":"string","description":"Indicates this is a real-time update","required":false},{"name":"type","type":"string","description":"Type of market data in this message: quote, trade, Level 2, Time \u0026 Sales, Greeks, or market status.","enumValues":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"examples":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"required":false},{"name":"symbol","type":"string","description":"The ticker symbol this update is for","required":false},{"name":"data","type":"object","description":"Changed data for this symbol.","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when this event was sent","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","description":"Event wrapper for update responses","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for live updates.","x-parser-schema-id":"\u003canonymous-schema-139>"},"payload":{"type":"object","description":"Data inside an update event. This is a live change after the initial snapshot.","properties":{"action":{"type":"string","const":"update","description":"Indicates this is a real-time update","x-parser-schema-id":"\u003canonymous-schema-140>"},"type":{"type":"string","enum":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"description":"Type of market data in this message: quote, trade, Level 2, Time \u0026 Sales, Greeks, or market status.","examples":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"x-parser-schema-id":"DataType"},"symbol":{"type":"string","description":"The ticker symbol this update is for","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-141>"},"data":{"type":"object","description":"Changed data for this symbol.","additionalProperties":true,"x-parser-schema-id":"\u003canonymous-schema-142>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when this event was sent","example":1701450001123,"x-parser-schema-id":"\u003canonymous-schema-143>"}},"x-parser-schema-id":"UpdateEventPayload"}},"x-parser-schema-id":"UpdateResponsePayload"},"title":"Quote Update","description":"Real-time quote update for a subscribed symbol","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"update\",\n \"type\": \"quote\",\n \"symbol\": \"AAPL\",\n \"data\": {\n \"bidPrice\": 190.04,\n \"askPrice\": 190.06,\n \"midPrice\": 190.05,\n \"spread\": 0.02,\n \"quoteTimestamp\": 1701450001000\n },\n \"timestamp\": 1701450001123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"quoteUpdate"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveTradeUpdate","title":"Receive Trade Update","description":"Receive real-time trade/price updates","type":"send","messages":[{"id":"tradeUpdate","contentType":"application/json","payload":[{"name":"Trade Update","description":"Real-time trade/price update for a subscribed symbol","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for live updates.","required":false},{"name":"payload","type":"object","description":"Data inside an update event. This is a live change after the initial snapshot.","required":false,"properties":[{"name":"action","type":"string","description":"Indicates this is a real-time update","required":false},{"name":"type","type":"string","description":"Type of market data in this message: quote, trade, Level 2, Time \u0026 Sales, Greeks, or market status.","enumValues":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"examples":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"required":false},{"name":"symbol","type":"string","description":"The ticker symbol this update is for","required":false},{"name":"data","type":"object","description":"Changed data for this symbol.","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when this event was sent","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","description":"Event wrapper for update responses","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for live updates.","x-parser-schema-id":"\u003canonymous-schema-139>"},"payload":{"type":"object","description":"Data inside an update event. This is a live change after the initial snapshot.","properties":{"action":{"type":"string","const":"update","description":"Indicates this is a real-time update","x-parser-schema-id":"\u003canonymous-schema-140>"},"type":{"type":"string","enum":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"description":"Type of market data in this message: quote, trade, Level 2, Time \u0026 Sales, Greeks, or market status.","examples":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"x-parser-schema-id":"DataType"},"symbol":{"type":"string","description":"The ticker symbol this update is for","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-141>"},"data":{"type":"object","description":"Changed data for this symbol.","additionalProperties":true,"x-parser-schema-id":"\u003canonymous-schema-142>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when this event was sent","example":1701450001123,"x-parser-schema-id":"\u003canonymous-schema-143>"}},"x-parser-schema-id":"UpdateEventPayload"}},"x-parser-schema-id":"UpdateResponsePayload"},"title":"Trade Update","description":"Real-time trade/price update for a subscribed symbol","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"update\",\n \"type\": \"trade\",\n \"symbol\": \"AAPL\",\n \"data\": {\n \"price\": 190.05,\n \"size\": 100\n },\n \"timestamp\": 1701450001123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"tradeUpdate"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveLevel2Update","title":"Receive Level 2 / Order Book Update","description":"Receive real-time Level 2 order book updates","type":"send","messages":[{"id":"level2Update","contentType":"application/json","payload":[{"name":"Level 2 / Order Book Update","description":"Real-time Level 2 order book update showing market depth across exchanges","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for live updates.","required":false},{"name":"payload","type":"object","description":"Data inside a Level 2 update.","required":false,"properties":[{"name":"action","type":"string","description":"Indicates this is a real-time Level 2 update","required":false},{"name":"type","type":"string","description":"Data type indicator for Level 2 order book","required":false},{"name":"symbol","type":"string","description":"The ticker symbol this Level 2 data is for","required":false},{"name":"data","type":"object","description":"Level 2 data for this symbol.","required":false,"properties":[{"name":"symbol","type":"string","description":"The ticker symbol","required":false},{"name":"orderBook","type":"array","description":"Compact order-book rows in askSize:price:bidSize format","required":false,"properties":[{"name":"item","type":"string","required":false}]},{"name":"quotes","type":"array","description":"Compact venue quote rows in exchange:askPrice:askSize:bidPrice:bidSize format","required":false,"properties":[{"name":"item","type":"string","required":false}]},{"name":"timestamp","type":"string","description":"Feed timestamp","required":false},{"name":"bidPrice","type":"number","description":"Top-level fallback bid price when present","required":false},{"name":"askPrice","type":"number","description":"Top-level fallback ask price when present","required":false},{"name":"bidSize","type":"number","description":"Top-level fallback bid size when present","required":false},{"name":"askSize","type":"number","description":"Top-level fallback ask size when present","required":false}]},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when this event was sent","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","description":"Event wrapper for Level 2 order book updates","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for live updates.","x-parser-schema-id":"\u003canonymous-schema-144>"},"payload":{"type":"object","description":"Data inside a Level 2 update.","properties":{"action":{"type":"string","const":"update","description":"Indicates this is a real-time Level 2 update","x-parser-schema-id":"\u003canonymous-schema-145>"},"type":{"type":"string","const":"level2nOB","description":"Data type indicator for Level 2 order book","x-parser-schema-id":"\u003canonymous-schema-146>"},"symbol":{"type":"string","description":"The ticker symbol this Level 2 data is for","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-147>"},"data":{"type":"object","description":"Level 2 data for this symbol.","additionalProperties":true,"properties":{"symbol":{"type":"string","description":"The ticker symbol","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-149>"},"orderBook":{"type":"array","description":"Compact order-book rows in askSize:price:bidSize format","items":{"type":"string","example":"0:250.00:100","x-parser-schema-id":"\u003canonymous-schema-151>"},"x-parser-schema-id":"\u003canonymous-schema-150>"},"quotes":{"type":"array","description":"Compact venue quote rows in exchange:askPrice:askSize:bidPrice:bidSize format","items":{"type":"string","example":"EDGX:272.55:100:272.00:500","x-parser-schema-id":"\u003canonymous-schema-153>"},"x-parser-schema-id":"\u003canonymous-schema-152>"},"timestamp":{"type":"string","description":"Feed timestamp","example":"2025-12-29T05:18:33.600000-05:00","x-parser-schema-id":"\u003canonymous-schema-154>"},"bidPrice":{"type":"number","format":"double","description":"Top-level fallback bid price when present","x-parser-schema-id":"\u003canonymous-schema-155>"},"askPrice":{"type":"number","format":"double","description":"Top-level fallback ask price when present","x-parser-schema-id":"\u003canonymous-schema-156>"},"bidSize":{"type":"number","format":"double","description":"Top-level fallback bid size when present","x-parser-schema-id":"\u003canonymous-schema-157>"},"askSize":{"type":"number","format":"double","description":"Top-level fallback ask size when present","x-parser-schema-id":"\u003canonymous-schema-158>"}},"x-parser-schema-id":"\u003canonymous-schema-148>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when this event was sent","example":1701450001123,"x-parser-schema-id":"\u003canonymous-schema-159>"}},"x-parser-schema-id":"Level2EventPayload"}},"x-parser-schema-id":"Level2UpdatePayload"},"title":"Level 2 / Order Book Update","description":"Real-time Level 2 order book update showing market depth across exchanges","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"update\",\n \"type\": \"level2nOB\",\n \"symbol\": \"AAPL\",\n \"data\": {\n \"orderBook\": [\n \"0:150.24:200\",\n \"500:150.26:0\"\n ],\n \"quotes\": [\n \"NSDQ:150.26:500:150.25:400\",\n \"NYSE:150.27:200:150.24:200\"\n ],\n \"symbol\": \"AAPL\",\n \"timestamp\": \"2025-12-29T05:18:33.600000-05:00\"\n },\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"level2Update"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveTimeAndSalesUpdate","title":"Receive Time \u0026 Sales Update","description":"Receive real-time Time \u0026 Sales trade execution feed","type":"send","messages":[{"id":"timeAndSalesUpdate","contentType":"application/json","payload":[{"name":"Time \u0026 Sales Update","description":"Real-time trade execution from the time and sales feed","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for live updates.","required":false},{"name":"payload","type":"object","description":"Data inside a Time \u0026 Sales event.","required":false,"properties":[{"name":"action","type":"string","description":"Indicates this is a real-time Time \u0026 Sales update","required":false},{"name":"type","type":"string","description":"Data type indicator for Time \u0026 Sales","required":false},{"name":"symbol","type":"string","description":"The ticker symbol this trade execution is for","required":false},{"name":"data","type":"object","description":"Time \u0026 Sales data representing a single trade execution","required":false,"properties":[{"name":"symbol","type":"string","description":"The ticker symbol","required":false},{"name":"price","type":"string","description":"Trade execution price","required":false},{"name":"size","type":"string","description":"Number of shares in the trade","required":false},{"name":"tick","type":"string","description":"Tick direction indicator","enumValues":["up","down","unchanged"],"required":false},{"name":"tradeSeq","type":"string","description":"Trade sequence number - monotonically increasing identifier","required":false},{"name":"tradeExchange","type":"string","description":"Exchange code where the trade was executed","enumValues":["Q","N","P","Z","K","J","M","A","B","C","D","I","X","Y","W"],"required":false},{"name":"tradeTimestamp","type":"string","description":"Time when the trade happened, in ISO 8601 format.","required":false}]},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when this event was sent","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","description":"Event wrapper for Time \u0026 Sales updates","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for live updates.","x-parser-schema-id":"\u003canonymous-schema-160>"},"payload":{"type":"object","description":"Data inside a Time \u0026 Sales event.","properties":{"action":{"type":"string","const":"update","description":"Indicates this is a real-time Time \u0026 Sales update","x-parser-schema-id":"\u003canonymous-schema-161>"},"type":{"type":"string","const":"timeAndSales","description":"Data type indicator for Time \u0026 Sales","x-parser-schema-id":"\u003canonymous-schema-162>"},"symbol":{"type":"string","description":"The ticker symbol this trade execution is for","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-163>"},"data":{"type":"object","description":"Time \u0026 Sales data representing a single trade execution","properties":{"symbol":{"type":"string","description":"The ticker symbol","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-164>"},"price":{"type":"string","description":"Trade execution price","example":"189.95","x-parser-schema-id":"\u003canonymous-schema-165>"},"size":{"type":"string","description":"Number of shares in the trade","example":"100","x-parser-schema-id":"\u003canonymous-schema-166>"},"tick":{"type":"string","description":"Tick direction indicator","example":"up","enum":["up","down","unchanged"],"x-parser-schema-id":"\u003canonymous-schema-167>"},"tradeSeq":{"type":"string","description":"Trade sequence number - monotonically increasing identifier","example":"123456789","x-parser-schema-id":"\u003canonymous-schema-168>"},"tradeExchange":{"type":"string","description":"Exchange code where the trade was executed","example":"Q","enum":["Q","N","P","Z","K","J","M","A","B","C","D","I","X","Y","W"],"x-parser-schema-id":"\u003canonymous-schema-169>"},"tradeTimestamp":{"type":"string","format":"date-time","description":"Time when the trade happened, in ISO 8601 format.","example":"2026-04-20T07:11:01.717000-04:00","x-parser-schema-id":"\u003canonymous-schema-170>"}},"x-parser-schema-id":"TimeAndSalesData"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when this event was sent","example":1701450001123,"x-parser-schema-id":"\u003canonymous-schema-171>"}},"x-parser-schema-id":"TimeAndSalesEventPayload"}},"x-parser-schema-id":"TimeAndSalesUpdatePayload"},"title":"Time \u0026 Sales Update","description":"Real-time trade execution from the time and sales feed","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"update\",\n \"type\": \"timeAndSales\",\n \"symbol\": \"AAPL\",\n \"data\": {\n \"symbol\": \"AAPL\",\n \"price\": \"189.95\",\n \"size\": \"100\",\n \"tick\": \"up\",\n \"tradeSeq\": \"123456789\",\n \"tradeExchange\": \"Q\",\n \"tradeTimestamp\": \"2026-04-20T07:11:01.717000-04:00\"\n },\n \"timestamp\": 1701450001123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"timeAndSalesUpdate"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveGreeksUpdate","title":"Receive Greeks Update","description":"Receive Greeks snapshot and real-time updates for an option contract","type":"send","messages":[{"id":"greeksUpdate","contentType":"application/json","payload":[{"name":"Greeks Update","description":"Greeks snapshot on subscribe and real-time updates for an option contract","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for live updates.","required":false},{"name":"payload","type":"object","description":"Data inside a Greeks event.","required":false,"properties":[{"name":"action","type":"string","description":"`snapshot` for the first Greeks values, `update` for later changes.","enumValues":["snapshot","update"],"required":false},{"name":"type","type":"string","description":"Data type indicator for Greeks data","required":false},{"name":"symbol","type":"string","description":"Option symbol","required":false},{"name":"data","type":"object","description":"Option Greeks data. Only the fields requested via greeksFields (or all fields if [\"*\"] was used) are included in each update.","required":false,"properties":[{"name":"symbol","type":"string","description":"Option symbol.","required":false},{"name":"delta","type":"number","description":"Rate of change of the option price relative to a $1 move in the underlying. Ranges from 0 to 1 for calls and -1 to 0 for puts.","required":false},{"name":"gamma","type":"number","description":"Rate of change of delta relative to a $1 move in the underlying. Measures curvature of option value.","required":false},{"name":"theta","type":"number","description":"Daily time decay of the option price. Typically negative, representing value lost each day as expiration approaches.","required":false},{"name":"vega","type":"number","description":"Rate of change of the option price relative to a 1% change in implied volatility.","required":false},{"name":"rho","type":"number","description":"Rate of change of the option price relative to a 1% change in the risk-free interest rate.","required":false},{"name":"impliedVolatility","type":"number","description":"Implied volatility of the option contract, expressed as a decimal (e.g., 0.2752 = 27.52%).","required":false},{"name":"timestamp","type":"string","description":"Time when these Greeks were calculated, in ISO 8601 format.","required":false}]},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when this event was sent","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","description":"Event wrapper for Greeks updates","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for live updates.","x-parser-schema-id":"\u003canonymous-schema-172>"},"payload":{"type":"object","description":"Data inside a Greeks event.","properties":{"action":{"type":"string","enum":["snapshot","update"],"description":"`snapshot` for the first Greeks values, `update` for later changes.","x-parser-schema-id":"\u003canonymous-schema-173>"},"type":{"type":"string","const":"greeks","description":"Data type indicator for Greeks data","x-parser-schema-id":"\u003canonymous-schema-174>"},"symbol":{"type":"string","description":"Option symbol","example":"XSP281215C00920000","x-parser-schema-id":"\u003canonymous-schema-175>"},"data":{"type":"object","description":"Option Greeks data. Only the fields requested via greeksFields (or all fields if [\"*\"] was used) are included in each update.","properties":{"symbol":{"type":"string","description":"Option symbol.","example":"XSP281215C00920000","x-parser-schema-id":"\u003canonymous-schema-176>"},"delta":{"type":"number","format":"double","description":"Rate of change of the option price relative to a $1 move in the underlying. Ranges from 0 to 1 for calls and -1 to 0 for puts.","example":0.522,"x-parser-schema-id":"\u003canonymous-schema-177>"},"gamma":{"type":"number","format":"double","description":"Rate of change of delta relative to a $1 move in the underlying. Measures curvature of option value.","example":0.0386,"x-parser-schema-id":"\u003canonymous-schema-178>"},"theta":{"type":"number","format":"double","description":"Daily time decay of the option price. Typically negative, representing value lost each day as expiration approaches.","example":-0.0246,"x-parser-schema-id":"\u003canonymous-schema-179>"},"vega":{"type":"number","format":"double","description":"Rate of change of the option price relative to a 1% change in implied volatility.","example":0.1606,"x-parser-schema-id":"\u003canonymous-schema-180>"},"rho":{"type":"number","format":"double","description":"Rate of change of the option price relative to a 1% change in the risk-free interest rate.","example":0.004,"x-parser-schema-id":"\u003canonymous-schema-181>"},"impliedVolatility":{"type":"number","format":"double","description":"Implied volatility of the option contract, expressed as a decimal (e.g., 0.2752 = 27.52%).","example":0.2752,"x-parser-schema-id":"\u003canonymous-schema-182>"},"timestamp":{"type":"string","format":"date-time","description":"Time when these Greeks were calculated, in ISO 8601 format.","example":"2026-02-13T15:07:16.65+05:30","x-parser-schema-id":"\u003canonymous-schema-183>"}},"x-parser-schema-id":"GreeksData"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when this event was sent","example":1770975436651,"x-parser-schema-id":"\u003canonymous-schema-184>"}},"x-parser-schema-id":"GreeksEventPayload"}},"x-parser-schema-id":"GreeksUpdatePayload"},"title":"Greeks Update","description":"Greeks snapshot on subscribe and real-time updates for an option contract","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"update\",\n \"type\": \"greeks\",\n \"symbol\": \"XSP281215C00920000\",\n \"data\": {\n \"delta\": 0.531,\n \"gamma\": 0.0391,\n \"impliedVolatility\": 0.2788,\n \"symbol\": \"XSP281215C00920000\",\n \"theta\": -0.0249,\n \"rho\": 0.004,\n \"timestamp\": \"2026-02-13T15:08:22.10+05:30\",\n \"vega\": 0.1618\n },\n \"timestamp\": 1770975502651\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"greeksUpdate"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveError","title":"Receive Error","description":"Receive error messages from the server","type":"send","messages":[{"id":"errorResponse","contentType":"application/json","payload":[{"name":"Error Response","description":"Error message from the server","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":false},{"name":"payload","type":"object","required":false,"properties":[{"name":"action","type":"string","description":"Indicates this is an error response","required":false},{"name":"symbol","type":"string","description":"The symbol related to the error, if applicable","required":false},{"name":"error","type":"string","description":"Human-readable error message describing what went wrong","required":false},{"name":"id","type":"string","description":"Request ID from your earlier message, if you sent one.","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when the error occurred","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-196>"},"payload":{"type":"object","properties":{"action":{"type":"string","const":"error","description":"Indicates this is an error response","x-parser-schema-id":"\u003canonymous-schema-197>"},"symbol":{"type":"string","description":"The symbol related to the error, if applicable","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-198>"},"error":{"type":"string","description":"Human-readable error message describing what went wrong","example":"invalid quote fields: invalidField","x-parser-schema-id":"\u003canonymous-schema-199>"},"id":{"type":"string","description":"Request ID from your earlier message, if you sent one.","x-parser-schema-id":"\u003canonymous-schema-200>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when the error occurred","example":1701450004000,"x-parser-schema-id":"\u003canonymous-schema-201>"}},"x-parser-schema-id":"ErrorEventPayload"}},"x-parser-schema-id":"ErrorResponsePayload"},"title":"Error Response","description":"Error message from the server","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"error\",\n \"symbol\": \"AAPL\",\n \"error\": \"invalid quote fields: invalidField1, invalidField2\",\n \"id\": \"sub-1\",\n \"timestamp\": 1701450004000\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"errorResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"unsubscribe","title":"Unsubscribe from Market Data","description":"Unsubscribe from market data for one or more symbols","type":"receive","messages":[{"id":"unsubscribeRequest","contentType":"application/json","payload":[{"name":"Unsubscribe Request","description":"Request to unsubscribe from market data","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `unsubscribe` to stop live updates.","enumValues":["unsubscribe"],"required":true},{"name":"payload","type":"array","required":true,"properties":[{"name":"symbol","type":"string","description":"The ticker symbol to unsubscribe from","required":true},{"name":"quote","type":"boolean","description":"Mode 2: If true, unsubscribe from all quote data for this symbol. Takes precedence over quoteFields.","required":false},{"name":"trade","type":"boolean","description":"Mode 2: If true, unsubscribe from all trade data for this symbol. Takes precedence over tradeFields.","required":false},{"name":"level2","type":"boolean","description":"Mode 2: If true, unsubscribe from Level 2 / Order Book data for this symbol.","required":false},{"name":"timeAndSales","type":"boolean","description":"Mode 2: If true, unsubscribe from Time \u0026 Sales data for this symbol.","required":false},{"name":"greeks","type":"boolean","description":"Mode 2: If true, unsubscribe from all Greeks data for this symbol. Only applicable for option contracts.","required":false},{"name":"quoteFields","type":"array","description":"Mode 3: Specific quote fields to unsubscribe from. The subscription remains active with remaining fields. If all fields are removed, the subscription is terminated.","required":false,"properties":[{"name":"item","type":"string","description":"Available fields for quote subscriptions. Quote data represents the current best bid and ask prices from the order book. You can also subscribe to fundamental and reference fields (e.g. sharesOutstanding, PE, dividend) sourced from the symbol snapshot; these are delivered as strings (except hasOptions, which is a boolean) and their field names are case-sensitive.","required":false}]},{"name":"tradeFields","type":"array","description":"Mode 3: Specific trade fields to unsubscribe from. The subscription remains active with remaining fields. If all fields are removed, the subscription is terminated.","required":false,"properties":[{"name":"item","type":"string","description":"Available fields for trade subscriptions. Trade data includes last sale information, volume, and OHLC (Open-High-Low-Close) prices.","required":false}]}]},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want it returned in the unsubscribe reply or error.","required":false}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"properties":{"type":{"type":"string","enum":["unsubscribe"],"const":"unsubscribe","description":"Set this to `unsubscribe` to stop live updates.","example":"unsubscribe","x-parser-schema-id":"\u003canonymous-schema-117>"},"payload":{"oneOf":[{"type":"array","description":"Mode 1: full unsubscribe. Send a plain array of symbols to remove every active subscription for each symbol.","items":{"type":"string","description":"Symbol to fully unsubscribe from.","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-120>"},"example":["AAPL","MSFT","GOOGL"],"x-parser-schema-id":"\u003canonymous-schema-119>"},{"type":"array","description":"Mode 2 and Mode 3: detailed unsubscribe objects for type-specific or field-level removal.","items":{"type":"object","required":["symbol"],"description":"Detailed unsubscribe request for a single symbol. Supports type-specific (Mode 2) and field-level (Mode 3) unsubscribe.","properties":{"symbol":{"type":"string","description":"The ticker symbol to unsubscribe from","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-122>"},"quote":{"type":"boolean","description":"Mode 2: If true, unsubscribe from all quote data for this symbol. Takes precedence over quoteFields.","example":true,"x-parser-schema-id":"\u003canonymous-schema-123>"},"trade":{"type":"boolean","description":"Mode 2: If true, unsubscribe from all trade data for this symbol. Takes precedence over tradeFields.","example":false,"x-parser-schema-id":"\u003canonymous-schema-124>"},"level2":{"type":"boolean","description":"Mode 2: If true, unsubscribe from Level 2 / Order Book data for this symbol.","example":true,"x-parser-schema-id":"\u003canonymous-schema-125>"},"timeAndSales":{"type":"boolean","description":"Mode 2: If true, unsubscribe from Time \u0026 Sales data for this symbol.","example":true,"x-parser-schema-id":"\u003canonymous-schema-126>"},"greeks":{"type":"boolean","description":"Mode 2: If true, unsubscribe from all Greeks data for this symbol. Only applicable for option contracts.","example":true,"x-parser-schema-id":"\u003canonymous-schema-127>"},"quoteFields":{"type":"array","description":"Mode 3: Specific quote fields to unsubscribe from. The subscription remains active with remaining fields. If all fields are removed, the subscription is terminated.","items":{"type":"string","description":"Available fields for quote subscriptions. Quote data represents the current best bid and ask prices from the order book. You can also subscribe to fundamental and reference fields (e.g. sharesOutstanding, PE, dividend) sourced from the symbol snapshot; these are delivered as strings (except hasOptions, which is a boolean) and their field names are case-sensitive.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available quote fields","x-parser-schema-id":"\u003canonymous-schema-47>"},{"const":"bidPrice","description":"Current best bid price - the highest price a buyer is willing to pay","x-parser-schema-id":"\u003canonymous-schema-48>"},{"const":"bidSize","description":"Number of shares available at the bid price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-49>"},{"const":"bidExchange","description":"Exchange code where the best bid originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-50>"},{"const":"askPrice","description":"Current best ask (offer) price - the lowest price a seller is willing to accept","x-parser-schema-id":"\u003canonymous-schema-51>"},{"const":"askSize","description":"Number of shares available at the ask price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-52>"},{"const":"askExchange","description":"Exchange code where the best ask originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-53>"},{"const":"quoteTimestamp","description":"Unix timestamp in milliseconds of the consolidated/top-of-book quote time","x-parser-schema-id":"\u003canonymous-schema-54>"},{"const":"midPrice","description":"Midpoint price calculated as (bidPrice + askPrice) / 2","x-parser-schema-id":"\u003canonymous-schema-55>"},{"const":"spread","description":"Bid-ask spread calculated as askPrice - bidPrice","x-parser-schema-id":"\u003canonymous-schema-56>"},{"const":"openInterest","description":"Total number of outstanding open contracts for the option. Only applicable when symbolType is 'option'.","x-parser-schema-id":"\u003canonymous-schema-57>"},{"const":"type","description":"Data source type for the snapshot record. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-58>"},{"const":"sicCode","description":"Standard Industrial Classification (SIC) code identifying the company's industry. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-59>"},{"const":"hasOptions","description":"Whether the symbol has listed options available. Fundamental/reference field delivered as a boolean.","x-parser-schema-id":"\u003canonymous-schema-60>"},{"const":"sharesOutstanding","description":"Total shares outstanding. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-61>"},{"const":"assets","description":"Total assets. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-62>"},{"const":"liabilities","description":"Total liabilities. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-63>"},{"const":"longTermDebt","description":"Long-term debt. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-64>"},{"const":"EPSDiluted","description":"Diluted earnings per share. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-65>"},{"const":"EPSLatest12Month","description":"Latest 12-month (trailing) earnings per share. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-66>"},{"const":"EPS3YearGrowthRate","description":"3-year EPS growth rate. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-67>"},{"const":"EPS5YearGrowthRate","description":"5-year EPS growth rate. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-68>"},{"const":"avgVolume4Weeks","description":"Average daily trading volume over the trailing 4 weeks. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-69>"},{"const":"PE","description":"Price-to-earnings (P/E) ratio. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-70>"},{"const":"high52WeekPrice","description":"52-week high price. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-71>"},{"const":"high52WeekDate","description":"Date of the 52-week high. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-72>"},{"const":"low52WeekPrice","description":"52-week low price. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-73>"},{"const":"low52WeekDate","description":"Date of the 52-week low. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-74>"},{"const":"dividend","description":"Latest dividend amount. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-75>"},{"const":"shortSaleRestricted","description":"Whether the symbol is under a short-sale restriction (SSR). Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-76>"}],"x-parser-schema-id":"QuoteFieldEnum"},"example":["bidPrice","askPrice"],"x-parser-schema-id":"\u003canonymous-schema-128>"},"tradeFields":{"type":"array","description":"Mode 3: Specific trade fields to unsubscribe from. The subscription remains active with remaining fields. If all fields are removed, the subscription is terminated.","items":{"type":"string","description":"Available fields for trade subscriptions. Trade data includes last sale information, volume, and OHLC (Open-High-Low-Close) prices.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available trade fields","x-parser-schema-id":"\u003canonymous-schema-79>"},{"const":"price","description":"Last trade execution price (same as lastPrice in most cases)","x-parser-schema-id":"\u003canonymous-schema-80>"},{"const":"size","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-81>"},{"const":"totalVolume","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-82>"},{"const":"openPrice","description":"Highest price so far today.","x-parser-schema-id":"\u003canonymous-schema-83>"},{"const":"highPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-84>"},{"const":"lowPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-85>"},{"const":"lastPrice","description":"Most recent trade price (last sale price)","x-parser-schema-id":"\u003canonymous-schema-86>"},{"const":"netChange","description":"Net price change from previous close (lastPrice - previousClosePrice)","x-parser-schema-id":"\u003canonymous-schema-87>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-88>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-89>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-90>"},{"const":"closePrice","description":"Official close price. This may be from today or the previous trading day, depending on market hours.","x-parser-schema-id":"\u003canonymous-schema-91>"}],"x-parser-schema-id":"TradeFieldEnum"},"example":["tick"],"x-parser-schema-id":"\u003canonymous-schema-129>"}},"x-parser-schema-id":"UnsubscribeSymbolRequest"},"example":[{"symbol":"AAPL","quote":true}],"x-parser-schema-id":"\u003canonymous-schema-121>"}],"x-parser-schema-id":"\u003canonymous-schema-118>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want it returned in the unsubscribe reply or error.","example":"unsub-1","x-parser-schema-id":"\u003canonymous-schema-130>"}},"description":"Use this message to stop live updates. You can stop everything for a symbol or stop only some data types or fields.","x-parser-schema-id":"UnsubscribeRequestPayload"},"title":"Unsubscribe Request","description":"Request to unsubscribe from market data","example":"{\n \"type\": \"unsubscribe\",\n \"id\": \"unsub-1\",\n \"payload\": [\n \"AAPL\",\n \"MSFT\"\n ]\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"unsubscribeRequest"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"ping","title":"Ping","description":"Send a ping to keep the connection alive","type":"receive","messages":[{"id":"pingRequest","contentType":"application/json","payload":[{"name":"Ping Request","description":"Keep-alive ping message","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `ping` to check that the connection is still alive.","enumValues":["ping"],"required":true},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want it returned in the `pong` reply.","required":false}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["ping"],"const":"ping","description":"Set this to `ping` to check that the connection is still alive.","example":"ping","x-parser-schema-id":"\u003canonymous-schema-131>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want it returned in the `pong` reply.","example":"ping-001","x-parser-schema-id":"\u003canonymous-schema-132>"}},"description":"Use this message to check that the WebSocket connection is still alive.","x-parser-schema-id":"PingRequestPayload"},"title":"Ping Request","description":"Keep-alive ping message","example":"{\n \"type\": \"ping\",\n \"id\": \"ping-001\"\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"pingRequest"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"getExpiryDates","title":"Get Option Expiry Dates","description":"Request option expiry dates for a symbol","type":"receive","messages":[{"id":"getExpiryDatesRequest","contentType":"application/json","payload":[{"name":"Get Expiry Dates Request","description":"Request to get option expiration dates for a symbol","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `request` for this one-time lookup.","enumValues":["request"],"required":true},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want it returned in the reply.","required":false},{"name":"payload","type":"object","description":"Put the request details here.","required":true,"properties":[{"name":"method","type":"string","description":"Use `GET` to read the expiry dates.","required":true},{"name":"path","type":"string","description":"Lookup route for expiration dates. Replace `{symbol}` with the underlying ticker or index symbol whose option expiries you want, such as `AAPL` or `SPX`.","required":true}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Use this message to get the available option expiry dates for one symbol.","properties":{"type":{"type":"string","enum":["request"],"const":"request","description":"Set this to `request` for this one-time lookup.","example":"request","x-parser-schema-id":"\u003canonymous-schema-202>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want it returned in the reply.","example":"req-001","x-parser-schema-id":"\u003canonymous-schema-203>"},"payload":{"type":"object","required":["method","path"],"description":"Put the request details here.","properties":{"method":{"type":"string","const":"GET","description":"Use `GET` to read the expiry dates.","example":"GET","x-parser-schema-id":"\u003canonymous-schema-205>"},"path":{"type":"string","description":"Lookup route for expiration dates. Replace `{symbol}` with the underlying ticker or index symbol whose option expiries you want, such as `AAPL` or `SPX`.","pattern":"^/options/[^/]+/expiry-dates$","example":"/options/AAPL/expiry-dates","x-parser-schema-id":"\u003canonymous-schema-206>"}},"example":{"method":"GET","path":"/options/AAPL/expiry-dates"},"x-parser-schema-id":"\u003canonymous-schema-204>"}},"x-parser-schema-id":"GetExpiryDatesRequestPayload"},"title":"Get Expiry Dates Request","description":"Request to get option expiration dates for a symbol","example":"{\n \"type\": \"request\",\n \"id\": \"req-expiry-1\",\n \"payload\": {\n \"method\": \"GET\",\n \"path\": \"/options/AAPL/expiry-dates\"\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"getExpiryDatesRequest"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"getContractSymbols","title":"Get Option Contract Symbols","description":"Request option contract symbols for a symbol and expiry date","type":"receive","messages":[{"id":"getContractSymbolsRequest","contentType":"application/json","payload":[{"name":"Get Contract Symbols Request","description":"Request to get option contract symbols for a symbol and expiry date","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `request` for this one-time lookup.","enumValues":["request"],"required":true},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want it returned in the reply.","required":false},{"name":"payload","type":"object","description":"Put the request details here.","required":true,"properties":[{"name":"method","type":"string","description":"Use `GET` to read the contract symbols.","required":true},{"name":"path","type":"string","description":"Contract-chain route. Replace `{symbol}` with the underlying ticker or index and `{expiryDate}` with `YYYY-MM-DD`. Append `/W` when you specifically want weekly contracts for that date.","required":true}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Use this message to get all contract symbols for one underlying and one expiration date.","properties":{"type":{"type":"string","enum":["request"],"const":"request","description":"Set this to `request` for this one-time lookup.","example":"request","x-parser-schema-id":"\u003canonymous-schema-219>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want it returned in the reply.","example":"req-003","x-parser-schema-id":"\u003canonymous-schema-220>"},"payload":{"type":"object","required":["method","path"],"description":"Put the request details here.","properties":{"method":{"type":"string","const":"GET","description":"Use `GET` to read the contract symbols.","example":"GET","x-parser-schema-id":"\u003canonymous-schema-222>"},"path":{"type":"string","description":"Contract-chain route. Replace `{symbol}` with the underlying ticker or index and `{expiryDate}` with `YYYY-MM-DD`. Append `/W` when you specifically want weekly contracts for that date.","pattern":"^/options/[^/]+/contracts/[0-9]{4}-[0-9]{2}-[0-9]{2}(/W)?$","example":"/options/AAPL/contracts/2024-01-19","x-parser-schema-id":"\u003canonymous-schema-223>"}},"example":{"method":"GET","path":"/options/AAPL/contracts/2024-01-19"},"x-parser-schema-id":"\u003canonymous-schema-221>"}},"x-parser-schema-id":"GetContractSymbolsRequestPayload"},"title":"Get Contract Symbols Request","description":"Request to get option contract symbols for a symbol and expiry date","example":"{\n \"type\": \"request\",\n \"id\": \"req-contracts-1\",\n \"payload\": {\n \"method\": \"GET\",\n \"path\": \"/options/AAPL/contracts/2024-01-19\"\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"getContractSymbolsRequest"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"getEquitySnapshot","title":"Get Equity Snapshot","description":"Request a full snapshot of equity data for a symbol","type":"receive","messages":[{"id":"getEquitySnapshotRequest","contentType":"application/json","payload":[{"name":"Get Equity Snapshot Request","description":"Request to get a full snapshot of equity data for a symbol","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `request` for this one-time snapshot lookup.","enumValues":["request"],"required":true},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want it returned in the reply.","required":false},{"name":"payload","type":"object","description":"Put the request details here.","required":true,"properties":[{"name":"method","type":"string","description":"Use `GET` to read the snapshot.","required":true},{"name":"path","type":"string","description":"Snapshot route for a single equity ticker. Replace `{symbol}` with the stock symbol you want, such as `AAPL` or `MSFT`.","required":true}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Use this message to get one equity snapshot without opening a live subscription.","properties":{"type":{"type":"string","enum":["request"],"const":"request","description":"Set this to `request` for this one-time snapshot lookup.","example":"request","x-parser-schema-id":"\u003canonymous-schema-236>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want it returned in the reply.","example":"req-003","x-parser-schema-id":"\u003canonymous-schema-237>"},"payload":{"type":"object","required":["method","path"],"description":"Put the request details here.","properties":{"method":{"type":"string","const":"GET","description":"Use `GET` to read the snapshot.","example":"GET","x-parser-schema-id":"\u003canonymous-schema-239>"},"path":{"type":"string","description":"Snapshot route for a single equity ticker. Replace `{symbol}` with the stock symbol you want, such as `AAPL` or `MSFT`.","pattern":"^/equities/[^/]+/snapshot$","example":"/equities/AAPL/snapshot","x-parser-schema-id":"\u003canonymous-schema-240>"}},"example":{"method":"GET","path":"/equities/AAPL/snapshot"},"x-parser-schema-id":"\u003canonymous-schema-238>"}},"x-parser-schema-id":"GetEquitySnapshotRequestPayload"},"title":"Get Equity Snapshot Request","description":"Request to get a full snapshot of equity data for a symbol","example":"{\n \"type\": \"request\",\n \"id\": \"req-003\",\n \"payload\": {\n \"method\": \"GET\",\n \"path\": \"/equities/AAPL/snapshot\"\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"getEquitySnapshotRequest"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveAuthRequired","title":"Receive Auth Required","description":"Server requests authentication from the client","type":"send","messages":[{"id":"authRequiredResponse","contentType":"application/json","payload":[{"name":"Auth Required Response","description":"Server requests authentication","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":true},{"name":"payload","type":"object","description":"Payload sent when the server requires authentication.","required":true,"properties":[{"name":"action","type":"string","description":"Always `authRequired` when the client must authenticate.","enumValues":["authRequired"],"required":false},{"name":"error","type":"string","description":"Error message explaining why authentication is required","enumValues":["authentication required","authentication timeout"],"required":false},{"name":"id","type":"string","description":"The request ID from the original request that triggered this response, if applicable","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server message sent when you need to sign in before using the socket.","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-328>"},"payload":{"type":"object","description":"Payload sent when the server requires authentication.","properties":{"action":{"type":"string","enum":["authRequired"],"description":"Always `authRequired` when the client must authenticate.","x-parser-schema-id":"\u003canonymous-schema-329>"},"error":{"type":"string","description":"Error message explaining why authentication is required","example":"authentication required","enum":["authentication required","authentication timeout"],"x-parser-schema-id":"\u003canonymous-schema-330>"},"id":{"type":"string","description":"The request ID from the original request that triggered this response, if applicable","x-parser-schema-id":"\u003canonymous-schema-331>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds","example":1701450000123,"x-parser-schema-id":"\u003canonymous-schema-332>"}},"x-parser-schema-id":"AuthRequiredEventPayload"}},"x-parser-schema-id":"AuthRequiredResponsePayload"},"title":"Auth Required Response","description":"Server requests authentication","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"authRequired\",\n \"error\": \"authentication required\",\n \"id\": \"sub-001\",\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"authRequiredResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveRefreshAuth","title":"Receive Refresh Auth Warning","description":"Server warns that authentication will expire soon","type":"send","messages":[{"id":"refreshAuthResponse","contentType":"application/json","payload":[{"name":"Refresh Auth Response","description":"Server warns authentication expires soon","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":true},{"name":"payload","type":"object","description":"Payload sent when the server wants you to refresh your token.","required":true,"properties":[{"name":"action","type":"string","description":"Always `refreshAuth`. Sign in again soon with a new token.","enumValues":["refreshAuth"],"required":false},{"name":"data","type":"object","required":false,"properties":[{"name":"message","type":"string","description":"Message from the server telling you the sign-in is about to expire.","required":false},{"name":"expiresIn","type":"integer","description":"Milliseconds left before the sign-in expires.","required":false}]},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server warning sent when your sign-in is about to expire.","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-333>"},"payload":{"type":"object","description":"Payload sent when the server wants you to refresh your token.","properties":{"action":{"type":"string","enum":["refreshAuth"],"description":"Always `refreshAuth`. Sign in again soon with a new token.","x-parser-schema-id":"\u003canonymous-schema-334>"},"data":{"type":"object","properties":{"message":{"type":"string","description":"Message from the server telling you the sign-in is about to expire.","example":"authentication expires soon, please re-authenticate","x-parser-schema-id":"\u003canonymous-schema-336>"},"expiresIn":{"type":"integer","format":"int64","description":"Milliseconds left before the sign-in expires.","example":300000,"x-parser-schema-id":"\u003canonymous-schema-337>"}},"x-parser-schema-id":"\u003canonymous-schema-335>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds","example":1701450000123,"x-parser-schema-id":"\u003canonymous-schema-338>"}},"x-parser-schema-id":"RefreshAuthEventPayload"}},"x-parser-schema-id":"RefreshAuthResponsePayload"},"title":"Refresh Auth Response","description":"Server warns authentication expires soon","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"refreshAuth\",\n \"data\": {\n \"message\": \"authentication expires soon, please re-authenticate\",\n \"expiresIn\": 300000\n },\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"refreshAuthResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveAuthExpired","title":"Receive Auth Expired","description":"Server notifies that authentication has expired","type":"send","messages":[{"id":"authExpiredResponse","contentType":"application/json","payload":[{"name":"Auth Expired Response","description":"Server notifies authentication has expired","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":true},{"name":"payload","type":"object","description":"Payload sent when your sign-in has expired.","required":true,"properties":[{"name":"action","type":"string","description":"Always `authExpired` - reconnect and authenticate again.","enumValues":["authExpired"],"required":false},{"name":"error","type":"string","description":"Message from the server saying the sign-in has expired.","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server message sent when your sign-in has expired.","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-339>"},"payload":{"type":"object","description":"Payload sent when your sign-in has expired.","properties":{"action":{"type":"string","enum":["authExpired"],"description":"Always `authExpired` - reconnect and authenticate again.","x-parser-schema-id":"\u003canonymous-schema-340>"},"error":{"type":"string","description":"Message from the server saying the sign-in has expired.","example":"authentication expired","x-parser-schema-id":"\u003canonymous-schema-341>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds","example":1701450000123,"x-parser-schema-id":"\u003canonymous-schema-342>"}},"x-parser-schema-id":"AuthExpiredEventPayload"}},"x-parser-schema-id":"AuthExpiredResponsePayload"},"title":"Auth Expired Response","description":"Server notifies authentication has expired","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"authExpired\",\n \"error\": \"authentication expired\",\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"authExpiredResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveAuthSuccess","title":"Receive auth success","description":"Successful authentication response","type":"send","messages":[{"id":"authSuccessResponse","contentType":"application/json","payload":[{"name":"Auth Success Response","description":"Successful authentication response","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":true},{"name":"payload","type":"object","description":"Payload sent when authentication succeeds.","required":true,"properties":[{"name":"action","type":"string","description":"Result action. Always `authSuccess` when authentication succeeds.","enumValues":["authSuccess"],"required":false},{"name":"id","type":"string","description":"The request ID from the original auth request, if provided","required":false},{"name":"data","type":"object","description":"Authentication result data","required":false,"properties":[{"name":"expiresIn","type":"integer","description":"How long this sign-in stays valid, in milliseconds.","required":false},{"name":"message","type":"string","description":"Optional message (e.g., when auth is not required)","required":false}]},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server message sent when sign-in succeeds.","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-321>"},"payload":{"type":"object","description":"Payload sent when authentication succeeds.","properties":{"action":{"type":"string","enum":["authSuccess"],"description":"Result action. Always `authSuccess` when authentication succeeds.","x-parser-schema-id":"\u003canonymous-schema-322>"},"id":{"type":"string","description":"The request ID from the original auth request, if provided","x-parser-schema-id":"\u003canonymous-schema-323>"},"data":{"type":"object","description":"Authentication result data","properties":{"expiresIn":{"type":"integer","format":"int64","description":"How long this sign-in stays valid, in milliseconds.","example":2700000,"x-parser-schema-id":"\u003canonymous-schema-325>"},"message":{"type":"string","description":"Optional message (e.g., when auth is not required)","example":"auth not required","x-parser-schema-id":"\u003canonymous-schema-326>"}},"x-parser-schema-id":"\u003canonymous-schema-324>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds","example":1701450000123,"x-parser-schema-id":"\u003canonymous-schema-327>"}},"x-parser-schema-id":"AuthSuccessEventPayload"}},"x-parser-schema-id":"AuthSuccessResponsePayload"},"title":"Auth Success Response","description":"Successful authentication response","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"authSuccess\",\n \"id\": \"auth-001\",\n \"data\": {\n \"expiresIn\": 2700000\n },\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"authSuccessResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveSnapshot","title":"Receive subscription snapshot","description":"Initial market data snapshot after subscribing","type":"send","messages":[{"id":"snapshotResponse","contentType":"application/json","payload":[{"name":"Snapshot Response","description":"Initial snapshot of market data after subscription","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for live updates.","required":false},{"name":"payload","type":"object","description":"Data inside a snapshot event. This is the first full value the server sends for a subscription.","required":false,"properties":[{"name":"action","type":"string","description":"The server sets this to `snapshot` for the first full update after you subscribe.","required":false},{"name":"type","type":"string","description":"Type of market data in this message: quote, trade, Level 2, Time \u0026 Sales, Greeks, or market status.","enumValues":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"examples":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"required":false},{"name":"symbol","type":"string","description":"Symbol this update is for.","required":false},{"name":"data","type":"object","description":"The first full set of data for this symbol.","required":false},{"name":"id","type":"string","description":"Request ID from your subscribe message, if you sent one.","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when this event was sent","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","description":"Server message for the first full set of values after you subscribe.","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for live updates.","x-parser-schema-id":"\u003canonymous-schema-133>"},"payload":{"type":"object","description":"Data inside a snapshot event. This is the first full value the server sends for a subscription.","properties":{"action":{"type":"string","const":"snapshot","description":"The server sets this to `snapshot` for the first full update after you subscribe.","x-parser-schema-id":"\u003canonymous-schema-134>"},"type":{"type":"string","enum":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"description":"Type of market data in this message: quote, trade, Level 2, Time \u0026 Sales, Greeks, or market status.","examples":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"x-parser-schema-id":"DataType"},"symbol":{"type":"string","description":"Symbol this update is for.","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-135>"},"data":{"type":"object","description":"The first full set of data for this symbol.","additionalProperties":true,"x-parser-schema-id":"\u003canonymous-schema-136>"},"id":{"type":"string","description":"Request ID from your subscribe message, if you sent one.","x-parser-schema-id":"\u003canonymous-schema-137>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when this event was sent","example":1701450000123,"x-parser-schema-id":"\u003canonymous-schema-138>"}},"x-parser-schema-id":"SnapshotEventPayload"}},"x-parser-schema-id":"SnapshotResponsePayload"},"title":"Snapshot Response","description":"Initial snapshot of market data after subscription","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"snapshot\",\n \"type\": \"quote\",\n \"symbol\": \"AAPL\",\n \"data\": {\n \"bidPrice\": 189.94,\n \"bidSize\": 100,\n \"askPrice\": 189.96,\n \"askSize\": 200,\n \"midPrice\": 189.95,\n \"spread\": 0.02,\n \"quoteTimestamp\": 1701450000000\n },\n \"id\": \"sub-2\",\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"snapshotResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveUnsubscribeResponse","title":"Receive unsubscribe confirmation","description":"Confirmation of unsubscribe request","type":"send","messages":[{"id":"unsubscribeResponse","contentType":"application/json","payload":[{"name":"Unsubscribe Response","description":"Confirmation of unsubscribe request","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":false},{"name":"payload","type":"object","required":false,"properties":[{"name":"action","type":"string","description":"Confirms the unsubscribe action","required":false},{"name":"data","type":"object","required":false,"properties":[{"name":"symbols","type":"array","description":"List of symbols that were unsubscribed","required":false,"properties":[{"name":"item","type":"string","required":false}]}]},{"name":"id","type":"string","description":"Request ID from your unsubscribe message, if you sent one.","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-185>"},"payload":{"type":"object","properties":{"action":{"type":"string","const":"unsubscribe","description":"Confirms the unsubscribe action","x-parser-schema-id":"\u003canonymous-schema-186>"},"data":{"type":"object","properties":{"symbols":{"type":"array","items":{"type":"string","x-parser-schema-id":"\u003canonymous-schema-189>"},"description":"List of symbols that were unsubscribed","example":["AAPL","MSFT"],"x-parser-schema-id":"\u003canonymous-schema-188>"}},"x-parser-schema-id":"\u003canonymous-schema-187>"},"id":{"type":"string","description":"Request ID from your unsubscribe message, if you sent one.","x-parser-schema-id":"\u003canonymous-schema-190>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds","example":1701450002000,"x-parser-schema-id":"\u003canonymous-schema-191>"}},"x-parser-schema-id":"UnsubscribeEventPayload"}},"x-parser-schema-id":"UnsubscribeResponsePayload"},"title":"Unsubscribe Response","description":"Confirmation of unsubscribe request","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"unsubscribe\",\n \"data\": {\n \"symbols\": [\n \"AAPL\",\n \"MSFT\"\n ]\n },\n \"id\": \"unsub-1\",\n \"timestamp\": 1701450002000\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"unsubscribeResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receivePong","title":"Receive pong","description":"Pong response to ping","type":"send","messages":[{"id":"pongResponse","contentType":"application/json","payload":[{"name":"Pong Response","description":"Response to ping request","type":"object","properties":[{"name":"type","type":"string","description":"Shared WebSocket pong message type","required":true},{"name":"id","type":"string","description":"Request ID from your ping, if you sent one.","required":false},{"name":"timestamp","type":"string","description":"Time when the server sent this `pong`, in RFC3339 format.","required":false},{"name":"payload","type":"null","description":"Always `null` for `pong` messages.","required":false}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"pong","description":"Shared WebSocket pong message type","x-parser-schema-id":"\u003canonymous-schema-192>"},"id":{"type":"string","description":"Request ID from your ping, if you sent one.","example":"ping-001","x-parser-schema-id":"\u003canonymous-schema-193>"},"timestamp":{"type":"string","format":"date-time","description":"Time when the server sent this `pong`, in RFC3339 format.","example":"2026-05-13T10:30:00Z","x-parser-schema-id":"\u003canonymous-schema-194>"},"payload":{"type":"null","description":"Always `null` for `pong` messages.","x-parser-schema-id":"\u003canonymous-schema-195>"}},"x-parser-schema-id":"PongResponsePayload"},"title":"Pong Response","description":"Response to ping request","example":"{\n \"type\": \"pong\",\n \"id\": \"ping-001\",\n \"timestamp\": \"2026-05-13T10:30:00Z\",\n \"payload\": null\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"pongResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveGetExpiryDatesResponse","title":"Receive option expiry dates response","description":"Response with option expiration dates","type":"send","messages":[{"id":"getExpiryDatesResponse","contentType":"application/json","payload":[{"name":"Get Expiry Dates Response","description":"Response containing option expiration dates","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `response` in the reply.","required":true},{"name":"id","type":"string","description":"Request ID echoed from the original request","required":false},{"name":"timestamp","type":"string","description":"Time when the server sent this reply, in RFC3339 format.","required":false},{"name":"payload","type":"object","required":true,"properties":[{"name":"status","type":"integer","description":"Status code for this reply. `200` means success.","required":true},{"name":"data","type":"object","description":"List of option expiry dates for the symbol.","required":false,"properties":[{"name":"symbol","type":"string","description":"The underlying symbol","required":false},{"name":"expiryDates","type":"array","description":"List of available expiration dates with optional frequency marker, sorted chronologically","required":false,"properties":[{"name":"date","type":"string","description":"Expiration date in YYYY-MM-DD format","required":true},{"name":"freq","type":"string","description":"Frequency marker. Weekly options use W; standard monthly options omit this field.","required":false}]}]},{"name":"error","type":"object","description":"Error details in a response","required":false,"properties":[{"name":"type","type":"string","description":"Error type category","enumValues":["bad_request","not_found","internal","unauthorized"],"required":false},{"name":"code","type":"string","description":"Error code for programmatic handling","required":false},{"name":"message","type":"string","description":"Human-readable error message","required":false}]}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server reply with the option expiry dates.","properties":{"type":{"type":"string","const":"response","description":"The server sets this to `response` in the reply.","x-parser-schema-id":"\u003canonymous-schema-207>"},"id":{"type":"string","description":"Request ID echoed from the original request","x-parser-schema-id":"\u003canonymous-schema-208>"},"timestamp":{"type":"string","format":"date-time","description":"Time when the server sent this reply, in RFC3339 format.","x-parser-schema-id":"\u003canonymous-schema-209>"},"payload":{"type":"object","required":["status"],"properties":{"status":{"type":"integer","description":"Status code for this reply. `200` means success.","example":200,"x-parser-schema-id":"\u003canonymous-schema-211>"},"data":{"type":"object","description":"List of option expiry dates for the symbol.","properties":{"symbol":{"type":"string","description":"The underlying symbol","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-212>"},"expiryDates":{"type":"array","description":"List of available expiration dates with optional frequency marker, sorted chronologically","items":{"type":"object","required":["date"],"properties":{"date":{"type":"string","format":"date","description":"Expiration date in YYYY-MM-DD format","example":"2024-01-19","x-parser-schema-id":"\u003canonymous-schema-214>"},"freq":{"type":"string","description":"Frequency marker. Weekly options use W; standard monthly options omit this field.","example":"W","x-parser-schema-id":"\u003canonymous-schema-215>"}},"x-parser-schema-id":"ExpiryDate"},"x-parser-schema-id":"\u003canonymous-schema-213>"}},"x-parser-schema-id":"ExpiryDatesData"},"error":{"type":"object","description":"Error details in a response","properties":{"type":{"type":"string","description":"Error type category","enum":["bad_request","not_found","internal","unauthorized"],"example":"bad_request","x-parser-schema-id":"\u003canonymous-schema-216>"},"code":{"type":"string","description":"Error code for programmatic handling","example":"INVALID_REQUEST","x-parser-schema-id":"\u003canonymous-schema-217>"},"message":{"type":"string","description":"Human-readable error message","example":"symbol is required","x-parser-schema-id":"\u003canonymous-schema-218>"}},"x-parser-schema-id":"ResponseError"}},"x-parser-schema-id":"\u003canonymous-schema-210>"}},"x-parser-schema-id":"GetExpiryDatesResponsePayload"},"title":"Get Expiry Dates Response","description":"Response containing option expiration dates","example":"{\n \"type\": \"response\",\n \"id\": \"req-expiry-1\",\n \"payload\": {\n \"status\": 200,\n \"data\": {\n \"symbol\": \"AAPL\",\n \"expiryDates\": [\n {\n \"date\": \"2024-01-19\"\n },\n {\n \"date\": \"2024-01-26\",\n \"freq\": \"W\"\n },\n {\n \"date\": \"2024-02-16\"\n }\n ]\n }\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"getExpiryDatesResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveGetContractSymbolsResponse","title":"Receive option contract symbols response","description":"Response with calls and puts for an expiry","type":"send","messages":[{"id":"getContractSymbolsResponse","contentType":"application/json","payload":[{"name":"Get Contract Symbols Response","description":"Response containing option contract symbols (calls and puts)","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `response` in the reply.","required":true},{"name":"id","type":"string","description":"Request ID echoed from the original request","required":false},{"name":"timestamp","type":"string","description":"Time when the server sent this reply, in RFC3339 format.","required":false},{"name":"payload","type":"object","required":true,"properties":[{"name":"status","type":"integer","description":"Status code for this reply. `200` means success.","required":true},{"name":"data","type":"object","description":"Option contract symbols for the symbol and expiry date.","required":false,"properties":[{"name":"symbol","type":"string","description":"The underlying symbol","required":false},{"name":"expiryDate","type":"string","description":"The expiration date in YYYY-MM-DD format","required":false},{"name":"calls","type":"array","description":"List of call option contracts, sorted by strike price ascending","required":false,"properties":[{"name":"symbol","type":"string","description":"Option symbol, for example `AAPL240119C00150000`.","required":false},{"name":"strikePrice","type":"number","description":"The strike price of the option","required":false}]},{"name":"puts","type":"array","description":"List of put option contracts, sorted by strike price ascending","required":false,"properties":[{"name":"symbol","type":"string","description":"Option symbol, for example `AAPL240119C00150000`.","required":false},{"name":"strikePrice","type":"number","description":"The strike price of the option","required":false}]},{"name":"freq","type":"string","description":"Frequency marker. Weekly options use W; standard monthly options omit this field.","required":false}]},{"name":"error","type":"object","description":"Error details in a response","required":false,"properties":[{"name":"type","type":"string","description":"Error type category","enumValues":["bad_request","not_found","internal","unauthorized"],"required":false},{"name":"code","type":"string","description":"Error code for programmatic handling","required":false},{"name":"message","type":"string","description":"Human-readable error message","required":false}]}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server reply with the option contract symbols.","properties":{"type":{"type":"string","const":"response","description":"The server sets this to `response` in the reply.","x-parser-schema-id":"\u003canonymous-schema-224>"},"id":{"type":"string","description":"Request ID echoed from the original request","x-parser-schema-id":"\u003canonymous-schema-225>"},"timestamp":{"type":"string","format":"date-time","description":"Time when the server sent this reply, in RFC3339 format.","x-parser-schema-id":"\u003canonymous-schema-226>"},"payload":{"type":"object","required":["status"],"properties":{"status":{"type":"integer","description":"Status code for this reply. `200` means success.","example":200,"x-parser-schema-id":"\u003canonymous-schema-228>"},"data":{"type":"object","description":"Option contract symbols for the symbol and expiry date.","properties":{"symbol":{"type":"string","description":"The underlying symbol","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-229>"},"expiryDate":{"type":"string","format":"date","description":"The expiration date in YYYY-MM-DD format","example":"2024-01-19","x-parser-schema-id":"\u003canonymous-schema-230>"},"calls":{"type":"array","description":"List of call option contracts, sorted by strike price ascending","items":{"type":"object","description":"An option contract symbol with its strike price","properties":{"symbol":{"type":"string","description":"Option symbol, for example `AAPL240119C00150000`.","example":"AAPL240119C00150000","x-parser-schema-id":"\u003canonymous-schema-232>"},"strikePrice":{"type":"number","format":"double","description":"The strike price of the option","example":150,"x-parser-schema-id":"\u003canonymous-schema-233>"}},"x-parser-schema-id":"ContractSymbol"},"x-parser-schema-id":"\u003canonymous-schema-231>"},"puts":{"type":"array","description":"List of put option contracts, sorted by strike price ascending","items":{"type":"object","description":"An option contract symbol with its strike price","properties":{"symbol":{"type":"string","description":"Option symbol, for example `AAPL240119C00150000`.","example":"AAPL240119C00150000","x-parser-schema-id":"\u003canonymous-schema-232>"},"strikePrice":{"type":"number","format":"double","description":"The strike price of the option","example":150,"x-parser-schema-id":"\u003canonymous-schema-233>"}},"x-parser-schema-id":"ContractSymbol"},"x-parser-schema-id":"\u003canonymous-schema-234>"},"freq":{"type":"string","description":"Frequency marker. Weekly options use W; standard monthly options omit this field.","example":"W","x-parser-schema-id":"\u003canonymous-schema-235>"}},"x-parser-schema-id":"ContractSymbolsData"},"error":{"type":"object","description":"Error details in a response","properties":{"type":{"type":"string","description":"Error type category","enum":["bad_request","not_found","internal","unauthorized"],"example":"bad_request","x-parser-schema-id":"\u003canonymous-schema-216>"},"code":{"type":"string","description":"Error code for programmatic handling","example":"INVALID_REQUEST","x-parser-schema-id":"\u003canonymous-schema-217>"},"message":{"type":"string","description":"Human-readable error message","example":"symbol is required","x-parser-schema-id":"\u003canonymous-schema-218>"}},"x-parser-schema-id":"ResponseError"}},"x-parser-schema-id":"\u003canonymous-schema-227>"}},"x-parser-schema-id":"GetContractSymbolsResponsePayload"},"title":"Get Contract Symbols Response","description":"Response containing option contract symbols (calls and puts)","example":"{\n \"type\": \"response\",\n \"id\": \"req-contracts-1\",\n \"payload\": {\n \"status\": 200,\n \"data\": {\n \"symbol\": \"AAPL\",\n \"expiryDate\": \"2024-01-19\",\n \"calls\": [\n {\n \"symbol\": \"AAPL240119C00145000\",\n \"strikePrice\": 145\n },\n {\n \"symbol\": \"AAPL240119C00150000\",\n \"strikePrice\": 150\n }\n ],\n \"puts\": [\n {\n \"symbol\": \"AAPL240119P00145000\",\n \"strikePrice\": 145\n },\n {\n \"symbol\": \"AAPL240119P00150000\",\n \"strikePrice\": 150\n }\n ]\n }\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"getContractSymbolsResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveGetEquitySnapshotResponse","title":"Receive equity snapshot response","description":"Full equity snapshot data","type":"send","messages":[{"id":"getEquitySnapshotResponse","contentType":"application/json","payload":[{"name":"Get Equity Snapshot Response","description":"Response containing comprehensive equity data snapshot","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `response` in the reply.","required":true},{"name":"id","type":"string","description":"Request ID echoed from the original request","required":false},{"name":"timestamp","type":"string","description":"Time when the server sent this reply, in RFC3339 format.","required":false},{"name":"payload","type":"object","required":true,"properties":[{"name":"status","type":"integer","description":"Status code for this reply. `200` means success.","required":true},{"name":"data","type":"object","description":"Equity snapshot data with quote, trade, and company details.","required":false,"properties":[{"name":"symbol","type":"string","description":"The ticker symbol","required":false},{"name":"name","type":"string","description":"Company name","required":false},{"name":"description","type":"string","description":"Company description","required":false},{"name":"assetType","type":"string","description":"Type of asset (e.g., Common Stock)","required":false},{"name":"sector","type":"string","description":"Business sector","required":false},{"name":"industry","type":"string","description":"Industry classification","required":false},{"name":"address","type":"string","description":"Company headquarters address","required":false},{"name":"sicCode","type":"string","description":"Standard Industrial Classification code","required":false},{"name":"fiscalYearEnd","type":"string","description":"Fiscal year end month","required":false},{"name":"latestQuarter","type":"string","description":"Most recent quarter end date","required":false},{"name":"lastPrice","type":"string","description":"Last traded price","required":false},{"name":"price","type":"string","description":"Current price","required":false},{"name":"openPrice","type":"string","description":"Opening price for the day","required":false},{"name":"highPrice","type":"string","description":"Highest price for the day","required":false},{"name":"lowPrice","type":"string","description":"Lowest price for the day","required":false},{"name":"closePrice","type":"string","description":"Previous closing price","required":false},{"name":"netChange","type":"string","description":"Net price change from previous close","required":false},{"name":"bidPrice","type":"string","description":"Current bid price","required":false},{"name":"bidSize","type":"string","description":"Size at bid price","required":false},{"name":"askPrice","type":"string","description":"Current ask price","required":false},{"name":"askSize","type":"string","description":"Size at ask price","required":false},{"name":"midPrice","type":"string","description":"Mid-point between bid and ask","required":false},{"name":"spread","type":"string","description":"Bid-ask spread","required":false},{"name":"bidExchange","type":"string","description":"Exchange providing best bid","required":false},{"name":"askExchange","type":"string","description":"Exchange providing best ask","required":false},{"name":"tradeExchange","type":"string","description":"Exchange of last trade","required":false},{"name":"totalVolume","type":"string","description":"Total trading volume for the day","required":false},{"name":"avgVolume4Weeks","type":"string","description":"Average daily volume over 4 weeks","required":false},{"name":"tick","type":"string","description":"Tick direction (-1, 0, 1)","required":false},{"name":"tradeSeq","type":"string","description":"Trade sequence number","required":false},{"name":"quoteTimestamp","type":"string","description":"Timestamp of last quote update","required":false},{"name":"tradeTimestamp","type":"string","description":"Timestamp of last trade","required":false},{"name":"high52WeekPrice","type":"string","description":"52-week high price","required":false},{"name":"high52WeekDate","type":"string","description":"Date of 52-week high","required":false},{"name":"low52WeekPrice","type":"string","description":"52-week low price","required":false},{"name":"low52WeekDate","type":"string","description":"Date of 52-week low","required":false},{"name":"movingAverage50Day","type":"string","description":"50-day moving average","required":false},{"name":"movingAverage200Day","type":"string","description":"200-day moving average","required":false},{"name":"marketCapitalization","type":"string","description":"Market capitalization","required":false},{"name":"sharesOutstanding","type":"string","description":"Total shares outstanding","required":false},{"name":"eps","type":"string","description":"Earnings per share","required":false},{"name":"EPSDiluted","type":"string","description":"Diluted earnings per share","required":false},{"name":"dilutedEPSTTM","type":"string","description":"Trailing twelve month diluted EPS","required":false},{"name":"EPSLatest12Month","type":"string","description":"Latest 12-month EPS","required":false},{"name":"EPS3YearGrowthRate","type":"string","description":"3-year EPS growth rate","required":false},{"name":"EPS5YearGrowthRate","type":"string","description":"5-year EPS growth rate","required":false},{"name":"PE","type":"string","description":"Price-to-earnings ratio","required":false},{"name":"trailingPE","type":"string","description":"Trailing P/E ratio","required":false},{"name":"forwardPE","type":"string","description":"Forward P/E ratio","required":false},{"name":"pegRatio","type":"string","description":"PEG ratio (P/E to growth)","required":false},{"name":"priceToBookRatio","type":"string","description":"Price-to-book ratio","required":false},{"name":"priceToSalesRatioTTM","type":"string","description":"Trailing twelve month price-to-sales ratio","required":false},{"name":"bookValue","type":"string","description":"Book value per share","required":false},{"name":"beta","type":"string","description":"Beta coefficient","required":false},{"name":"dividend","type":"string","description":"Latest dividend amount","required":false},{"name":"dividendPerShare","type":"string","description":"Annual dividend per share","required":false},{"name":"dividendYield","type":"string","description":"Dividend yield","required":false},{"name":"revenueTTM","type":"string","description":"Trailing twelve month revenue","required":false},{"name":"revenuePerShareTTM","type":"string","description":"Trailing twelve month revenue per share","required":false},{"name":"grossProfitTTM","type":"string","description":"Trailing twelve month gross profit","required":false},{"name":"ebitda","type":"string","description":"EBITDA","required":false},{"name":"profitMargin","type":"string","description":"Profit margin","required":false},{"name":"operatingMarginTTM","type":"string","description":"Trailing twelve month operating margin","required":false},{"name":"returnOnAssetsTTM","type":"string","description":"Trailing twelve month return on assets","required":false},{"name":"returnOnEquityTTM","type":"string","description":"Trailing twelve month return on equity","required":false},{"name":"evToRevenue","type":"string","description":"Enterprise value to revenue ratio","required":false},{"name":"evToEBITDA","type":"string","description":"Enterprise value to EBITDA ratio","required":false},{"name":"quarterlyEarningsGrowthYOY","type":"string","description":"Year-over-year quarterly earnings growth","required":false},{"name":"quarterlyRevenueGrowthYOY","type":"string","description":"Year-over-year quarterly revenue growth","required":false},{"name":"assets","type":"string","description":"Total assets","required":false},{"name":"liabilities","type":"string","description":"Total liabilities","required":false},{"name":"longTermDebt","type":"string","description":"Long-term debt","required":false},{"name":"alphaVantageUpdatedAt","type":"string","description":"Timestamp when fundamentals were last refreshed from the external data source","required":false},{"name":"type","type":"string","description":"Category reported for this snapshot record, such as the source or instrument group. This is not the top-level WebSocket message `type`.","required":false},{"name":"size","type":"string","description":"Trade size","required":false}]},{"name":"error","type":"object","description":"Error details in a response","required":false,"properties":[{"name":"type","type":"string","description":"Error type category","enumValues":["bad_request","not_found","internal","unauthorized"],"required":false},{"name":"code","type":"string","description":"Error code for programmatic handling","required":false},{"name":"message","type":"string","description":"Human-readable error message","required":false}]}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server reply with the equity snapshot.","properties":{"type":{"type":"string","const":"response","description":"The server sets this to `response` in the reply.","x-parser-schema-id":"\u003canonymous-schema-241>"},"id":{"type":"string","description":"Request ID echoed from the original request","x-parser-schema-id":"\u003canonymous-schema-242>"},"timestamp":{"type":"string","format":"date-time","description":"Time when the server sent this reply, in RFC3339 format.","x-parser-schema-id":"\u003canonymous-schema-243>"},"payload":{"type":"object","required":["status"],"properties":{"status":{"type":"integer","description":"Status code for this reply. `200` means success.","example":200,"x-parser-schema-id":"\u003canonymous-schema-245>"},"data":{"type":"object","description":"Equity snapshot data with quote, trade, and company details.","properties":{"symbol":{"type":"string","description":"The ticker symbol","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-246>"},"name":{"type":"string","description":"Company name","example":"Apple Inc.","x-parser-schema-id":"\u003canonymous-schema-247>"},"description":{"type":"string","description":"Company description","x-parser-schema-id":"\u003canonymous-schema-248>"},"assetType":{"type":"string","description":"Type of asset (e.g., Common Stock)","example":"Common Stock","x-parser-schema-id":"\u003canonymous-schema-249>"},"sector":{"type":"string","description":"Business sector","example":"TECHNOLOGY","x-parser-schema-id":"\u003canonymous-schema-250>"},"industry":{"type":"string","description":"Industry classification","example":"CONSUMER ELECTRONICS","x-parser-schema-id":"\u003canonymous-schema-251>"},"address":{"type":"string","description":"Company headquarters address","x-parser-schema-id":"\u003canonymous-schema-252>"},"sicCode":{"type":"string","description":"Standard Industrial Classification code","x-parser-schema-id":"\u003canonymous-schema-253>"},"fiscalYearEnd":{"type":"string","description":"Fiscal year end month","example":"September","x-parser-schema-id":"\u003canonymous-schema-254>"},"latestQuarter":{"type":"string","description":"Most recent quarter end date","example":"2025-09-30","x-parser-schema-id":"\u003canonymous-schema-255>"},"lastPrice":{"type":"string","description":"Last traded price","x-parser-schema-id":"\u003canonymous-schema-256>"},"price":{"type":"string","description":"Current price","x-parser-schema-id":"\u003canonymous-schema-257>"},"openPrice":{"type":"string","description":"Opening price for the day","x-parser-schema-id":"\u003canonymous-schema-258>"},"highPrice":{"type":"string","description":"Highest price for the day","x-parser-schema-id":"\u003canonymous-schema-259>"},"lowPrice":{"type":"string","description":"Lowest price for the day","x-parser-schema-id":"\u003canonymous-schema-260>"},"closePrice":{"type":"string","description":"Previous closing price","x-parser-schema-id":"\u003canonymous-schema-261>"},"netChange":{"type":"string","description":"Net price change from previous close","x-parser-schema-id":"\u003canonymous-schema-262>"},"bidPrice":{"type":"string","description":"Current bid price","x-parser-schema-id":"\u003canonymous-schema-263>"},"bidSize":{"type":"string","description":"Size at bid price","x-parser-schema-id":"\u003canonymous-schema-264>"},"askPrice":{"type":"string","description":"Current ask price","x-parser-schema-id":"\u003canonymous-schema-265>"},"askSize":{"type":"string","description":"Size at ask price","x-parser-schema-id":"\u003canonymous-schema-266>"},"midPrice":{"type":"string","description":"Mid-point between bid and ask","x-parser-schema-id":"\u003canonymous-schema-267>"},"spread":{"type":"string","description":"Bid-ask spread","x-parser-schema-id":"\u003canonymous-schema-268>"},"bidExchange":{"type":"string","description":"Exchange providing best bid","x-parser-schema-id":"\u003canonymous-schema-269>"},"askExchange":{"type":"string","description":"Exchange providing best ask","x-parser-schema-id":"\u003canonymous-schema-270>"},"tradeExchange":{"type":"string","description":"Exchange of last trade","x-parser-schema-id":"\u003canonymous-schema-271>"},"totalVolume":{"type":"string","description":"Total trading volume for the day","x-parser-schema-id":"\u003canonymous-schema-272>"},"avgVolume4Weeks":{"type":"string","description":"Average daily volume over 4 weeks","x-parser-schema-id":"\u003canonymous-schema-273>"},"tick":{"type":"string","description":"Tick direction (-1, 0, 1)","x-parser-schema-id":"\u003canonymous-schema-274>"},"tradeSeq":{"type":"string","description":"Trade sequence number","x-parser-schema-id":"\u003canonymous-schema-275>"},"quoteTimestamp":{"type":"string","description":"Timestamp of last quote update","x-parser-schema-id":"\u003canonymous-schema-276>"},"tradeTimestamp":{"type":"string","description":"Timestamp of last trade","x-parser-schema-id":"\u003canonymous-schema-277>"},"high52WeekPrice":{"type":"string","description":"52-week high price","x-parser-schema-id":"\u003canonymous-schema-278>"},"high52WeekDate":{"type":"string","description":"Date of 52-week high","x-parser-schema-id":"\u003canonymous-schema-279>"},"low52WeekPrice":{"type":"string","description":"52-week low price","x-parser-schema-id":"\u003canonymous-schema-280>"},"low52WeekDate":{"type":"string","description":"Date of 52-week low","x-parser-schema-id":"\u003canonymous-schema-281>"},"movingAverage50Day":{"type":"string","description":"50-day moving average","x-parser-schema-id":"\u003canonymous-schema-282>"},"movingAverage200Day":{"type":"string","description":"200-day moving average","x-parser-schema-id":"\u003canonymous-schema-283>"},"marketCapitalization":{"type":"string","description":"Market capitalization","x-parser-schema-id":"\u003canonymous-schema-284>"},"sharesOutstanding":{"type":"string","description":"Total shares outstanding","x-parser-schema-id":"\u003canonymous-schema-285>"},"eps":{"type":"string","description":"Earnings per share","x-parser-schema-id":"\u003canonymous-schema-286>"},"EPSDiluted":{"type":"string","description":"Diluted earnings per share","x-parser-schema-id":"\u003canonymous-schema-287>"},"dilutedEPSTTM":{"type":"string","description":"Trailing twelve month diluted EPS","x-parser-schema-id":"\u003canonymous-schema-288>"},"EPSLatest12Month":{"type":"string","description":"Latest 12-month EPS","x-parser-schema-id":"\u003canonymous-schema-289>"},"EPS3YearGrowthRate":{"type":"string","description":"3-year EPS growth rate","x-parser-schema-id":"\u003canonymous-schema-290>"},"EPS5YearGrowthRate":{"type":"string","description":"5-year EPS growth rate","x-parser-schema-id":"\u003canonymous-schema-291>"},"PE":{"type":"string","description":"Price-to-earnings ratio","x-parser-schema-id":"\u003canonymous-schema-292>"},"trailingPE":{"type":"string","description":"Trailing P/E ratio","x-parser-schema-id":"\u003canonymous-schema-293>"},"forwardPE":{"type":"string","description":"Forward P/E ratio","x-parser-schema-id":"\u003canonymous-schema-294>"},"pegRatio":{"type":"string","description":"PEG ratio (P/E to growth)","x-parser-schema-id":"\u003canonymous-schema-295>"},"priceToBookRatio":{"type":"string","description":"Price-to-book ratio","x-parser-schema-id":"\u003canonymous-schema-296>"},"priceToSalesRatioTTM":{"type":"string","description":"Trailing twelve month price-to-sales ratio","x-parser-schema-id":"\u003canonymous-schema-297>"},"bookValue":{"type":"string","description":"Book value per share","x-parser-schema-id":"\u003canonymous-schema-298>"},"beta":{"type":"string","description":"Beta coefficient","x-parser-schema-id":"\u003canonymous-schema-299>"},"dividend":{"type":"string","description":"Latest dividend amount","x-parser-schema-id":"\u003canonymous-schema-300>"},"dividendPerShare":{"type":"string","description":"Annual dividend per share","x-parser-schema-id":"\u003canonymous-schema-301>"},"dividendYield":{"type":"string","description":"Dividend yield","x-parser-schema-id":"\u003canonymous-schema-302>"},"revenueTTM":{"type":"string","description":"Trailing twelve month revenue","x-parser-schema-id":"\u003canonymous-schema-303>"},"revenuePerShareTTM":{"type":"string","description":"Trailing twelve month revenue per share","x-parser-schema-id":"\u003canonymous-schema-304>"},"grossProfitTTM":{"type":"string","description":"Trailing twelve month gross profit","x-parser-schema-id":"\u003canonymous-schema-305>"},"ebitda":{"type":"string","description":"EBITDA","x-parser-schema-id":"\u003canonymous-schema-306>"},"profitMargin":{"type":"string","description":"Profit margin","x-parser-schema-id":"\u003canonymous-schema-307>"},"operatingMarginTTM":{"type":"string","description":"Trailing twelve month operating margin","x-parser-schema-id":"\u003canonymous-schema-308>"},"returnOnAssetsTTM":{"type":"string","description":"Trailing twelve month return on assets","x-parser-schema-id":"\u003canonymous-schema-309>"},"returnOnEquityTTM":{"type":"string","description":"Trailing twelve month return on equity","x-parser-schema-id":"\u003canonymous-schema-310>"},"evToRevenue":{"type":"string","description":"Enterprise value to revenue ratio","x-parser-schema-id":"\u003canonymous-schema-311>"},"evToEBITDA":{"type":"string","description":"Enterprise value to EBITDA ratio","x-parser-schema-id":"\u003canonymous-schema-312>"},"quarterlyEarningsGrowthYOY":{"type":"string","description":"Year-over-year quarterly earnings growth","x-parser-schema-id":"\u003canonymous-schema-313>"},"quarterlyRevenueGrowthYOY":{"type":"string","description":"Year-over-year quarterly revenue growth","x-parser-schema-id":"\u003canonymous-schema-314>"},"assets":{"type":"string","description":"Total assets","x-parser-schema-id":"\u003canonymous-schema-315>"},"liabilities":{"type":"string","description":"Total liabilities","x-parser-schema-id":"\u003canonymous-schema-316>"},"longTermDebt":{"type":"string","description":"Long-term debt","x-parser-schema-id":"\u003canonymous-schema-317>"},"alphaVantageUpdatedAt":{"type":"string","description":"Timestamp when fundamentals were last refreshed from the external data source","x-parser-schema-id":"\u003canonymous-schema-318>"},"type":{"type":"string","description":"Category reported for this snapshot record, such as the source or instrument group. This is not the top-level WebSocket message `type`.","x-parser-schema-id":"\u003canonymous-schema-319>"},"size":{"type":"string","description":"Trade size","x-parser-schema-id":"\u003canonymous-schema-320>"}},"x-parser-schema-id":"EquitySnapshotData"},"error":{"type":"object","description":"Error details in a response","properties":{"type":{"type":"string","description":"Error type category","enum":["bad_request","not_found","internal","unauthorized"],"example":"bad_request","x-parser-schema-id":"\u003canonymous-schema-216>"},"code":{"type":"string","description":"Error code for programmatic handling","example":"INVALID_REQUEST","x-parser-schema-id":"\u003canonymous-schema-217>"},"message":{"type":"string","description":"Human-readable error message","example":"symbol is required","x-parser-schema-id":"\u003canonymous-schema-218>"}},"x-parser-schema-id":"ResponseError"}},"x-parser-schema-id":"\u003canonymous-schema-244>"}},"x-parser-schema-id":"GetEquitySnapshotResponsePayload"},"title":"Get Equity Snapshot Response","description":"Response containing comprehensive equity data snapshot","example":"{\n \"type\": \"response\",\n \"id\": \"req-003\",\n \"timestamp\": \"2026-01-07T15:17:32Z\",\n \"payload\": {\n \"status\": 200,\n \"data\": {\n \"symbol\": \"AAPL\",\n \"name\": \"Apple Inc.\",\n \"description\": \"Apple Inc. is a preeminent American multinational technology company renowned for its innovative consumer electronics, software, and online services.\",\n \"assetType\": \"Common Stock\",\n \"sector\": \"TECHNOLOGY\",\n \"industry\": \"CONSUMER ELECTRONICS\",\n \"address\": \"ONE APPLE PARK WAY, CUPERTINO, CA, UNITED STATES, 95014\",\n \"sicCode\": \"3663\",\n \"fiscalYearEnd\": \"September\",\n \"latestQuarter\": \"2025-09-30\",\n \"lastPrice\": \"261.9\",\n \"price\": \"261.968295\",\n \"openPrice\": \"263.59999999999997\",\n \"highPrice\": \"263.68\",\n \"lowPrice\": \"261.21\",\n \"closePrice\": \"262.428295\",\n \"netChange\": \"-0.45999999999999996\",\n \"bidPrice\": \"261.98\",\n \"bidSize\": \"400\",\n \"askPrice\": \"261.99\",\n \"askSize\": \"100\",\n \"midPrice\": \"261.985\",\n \"spread\": \"0.009999999999990905\",\n \"bidExchange\": \"NQEX|Nasdaq Exchange\",\n \"askExchange\": \"NQEX|Nasdaq Exchange\",\n \"tradeExchange\": \"NQNX|Nasdaq Trade Reporting Facility\",\n \"totalVolume\": \"10781409\",\n \"avgVolume4Weeks\": \"41245325\",\n \"tick\": \"-1\",\n \"tradeSeq\": \"13264647\",\n \"quoteTimestamp\": \"2026-01-07T10:16:56.961000-05:00\",\n \"tradeTimestamp\": \"2026-01-07T10:17:31.398000-05:00\",\n \"high52WeekPrice\": \"288.62\",\n \"high52WeekDate\": \"2025-12-03T00:00:00.000Z\",\n \"low52WeekPrice\": \"169.2101\",\n \"low52WeekDate\": \"2025-04-08T00:00:00.000Z\",\n \"movingAverage50Day\": \"269.52\",\n \"movingAverage200Day\": \"229.91\",\n \"marketCapitalization\": \"4021300494000\",\n \"sharesOutstanding\": \"14776353\",\n \"eps\": \"7.4\",\n \"EPSDiluted\": \"1.84\",\n \"dilutedEPSTTM\": \"7.4\",\n \"EPSLatest12Month\": \"89.690722\",\n \"EPS3YearGrowthRate\": \"12.566554\",\n \"EPS5YearGrowthRate\": \"19.982310000000002\",\n \"PE\": \"35.1689\",\n \"trailingPE\": \"36.62\",\n \"forwardPE\": \"33.0\",\n \"pegRatio\": \"2.769\",\n \"priceToBookRatio\": \"54.84\",\n \"priceToSalesRatioTTM\": \"9.66\",\n \"bookValue\": \"4.991\",\n \"beta\": \"1.107\",\n \"dividend\": \"0.26\",\n \"dividendPerShare\": \"1.02\",\n \"dividendYield\": \"0.0037\",\n \"revenueTTM\": \"416161006000\",\n \"revenuePerShareTTM\": \"27.84\",\n \"grossProfitTTM\": \"195201008000\",\n \"ebitda\": \"144748003000\",\n \"profitMargin\": \"0.269\",\n \"operatingMarginTTM\": \"0.317\",\n \"returnOnAssetsTTM\": \"0.23\",\n \"returnOnEquityTTM\": \"1.714\",\n \"evToRevenue\": \"9.82\",\n \"evToEBITDA\": \"28.24\",\n \"quarterlyEarningsGrowthYOY\": \"0.912\",\n \"quarterlyRevenueGrowthYOY\": \"0.079\",\n \"assets\": \"359241000\",\n \"liabilities\": \"285508000\",\n \"longTermDebt\": \"986570000\",\n \"alphaVantageUpdatedAt\": \"2025-12-23T11:29:26Z\",\n \"type\": \"ETRADE\",\n \"size\": \"1\"\n }\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"getEquitySnapshotResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveMarketStatusUpdate","title":"Receive Market Status Update","description":"Receive current market status","type":"send","messages":[{"id":"marketStatusUpdate","contentType":"application/json","payload":[{"name":"Market Status Update","description":"Current market status","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":true},{"name":"payload","type":"object","description":"Market status details sent after authentication and whenever the market status changes.","required":true,"properties":[{"name":"action","type":"string","description":"Market status is sent as an update event","required":true},{"name":"type","type":"string","description":"Data type for market status messages.","required":true},{"name":"data","type":"object","required":true,"properties":[{"name":"market","type":"string","description":"Overall market status","required":false},{"name":"serverTime","type":"string","description":"Server timestamp from the market status provider","required":false},{"name":"exchanges","type":"object","description":"Exchange status map","required":false},{"name":"currencies","type":"object","description":"Currency market status map","required":false},{"name":"afterHours","type":"boolean","description":"Whether after-hours trading is active","required":false},{"name":"earlyHours","type":"boolean","description":"Whether pre-market trading is active","required":false}]},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds","required":true}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server event that reports the current market status.","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-343>"},"payload":{"type":"object","required":["action","type","data","timestamp"],"description":"Market status details sent after authentication and whenever the market status changes.","properties":{"action":{"type":"string","const":"update","description":"Market status is sent as an update event","x-parser-schema-id":"\u003canonymous-schema-344>"},"type":{"type":"string","const":"marketStatus","description":"Data type for market status messages.","x-parser-schema-id":"\u003canonymous-schema-345>"},"data":{"type":"object","properties":{"market":{"type":"string","description":"Overall market status","example":"open","x-parser-schema-id":"\u003canonymous-schema-346>"},"serverTime":{"type":"string","description":"Server timestamp from the market status provider","example":"2026-05-13T10:30:00Z","x-parser-schema-id":"\u003canonymous-schema-347>"},"exchanges":{"type":"object","additionalProperties":{"type":"string","x-parser-schema-id":"\u003canonymous-schema-349>"},"description":"Exchange status map","x-parser-schema-id":"\u003canonymous-schema-348>"},"currencies":{"type":"object","additionalProperties":{"type":"string","x-parser-schema-id":"\u003canonymous-schema-351>"},"description":"Currency market status map","x-parser-schema-id":"\u003canonymous-schema-350>"},"afterHours":{"type":"boolean","description":"Whether after-hours trading is active","x-parser-schema-id":"\u003canonymous-schema-352>"},"earlyHours":{"type":"boolean","description":"Whether pre-market trading is active","x-parser-schema-id":"\u003canonymous-schema-353>"}},"x-parser-schema-id":"MarketStatusData"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds","example":1701450000123,"x-parser-schema-id":"\u003canonymous-schema-354>"}},"x-parser-schema-id":"MarketStatusEventPayload"}},"x-parser-schema-id":"MarketStatusUpdatePayload"},"title":"Market Status Update","description":"Current market status","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"update\",\n \"type\": \"marketStatus\",\n \"data\": {\n \"market\": \"open\",\n \"serverTime\": \"2026-05-13T10:30:00Z\",\n \"exchanges\": {\n \"nyse\": \"open\",\n \"nasdaq\": \"open\"\n },\n \"currencies\": {\n \"fx\": \"open\"\n },\n \"afterHours\": false,\n \"earlyHours\": false\n },\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketStatusUpdate"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]}],"sendOperations":[{"id":"authenticate","title":"Authenticate","description":"Sign in to the market-data WebSocket","type":"receive","messages":[{"id":"authRequest","contentType":"application/json","payload":[{"name":"Auth Request","description":"Request to authenticate the WebSocket connection","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `request` when you authenticate.","enumValues":["request"],"required":true},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want it returned in the auth reply.","required":false},{"name":"timestamp","type":"string","description":"Optional time when your client created this message, in ISO 8601 format.","required":false},{"name":"payload","type":"object","description":"Put the auth request details here.","required":true,"properties":[{"name":"method","type":"string","description":"Use `POST` to send the token for authentication.","enumValues":["POST"],"required":true},{"name":"path","type":"string","description":"Auth route on the WebSocket API. Always `/auth`.","enumValues":["/auth"],"required":true},{"name":"body","type":"object","description":"JSON body for `POST /auth`. Put the raw access token directly in `body.token`.","required":true,"properties":[{"name":"token","type":"string","description":"Access token for this WebSocket connection.","required":true}]}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Sign-in message. Send this right after connecting so the server can open your market-data connection.","properties":{"type":{"type":"string","enum":["request"],"description":"Set this to `request` when you authenticate.","example":"request","x-parser-schema-id":"\u003canonymous-schema-1>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want it returned in the auth reply.","example":"auth-001","x-parser-schema-id":"\u003canonymous-schema-2>"},"timestamp":{"type":"string","format":"date-time","description":"Optional time when your client created this message, in ISO 8601 format.","example":"2025-01-15T10:30:00Z","x-parser-schema-id":"\u003canonymous-schema-3>"},"payload":{"type":"object","required":["method","path","body"],"description":"Put the auth request details here.","properties":{"method":{"type":"string","enum":["POST"],"description":"Use `POST` to send the token for authentication.","example":"POST","x-parser-schema-id":"\u003canonymous-schema-5>"},"path":{"type":"string","enum":["/auth"],"description":"Auth route on the WebSocket API. Always `/auth`.","example":"/auth","x-parser-schema-id":"\u003canonymous-schema-6>"},"body":{"type":"object","required":["token"],"description":"JSON body for `POST /auth`. Put the raw access token directly in `body.token`.","properties":{"token":{"type":"string","description":"Access token for this WebSocket connection.","example":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...","x-parser-schema-id":"\u003canonymous-schema-8>"}},"example":{"token":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."},"x-parser-schema-id":"\u003canonymous-schema-7>"}},"example":{"method":"POST","path":"/auth","body":{"token":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."}},"x-parser-schema-id":"\u003canonymous-schema-4>"}},"x-parser-schema-id":"AuthRequestPayload"},"title":"Auth Request","description":"Request to authenticate the WebSocket connection","example":"{\n \"type\": \"request\",\n \"id\": \"auth-001\",\n \"payload\": {\n \"method\": \"POST\",\n \"path\": \"/auth\",\n \"body\": {\n \"token\": \"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyLTEyMzQ1IiwiZXhwIjoxNzAxNDUzNjAwfQ.signature\"\n }\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"authRequest"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"subscribe","title":"Subscribe to Market Data","description":"Subscribe to real-time quote, trade, Level 2, Time \u0026 Sales, and/or Greeks data for one or more symbols","type":"receive","messages":[{"id":"subscribeRequest","contentType":"application/json","payload":[{"name":"Subscribe Request","description":"Request to subscribe to market data for one or more symbols","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `subscribe` to start live updates.","enumValues":["subscribe"],"required":true},{"name":"payload","type":"array","description":"Add one or more symbol requests here. Each one tells the server which symbol and data you want.","required":true,"properties":[{"name":"symbol","type":"string","description":"Symbol to subscribe to. For stocks and indices use ticker symbols such as `AAPL` or `SPX`. For options use symbols such as `AAPL240119C00150000`.","required":true},{"name":"symbolType","type":"string","description":"Optional. Use `option` only when the symbol is an option.","enumValues":["equity","option"],"required":false},{"name":"fields","type":"oneOf","description":"Combined field list. Use this if you want to send one field list instead of separate quote, trade, or Greeks lists. Use `[\"*\"]` to ask for all fields.","required":false},{"name":"quoteFields","type":"oneOf","description":"Quote fields you want back. If you leave both `quoteFields` and `tradeFields` empty, the server sends all quote and trade fields.","required":false},{"name":"tradeFields","type":"oneOf","description":"Trade fields you want back. If you leave both `quoteFields` and `tradeFields` empty, the server sends all quote and trade fields.","required":false},{"name":"level2","type":"boolean","description":"Set to `true` to get Level 2 order book updates from multiple exchanges.","required":false},{"name":"timeAndSales","type":"boolean","description":"Set to `true` to get Time \u0026 Sales updates.","required":false},{"name":"timeAndSalesFields","type":"oneOf","description":"Time \u0026 Sales fields to subscribe to. If omitted when timeAndSales is true, all Time \u0026 Sales fields are included.","required":false},{"name":"greeksFields","type":"oneOf","description":"Greeks fields you want back. Use this only for options.","required":false}]},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want the server to send it back in related replies.","required":false}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"properties":{"type":{"type":"string","enum":["subscribe"],"const":"subscribe","description":"Set this to `subscribe` to start live updates.","example":"subscribe","x-parser-schema-id":"\u003canonymous-schema-9>"},"payload":{"type":"array","description":"Add one or more symbol requests here. Each one tells the server which symbol and data you want.","minItems":1,"items":{"type":"object","required":["symbol"],"description":"Subscription request for a single symbol with optional field selection and data types. Field list properties accept either a string or an array of strings.","properties":{"symbol":{"type":"string","description":"Symbol to subscribe to. For stocks and indices use ticker symbols such as `AAPL` or `SPX`. For options use symbols such as `AAPL240119C00150000`.","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-11>"},"symbolType":{"type":"string","enum":["equity","option"],"default":"equity","description":"Optional. Use `option` only when the symbol is an option.","example":"equity","x-parser-schema-id":"\u003canonymous-schema-12>"},"fields":{"oneOf":[{"type":"string","description":"Field names you can use in `SymbolFieldRequest.fields`.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available Greeks fields","x-parser-schema-id":"\u003canonymous-schema-14>"},{"const":"bidPrice","description":"Current best bid price - the highest price a buyer is willing to pay","x-parser-schema-id":"\u003canonymous-schema-15>"},{"const":"bidSize","description":"Number of shares available at the bid price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-16>"},{"const":"bidExchange","description":"Exchange code where the best bid originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-17>"},{"const":"askPrice","description":"Current best ask (offer) price - the lowest price a seller is willing to accept","x-parser-schema-id":"\u003canonymous-schema-18>"},{"const":"askSize","description":"Number of shares available at the ask price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-19>"},{"const":"askExchange","description":"Exchange code where the best ask originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-20>"},{"const":"quoteTimestamp","description":"Unix timestamp in milliseconds of the consolidated/top-of-book quote time","x-parser-schema-id":"\u003canonymous-schema-21>"},{"const":"midPrice","description":"Midpoint price calculated as (bidPrice + askPrice) / 2","x-parser-schema-id":"\u003canonymous-schema-22>"},{"const":"spread","description":"Bid-ask spread calculated as askPrice - bidPrice","x-parser-schema-id":"\u003canonymous-schema-23>"},{"const":"openInterest","description":"Total number of outstanding open contracts for the option. Only applicable when symbolType is 'option'.","x-parser-schema-id":"\u003canonymous-schema-24>"},{"const":"price","description":"Last trade execution price (same as lastPrice in most cases)","x-parser-schema-id":"\u003canonymous-schema-25>"},{"const":"size","description":"Number of shares in the last trade execution","x-parser-schema-id":"\u003canonymous-schema-26>"},{"const":"totalVolume","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-27>"},{"const":"openPrice","description":"Opening price for today.","x-parser-schema-id":"\u003canonymous-schema-28>"},{"const":"highPrice","description":"Highest price so far today.","x-parser-schema-id":"\u003canonymous-schema-29>"},{"const":"lowPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-30>"},{"const":"lastPrice","description":"Most recent trade price (last sale price)","x-parser-schema-id":"\u003canonymous-schema-31>"},{"const":"netChange","description":"Net price change from previous close (lastPrice - previousClosePrice)","x-parser-schema-id":"\u003canonymous-schema-32>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-33>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-34>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-35>"},{"const":"closePrice","description":"Official close price. This may be from today or the previous trading day, depending on market hours.","x-parser-schema-id":"\u003canonymous-schema-36>"},{"const":"delta","description":"Rate of change of the option price relative to a $1 change in the underlying asset price. Ranges from -1 to 1 for puts and 0 to 1 for calls.","x-parser-schema-id":"\u003canonymous-schema-37>"},{"const":"gamma","description":"Rate of change of delta relative to a $1 change in the underlying asset price. Measures the convexity of the option's value.","x-parser-schema-id":"\u003canonymous-schema-38>"},{"const":"theta","description":"Rate of change of the option price relative to the passage of time (time decay). Typically negative, representing daily value erosion.","x-parser-schema-id":"\u003canonymous-schema-39>"},{"const":"vega","description":"Rate of change of the option price relative to a 1% change in implied volatility.","x-parser-schema-id":"\u003canonymous-schema-40>"},{"const":"rho","description":"Rate of change of the option price relative to a 1% change in the risk-free interest rate.","x-parser-schema-id":"\u003canonymous-schema-41>"},{"const":"impliedVolatility","description":"The market's implied volatility for the option contract, expressed as a decimal (e.g., 0.2752 = 27.52%).","x-parser-schema-id":"\u003canonymous-schema-42>"},{"const":"symbol","description":"Option symbol.","x-parser-schema-id":"\u003canonymous-schema-43>"},{"const":"timestamp","description":"Time when these Greeks were calculated, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-44>"}],"x-parser-schema-id":"UnifiedFieldEnum"},{"type":"array","description":"Array of field names","minItems":1,"items":{"type":"string","description":"Field names you can use in `SymbolFieldRequest.fields`.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available Greeks fields","x-parser-schema-id":"\u003canonymous-schema-14>"},{"const":"bidPrice","description":"Current best bid price - the highest price a buyer is willing to pay","x-parser-schema-id":"\u003canonymous-schema-15>"},{"const":"bidSize","description":"Number of shares available at the bid price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-16>"},{"const":"bidExchange","description":"Exchange code where the best bid originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-17>"},{"const":"askPrice","description":"Current best ask (offer) price - the lowest price a seller is willing to accept","x-parser-schema-id":"\u003canonymous-schema-18>"},{"const":"askSize","description":"Number of shares available at the ask price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-19>"},{"const":"askExchange","description":"Exchange code where the best ask originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-20>"},{"const":"quoteTimestamp","description":"Unix timestamp in milliseconds of the consolidated/top-of-book quote time","x-parser-schema-id":"\u003canonymous-schema-21>"},{"const":"midPrice","description":"Midpoint price calculated as (bidPrice + askPrice) / 2","x-parser-schema-id":"\u003canonymous-schema-22>"},{"const":"spread","description":"Bid-ask spread calculated as askPrice - bidPrice","x-parser-schema-id":"\u003canonymous-schema-23>"},{"const":"openInterest","description":"Total number of outstanding open contracts for the option. Only applicable when symbolType is 'option'.","x-parser-schema-id":"\u003canonymous-schema-24>"},{"const":"price","description":"Last trade execution price (same as lastPrice in most cases)","x-parser-schema-id":"\u003canonymous-schema-25>"},{"const":"size","description":"Number of shares in the last trade execution","x-parser-schema-id":"\u003canonymous-schema-26>"},{"const":"totalVolume","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-27>"},{"const":"openPrice","description":"Opening price for today.","x-parser-schema-id":"\u003canonymous-schema-28>"},{"const":"highPrice","description":"Highest price so far today.","x-parser-schema-id":"\u003canonymous-schema-29>"},{"const":"lowPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-30>"},{"const":"lastPrice","description":"Most recent trade price (last sale price)","x-parser-schema-id":"\u003canonymous-schema-31>"},{"const":"netChange","description":"Net price change from previous close (lastPrice - previousClosePrice)","x-parser-schema-id":"\u003canonymous-schema-32>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-33>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-34>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-35>"},{"const":"closePrice","description":"Official close price. This may be from today or the previous trading day, depending on market hours.","x-parser-schema-id":"\u003canonymous-schema-36>"},{"const":"delta","description":"Rate of change of the option price relative to a $1 change in the underlying asset price. Ranges from -1 to 1 for puts and 0 to 1 for calls.","x-parser-schema-id":"\u003canonymous-schema-37>"},{"const":"gamma","description":"Rate of change of delta relative to a $1 change in the underlying asset price. Measures the convexity of the option's value.","x-parser-schema-id":"\u003canonymous-schema-38>"},{"const":"theta","description":"Rate of change of the option price relative to the passage of time (time decay). Typically negative, representing daily value erosion.","x-parser-schema-id":"\u003canonymous-schema-39>"},{"const":"vega","description":"Rate of change of the option price relative to a 1% change in implied volatility.","x-parser-schema-id":"\u003canonymous-schema-40>"},{"const":"rho","description":"Rate of change of the option price relative to a 1% change in the risk-free interest rate.","x-parser-schema-id":"\u003canonymous-schema-41>"},{"const":"impliedVolatility","description":"The market's implied volatility for the option contract, expressed as a decimal (e.g., 0.2752 = 27.52%).","x-parser-schema-id":"\u003canonymous-schema-42>"},{"const":"symbol","description":"Option symbol.","x-parser-schema-id":"\u003canonymous-schema-43>"},{"const":"timestamp","description":"Time when these Greeks were calculated, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-44>"}],"x-parser-schema-id":"UnifiedFieldEnum"},"x-parser-schema-id":"\u003canonymous-schema-45>"}],"description":"Combined field list. Use this if you want to send one field list instead of separate quote, trade, or Greeks lists. Use `[\"*\"]` to ask for all fields.","example":["bidPrice","lastPrice","delta"],"x-parser-schema-id":"\u003canonymous-schema-13>"},"quoteFields":{"oneOf":[{"type":"string","description":"Available fields for quote subscriptions. Quote data represents the current best bid and ask prices from the order book. You can also subscribe to fundamental and reference fields (e.g. sharesOutstanding, PE, dividend) sourced from the symbol snapshot; these are delivered as strings (except hasOptions, which is a boolean) and their field names are case-sensitive.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available quote fields","x-parser-schema-id":"\u003canonymous-schema-47>"},{"const":"bidPrice","description":"Current best bid price - the highest price a buyer is willing to pay","x-parser-schema-id":"\u003canonymous-schema-48>"},{"const":"bidSize","description":"Number of shares available at the bid price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-49>"},{"const":"bidExchange","description":"Exchange code where the best bid originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-50>"},{"const":"askPrice","description":"Current best ask (offer) price - the lowest price a seller is willing to accept","x-parser-schema-id":"\u003canonymous-schema-51>"},{"const":"askSize","description":"Number of shares available at the ask price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-52>"},{"const":"askExchange","description":"Exchange code where the best ask originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-53>"},{"const":"quoteTimestamp","description":"Unix timestamp in milliseconds of the consolidated/top-of-book quote time","x-parser-schema-id":"\u003canonymous-schema-54>"},{"const":"midPrice","description":"Midpoint price calculated as (bidPrice + askPrice) / 2","x-parser-schema-id":"\u003canonymous-schema-55>"},{"const":"spread","description":"Bid-ask spread calculated as askPrice - bidPrice","x-parser-schema-id":"\u003canonymous-schema-56>"},{"const":"openInterest","description":"Total number of outstanding open contracts for the option. Only applicable when symbolType is 'option'.","x-parser-schema-id":"\u003canonymous-schema-57>"},{"const":"type","description":"Data source type for the snapshot record. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-58>"},{"const":"sicCode","description":"Standard Industrial Classification (SIC) code identifying the company's industry. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-59>"},{"const":"hasOptions","description":"Whether the symbol has listed options available. Fundamental/reference field delivered as a boolean.","x-parser-schema-id":"\u003canonymous-schema-60>"},{"const":"sharesOutstanding","description":"Total shares outstanding. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-61>"},{"const":"assets","description":"Total assets. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-62>"},{"const":"liabilities","description":"Total liabilities. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-63>"},{"const":"longTermDebt","description":"Long-term debt. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-64>"},{"const":"EPSDiluted","description":"Diluted earnings per share. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-65>"},{"const":"EPSLatest12Month","description":"Latest 12-month (trailing) earnings per share. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-66>"},{"const":"EPS3YearGrowthRate","description":"3-year EPS growth rate. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-67>"},{"const":"EPS5YearGrowthRate","description":"5-year EPS growth rate. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-68>"},{"const":"avgVolume4Weeks","description":"Average daily trading volume over the trailing 4 weeks. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-69>"},{"const":"PE","description":"Price-to-earnings (P/E) ratio. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-70>"},{"const":"high52WeekPrice","description":"52-week high price. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-71>"},{"const":"high52WeekDate","description":"Date of the 52-week high. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-72>"},{"const":"low52WeekPrice","description":"52-week low price. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-73>"},{"const":"low52WeekDate","description":"Date of the 52-week low. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-74>"},{"const":"dividend","description":"Latest dividend amount. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-75>"},{"const":"shortSaleRestricted","description":"Whether the symbol is under a short-sale restriction (SSR). Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-76>"}],"x-parser-schema-id":"QuoteFieldEnum"},{"type":"array","description":"Array of field names","minItems":1,"items":{"type":"string","description":"Available fields for quote subscriptions. Quote data represents the current best bid and ask prices from the order book. You can also subscribe to fundamental and reference fields (e.g. sharesOutstanding, PE, dividend) sourced from the symbol snapshot; these are delivered as strings (except hasOptions, which is a boolean) and their field names are case-sensitive.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available quote fields","x-parser-schema-id":"\u003canonymous-schema-47>"},{"const":"bidPrice","description":"Current best bid price - the highest price a buyer is willing to pay","x-parser-schema-id":"\u003canonymous-schema-48>"},{"const":"bidSize","description":"Number of shares available at the bid price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-49>"},{"const":"bidExchange","description":"Exchange code where the best bid originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-50>"},{"const":"askPrice","description":"Current best ask (offer) price - the lowest price a seller is willing to accept","x-parser-schema-id":"\u003canonymous-schema-51>"},{"const":"askSize","description":"Number of shares available at the ask price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-52>"},{"const":"askExchange","description":"Exchange code where the best ask originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-53>"},{"const":"quoteTimestamp","description":"Unix timestamp in milliseconds of the consolidated/top-of-book quote time","x-parser-schema-id":"\u003canonymous-schema-54>"},{"const":"midPrice","description":"Midpoint price calculated as (bidPrice + askPrice) / 2","x-parser-schema-id":"\u003canonymous-schema-55>"},{"const":"spread","description":"Bid-ask spread calculated as askPrice - bidPrice","x-parser-schema-id":"\u003canonymous-schema-56>"},{"const":"openInterest","description":"Total number of outstanding open contracts for the option. Only applicable when symbolType is 'option'.","x-parser-schema-id":"\u003canonymous-schema-57>"},{"const":"type","description":"Data source type for the snapshot record. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-58>"},{"const":"sicCode","description":"Standard Industrial Classification (SIC) code identifying the company's industry. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-59>"},{"const":"hasOptions","description":"Whether the symbol has listed options available. Fundamental/reference field delivered as a boolean.","x-parser-schema-id":"\u003canonymous-schema-60>"},{"const":"sharesOutstanding","description":"Total shares outstanding. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-61>"},{"const":"assets","description":"Total assets. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-62>"},{"const":"liabilities","description":"Total liabilities. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-63>"},{"const":"longTermDebt","description":"Long-term debt. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-64>"},{"const":"EPSDiluted","description":"Diluted earnings per share. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-65>"},{"const":"EPSLatest12Month","description":"Latest 12-month (trailing) earnings per share. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-66>"},{"const":"EPS3YearGrowthRate","description":"3-year EPS growth rate. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-67>"},{"const":"EPS5YearGrowthRate","description":"5-year EPS growth rate. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-68>"},{"const":"avgVolume4Weeks","description":"Average daily trading volume over the trailing 4 weeks. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-69>"},{"const":"PE","description":"Price-to-earnings (P/E) ratio. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-70>"},{"const":"high52WeekPrice","description":"52-week high price. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-71>"},{"const":"high52WeekDate","description":"Date of the 52-week high. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-72>"},{"const":"low52WeekPrice","description":"52-week low price. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-73>"},{"const":"low52WeekDate","description":"Date of the 52-week low. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-74>"},{"const":"dividend","description":"Latest dividend amount. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-75>"},{"const":"shortSaleRestricted","description":"Whether the symbol is under a short-sale restriction (SSR). Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-76>"}],"x-parser-schema-id":"QuoteFieldEnum"},"x-parser-schema-id":"\u003canonymous-schema-77>"}],"description":"Quote fields you want back. If you leave both `quoteFields` and `tradeFields` empty, the server sends all quote and trade fields.","example":["bidPrice","askPrice","midPrice","spread"],"x-parser-schema-id":"\u003canonymous-schema-46>"},"tradeFields":{"oneOf":[{"type":"string","description":"Available fields for trade subscriptions. Trade data includes last sale information, volume, and OHLC (Open-High-Low-Close) prices.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available trade fields","x-parser-schema-id":"\u003canonymous-schema-79>"},{"const":"price","description":"Last trade execution price (same as lastPrice in most cases)","x-parser-schema-id":"\u003canonymous-schema-80>"},{"const":"size","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-81>"},{"const":"totalVolume","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-82>"},{"const":"openPrice","description":"Highest price so far today.","x-parser-schema-id":"\u003canonymous-schema-83>"},{"const":"highPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-84>"},{"const":"lowPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-85>"},{"const":"lastPrice","description":"Most recent trade price (last sale price)","x-parser-schema-id":"\u003canonymous-schema-86>"},{"const":"netChange","description":"Net price change from previous close (lastPrice - previousClosePrice)","x-parser-schema-id":"\u003canonymous-schema-87>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-88>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-89>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-90>"},{"const":"closePrice","description":"Official close price. This may be from today or the previous trading day, depending on market hours.","x-parser-schema-id":"\u003canonymous-schema-91>"}],"x-parser-schema-id":"TradeFieldEnum"},{"type":"array","description":"Array of field names","minItems":1,"items":{"type":"string","description":"Available fields for trade subscriptions. Trade data includes last sale information, volume, and OHLC (Open-High-Low-Close) prices.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available trade fields","x-parser-schema-id":"\u003canonymous-schema-79>"},{"const":"price","description":"Last trade execution price (same as lastPrice in most cases)","x-parser-schema-id":"\u003canonymous-schema-80>"},{"const":"size","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-81>"},{"const":"totalVolume","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-82>"},{"const":"openPrice","description":"Highest price so far today.","x-parser-schema-id":"\u003canonymous-schema-83>"},{"const":"highPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-84>"},{"const":"lowPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-85>"},{"const":"lastPrice","description":"Most recent trade price (last sale price)","x-parser-schema-id":"\u003canonymous-schema-86>"},{"const":"netChange","description":"Net price change from previous close (lastPrice - previousClosePrice)","x-parser-schema-id":"\u003canonymous-schema-87>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-88>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-89>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-90>"},{"const":"closePrice","description":"Official close price. This may be from today or the previous trading day, depending on market hours.","x-parser-schema-id":"\u003canonymous-schema-91>"}],"x-parser-schema-id":"TradeFieldEnum"},"x-parser-schema-id":"\u003canonymous-schema-92>"}],"description":"Trade fields you want back. If you leave both `quoteFields` and `tradeFields` empty, the server sends all quote and trade fields.","example":["lastPrice","size","totalVolume","netChange"],"x-parser-schema-id":"\u003canonymous-schema-78>"},"level2":{"type":"boolean","default":false,"description":"Set to `true` to get Level 2 order book updates from multiple exchanges.","example":true,"x-parser-schema-id":"\u003canonymous-schema-93>"},"timeAndSales":{"type":"boolean","default":false,"description":"Set to `true` to get Time \u0026 Sales updates.","example":true,"x-parser-schema-id":"\u003canonymous-schema-94>"},"timeAndSalesFields":{"oneOf":[{"type":"string","description":"Available fields for Time \u0026 Sales subscriptions. Time \u0026 Sales shows individual trade executions in real-time.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available Time \u0026 Sales fields","x-parser-schema-id":"\u003canonymous-schema-96>"},{"const":"symbol","description":"The ticker symbol for the trade","x-parser-schema-id":"\u003canonymous-schema-97>"},{"const":"price","description":"Trade execution price","x-parser-schema-id":"\u003canonymous-schema-98>"},{"const":"size","description":"Number of shares in the trade","x-parser-schema-id":"\u003canonymous-schema-99>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-100>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-101>"},{"const":"tradeExchange","description":"Exchange code where the trade was executed (e.g., 'Q' for NASDAQ, 'N' for NYSE, 'D' for FINRA ADF)","x-parser-schema-id":"\u003canonymous-schema-102>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-103>"}],"x-parser-schema-id":"TimeAndSalesFieldEnum"},{"type":"array","description":"Array of field names","minItems":1,"items":{"type":"string","description":"Available fields for Time \u0026 Sales subscriptions. Time \u0026 Sales shows individual trade executions in real-time.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available Time \u0026 Sales fields","x-parser-schema-id":"\u003canonymous-schema-96>"},{"const":"symbol","description":"The ticker symbol for the trade","x-parser-schema-id":"\u003canonymous-schema-97>"},{"const":"price","description":"Trade execution price","x-parser-schema-id":"\u003canonymous-schema-98>"},{"const":"size","description":"Number of shares in the trade","x-parser-schema-id":"\u003canonymous-schema-99>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-100>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-101>"},{"const":"tradeExchange","description":"Exchange code where the trade was executed (e.g., 'Q' for NASDAQ, 'N' for NYSE, 'D' for FINRA ADF)","x-parser-schema-id":"\u003canonymous-schema-102>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-103>"}],"x-parser-schema-id":"TimeAndSalesFieldEnum"},"x-parser-schema-id":"\u003canonymous-schema-104>"}],"description":"Time \u0026 Sales fields to subscribe to. If omitted when timeAndSales is true, all Time \u0026 Sales fields are included.","example":["price","size","tick","tradeTimestamp"],"x-parser-schema-id":"\u003canonymous-schema-95>"},"greeksFields":{"oneOf":[{"type":"string","description":"Available fields for Greeks subscriptions. Greeks are only available for option contracts (symbolType: 'option').","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available Greeks fields","x-parser-schema-id":"\u003canonymous-schema-106>"},{"const":"delta","description":"Rate of change of the option price relative to a $1 change in the underlying asset price. Ranges from -1 to 1 for puts and 0 to 1 for calls.","x-parser-schema-id":"\u003canonymous-schema-107>"},{"const":"gamma","description":"Rate of change of delta relative to a $1 change in the underlying asset price. Measures the convexity of the option's value.","x-parser-schema-id":"\u003canonymous-schema-108>"},{"const":"theta","description":"Rate of change of the option price relative to the passage of time (time decay). Typically negative, representing daily value erosion.","x-parser-schema-id":"\u003canonymous-schema-109>"},{"const":"vega","description":"Rate of change of the option price relative to a 1% change in implied volatility.","x-parser-schema-id":"\u003canonymous-schema-110>"},{"const":"rho","description":"Rate of change of the option price relative to a 1% change in the risk-free interest rate.","x-parser-schema-id":"\u003canonymous-schema-111>"},{"const":"impliedVolatility","description":"The market's implied volatility for the option contract, expressed as a decimal (e.g., 0.2752 = 27.52%).","x-parser-schema-id":"\u003canonymous-schema-112>"},{"const":"symbol","description":"Option symbol.","x-parser-schema-id":"\u003canonymous-schema-113>"},{"const":"timestamp","description":"Time when these Greeks were calculated, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-114>"}],"x-parser-schema-id":"GreeksFieldEnum"},{"type":"array","description":"Array of field names","minItems":1,"items":{"type":"string","description":"Available fields for Greeks subscriptions. Greeks are only available for option contracts (symbolType: 'option').","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available Greeks fields","x-parser-schema-id":"\u003canonymous-schema-106>"},{"const":"delta","description":"Rate of change of the option price relative to a $1 change in the underlying asset price. Ranges from -1 to 1 for puts and 0 to 1 for calls.","x-parser-schema-id":"\u003canonymous-schema-107>"},{"const":"gamma","description":"Rate of change of delta relative to a $1 change in the underlying asset price. Measures the convexity of the option's value.","x-parser-schema-id":"\u003canonymous-schema-108>"},{"const":"theta","description":"Rate of change of the option price relative to the passage of time (time decay). Typically negative, representing daily value erosion.","x-parser-schema-id":"\u003canonymous-schema-109>"},{"const":"vega","description":"Rate of change of the option price relative to a 1% change in implied volatility.","x-parser-schema-id":"\u003canonymous-schema-110>"},{"const":"rho","description":"Rate of change of the option price relative to a 1% change in the risk-free interest rate.","x-parser-schema-id":"\u003canonymous-schema-111>"},{"const":"impliedVolatility","description":"The market's implied volatility for the option contract, expressed as a decimal (e.g., 0.2752 = 27.52%).","x-parser-schema-id":"\u003canonymous-schema-112>"},{"const":"symbol","description":"Option symbol.","x-parser-schema-id":"\u003canonymous-schema-113>"},{"const":"timestamp","description":"Time when these Greeks were calculated, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-114>"}],"x-parser-schema-id":"GreeksFieldEnum"},"x-parser-schema-id":"\u003canonymous-schema-115>"}],"description":"Greeks fields you want back. Use this only for options.","example":["delta","gamma","impliedVolatility"],"x-parser-schema-id":"\u003canonymous-schema-105>"}},"x-parser-schema-id":"SymbolFieldRequest"},"example":[{"symbol":"AAPL","quoteFields":["bidPrice","askPrice"],"tradeFields":["lastPrice","totalVolume"]}],"x-parser-schema-id":"\u003canonymous-schema-10>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want the server to send it back in related replies.","example":"sub-1","x-parser-schema-id":"\u003canonymous-schema-116>"}},"description":"Use this message to start live updates for one or more symbols.","x-parser-schema-id":"SubscribeRequestPayload"},"title":"Subscribe Request","description":"Request to subscribe to market data for one or more symbols","example":"{\n \"type\": \"subscribe\",\n \"id\": \"sub-1\",\n \"payload\": [\n {\n \"symbol\": \"AAPL\",\n \"tradeFields\": [\n \"price\",\n \"size\"\n ]\n }\n ]\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"subscribeRequest"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"unsubscribe","title":"Unsubscribe from Market Data","description":"Unsubscribe from market data for one or more symbols","type":"receive","messages":[{"id":"unsubscribeRequest","contentType":"application/json","payload":[{"name":"Unsubscribe Request","description":"Request to unsubscribe from market data","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `unsubscribe` to stop live updates.","enumValues":["unsubscribe"],"required":true},{"name":"payload","type":"array","required":true,"properties":[{"name":"symbol","type":"string","description":"The ticker symbol to unsubscribe from","required":true},{"name":"quote","type":"boolean","description":"Mode 2: If true, unsubscribe from all quote data for this symbol. Takes precedence over quoteFields.","required":false},{"name":"trade","type":"boolean","description":"Mode 2: If true, unsubscribe from all trade data for this symbol. Takes precedence over tradeFields.","required":false},{"name":"level2","type":"boolean","description":"Mode 2: If true, unsubscribe from Level 2 / Order Book data for this symbol.","required":false},{"name":"timeAndSales","type":"boolean","description":"Mode 2: If true, unsubscribe from Time \u0026 Sales data for this symbol.","required":false},{"name":"greeks","type":"boolean","description":"Mode 2: If true, unsubscribe from all Greeks data for this symbol. Only applicable for option contracts.","required":false},{"name":"quoteFields","type":"array","description":"Mode 3: Specific quote fields to unsubscribe from. The subscription remains active with remaining fields. If all fields are removed, the subscription is terminated.","required":false,"properties":[{"name":"item","type":"string","description":"Available fields for quote subscriptions. Quote data represents the current best bid and ask prices from the order book. You can also subscribe to fundamental and reference fields (e.g. sharesOutstanding, PE, dividend) sourced from the symbol snapshot; these are delivered as strings (except hasOptions, which is a boolean) and their field names are case-sensitive.","required":false}]},{"name":"tradeFields","type":"array","description":"Mode 3: Specific trade fields to unsubscribe from. The subscription remains active with remaining fields. If all fields are removed, the subscription is terminated.","required":false,"properties":[{"name":"item","type":"string","description":"Available fields for trade subscriptions. Trade data includes last sale information, volume, and OHLC (Open-High-Low-Close) prices.","required":false}]}]},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want it returned in the unsubscribe reply or error.","required":false}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"properties":{"type":{"type":"string","enum":["unsubscribe"],"const":"unsubscribe","description":"Set this to `unsubscribe` to stop live updates.","example":"unsubscribe","x-parser-schema-id":"\u003canonymous-schema-117>"},"payload":{"oneOf":[{"type":"array","description":"Mode 1: full unsubscribe. Send a plain array of symbols to remove every active subscription for each symbol.","items":{"type":"string","description":"Symbol to fully unsubscribe from.","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-120>"},"example":["AAPL","MSFT","GOOGL"],"x-parser-schema-id":"\u003canonymous-schema-119>"},{"type":"array","description":"Mode 2 and Mode 3: detailed unsubscribe objects for type-specific or field-level removal.","items":{"type":"object","required":["symbol"],"description":"Detailed unsubscribe request for a single symbol. Supports type-specific (Mode 2) and field-level (Mode 3) unsubscribe.","properties":{"symbol":{"type":"string","description":"The ticker symbol to unsubscribe from","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-122>"},"quote":{"type":"boolean","description":"Mode 2: If true, unsubscribe from all quote data for this symbol. Takes precedence over quoteFields.","example":true,"x-parser-schema-id":"\u003canonymous-schema-123>"},"trade":{"type":"boolean","description":"Mode 2: If true, unsubscribe from all trade data for this symbol. Takes precedence over tradeFields.","example":false,"x-parser-schema-id":"\u003canonymous-schema-124>"},"level2":{"type":"boolean","description":"Mode 2: If true, unsubscribe from Level 2 / Order Book data for this symbol.","example":true,"x-parser-schema-id":"\u003canonymous-schema-125>"},"timeAndSales":{"type":"boolean","description":"Mode 2: If true, unsubscribe from Time \u0026 Sales data for this symbol.","example":true,"x-parser-schema-id":"\u003canonymous-schema-126>"},"greeks":{"type":"boolean","description":"Mode 2: If true, unsubscribe from all Greeks data for this symbol. Only applicable for option contracts.","example":true,"x-parser-schema-id":"\u003canonymous-schema-127>"},"quoteFields":{"type":"array","description":"Mode 3: Specific quote fields to unsubscribe from. The subscription remains active with remaining fields. If all fields are removed, the subscription is terminated.","items":{"type":"string","description":"Available fields for quote subscriptions. Quote data represents the current best bid and ask prices from the order book. You can also subscribe to fundamental and reference fields (e.g. sharesOutstanding, PE, dividend) sourced from the symbol snapshot; these are delivered as strings (except hasOptions, which is a boolean) and their field names are case-sensitive.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available quote fields","x-parser-schema-id":"\u003canonymous-schema-47>"},{"const":"bidPrice","description":"Current best bid price - the highest price a buyer is willing to pay","x-parser-schema-id":"\u003canonymous-schema-48>"},{"const":"bidSize","description":"Number of shares available at the bid price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-49>"},{"const":"bidExchange","description":"Exchange code where the best bid originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-50>"},{"const":"askPrice","description":"Current best ask (offer) price - the lowest price a seller is willing to accept","x-parser-schema-id":"\u003canonymous-schema-51>"},{"const":"askSize","description":"Number of shares available at the ask price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-52>"},{"const":"askExchange","description":"Exchange code where the best ask originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-53>"},{"const":"quoteTimestamp","description":"Unix timestamp in milliseconds of the consolidated/top-of-book quote time","x-parser-schema-id":"\u003canonymous-schema-54>"},{"const":"midPrice","description":"Midpoint price calculated as (bidPrice + askPrice) / 2","x-parser-schema-id":"\u003canonymous-schema-55>"},{"const":"spread","description":"Bid-ask spread calculated as askPrice - bidPrice","x-parser-schema-id":"\u003canonymous-schema-56>"},{"const":"openInterest","description":"Total number of outstanding open contracts for the option. Only applicable when symbolType is 'option'.","x-parser-schema-id":"\u003canonymous-schema-57>"},{"const":"type","description":"Data source type for the snapshot record. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-58>"},{"const":"sicCode","description":"Standard Industrial Classification (SIC) code identifying the company's industry. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-59>"},{"const":"hasOptions","description":"Whether the symbol has listed options available. Fundamental/reference field delivered as a boolean.","x-parser-schema-id":"\u003canonymous-schema-60>"},{"const":"sharesOutstanding","description":"Total shares outstanding. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-61>"},{"const":"assets","description":"Total assets. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-62>"},{"const":"liabilities","description":"Total liabilities. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-63>"},{"const":"longTermDebt","description":"Long-term debt. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-64>"},{"const":"EPSDiluted","description":"Diluted earnings per share. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-65>"},{"const":"EPSLatest12Month","description":"Latest 12-month (trailing) earnings per share. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-66>"},{"const":"EPS3YearGrowthRate","description":"3-year EPS growth rate. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-67>"},{"const":"EPS5YearGrowthRate","description":"5-year EPS growth rate. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-68>"},{"const":"avgVolume4Weeks","description":"Average daily trading volume over the trailing 4 weeks. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-69>"},{"const":"PE","description":"Price-to-earnings (P/E) ratio. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-70>"},{"const":"high52WeekPrice","description":"52-week high price. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-71>"},{"const":"high52WeekDate","description":"Date of the 52-week high. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-72>"},{"const":"low52WeekPrice","description":"52-week low price. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-73>"},{"const":"low52WeekDate","description":"Date of the 52-week low. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-74>"},{"const":"dividend","description":"Latest dividend amount. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-75>"},{"const":"shortSaleRestricted","description":"Whether the symbol is under a short-sale restriction (SSR). Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-76>"}],"x-parser-schema-id":"QuoteFieldEnum"},"example":["bidPrice","askPrice"],"x-parser-schema-id":"\u003canonymous-schema-128>"},"tradeFields":{"type":"array","description":"Mode 3: Specific trade fields to unsubscribe from. The subscription remains active with remaining fields. If all fields are removed, the subscription is terminated.","items":{"type":"string","description":"Available fields for trade subscriptions. Trade data includes last sale information, volume, and OHLC (Open-High-Low-Close) prices.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available trade fields","x-parser-schema-id":"\u003canonymous-schema-79>"},{"const":"price","description":"Last trade execution price (same as lastPrice in most cases)","x-parser-schema-id":"\u003canonymous-schema-80>"},{"const":"size","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-81>"},{"const":"totalVolume","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-82>"},{"const":"openPrice","description":"Highest price so far today.","x-parser-schema-id":"\u003canonymous-schema-83>"},{"const":"highPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-84>"},{"const":"lowPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-85>"},{"const":"lastPrice","description":"Most recent trade price (last sale price)","x-parser-schema-id":"\u003canonymous-schema-86>"},{"const":"netChange","description":"Net price change from previous close (lastPrice - previousClosePrice)","x-parser-schema-id":"\u003canonymous-schema-87>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-88>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-89>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-90>"},{"const":"closePrice","description":"Official close price. This may be from today or the previous trading day, depending on market hours.","x-parser-schema-id":"\u003canonymous-schema-91>"}],"x-parser-schema-id":"TradeFieldEnum"},"example":["tick"],"x-parser-schema-id":"\u003canonymous-schema-129>"}},"x-parser-schema-id":"UnsubscribeSymbolRequest"},"example":[{"symbol":"AAPL","quote":true}],"x-parser-schema-id":"\u003canonymous-schema-121>"}],"x-parser-schema-id":"\u003canonymous-schema-118>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want it returned in the unsubscribe reply or error.","example":"unsub-1","x-parser-schema-id":"\u003canonymous-schema-130>"}},"description":"Use this message to stop live updates. You can stop everything for a symbol or stop only some data types or fields.","x-parser-schema-id":"UnsubscribeRequestPayload"},"title":"Unsubscribe Request","description":"Request to unsubscribe from market data","example":"{\n \"type\": \"unsubscribe\",\n \"id\": \"unsub-1\",\n \"payload\": [\n \"AAPL\",\n \"MSFT\"\n ]\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"unsubscribeRequest"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"ping","title":"Ping","description":"Send a ping to keep the connection alive","type":"receive","messages":[{"id":"pingRequest","contentType":"application/json","payload":[{"name":"Ping Request","description":"Keep-alive ping message","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `ping` to check that the connection is still alive.","enumValues":["ping"],"required":true},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want it returned in the `pong` reply.","required":false}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["ping"],"const":"ping","description":"Set this to `ping` to check that the connection is still alive.","example":"ping","x-parser-schema-id":"\u003canonymous-schema-131>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want it returned in the `pong` reply.","example":"ping-001","x-parser-schema-id":"\u003canonymous-schema-132>"}},"description":"Use this message to check that the WebSocket connection is still alive.","x-parser-schema-id":"PingRequestPayload"},"title":"Ping Request","description":"Keep-alive ping message","example":"{\n \"type\": \"ping\",\n \"id\": \"ping-001\"\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"pingRequest"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"getExpiryDates","title":"Get Option Expiry Dates","description":"Request option expiry dates for a symbol","type":"receive","messages":[{"id":"getExpiryDatesRequest","contentType":"application/json","payload":[{"name":"Get Expiry Dates Request","description":"Request to get option expiration dates for a symbol","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `request` for this one-time lookup.","enumValues":["request"],"required":true},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want it returned in the reply.","required":false},{"name":"payload","type":"object","description":"Put the request details here.","required":true,"properties":[{"name":"method","type":"string","description":"Use `GET` to read the expiry dates.","required":true},{"name":"path","type":"string","description":"Lookup route for expiration dates. Replace `{symbol}` with the underlying ticker or index symbol whose option expiries you want, such as `AAPL` or `SPX`.","required":true}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Use this message to get the available option expiry dates for one symbol.","properties":{"type":{"type":"string","enum":["request"],"const":"request","description":"Set this to `request` for this one-time lookup.","example":"request","x-parser-schema-id":"\u003canonymous-schema-202>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want it returned in the reply.","example":"req-001","x-parser-schema-id":"\u003canonymous-schema-203>"},"payload":{"type":"object","required":["method","path"],"description":"Put the request details here.","properties":{"method":{"type":"string","const":"GET","description":"Use `GET` to read the expiry dates.","example":"GET","x-parser-schema-id":"\u003canonymous-schema-205>"},"path":{"type":"string","description":"Lookup route for expiration dates. Replace `{symbol}` with the underlying ticker or index symbol whose option expiries you want, such as `AAPL` or `SPX`.","pattern":"^/options/[^/]+/expiry-dates$","example":"/options/AAPL/expiry-dates","x-parser-schema-id":"\u003canonymous-schema-206>"}},"example":{"method":"GET","path":"/options/AAPL/expiry-dates"},"x-parser-schema-id":"\u003canonymous-schema-204>"}},"x-parser-schema-id":"GetExpiryDatesRequestPayload"},"title":"Get Expiry Dates Request","description":"Request to get option expiration dates for a symbol","example":"{\n \"type\": \"request\",\n \"id\": \"req-expiry-1\",\n \"payload\": {\n \"method\": \"GET\",\n \"path\": \"/options/AAPL/expiry-dates\"\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"getExpiryDatesRequest"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"getContractSymbols","title":"Get Option Contract Symbols","description":"Request option contract symbols for a symbol and expiry date","type":"receive","messages":[{"id":"getContractSymbolsRequest","contentType":"application/json","payload":[{"name":"Get Contract Symbols Request","description":"Request to get option contract symbols for a symbol and expiry date","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `request` for this one-time lookup.","enumValues":["request"],"required":true},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want it returned in the reply.","required":false},{"name":"payload","type":"object","description":"Put the request details here.","required":true,"properties":[{"name":"method","type":"string","description":"Use `GET` to read the contract symbols.","required":true},{"name":"path","type":"string","description":"Contract-chain route. Replace `{symbol}` with the underlying ticker or index and `{expiryDate}` with `YYYY-MM-DD`. Append `/W` when you specifically want weekly contracts for that date.","required":true}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Use this message to get all contract symbols for one underlying and one expiration date.","properties":{"type":{"type":"string","enum":["request"],"const":"request","description":"Set this to `request` for this one-time lookup.","example":"request","x-parser-schema-id":"\u003canonymous-schema-219>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want it returned in the reply.","example":"req-003","x-parser-schema-id":"\u003canonymous-schema-220>"},"payload":{"type":"object","required":["method","path"],"description":"Put the request details here.","properties":{"method":{"type":"string","const":"GET","description":"Use `GET` to read the contract symbols.","example":"GET","x-parser-schema-id":"\u003canonymous-schema-222>"},"path":{"type":"string","description":"Contract-chain route. Replace `{symbol}` with the underlying ticker or index and `{expiryDate}` with `YYYY-MM-DD`. Append `/W` when you specifically want weekly contracts for that date.","pattern":"^/options/[^/]+/contracts/[0-9]{4}-[0-9]{2}-[0-9]{2}(/W)?$","example":"/options/AAPL/contracts/2024-01-19","x-parser-schema-id":"\u003canonymous-schema-223>"}},"example":{"method":"GET","path":"/options/AAPL/contracts/2024-01-19"},"x-parser-schema-id":"\u003canonymous-schema-221>"}},"x-parser-schema-id":"GetContractSymbolsRequestPayload"},"title":"Get Contract Symbols Request","description":"Request to get option contract symbols for a symbol and expiry date","example":"{\n \"type\": \"request\",\n \"id\": \"req-contracts-1\",\n \"payload\": {\n \"method\": \"GET\",\n \"path\": \"/options/AAPL/contracts/2024-01-19\"\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"getContractSymbolsRequest"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"getEquitySnapshot","title":"Get Equity Snapshot","description":"Request a full snapshot of equity data for a symbol","type":"receive","messages":[{"id":"getEquitySnapshotRequest","contentType":"application/json","payload":[{"name":"Get Equity Snapshot Request","description":"Request to get a full snapshot of equity data for a symbol","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `request` for this one-time snapshot lookup.","enumValues":["request"],"required":true},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want it returned in the reply.","required":false},{"name":"payload","type":"object","description":"Put the request details here.","required":true,"properties":[{"name":"method","type":"string","description":"Use `GET` to read the snapshot.","required":true},{"name":"path","type":"string","description":"Snapshot route for a single equity ticker. Replace `{symbol}` with the stock symbol you want, such as `AAPL` or `MSFT`.","required":true}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Use this message to get one equity snapshot without opening a live subscription.","properties":{"type":{"type":"string","enum":["request"],"const":"request","description":"Set this to `request` for this one-time snapshot lookup.","example":"request","x-parser-schema-id":"\u003canonymous-schema-236>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want it returned in the reply.","example":"req-003","x-parser-schema-id":"\u003canonymous-schema-237>"},"payload":{"type":"object","required":["method","path"],"description":"Put the request details here.","properties":{"method":{"type":"string","const":"GET","description":"Use `GET` to read the snapshot.","example":"GET","x-parser-schema-id":"\u003canonymous-schema-239>"},"path":{"type":"string","description":"Snapshot route for a single equity ticker. Replace `{symbol}` with the stock symbol you want, such as `AAPL` or `MSFT`.","pattern":"^/equities/[^/]+/snapshot$","example":"/equities/AAPL/snapshot","x-parser-schema-id":"\u003canonymous-schema-240>"}},"example":{"method":"GET","path":"/equities/AAPL/snapshot"},"x-parser-schema-id":"\u003canonymous-schema-238>"}},"x-parser-schema-id":"GetEquitySnapshotRequestPayload"},"title":"Get Equity Snapshot Request","description":"Request to get a full snapshot of equity data for a symbol","example":"{\n \"type\": \"request\",\n \"id\": \"req-003\",\n \"payload\": {\n \"method\": \"GET\",\n \"path\": \"/equities/AAPL/snapshot\"\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"getEquitySnapshotRequest"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]}],"receiveOperations":[{"id":"receiveQuoteUpdate","title":"Receive Quote Update","description":"Receive real-time quote updates","type":"send","messages":[{"id":"quoteUpdate","contentType":"application/json","payload":[{"name":"Quote Update","description":"Real-time quote update for a subscribed symbol","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for live updates.","required":false},{"name":"payload","type":"object","description":"Data inside an update event. This is a live change after the initial snapshot.","required":false,"properties":[{"name":"action","type":"string","description":"Indicates this is a real-time update","required":false},{"name":"type","type":"string","description":"Type of market data in this message: quote, trade, Level 2, Time \u0026 Sales, Greeks, or market status.","enumValues":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"examples":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"required":false},{"name":"symbol","type":"string","description":"The ticker symbol this update is for","required":false},{"name":"data","type":"object","description":"Changed data for this symbol.","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when this event was sent","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","description":"Event wrapper for update responses","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for live updates.","x-parser-schema-id":"\u003canonymous-schema-139>"},"payload":{"type":"object","description":"Data inside an update event. This is a live change after the initial snapshot.","properties":{"action":{"type":"string","const":"update","description":"Indicates this is a real-time update","x-parser-schema-id":"\u003canonymous-schema-140>"},"type":{"type":"string","enum":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"description":"Type of market data in this message: quote, trade, Level 2, Time \u0026 Sales, Greeks, or market status.","examples":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"x-parser-schema-id":"DataType"},"symbol":{"type":"string","description":"The ticker symbol this update is for","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-141>"},"data":{"type":"object","description":"Changed data for this symbol.","additionalProperties":true,"x-parser-schema-id":"\u003canonymous-schema-142>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when this event was sent","example":1701450001123,"x-parser-schema-id":"\u003canonymous-schema-143>"}},"x-parser-schema-id":"UpdateEventPayload"}},"x-parser-schema-id":"UpdateResponsePayload"},"title":"Quote Update","description":"Real-time quote update for a subscribed symbol","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"update\",\n \"type\": \"quote\",\n \"symbol\": \"AAPL\",\n \"data\": {\n \"bidPrice\": 190.04,\n \"askPrice\": 190.06,\n \"midPrice\": 190.05,\n \"spread\": 0.02,\n \"quoteTimestamp\": 1701450001000\n },\n \"timestamp\": 1701450001123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"quoteUpdate"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveTradeUpdate","title":"Receive Trade Update","description":"Receive real-time trade/price updates","type":"send","messages":[{"id":"tradeUpdate","contentType":"application/json","payload":[{"name":"Trade Update","description":"Real-time trade/price update for a subscribed symbol","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for live updates.","required":false},{"name":"payload","type":"object","description":"Data inside an update event. This is a live change after the initial snapshot.","required":false,"properties":[{"name":"action","type":"string","description":"Indicates this is a real-time update","required":false},{"name":"type","type":"string","description":"Type of market data in this message: quote, trade, Level 2, Time \u0026 Sales, Greeks, or market status.","enumValues":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"examples":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"required":false},{"name":"symbol","type":"string","description":"The ticker symbol this update is for","required":false},{"name":"data","type":"object","description":"Changed data for this symbol.","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when this event was sent","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","description":"Event wrapper for update responses","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for live updates.","x-parser-schema-id":"\u003canonymous-schema-139>"},"payload":{"type":"object","description":"Data inside an update event. This is a live change after the initial snapshot.","properties":{"action":{"type":"string","const":"update","description":"Indicates this is a real-time update","x-parser-schema-id":"\u003canonymous-schema-140>"},"type":{"type":"string","enum":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"description":"Type of market data in this message: quote, trade, Level 2, Time \u0026 Sales, Greeks, or market status.","examples":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"x-parser-schema-id":"DataType"},"symbol":{"type":"string","description":"The ticker symbol this update is for","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-141>"},"data":{"type":"object","description":"Changed data for this symbol.","additionalProperties":true,"x-parser-schema-id":"\u003canonymous-schema-142>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when this event was sent","example":1701450001123,"x-parser-schema-id":"\u003canonymous-schema-143>"}},"x-parser-schema-id":"UpdateEventPayload"}},"x-parser-schema-id":"UpdateResponsePayload"},"title":"Trade Update","description":"Real-time trade/price update for a subscribed symbol","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"update\",\n \"type\": \"trade\",\n \"symbol\": \"AAPL\",\n \"data\": {\n \"price\": 190.05,\n \"size\": 100\n },\n \"timestamp\": 1701450001123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"tradeUpdate"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveLevel2Update","title":"Receive Level 2 / Order Book Update","description":"Receive real-time Level 2 order book updates","type":"send","messages":[{"id":"level2Update","contentType":"application/json","payload":[{"name":"Level 2 / Order Book Update","description":"Real-time Level 2 order book update showing market depth across exchanges","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for live updates.","required":false},{"name":"payload","type":"object","description":"Data inside a Level 2 update.","required":false,"properties":[{"name":"action","type":"string","description":"Indicates this is a real-time Level 2 update","required":false},{"name":"type","type":"string","description":"Data type indicator for Level 2 order book","required":false},{"name":"symbol","type":"string","description":"The ticker symbol this Level 2 data is for","required":false},{"name":"data","type":"object","description":"Level 2 data for this symbol.","required":false,"properties":[{"name":"symbol","type":"string","description":"The ticker symbol","required":false},{"name":"orderBook","type":"array","description":"Compact order-book rows in askSize:price:bidSize format","required":false,"properties":[{"name":"item","type":"string","required":false}]},{"name":"quotes","type":"array","description":"Compact venue quote rows in exchange:askPrice:askSize:bidPrice:bidSize format","required":false,"properties":[{"name":"item","type":"string","required":false}]},{"name":"timestamp","type":"string","description":"Feed timestamp","required":false},{"name":"bidPrice","type":"number","description":"Top-level fallback bid price when present","required":false},{"name":"askPrice","type":"number","description":"Top-level fallback ask price when present","required":false},{"name":"bidSize","type":"number","description":"Top-level fallback bid size when present","required":false},{"name":"askSize","type":"number","description":"Top-level fallback ask size when present","required":false}]},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when this event was sent","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","description":"Event wrapper for Level 2 order book updates","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for live updates.","x-parser-schema-id":"\u003canonymous-schema-144>"},"payload":{"type":"object","description":"Data inside a Level 2 update.","properties":{"action":{"type":"string","const":"update","description":"Indicates this is a real-time Level 2 update","x-parser-schema-id":"\u003canonymous-schema-145>"},"type":{"type":"string","const":"level2nOB","description":"Data type indicator for Level 2 order book","x-parser-schema-id":"\u003canonymous-schema-146>"},"symbol":{"type":"string","description":"The ticker symbol this Level 2 data is for","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-147>"},"data":{"type":"object","description":"Level 2 data for this symbol.","additionalProperties":true,"properties":{"symbol":{"type":"string","description":"The ticker symbol","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-149>"},"orderBook":{"type":"array","description":"Compact order-book rows in askSize:price:bidSize format","items":{"type":"string","example":"0:250.00:100","x-parser-schema-id":"\u003canonymous-schema-151>"},"x-parser-schema-id":"\u003canonymous-schema-150>"},"quotes":{"type":"array","description":"Compact venue quote rows in exchange:askPrice:askSize:bidPrice:bidSize format","items":{"type":"string","example":"EDGX:272.55:100:272.00:500","x-parser-schema-id":"\u003canonymous-schema-153>"},"x-parser-schema-id":"\u003canonymous-schema-152>"},"timestamp":{"type":"string","description":"Feed timestamp","example":"2025-12-29T05:18:33.600000-05:00","x-parser-schema-id":"\u003canonymous-schema-154>"},"bidPrice":{"type":"number","format":"double","description":"Top-level fallback bid price when present","x-parser-schema-id":"\u003canonymous-schema-155>"},"askPrice":{"type":"number","format":"double","description":"Top-level fallback ask price when present","x-parser-schema-id":"\u003canonymous-schema-156>"},"bidSize":{"type":"number","format":"double","description":"Top-level fallback bid size when present","x-parser-schema-id":"\u003canonymous-schema-157>"},"askSize":{"type":"number","format":"double","description":"Top-level fallback ask size when present","x-parser-schema-id":"\u003canonymous-schema-158>"}},"x-parser-schema-id":"\u003canonymous-schema-148>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when this event was sent","example":1701450001123,"x-parser-schema-id":"\u003canonymous-schema-159>"}},"x-parser-schema-id":"Level2EventPayload"}},"x-parser-schema-id":"Level2UpdatePayload"},"title":"Level 2 / Order Book Update","description":"Real-time Level 2 order book update showing market depth across exchanges","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"update\",\n \"type\": \"level2nOB\",\n \"symbol\": \"AAPL\",\n \"data\": {\n \"orderBook\": [\n \"0:150.24:200\",\n \"500:150.26:0\"\n ],\n \"quotes\": [\n \"NSDQ:150.26:500:150.25:400\",\n \"NYSE:150.27:200:150.24:200\"\n ],\n \"symbol\": \"AAPL\",\n \"timestamp\": \"2025-12-29T05:18:33.600000-05:00\"\n },\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"level2Update"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveTimeAndSalesUpdate","title":"Receive Time \u0026 Sales Update","description":"Receive real-time Time \u0026 Sales trade execution feed","type":"send","messages":[{"id":"timeAndSalesUpdate","contentType":"application/json","payload":[{"name":"Time \u0026 Sales Update","description":"Real-time trade execution from the time and sales feed","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for live updates.","required":false},{"name":"payload","type":"object","description":"Data inside a Time \u0026 Sales event.","required":false,"properties":[{"name":"action","type":"string","description":"Indicates this is a real-time Time \u0026 Sales update","required":false},{"name":"type","type":"string","description":"Data type indicator for Time \u0026 Sales","required":false},{"name":"symbol","type":"string","description":"The ticker symbol this trade execution is for","required":false},{"name":"data","type":"object","description":"Time \u0026 Sales data representing a single trade execution","required":false,"properties":[{"name":"symbol","type":"string","description":"The ticker symbol","required":false},{"name":"price","type":"string","description":"Trade execution price","required":false},{"name":"size","type":"string","description":"Number of shares in the trade","required":false},{"name":"tick","type":"string","description":"Tick direction indicator","enumValues":["up","down","unchanged"],"required":false},{"name":"tradeSeq","type":"string","description":"Trade sequence number - monotonically increasing identifier","required":false},{"name":"tradeExchange","type":"string","description":"Exchange code where the trade was executed","enumValues":["Q","N","P","Z","K","J","M","A","B","C","D","I","X","Y","W"],"required":false},{"name":"tradeTimestamp","type":"string","description":"Time when the trade happened, in ISO 8601 format.","required":false}]},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when this event was sent","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","description":"Event wrapper for Time \u0026 Sales updates","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for live updates.","x-parser-schema-id":"\u003canonymous-schema-160>"},"payload":{"type":"object","description":"Data inside a Time \u0026 Sales event.","properties":{"action":{"type":"string","const":"update","description":"Indicates this is a real-time Time \u0026 Sales update","x-parser-schema-id":"\u003canonymous-schema-161>"},"type":{"type":"string","const":"timeAndSales","description":"Data type indicator for Time \u0026 Sales","x-parser-schema-id":"\u003canonymous-schema-162>"},"symbol":{"type":"string","description":"The ticker symbol this trade execution is for","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-163>"},"data":{"type":"object","description":"Time \u0026 Sales data representing a single trade execution","properties":{"symbol":{"type":"string","description":"The ticker symbol","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-164>"},"price":{"type":"string","description":"Trade execution price","example":"189.95","x-parser-schema-id":"\u003canonymous-schema-165>"},"size":{"type":"string","description":"Number of shares in the trade","example":"100","x-parser-schema-id":"\u003canonymous-schema-166>"},"tick":{"type":"string","description":"Tick direction indicator","example":"up","enum":["up","down","unchanged"],"x-parser-schema-id":"\u003canonymous-schema-167>"},"tradeSeq":{"type":"string","description":"Trade sequence number - monotonically increasing identifier","example":"123456789","x-parser-schema-id":"\u003canonymous-schema-168>"},"tradeExchange":{"type":"string","description":"Exchange code where the trade was executed","example":"Q","enum":["Q","N","P","Z","K","J","M","A","B","C","D","I","X","Y","W"],"x-parser-schema-id":"\u003canonymous-schema-169>"},"tradeTimestamp":{"type":"string","format":"date-time","description":"Time when the trade happened, in ISO 8601 format.","example":"2026-04-20T07:11:01.717000-04:00","x-parser-schema-id":"\u003canonymous-schema-170>"}},"x-parser-schema-id":"TimeAndSalesData"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when this event was sent","example":1701450001123,"x-parser-schema-id":"\u003canonymous-schema-171>"}},"x-parser-schema-id":"TimeAndSalesEventPayload"}},"x-parser-schema-id":"TimeAndSalesUpdatePayload"},"title":"Time \u0026 Sales Update","description":"Real-time trade execution from the time and sales feed","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"update\",\n \"type\": \"timeAndSales\",\n \"symbol\": \"AAPL\",\n \"data\": {\n \"symbol\": \"AAPL\",\n \"price\": \"189.95\",\n \"size\": \"100\",\n \"tick\": \"up\",\n \"tradeSeq\": \"123456789\",\n \"tradeExchange\": \"Q\",\n \"tradeTimestamp\": \"2026-04-20T07:11:01.717000-04:00\"\n },\n \"timestamp\": 1701450001123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"timeAndSalesUpdate"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveGreeksUpdate","title":"Receive Greeks Update","description":"Receive Greeks snapshot and real-time updates for an option contract","type":"send","messages":[{"id":"greeksUpdate","contentType":"application/json","payload":[{"name":"Greeks Update","description":"Greeks snapshot on subscribe and real-time updates for an option contract","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for live updates.","required":false},{"name":"payload","type":"object","description":"Data inside a Greeks event.","required":false,"properties":[{"name":"action","type":"string","description":"`snapshot` for the first Greeks values, `update` for later changes.","enumValues":["snapshot","update"],"required":false},{"name":"type","type":"string","description":"Data type indicator for Greeks data","required":false},{"name":"symbol","type":"string","description":"Option symbol","required":false},{"name":"data","type":"object","description":"Option Greeks data. Only the fields requested via greeksFields (or all fields if [\"*\"] was used) are included in each update.","required":false,"properties":[{"name":"symbol","type":"string","description":"Option symbol.","required":false},{"name":"delta","type":"number","description":"Rate of change of the option price relative to a $1 move in the underlying. Ranges from 0 to 1 for calls and -1 to 0 for puts.","required":false},{"name":"gamma","type":"number","description":"Rate of change of delta relative to a $1 move in the underlying. Measures curvature of option value.","required":false},{"name":"theta","type":"number","description":"Daily time decay of the option price. Typically negative, representing value lost each day as expiration approaches.","required":false},{"name":"vega","type":"number","description":"Rate of change of the option price relative to a 1% change in implied volatility.","required":false},{"name":"rho","type":"number","description":"Rate of change of the option price relative to a 1% change in the risk-free interest rate.","required":false},{"name":"impliedVolatility","type":"number","description":"Implied volatility of the option contract, expressed as a decimal (e.g., 0.2752 = 27.52%).","required":false},{"name":"timestamp","type":"string","description":"Time when these Greeks were calculated, in ISO 8601 format.","required":false}]},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when this event was sent","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","description":"Event wrapper for Greeks updates","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for live updates.","x-parser-schema-id":"\u003canonymous-schema-172>"},"payload":{"type":"object","description":"Data inside a Greeks event.","properties":{"action":{"type":"string","enum":["snapshot","update"],"description":"`snapshot` for the first Greeks values, `update` for later changes.","x-parser-schema-id":"\u003canonymous-schema-173>"},"type":{"type":"string","const":"greeks","description":"Data type indicator for Greeks data","x-parser-schema-id":"\u003canonymous-schema-174>"},"symbol":{"type":"string","description":"Option symbol","example":"XSP281215C00920000","x-parser-schema-id":"\u003canonymous-schema-175>"},"data":{"type":"object","description":"Option Greeks data. Only the fields requested via greeksFields (or all fields if [\"*\"] was used) are included in each update.","properties":{"symbol":{"type":"string","description":"Option symbol.","example":"XSP281215C00920000","x-parser-schema-id":"\u003canonymous-schema-176>"},"delta":{"type":"number","format":"double","description":"Rate of change of the option price relative to a $1 move in the underlying. Ranges from 0 to 1 for calls and -1 to 0 for puts.","example":0.522,"x-parser-schema-id":"\u003canonymous-schema-177>"},"gamma":{"type":"number","format":"double","description":"Rate of change of delta relative to a $1 move in the underlying. Measures curvature of option value.","example":0.0386,"x-parser-schema-id":"\u003canonymous-schema-178>"},"theta":{"type":"number","format":"double","description":"Daily time decay of the option price. Typically negative, representing value lost each day as expiration approaches.","example":-0.0246,"x-parser-schema-id":"\u003canonymous-schema-179>"},"vega":{"type":"number","format":"double","description":"Rate of change of the option price relative to a 1% change in implied volatility.","example":0.1606,"x-parser-schema-id":"\u003canonymous-schema-180>"},"rho":{"type":"number","format":"double","description":"Rate of change of the option price relative to a 1% change in the risk-free interest rate.","example":0.004,"x-parser-schema-id":"\u003canonymous-schema-181>"},"impliedVolatility":{"type":"number","format":"double","description":"Implied volatility of the option contract, expressed as a decimal (e.g., 0.2752 = 27.52%).","example":0.2752,"x-parser-schema-id":"\u003canonymous-schema-182>"},"timestamp":{"type":"string","format":"date-time","description":"Time when these Greeks were calculated, in ISO 8601 format.","example":"2026-02-13T15:07:16.65+05:30","x-parser-schema-id":"\u003canonymous-schema-183>"}},"x-parser-schema-id":"GreeksData"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when this event was sent","example":1770975436651,"x-parser-schema-id":"\u003canonymous-schema-184>"}},"x-parser-schema-id":"GreeksEventPayload"}},"x-parser-schema-id":"GreeksUpdatePayload"},"title":"Greeks Update","description":"Greeks snapshot on subscribe and real-time updates for an option contract","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"update\",\n \"type\": \"greeks\",\n \"symbol\": \"XSP281215C00920000\",\n \"data\": {\n \"delta\": 0.531,\n \"gamma\": 0.0391,\n \"impliedVolatility\": 0.2788,\n \"symbol\": \"XSP281215C00920000\",\n \"theta\": -0.0249,\n \"rho\": 0.004,\n \"timestamp\": \"2026-02-13T15:08:22.10+05:30\",\n \"vega\": 0.1618\n },\n \"timestamp\": 1770975502651\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"greeksUpdate"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveError","title":"Receive Error","description":"Receive error messages from the server","type":"send","messages":[{"id":"errorResponse","contentType":"application/json","payload":[{"name":"Error Response","description":"Error message from the server","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":false},{"name":"payload","type":"object","required":false,"properties":[{"name":"action","type":"string","description":"Indicates this is an error response","required":false},{"name":"symbol","type":"string","description":"The symbol related to the error, if applicable","required":false},{"name":"error","type":"string","description":"Human-readable error message describing what went wrong","required":false},{"name":"id","type":"string","description":"Request ID from your earlier message, if you sent one.","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when the error occurred","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-196>"},"payload":{"type":"object","properties":{"action":{"type":"string","const":"error","description":"Indicates this is an error response","x-parser-schema-id":"\u003canonymous-schema-197>"},"symbol":{"type":"string","description":"The symbol related to the error, if applicable","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-198>"},"error":{"type":"string","description":"Human-readable error message describing what went wrong","example":"invalid quote fields: invalidField","x-parser-schema-id":"\u003canonymous-schema-199>"},"id":{"type":"string","description":"Request ID from your earlier message, if you sent one.","x-parser-schema-id":"\u003canonymous-schema-200>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when the error occurred","example":1701450004000,"x-parser-schema-id":"\u003canonymous-schema-201>"}},"x-parser-schema-id":"ErrorEventPayload"}},"x-parser-schema-id":"ErrorResponsePayload"},"title":"Error Response","description":"Error message from the server","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"error\",\n \"symbol\": \"AAPL\",\n \"error\": \"invalid quote fields: invalidField1, invalidField2\",\n \"id\": \"sub-1\",\n \"timestamp\": 1701450004000\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"errorResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveAuthRequired","title":"Receive Auth Required","description":"Server requests authentication from the client","type":"send","messages":[{"id":"authRequiredResponse","contentType":"application/json","payload":[{"name":"Auth Required Response","description":"Server requests authentication","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":true},{"name":"payload","type":"object","description":"Payload sent when the server requires authentication.","required":true,"properties":[{"name":"action","type":"string","description":"Always `authRequired` when the client must authenticate.","enumValues":["authRequired"],"required":false},{"name":"error","type":"string","description":"Error message explaining why authentication is required","enumValues":["authentication required","authentication timeout"],"required":false},{"name":"id","type":"string","description":"The request ID from the original request that triggered this response, if applicable","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server message sent when you need to sign in before using the socket.","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-328>"},"payload":{"type":"object","description":"Payload sent when the server requires authentication.","properties":{"action":{"type":"string","enum":["authRequired"],"description":"Always `authRequired` when the client must authenticate.","x-parser-schema-id":"\u003canonymous-schema-329>"},"error":{"type":"string","description":"Error message explaining why authentication is required","example":"authentication required","enum":["authentication required","authentication timeout"],"x-parser-schema-id":"\u003canonymous-schema-330>"},"id":{"type":"string","description":"The request ID from the original request that triggered this response, if applicable","x-parser-schema-id":"\u003canonymous-schema-331>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds","example":1701450000123,"x-parser-schema-id":"\u003canonymous-schema-332>"}},"x-parser-schema-id":"AuthRequiredEventPayload"}},"x-parser-schema-id":"AuthRequiredResponsePayload"},"title":"Auth Required Response","description":"Server requests authentication","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"authRequired\",\n \"error\": \"authentication required\",\n \"id\": \"sub-001\",\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"authRequiredResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveRefreshAuth","title":"Receive Refresh Auth Warning","description":"Server warns that authentication will expire soon","type":"send","messages":[{"id":"refreshAuthResponse","contentType":"application/json","payload":[{"name":"Refresh Auth Response","description":"Server warns authentication expires soon","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":true},{"name":"payload","type":"object","description":"Payload sent when the server wants you to refresh your token.","required":true,"properties":[{"name":"action","type":"string","description":"Always `refreshAuth`. Sign in again soon with a new token.","enumValues":["refreshAuth"],"required":false},{"name":"data","type":"object","required":false,"properties":[{"name":"message","type":"string","description":"Message from the server telling you the sign-in is about to expire.","required":false},{"name":"expiresIn","type":"integer","description":"Milliseconds left before the sign-in expires.","required":false}]},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server warning sent when your sign-in is about to expire.","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-333>"},"payload":{"type":"object","description":"Payload sent when the server wants you to refresh your token.","properties":{"action":{"type":"string","enum":["refreshAuth"],"description":"Always `refreshAuth`. Sign in again soon with a new token.","x-parser-schema-id":"\u003canonymous-schema-334>"},"data":{"type":"object","properties":{"message":{"type":"string","description":"Message from the server telling you the sign-in is about to expire.","example":"authentication expires soon, please re-authenticate","x-parser-schema-id":"\u003canonymous-schema-336>"},"expiresIn":{"type":"integer","format":"int64","description":"Milliseconds left before the sign-in expires.","example":300000,"x-parser-schema-id":"\u003canonymous-schema-337>"}},"x-parser-schema-id":"\u003canonymous-schema-335>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds","example":1701450000123,"x-parser-schema-id":"\u003canonymous-schema-338>"}},"x-parser-schema-id":"RefreshAuthEventPayload"}},"x-parser-schema-id":"RefreshAuthResponsePayload"},"title":"Refresh Auth Response","description":"Server warns authentication expires soon","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"refreshAuth\",\n \"data\": {\n \"message\": \"authentication expires soon, please re-authenticate\",\n \"expiresIn\": 300000\n },\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"refreshAuthResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveAuthExpired","title":"Receive Auth Expired","description":"Server notifies that authentication has expired","type":"send","messages":[{"id":"authExpiredResponse","contentType":"application/json","payload":[{"name":"Auth Expired Response","description":"Server notifies authentication has expired","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":true},{"name":"payload","type":"object","description":"Payload sent when your sign-in has expired.","required":true,"properties":[{"name":"action","type":"string","description":"Always `authExpired` - reconnect and authenticate again.","enumValues":["authExpired"],"required":false},{"name":"error","type":"string","description":"Message from the server saying the sign-in has expired.","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server message sent when your sign-in has expired.","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-339>"},"payload":{"type":"object","description":"Payload sent when your sign-in has expired.","properties":{"action":{"type":"string","enum":["authExpired"],"description":"Always `authExpired` - reconnect and authenticate again.","x-parser-schema-id":"\u003canonymous-schema-340>"},"error":{"type":"string","description":"Message from the server saying the sign-in has expired.","example":"authentication expired","x-parser-schema-id":"\u003canonymous-schema-341>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds","example":1701450000123,"x-parser-schema-id":"\u003canonymous-schema-342>"}},"x-parser-schema-id":"AuthExpiredEventPayload"}},"x-parser-schema-id":"AuthExpiredResponsePayload"},"title":"Auth Expired Response","description":"Server notifies authentication has expired","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"authExpired\",\n \"error\": \"authentication expired\",\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"authExpiredResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveAuthSuccess","title":"Receive auth success","description":"Successful authentication response","type":"send","messages":[{"id":"authSuccessResponse","contentType":"application/json","payload":[{"name":"Auth Success Response","description":"Successful authentication response","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":true},{"name":"payload","type":"object","description":"Payload sent when authentication succeeds.","required":true,"properties":[{"name":"action","type":"string","description":"Result action. Always `authSuccess` when authentication succeeds.","enumValues":["authSuccess"],"required":false},{"name":"id","type":"string","description":"The request ID from the original auth request, if provided","required":false},{"name":"data","type":"object","description":"Authentication result data","required":false,"properties":[{"name":"expiresIn","type":"integer","description":"How long this sign-in stays valid, in milliseconds.","required":false},{"name":"message","type":"string","description":"Optional message (e.g., when auth is not required)","required":false}]},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server message sent when sign-in succeeds.","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-321>"},"payload":{"type":"object","description":"Payload sent when authentication succeeds.","properties":{"action":{"type":"string","enum":["authSuccess"],"description":"Result action. Always `authSuccess` when authentication succeeds.","x-parser-schema-id":"\u003canonymous-schema-322>"},"id":{"type":"string","description":"The request ID from the original auth request, if provided","x-parser-schema-id":"\u003canonymous-schema-323>"},"data":{"type":"object","description":"Authentication result data","properties":{"expiresIn":{"type":"integer","format":"int64","description":"How long this sign-in stays valid, in milliseconds.","example":2700000,"x-parser-schema-id":"\u003canonymous-schema-325>"},"message":{"type":"string","description":"Optional message (e.g., when auth is not required)","example":"auth not required","x-parser-schema-id":"\u003canonymous-schema-326>"}},"x-parser-schema-id":"\u003canonymous-schema-324>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds","example":1701450000123,"x-parser-schema-id":"\u003canonymous-schema-327>"}},"x-parser-schema-id":"AuthSuccessEventPayload"}},"x-parser-schema-id":"AuthSuccessResponsePayload"},"title":"Auth Success Response","description":"Successful authentication response","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"authSuccess\",\n \"id\": \"auth-001\",\n \"data\": {\n \"expiresIn\": 2700000\n },\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"authSuccessResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveSnapshot","title":"Receive subscription snapshot","description":"Initial market data snapshot after subscribing","type":"send","messages":[{"id":"snapshotResponse","contentType":"application/json","payload":[{"name":"Snapshot Response","description":"Initial snapshot of market data after subscription","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for live updates.","required":false},{"name":"payload","type":"object","description":"Data inside a snapshot event. This is the first full value the server sends for a subscription.","required":false,"properties":[{"name":"action","type":"string","description":"The server sets this to `snapshot` for the first full update after you subscribe.","required":false},{"name":"type","type":"string","description":"Type of market data in this message: quote, trade, Level 2, Time \u0026 Sales, Greeks, or market status.","enumValues":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"examples":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"required":false},{"name":"symbol","type":"string","description":"Symbol this update is for.","required":false},{"name":"data","type":"object","description":"The first full set of data for this symbol.","required":false},{"name":"id","type":"string","description":"Request ID from your subscribe message, if you sent one.","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when this event was sent","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","description":"Server message for the first full set of values after you subscribe.","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for live updates.","x-parser-schema-id":"\u003canonymous-schema-133>"},"payload":{"type":"object","description":"Data inside a snapshot event. This is the first full value the server sends for a subscription.","properties":{"action":{"type":"string","const":"snapshot","description":"The server sets this to `snapshot` for the first full update after you subscribe.","x-parser-schema-id":"\u003canonymous-schema-134>"},"type":{"type":"string","enum":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"description":"Type of market data in this message: quote, trade, Level 2, Time \u0026 Sales, Greeks, or market status.","examples":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"x-parser-schema-id":"DataType"},"symbol":{"type":"string","description":"Symbol this update is for.","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-135>"},"data":{"type":"object","description":"The first full set of data for this symbol.","additionalProperties":true,"x-parser-schema-id":"\u003canonymous-schema-136>"},"id":{"type":"string","description":"Request ID from your subscribe message, if you sent one.","x-parser-schema-id":"\u003canonymous-schema-137>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when this event was sent","example":1701450000123,"x-parser-schema-id":"\u003canonymous-schema-138>"}},"x-parser-schema-id":"SnapshotEventPayload"}},"x-parser-schema-id":"SnapshotResponsePayload"},"title":"Snapshot Response","description":"Initial snapshot of market data after subscription","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"snapshot\",\n \"type\": \"quote\",\n \"symbol\": \"AAPL\",\n \"data\": {\n \"bidPrice\": 189.94,\n \"bidSize\": 100,\n \"askPrice\": 189.96,\n \"askSize\": 200,\n \"midPrice\": 189.95,\n \"spread\": 0.02,\n \"quoteTimestamp\": 1701450000000\n },\n \"id\": \"sub-2\",\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"snapshotResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveUnsubscribeResponse","title":"Receive unsubscribe confirmation","description":"Confirmation of unsubscribe request","type":"send","messages":[{"id":"unsubscribeResponse","contentType":"application/json","payload":[{"name":"Unsubscribe Response","description":"Confirmation of unsubscribe request","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":false},{"name":"payload","type":"object","required":false,"properties":[{"name":"action","type":"string","description":"Confirms the unsubscribe action","required":false},{"name":"data","type":"object","required":false,"properties":[{"name":"symbols","type":"array","description":"List of symbols that were unsubscribed","required":false,"properties":[{"name":"item","type":"string","required":false}]}]},{"name":"id","type":"string","description":"Request ID from your unsubscribe message, if you sent one.","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-185>"},"payload":{"type":"object","properties":{"action":{"type":"string","const":"unsubscribe","description":"Confirms the unsubscribe action","x-parser-schema-id":"\u003canonymous-schema-186>"},"data":{"type":"object","properties":{"symbols":{"type":"array","items":{"type":"string","x-parser-schema-id":"\u003canonymous-schema-189>"},"description":"List of symbols that were unsubscribed","example":["AAPL","MSFT"],"x-parser-schema-id":"\u003canonymous-schema-188>"}},"x-parser-schema-id":"\u003canonymous-schema-187>"},"id":{"type":"string","description":"Request ID from your unsubscribe message, if you sent one.","x-parser-schema-id":"\u003canonymous-schema-190>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds","example":1701450002000,"x-parser-schema-id":"\u003canonymous-schema-191>"}},"x-parser-schema-id":"UnsubscribeEventPayload"}},"x-parser-schema-id":"UnsubscribeResponsePayload"},"title":"Unsubscribe Response","description":"Confirmation of unsubscribe request","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"unsubscribe\",\n \"data\": {\n \"symbols\": [\n \"AAPL\",\n \"MSFT\"\n ]\n },\n \"id\": \"unsub-1\",\n \"timestamp\": 1701450002000\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"unsubscribeResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receivePong","title":"Receive pong","description":"Pong response to ping","type":"send","messages":[{"id":"pongResponse","contentType":"application/json","payload":[{"name":"Pong Response","description":"Response to ping request","type":"object","properties":[{"name":"type","type":"string","description":"Shared WebSocket pong message type","required":true},{"name":"id","type":"string","description":"Request ID from your ping, if you sent one.","required":false},{"name":"timestamp","type":"string","description":"Time when the server sent this `pong`, in RFC3339 format.","required":false},{"name":"payload","type":"null","description":"Always `null` for `pong` messages.","required":false}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"pong","description":"Shared WebSocket pong message type","x-parser-schema-id":"\u003canonymous-schema-192>"},"id":{"type":"string","description":"Request ID from your ping, if you sent one.","example":"ping-001","x-parser-schema-id":"\u003canonymous-schema-193>"},"timestamp":{"type":"string","format":"date-time","description":"Time when the server sent this `pong`, in RFC3339 format.","example":"2026-05-13T10:30:00Z","x-parser-schema-id":"\u003canonymous-schema-194>"},"payload":{"type":"null","description":"Always `null` for `pong` messages.","x-parser-schema-id":"\u003canonymous-schema-195>"}},"x-parser-schema-id":"PongResponsePayload"},"title":"Pong Response","description":"Response to ping request","example":"{\n \"type\": \"pong\",\n \"id\": \"ping-001\",\n \"timestamp\": \"2026-05-13T10:30:00Z\",\n \"payload\": null\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"pongResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveGetExpiryDatesResponse","title":"Receive option expiry dates response","description":"Response with option expiration dates","type":"send","messages":[{"id":"getExpiryDatesResponse","contentType":"application/json","payload":[{"name":"Get Expiry Dates Response","description":"Response containing option expiration dates","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `response` in the reply.","required":true},{"name":"id","type":"string","description":"Request ID echoed from the original request","required":false},{"name":"timestamp","type":"string","description":"Time when the server sent this reply, in RFC3339 format.","required":false},{"name":"payload","type":"object","required":true,"properties":[{"name":"status","type":"integer","description":"Status code for this reply. `200` means success.","required":true},{"name":"data","type":"object","description":"List of option expiry dates for the symbol.","required":false,"properties":[{"name":"symbol","type":"string","description":"The underlying symbol","required":false},{"name":"expiryDates","type":"array","description":"List of available expiration dates with optional frequency marker, sorted chronologically","required":false,"properties":[{"name":"date","type":"string","description":"Expiration date in YYYY-MM-DD format","required":true},{"name":"freq","type":"string","description":"Frequency marker. Weekly options use W; standard monthly options omit this field.","required":false}]}]},{"name":"error","type":"object","description":"Error details in a response","required":false,"properties":[{"name":"type","type":"string","description":"Error type category","enumValues":["bad_request","not_found","internal","unauthorized"],"required":false},{"name":"code","type":"string","description":"Error code for programmatic handling","required":false},{"name":"message","type":"string","description":"Human-readable error message","required":false}]}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server reply with the option expiry dates.","properties":{"type":{"type":"string","const":"response","description":"The server sets this to `response` in the reply.","x-parser-schema-id":"\u003canonymous-schema-207>"},"id":{"type":"string","description":"Request ID echoed from the original request","x-parser-schema-id":"\u003canonymous-schema-208>"},"timestamp":{"type":"string","format":"date-time","description":"Time when the server sent this reply, in RFC3339 format.","x-parser-schema-id":"\u003canonymous-schema-209>"},"payload":{"type":"object","required":["status"],"properties":{"status":{"type":"integer","description":"Status code for this reply. `200` means success.","example":200,"x-parser-schema-id":"\u003canonymous-schema-211>"},"data":{"type":"object","description":"List of option expiry dates for the symbol.","properties":{"symbol":{"type":"string","description":"The underlying symbol","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-212>"},"expiryDates":{"type":"array","description":"List of available expiration dates with optional frequency marker, sorted chronologically","items":{"type":"object","required":["date"],"properties":{"date":{"type":"string","format":"date","description":"Expiration date in YYYY-MM-DD format","example":"2024-01-19","x-parser-schema-id":"\u003canonymous-schema-214>"},"freq":{"type":"string","description":"Frequency marker. Weekly options use W; standard monthly options omit this field.","example":"W","x-parser-schema-id":"\u003canonymous-schema-215>"}},"x-parser-schema-id":"ExpiryDate"},"x-parser-schema-id":"\u003canonymous-schema-213>"}},"x-parser-schema-id":"ExpiryDatesData"},"error":{"type":"object","description":"Error details in a response","properties":{"type":{"type":"string","description":"Error type category","enum":["bad_request","not_found","internal","unauthorized"],"example":"bad_request","x-parser-schema-id":"\u003canonymous-schema-216>"},"code":{"type":"string","description":"Error code for programmatic handling","example":"INVALID_REQUEST","x-parser-schema-id":"\u003canonymous-schema-217>"},"message":{"type":"string","description":"Human-readable error message","example":"symbol is required","x-parser-schema-id":"\u003canonymous-schema-218>"}},"x-parser-schema-id":"ResponseError"}},"x-parser-schema-id":"\u003canonymous-schema-210>"}},"x-parser-schema-id":"GetExpiryDatesResponsePayload"},"title":"Get Expiry Dates Response","description":"Response containing option expiration dates","example":"{\n \"type\": \"response\",\n \"id\": \"req-expiry-1\",\n \"payload\": {\n \"status\": 200,\n \"data\": {\n \"symbol\": \"AAPL\",\n \"expiryDates\": [\n {\n \"date\": \"2024-01-19\"\n },\n {\n \"date\": \"2024-01-26\",\n \"freq\": \"W\"\n },\n {\n \"date\": \"2024-02-16\"\n }\n ]\n }\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"getExpiryDatesResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveGetContractSymbolsResponse","title":"Receive option contract symbols response","description":"Response with calls and puts for an expiry","type":"send","messages":[{"id":"getContractSymbolsResponse","contentType":"application/json","payload":[{"name":"Get Contract Symbols Response","description":"Response containing option contract symbols (calls and puts)","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `response` in the reply.","required":true},{"name":"id","type":"string","description":"Request ID echoed from the original request","required":false},{"name":"timestamp","type":"string","description":"Time when the server sent this reply, in RFC3339 format.","required":false},{"name":"payload","type":"object","required":true,"properties":[{"name":"status","type":"integer","description":"Status code for this reply. `200` means success.","required":true},{"name":"data","type":"object","description":"Option contract symbols for the symbol and expiry date.","required":false,"properties":[{"name":"symbol","type":"string","description":"The underlying symbol","required":false},{"name":"expiryDate","type":"string","description":"The expiration date in YYYY-MM-DD format","required":false},{"name":"calls","type":"array","description":"List of call option contracts, sorted by strike price ascending","required":false,"properties":[{"name":"symbol","type":"string","description":"Option symbol, for example `AAPL240119C00150000`.","required":false},{"name":"strikePrice","type":"number","description":"The strike price of the option","required":false}]},{"name":"puts","type":"array","description":"List of put option contracts, sorted by strike price ascending","required":false,"properties":[{"name":"symbol","type":"string","description":"Option symbol, for example `AAPL240119C00150000`.","required":false},{"name":"strikePrice","type":"number","description":"The strike price of the option","required":false}]},{"name":"freq","type":"string","description":"Frequency marker. Weekly options use W; standard monthly options omit this field.","required":false}]},{"name":"error","type":"object","description":"Error details in a response","required":false,"properties":[{"name":"type","type":"string","description":"Error type category","enumValues":["bad_request","not_found","internal","unauthorized"],"required":false},{"name":"code","type":"string","description":"Error code for programmatic handling","required":false},{"name":"message","type":"string","description":"Human-readable error message","required":false}]}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server reply with the option contract symbols.","properties":{"type":{"type":"string","const":"response","description":"The server sets this to `response` in the reply.","x-parser-schema-id":"\u003canonymous-schema-224>"},"id":{"type":"string","description":"Request ID echoed from the original request","x-parser-schema-id":"\u003canonymous-schema-225>"},"timestamp":{"type":"string","format":"date-time","description":"Time when the server sent this reply, in RFC3339 format.","x-parser-schema-id":"\u003canonymous-schema-226>"},"payload":{"type":"object","required":["status"],"properties":{"status":{"type":"integer","description":"Status code for this reply. `200` means success.","example":200,"x-parser-schema-id":"\u003canonymous-schema-228>"},"data":{"type":"object","description":"Option contract symbols for the symbol and expiry date.","properties":{"symbol":{"type":"string","description":"The underlying symbol","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-229>"},"expiryDate":{"type":"string","format":"date","description":"The expiration date in YYYY-MM-DD format","example":"2024-01-19","x-parser-schema-id":"\u003canonymous-schema-230>"},"calls":{"type":"array","description":"List of call option contracts, sorted by strike price ascending","items":{"type":"object","description":"An option contract symbol with its strike price","properties":{"symbol":{"type":"string","description":"Option symbol, for example `AAPL240119C00150000`.","example":"AAPL240119C00150000","x-parser-schema-id":"\u003canonymous-schema-232>"},"strikePrice":{"type":"number","format":"double","description":"The strike price of the option","example":150,"x-parser-schema-id":"\u003canonymous-schema-233>"}},"x-parser-schema-id":"ContractSymbol"},"x-parser-schema-id":"\u003canonymous-schema-231>"},"puts":{"type":"array","description":"List of put option contracts, sorted by strike price ascending","items":{"type":"object","description":"An option contract symbol with its strike price","properties":{"symbol":{"type":"string","description":"Option symbol, for example `AAPL240119C00150000`.","example":"AAPL240119C00150000","x-parser-schema-id":"\u003canonymous-schema-232>"},"strikePrice":{"type":"number","format":"double","description":"The strike price of the option","example":150,"x-parser-schema-id":"\u003canonymous-schema-233>"}},"x-parser-schema-id":"ContractSymbol"},"x-parser-schema-id":"\u003canonymous-schema-234>"},"freq":{"type":"string","description":"Frequency marker. Weekly options use W; standard monthly options omit this field.","example":"W","x-parser-schema-id":"\u003canonymous-schema-235>"}},"x-parser-schema-id":"ContractSymbolsData"},"error":{"type":"object","description":"Error details in a response","properties":{"type":{"type":"string","description":"Error type category","enum":["bad_request","not_found","internal","unauthorized"],"example":"bad_request","x-parser-schema-id":"\u003canonymous-schema-216>"},"code":{"type":"string","description":"Error code for programmatic handling","example":"INVALID_REQUEST","x-parser-schema-id":"\u003canonymous-schema-217>"},"message":{"type":"string","description":"Human-readable error message","example":"symbol is required","x-parser-schema-id":"\u003canonymous-schema-218>"}},"x-parser-schema-id":"ResponseError"}},"x-parser-schema-id":"\u003canonymous-schema-227>"}},"x-parser-schema-id":"GetContractSymbolsResponsePayload"},"title":"Get Contract Symbols Response","description":"Response containing option contract symbols (calls and puts)","example":"{\n \"type\": \"response\",\n \"id\": \"req-contracts-1\",\n \"payload\": {\n \"status\": 200,\n \"data\": {\n \"symbol\": \"AAPL\",\n \"expiryDate\": \"2024-01-19\",\n \"calls\": [\n {\n \"symbol\": \"AAPL240119C00145000\",\n \"strikePrice\": 145\n },\n {\n \"symbol\": \"AAPL240119C00150000\",\n \"strikePrice\": 150\n }\n ],\n \"puts\": [\n {\n \"symbol\": \"AAPL240119P00145000\",\n \"strikePrice\": 145\n },\n {\n \"symbol\": \"AAPL240119P00150000\",\n \"strikePrice\": 150\n }\n ]\n }\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"getContractSymbolsResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveGetEquitySnapshotResponse","title":"Receive equity snapshot response","description":"Full equity snapshot data","type":"send","messages":[{"id":"getEquitySnapshotResponse","contentType":"application/json","payload":[{"name":"Get Equity Snapshot Response","description":"Response containing comprehensive equity data snapshot","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `response` in the reply.","required":true},{"name":"id","type":"string","description":"Request ID echoed from the original request","required":false},{"name":"timestamp","type":"string","description":"Time when the server sent this reply, in RFC3339 format.","required":false},{"name":"payload","type":"object","required":true,"properties":[{"name":"status","type":"integer","description":"Status code for this reply. `200` means success.","required":true},{"name":"data","type":"object","description":"Equity snapshot data with quote, trade, and company details.","required":false,"properties":[{"name":"symbol","type":"string","description":"The ticker symbol","required":false},{"name":"name","type":"string","description":"Company name","required":false},{"name":"description","type":"string","description":"Company description","required":false},{"name":"assetType","type":"string","description":"Type of asset (e.g., Common Stock)","required":false},{"name":"sector","type":"string","description":"Business sector","required":false},{"name":"industry","type":"string","description":"Industry classification","required":false},{"name":"address","type":"string","description":"Company headquarters address","required":false},{"name":"sicCode","type":"string","description":"Standard Industrial Classification code","required":false},{"name":"fiscalYearEnd","type":"string","description":"Fiscal year end month","required":false},{"name":"latestQuarter","type":"string","description":"Most recent quarter end date","required":false},{"name":"lastPrice","type":"string","description":"Last traded price","required":false},{"name":"price","type":"string","description":"Current price","required":false},{"name":"openPrice","type":"string","description":"Opening price for the day","required":false},{"name":"highPrice","type":"string","description":"Highest price for the day","required":false},{"name":"lowPrice","type":"string","description":"Lowest price for the day","required":false},{"name":"closePrice","type":"string","description":"Previous closing price","required":false},{"name":"netChange","type":"string","description":"Net price change from previous close","required":false},{"name":"bidPrice","type":"string","description":"Current bid price","required":false},{"name":"bidSize","type":"string","description":"Size at bid price","required":false},{"name":"askPrice","type":"string","description":"Current ask price","required":false},{"name":"askSize","type":"string","description":"Size at ask price","required":false},{"name":"midPrice","type":"string","description":"Mid-point between bid and ask","required":false},{"name":"spread","type":"string","description":"Bid-ask spread","required":false},{"name":"bidExchange","type":"string","description":"Exchange providing best bid","required":false},{"name":"askExchange","type":"string","description":"Exchange providing best ask","required":false},{"name":"tradeExchange","type":"string","description":"Exchange of last trade","required":false},{"name":"totalVolume","type":"string","description":"Total trading volume for the day","required":false},{"name":"avgVolume4Weeks","type":"string","description":"Average daily volume over 4 weeks","required":false},{"name":"tick","type":"string","description":"Tick direction (-1, 0, 1)","required":false},{"name":"tradeSeq","type":"string","description":"Trade sequence number","required":false},{"name":"quoteTimestamp","type":"string","description":"Timestamp of last quote update","required":false},{"name":"tradeTimestamp","type":"string","description":"Timestamp of last trade","required":false},{"name":"high52WeekPrice","type":"string","description":"52-week high price","required":false},{"name":"high52WeekDate","type":"string","description":"Date of 52-week high","required":false},{"name":"low52WeekPrice","type":"string","description":"52-week low price","required":false},{"name":"low52WeekDate","type":"string","description":"Date of 52-week low","required":false},{"name":"movingAverage50Day","type":"string","description":"50-day moving average","required":false},{"name":"movingAverage200Day","type":"string","description":"200-day moving average","required":false},{"name":"marketCapitalization","type":"string","description":"Market capitalization","required":false},{"name":"sharesOutstanding","type":"string","description":"Total shares outstanding","required":false},{"name":"eps","type":"string","description":"Earnings per share","required":false},{"name":"EPSDiluted","type":"string","description":"Diluted earnings per share","required":false},{"name":"dilutedEPSTTM","type":"string","description":"Trailing twelve month diluted EPS","required":false},{"name":"EPSLatest12Month","type":"string","description":"Latest 12-month EPS","required":false},{"name":"EPS3YearGrowthRate","type":"string","description":"3-year EPS growth rate","required":false},{"name":"EPS5YearGrowthRate","type":"string","description":"5-year EPS growth rate","required":false},{"name":"PE","type":"string","description":"Price-to-earnings ratio","required":false},{"name":"trailingPE","type":"string","description":"Trailing P/E ratio","required":false},{"name":"forwardPE","type":"string","description":"Forward P/E ratio","required":false},{"name":"pegRatio","type":"string","description":"PEG ratio (P/E to growth)","required":false},{"name":"priceToBookRatio","type":"string","description":"Price-to-book ratio","required":false},{"name":"priceToSalesRatioTTM","type":"string","description":"Trailing twelve month price-to-sales ratio","required":false},{"name":"bookValue","type":"string","description":"Book value per share","required":false},{"name":"beta","type":"string","description":"Beta coefficient","required":false},{"name":"dividend","type":"string","description":"Latest dividend amount","required":false},{"name":"dividendPerShare","type":"string","description":"Annual dividend per share","required":false},{"name":"dividendYield","type":"string","description":"Dividend yield","required":false},{"name":"revenueTTM","type":"string","description":"Trailing twelve month revenue","required":false},{"name":"revenuePerShareTTM","type":"string","description":"Trailing twelve month revenue per share","required":false},{"name":"grossProfitTTM","type":"string","description":"Trailing twelve month gross profit","required":false},{"name":"ebitda","type":"string","description":"EBITDA","required":false},{"name":"profitMargin","type":"string","description":"Profit margin","required":false},{"name":"operatingMarginTTM","type":"string","description":"Trailing twelve month operating margin","required":false},{"name":"returnOnAssetsTTM","type":"string","description":"Trailing twelve month return on assets","required":false},{"name":"returnOnEquityTTM","type":"string","description":"Trailing twelve month return on equity","required":false},{"name":"evToRevenue","type":"string","description":"Enterprise value to revenue ratio","required":false},{"name":"evToEBITDA","type":"string","description":"Enterprise value to EBITDA ratio","required":false},{"name":"quarterlyEarningsGrowthYOY","type":"string","description":"Year-over-year quarterly earnings growth","required":false},{"name":"quarterlyRevenueGrowthYOY","type":"string","description":"Year-over-year quarterly revenue growth","required":false},{"name":"assets","type":"string","description":"Total assets","required":false},{"name":"liabilities","type":"string","description":"Total liabilities","required":false},{"name":"longTermDebt","type":"string","description":"Long-term debt","required":false},{"name":"alphaVantageUpdatedAt","type":"string","description":"Timestamp when fundamentals were last refreshed from the external data source","required":false},{"name":"type","type":"string","description":"Category reported for this snapshot record, such as the source or instrument group. This is not the top-level WebSocket message `type`.","required":false},{"name":"size","type":"string","description":"Trade size","required":false}]},{"name":"error","type":"object","description":"Error details in a response","required":false,"properties":[{"name":"type","type":"string","description":"Error type category","enumValues":["bad_request","not_found","internal","unauthorized"],"required":false},{"name":"code","type":"string","description":"Error code for programmatic handling","required":false},{"name":"message","type":"string","description":"Human-readable error message","required":false}]}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server reply with the equity snapshot.","properties":{"type":{"type":"string","const":"response","description":"The server sets this to `response` in the reply.","x-parser-schema-id":"\u003canonymous-schema-241>"},"id":{"type":"string","description":"Request ID echoed from the original request","x-parser-schema-id":"\u003canonymous-schema-242>"},"timestamp":{"type":"string","format":"date-time","description":"Time when the server sent this reply, in RFC3339 format.","x-parser-schema-id":"\u003canonymous-schema-243>"},"payload":{"type":"object","required":["status"],"properties":{"status":{"type":"integer","description":"Status code for this reply. `200` means success.","example":200,"x-parser-schema-id":"\u003canonymous-schema-245>"},"data":{"type":"object","description":"Equity snapshot data with quote, trade, and company details.","properties":{"symbol":{"type":"string","description":"The ticker symbol","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-246>"},"name":{"type":"string","description":"Company name","example":"Apple Inc.","x-parser-schema-id":"\u003canonymous-schema-247>"},"description":{"type":"string","description":"Company description","x-parser-schema-id":"\u003canonymous-schema-248>"},"assetType":{"type":"string","description":"Type of asset (e.g., Common Stock)","example":"Common Stock","x-parser-schema-id":"\u003canonymous-schema-249>"},"sector":{"type":"string","description":"Business sector","example":"TECHNOLOGY","x-parser-schema-id":"\u003canonymous-schema-250>"},"industry":{"type":"string","description":"Industry classification","example":"CONSUMER ELECTRONICS","x-parser-schema-id":"\u003canonymous-schema-251>"},"address":{"type":"string","description":"Company headquarters address","x-parser-schema-id":"\u003canonymous-schema-252>"},"sicCode":{"type":"string","description":"Standard Industrial Classification code","x-parser-schema-id":"\u003canonymous-schema-253>"},"fiscalYearEnd":{"type":"string","description":"Fiscal year end month","example":"September","x-parser-schema-id":"\u003canonymous-schema-254>"},"latestQuarter":{"type":"string","description":"Most recent quarter end date","example":"2025-09-30","x-parser-schema-id":"\u003canonymous-schema-255>"},"lastPrice":{"type":"string","description":"Last traded price","x-parser-schema-id":"\u003canonymous-schema-256>"},"price":{"type":"string","description":"Current price","x-parser-schema-id":"\u003canonymous-schema-257>"},"openPrice":{"type":"string","description":"Opening price for the day","x-parser-schema-id":"\u003canonymous-schema-258>"},"highPrice":{"type":"string","description":"Highest price for the day","x-parser-schema-id":"\u003canonymous-schema-259>"},"lowPrice":{"type":"string","description":"Lowest price for the day","x-parser-schema-id":"\u003canonymous-schema-260>"},"closePrice":{"type":"string","description":"Previous closing price","x-parser-schema-id":"\u003canonymous-schema-261>"},"netChange":{"type":"string","description":"Net price change from previous close","x-parser-schema-id":"\u003canonymous-schema-262>"},"bidPrice":{"type":"string","description":"Current bid price","x-parser-schema-id":"\u003canonymous-schema-263>"},"bidSize":{"type":"string","description":"Size at bid price","x-parser-schema-id":"\u003canonymous-schema-264>"},"askPrice":{"type":"string","description":"Current ask price","x-parser-schema-id":"\u003canonymous-schema-265>"},"askSize":{"type":"string","description":"Size at ask price","x-parser-schema-id":"\u003canonymous-schema-266>"},"midPrice":{"type":"string","description":"Mid-point between bid and ask","x-parser-schema-id":"\u003canonymous-schema-267>"},"spread":{"type":"string","description":"Bid-ask spread","x-parser-schema-id":"\u003canonymous-schema-268>"},"bidExchange":{"type":"string","description":"Exchange providing best bid","x-parser-schema-id":"\u003canonymous-schema-269>"},"askExchange":{"type":"string","description":"Exchange providing best ask","x-parser-schema-id":"\u003canonymous-schema-270>"},"tradeExchange":{"type":"string","description":"Exchange of last trade","x-parser-schema-id":"\u003canonymous-schema-271>"},"totalVolume":{"type":"string","description":"Total trading volume for the day","x-parser-schema-id":"\u003canonymous-schema-272>"},"avgVolume4Weeks":{"type":"string","description":"Average daily volume over 4 weeks","x-parser-schema-id":"\u003canonymous-schema-273>"},"tick":{"type":"string","description":"Tick direction (-1, 0, 1)","x-parser-schema-id":"\u003canonymous-schema-274>"},"tradeSeq":{"type":"string","description":"Trade sequence number","x-parser-schema-id":"\u003canonymous-schema-275>"},"quoteTimestamp":{"type":"string","description":"Timestamp of last quote update","x-parser-schema-id":"\u003canonymous-schema-276>"},"tradeTimestamp":{"type":"string","description":"Timestamp of last trade","x-parser-schema-id":"\u003canonymous-schema-277>"},"high52WeekPrice":{"type":"string","description":"52-week high price","x-parser-schema-id":"\u003canonymous-schema-278>"},"high52WeekDate":{"type":"string","description":"Date of 52-week high","x-parser-schema-id":"\u003canonymous-schema-279>"},"low52WeekPrice":{"type":"string","description":"52-week low price","x-parser-schema-id":"\u003canonymous-schema-280>"},"low52WeekDate":{"type":"string","description":"Date of 52-week low","x-parser-schema-id":"\u003canonymous-schema-281>"},"movingAverage50Day":{"type":"string","description":"50-day moving average","x-parser-schema-id":"\u003canonymous-schema-282>"},"movingAverage200Day":{"type":"string","description":"200-day moving average","x-parser-schema-id":"\u003canonymous-schema-283>"},"marketCapitalization":{"type":"string","description":"Market capitalization","x-parser-schema-id":"\u003canonymous-schema-284>"},"sharesOutstanding":{"type":"string","description":"Total shares outstanding","x-parser-schema-id":"\u003canonymous-schema-285>"},"eps":{"type":"string","description":"Earnings per share","x-parser-schema-id":"\u003canonymous-schema-286>"},"EPSDiluted":{"type":"string","description":"Diluted earnings per share","x-parser-schema-id":"\u003canonymous-schema-287>"},"dilutedEPSTTM":{"type":"string","description":"Trailing twelve month diluted EPS","x-parser-schema-id":"\u003canonymous-schema-288>"},"EPSLatest12Month":{"type":"string","description":"Latest 12-month EPS","x-parser-schema-id":"\u003canonymous-schema-289>"},"EPS3YearGrowthRate":{"type":"string","description":"3-year EPS growth rate","x-parser-schema-id":"\u003canonymous-schema-290>"},"EPS5YearGrowthRate":{"type":"string","description":"5-year EPS growth rate","x-parser-schema-id":"\u003canonymous-schema-291>"},"PE":{"type":"string","description":"Price-to-earnings ratio","x-parser-schema-id":"\u003canonymous-schema-292>"},"trailingPE":{"type":"string","description":"Trailing P/E ratio","x-parser-schema-id":"\u003canonymous-schema-293>"},"forwardPE":{"type":"string","description":"Forward P/E ratio","x-parser-schema-id":"\u003canonymous-schema-294>"},"pegRatio":{"type":"string","description":"PEG ratio (P/E to growth)","x-parser-schema-id":"\u003canonymous-schema-295>"},"priceToBookRatio":{"type":"string","description":"Price-to-book ratio","x-parser-schema-id":"\u003canonymous-schema-296>"},"priceToSalesRatioTTM":{"type":"string","description":"Trailing twelve month price-to-sales ratio","x-parser-schema-id":"\u003canonymous-schema-297>"},"bookValue":{"type":"string","description":"Book value per share","x-parser-schema-id":"\u003canonymous-schema-298>"},"beta":{"type":"string","description":"Beta coefficient","x-parser-schema-id":"\u003canonymous-schema-299>"},"dividend":{"type":"string","description":"Latest dividend amount","x-parser-schema-id":"\u003canonymous-schema-300>"},"dividendPerShare":{"type":"string","description":"Annual dividend per share","x-parser-schema-id":"\u003canonymous-schema-301>"},"dividendYield":{"type":"string","description":"Dividend yield","x-parser-schema-id":"\u003canonymous-schema-302>"},"revenueTTM":{"type":"string","description":"Trailing twelve month revenue","x-parser-schema-id":"\u003canonymous-schema-303>"},"revenuePerShareTTM":{"type":"string","description":"Trailing twelve month revenue per share","x-parser-schema-id":"\u003canonymous-schema-304>"},"grossProfitTTM":{"type":"string","description":"Trailing twelve month gross profit","x-parser-schema-id":"\u003canonymous-schema-305>"},"ebitda":{"type":"string","description":"EBITDA","x-parser-schema-id":"\u003canonymous-schema-306>"},"profitMargin":{"type":"string","description":"Profit margin","x-parser-schema-id":"\u003canonymous-schema-307>"},"operatingMarginTTM":{"type":"string","description":"Trailing twelve month operating margin","x-parser-schema-id":"\u003canonymous-schema-308>"},"returnOnAssetsTTM":{"type":"string","description":"Trailing twelve month return on assets","x-parser-schema-id":"\u003canonymous-schema-309>"},"returnOnEquityTTM":{"type":"string","description":"Trailing twelve month return on equity","x-parser-schema-id":"\u003canonymous-schema-310>"},"evToRevenue":{"type":"string","description":"Enterprise value to revenue ratio","x-parser-schema-id":"\u003canonymous-schema-311>"},"evToEBITDA":{"type":"string","description":"Enterprise value to EBITDA ratio","x-parser-schema-id":"\u003canonymous-schema-312>"},"quarterlyEarningsGrowthYOY":{"type":"string","description":"Year-over-year quarterly earnings growth","x-parser-schema-id":"\u003canonymous-schema-313>"},"quarterlyRevenueGrowthYOY":{"type":"string","description":"Year-over-year quarterly revenue growth","x-parser-schema-id":"\u003canonymous-schema-314>"},"assets":{"type":"string","description":"Total assets","x-parser-schema-id":"\u003canonymous-schema-315>"},"liabilities":{"type":"string","description":"Total liabilities","x-parser-schema-id":"\u003canonymous-schema-316>"},"longTermDebt":{"type":"string","description":"Long-term debt","x-parser-schema-id":"\u003canonymous-schema-317>"},"alphaVantageUpdatedAt":{"type":"string","description":"Timestamp when fundamentals were last refreshed from the external data source","x-parser-schema-id":"\u003canonymous-schema-318>"},"type":{"type":"string","description":"Category reported for this snapshot record, such as the source or instrument group. This is not the top-level WebSocket message `type`.","x-parser-schema-id":"\u003canonymous-schema-319>"},"size":{"type":"string","description":"Trade size","x-parser-schema-id":"\u003canonymous-schema-320>"}},"x-parser-schema-id":"EquitySnapshotData"},"error":{"type":"object","description":"Error details in a response","properties":{"type":{"type":"string","description":"Error type category","enum":["bad_request","not_found","internal","unauthorized"],"example":"bad_request","x-parser-schema-id":"\u003canonymous-schema-216>"},"code":{"type":"string","description":"Error code for programmatic handling","example":"INVALID_REQUEST","x-parser-schema-id":"\u003canonymous-schema-217>"},"message":{"type":"string","description":"Human-readable error message","example":"symbol is required","x-parser-schema-id":"\u003canonymous-schema-218>"}},"x-parser-schema-id":"ResponseError"}},"x-parser-schema-id":"\u003canonymous-schema-244>"}},"x-parser-schema-id":"GetEquitySnapshotResponsePayload"},"title":"Get Equity Snapshot Response","description":"Response containing comprehensive equity data snapshot","example":"{\n \"type\": \"response\",\n \"id\": \"req-003\",\n \"timestamp\": \"2026-01-07T15:17:32Z\",\n \"payload\": {\n \"status\": 200,\n \"data\": {\n \"symbol\": \"AAPL\",\n \"name\": \"Apple Inc.\",\n \"description\": \"Apple Inc. is a preeminent American multinational technology company renowned for its innovative consumer electronics, software, and online services.\",\n \"assetType\": \"Common Stock\",\n \"sector\": \"TECHNOLOGY\",\n \"industry\": \"CONSUMER ELECTRONICS\",\n \"address\": \"ONE APPLE PARK WAY, CUPERTINO, CA, UNITED STATES, 95014\",\n \"sicCode\": \"3663\",\n \"fiscalYearEnd\": \"September\",\n \"latestQuarter\": \"2025-09-30\",\n \"lastPrice\": \"261.9\",\n \"price\": \"261.968295\",\n \"openPrice\": \"263.59999999999997\",\n \"highPrice\": \"263.68\",\n \"lowPrice\": \"261.21\",\n \"closePrice\": \"262.428295\",\n \"netChange\": \"-0.45999999999999996\",\n \"bidPrice\": \"261.98\",\n \"bidSize\": \"400\",\n \"askPrice\": \"261.99\",\n \"askSize\": \"100\",\n \"midPrice\": \"261.985\",\n \"spread\": \"0.009999999999990905\",\n \"bidExchange\": \"NQEX|Nasdaq Exchange\",\n \"askExchange\": \"NQEX|Nasdaq Exchange\",\n \"tradeExchange\": \"NQNX|Nasdaq Trade Reporting Facility\",\n \"totalVolume\": \"10781409\",\n \"avgVolume4Weeks\": \"41245325\",\n \"tick\": \"-1\",\n \"tradeSeq\": \"13264647\",\n \"quoteTimestamp\": \"2026-01-07T10:16:56.961000-05:00\",\n \"tradeTimestamp\": \"2026-01-07T10:17:31.398000-05:00\",\n \"high52WeekPrice\": \"288.62\",\n \"high52WeekDate\": \"2025-12-03T00:00:00.000Z\",\n \"low52WeekPrice\": \"169.2101\",\n \"low52WeekDate\": \"2025-04-08T00:00:00.000Z\",\n \"movingAverage50Day\": \"269.52\",\n \"movingAverage200Day\": \"229.91\",\n \"marketCapitalization\": \"4021300494000\",\n \"sharesOutstanding\": \"14776353\",\n \"eps\": \"7.4\",\n \"EPSDiluted\": \"1.84\",\n \"dilutedEPSTTM\": \"7.4\",\n \"EPSLatest12Month\": \"89.690722\",\n \"EPS3YearGrowthRate\": \"12.566554\",\n \"EPS5YearGrowthRate\": \"19.982310000000002\",\n \"PE\": \"35.1689\",\n \"trailingPE\": \"36.62\",\n \"forwardPE\": \"33.0\",\n \"pegRatio\": \"2.769\",\n \"priceToBookRatio\": \"54.84\",\n \"priceToSalesRatioTTM\": \"9.66\",\n \"bookValue\": \"4.991\",\n \"beta\": \"1.107\",\n \"dividend\": \"0.26\",\n \"dividendPerShare\": \"1.02\",\n \"dividendYield\": \"0.0037\",\n \"revenueTTM\": \"416161006000\",\n \"revenuePerShareTTM\": \"27.84\",\n \"grossProfitTTM\": \"195201008000\",\n \"ebitda\": \"144748003000\",\n \"profitMargin\": \"0.269\",\n \"operatingMarginTTM\": \"0.317\",\n \"returnOnAssetsTTM\": \"0.23\",\n \"returnOnEquityTTM\": \"1.714\",\n \"evToRevenue\": \"9.82\",\n \"evToEBITDA\": \"28.24\",\n \"quarterlyEarningsGrowthYOY\": \"0.912\",\n \"quarterlyRevenueGrowthYOY\": \"0.079\",\n \"assets\": \"359241000\",\n \"liabilities\": \"285508000\",\n \"longTermDebt\": \"986570000\",\n \"alphaVantageUpdatedAt\": \"2025-12-23T11:29:26Z\",\n \"type\": \"ETRADE\",\n \"size\": \"1\"\n }\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"getEquitySnapshotResponse"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]},{"id":"receiveMarketStatusUpdate","title":"Receive Market Status Update","description":"Receive current market status","type":"send","messages":[{"id":"marketStatusUpdate","contentType":"application/json","payload":[{"name":"Market Status Update","description":"Current market status","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":true},{"name":"payload","type":"object","description":"Market status details sent after authentication and whenever the market status changes.","required":true,"properties":[{"name":"action","type":"string","description":"Market status is sent as an update event","required":true},{"name":"type","type":"string","description":"Data type for market status messages.","required":true},{"name":"data","type":"object","required":true,"properties":[{"name":"market","type":"string","description":"Overall market status","required":false},{"name":"serverTime","type":"string","description":"Server timestamp from the market status provider","required":false},{"name":"exchanges","type":"object","description":"Exchange status map","required":false},{"name":"currencies","type":"object","description":"Currency market status map","required":false},{"name":"afterHours","type":"boolean","description":"Whether after-hours trading is active","required":false},{"name":"earlyHours","type":"boolean","description":"Whether pre-market trading is active","required":false}]},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds","required":true}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server event that reports the current market status.","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-343>"},"payload":{"type":"object","required":["action","type","data","timestamp"],"description":"Market status details sent after authentication and whenever the market status changes.","properties":{"action":{"type":"string","const":"update","description":"Market status is sent as an update event","x-parser-schema-id":"\u003canonymous-schema-344>"},"type":{"type":"string","const":"marketStatus","description":"Data type for market status messages.","x-parser-schema-id":"\u003canonymous-schema-345>"},"data":{"type":"object","properties":{"market":{"type":"string","description":"Overall market status","example":"open","x-parser-schema-id":"\u003canonymous-schema-346>"},"serverTime":{"type":"string","description":"Server timestamp from the market status provider","example":"2026-05-13T10:30:00Z","x-parser-schema-id":"\u003canonymous-schema-347>"},"exchanges":{"type":"object","additionalProperties":{"type":"string","x-parser-schema-id":"\u003canonymous-schema-349>"},"description":"Exchange status map","x-parser-schema-id":"\u003canonymous-schema-348>"},"currencies":{"type":"object","additionalProperties":{"type":"string","x-parser-schema-id":"\u003canonymous-schema-351>"},"description":"Currency market status map","x-parser-schema-id":"\u003canonymous-schema-350>"},"afterHours":{"type":"boolean","description":"Whether after-hours trading is active","x-parser-schema-id":"\u003canonymous-schema-352>"},"earlyHours":{"type":"boolean","description":"Whether pre-market trading is active","x-parser-schema-id":"\u003canonymous-schema-353>"}},"x-parser-schema-id":"MarketStatusData"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds","example":1701450000123,"x-parser-schema-id":"\u003canonymous-schema-354>"}},"x-parser-schema-id":"MarketStatusEventPayload"}},"x-parser-schema-id":"MarketStatusUpdatePayload"},"title":"Market Status Update","description":"Current market status","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"update\",\n \"type\": \"marketStatus\",\n \"data\": {\n \"market\": \"open\",\n \"serverTime\": \"2026-05-13T10:30:00Z\",\n \"exchanges\": {\n \"nyse\": \"open\",\n \"nasdaq\": \"open\"\n },\n \"currencies\": {\n \"fx\": \"open\"\n },\n \"afterHours\": false,\n \"earlyHours\": false\n },\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketStatusUpdate"}]}],"bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}]}],"sendMessages":[{"id":"authRequest","contentType":"application/json","payload":[{"name":"Auth Request","description":"Request to authenticate the WebSocket connection","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `request` when you authenticate.","enumValues":["request"],"required":true},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want it returned in the auth reply.","required":false},{"name":"timestamp","type":"string","description":"Optional time when your client created this message, in ISO 8601 format.","required":false},{"name":"payload","type":"object","description":"Put the auth request details here.","required":true,"properties":[{"name":"method","type":"string","description":"Use `POST` to send the token for authentication.","enumValues":["POST"],"required":true},{"name":"path","type":"string","description":"Auth route on the WebSocket API. Always `/auth`.","enumValues":["/auth"],"required":true},{"name":"body","type":"object","description":"JSON body for `POST /auth`. Put the raw access token directly in `body.token`.","required":true,"properties":[{"name":"token","type":"string","description":"Access token for this WebSocket connection.","required":true}]}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Sign-in message. Send this right after connecting so the server can open your market-data connection.","properties":{"type":{"type":"string","enum":["request"],"description":"Set this to `request` when you authenticate.","example":"request","x-parser-schema-id":"\u003canonymous-schema-1>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want it returned in the auth reply.","example":"auth-001","x-parser-schema-id":"\u003canonymous-schema-2>"},"timestamp":{"type":"string","format":"date-time","description":"Optional time when your client created this message, in ISO 8601 format.","example":"2025-01-15T10:30:00Z","x-parser-schema-id":"\u003canonymous-schema-3>"},"payload":{"type":"object","required":["method","path","body"],"description":"Put the auth request details here.","properties":{"method":{"type":"string","enum":["POST"],"description":"Use `POST` to send the token for authentication.","example":"POST","x-parser-schema-id":"\u003canonymous-schema-5>"},"path":{"type":"string","enum":["/auth"],"description":"Auth route on the WebSocket API. Always `/auth`.","example":"/auth","x-parser-schema-id":"\u003canonymous-schema-6>"},"body":{"type":"object","required":["token"],"description":"JSON body for `POST /auth`. Put the raw access token directly in `body.token`.","properties":{"token":{"type":"string","description":"Access token for this WebSocket connection.","example":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...","x-parser-schema-id":"\u003canonymous-schema-8>"}},"example":{"token":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."},"x-parser-schema-id":"\u003canonymous-schema-7>"}},"example":{"method":"POST","path":"/auth","body":{"token":"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."}},"x-parser-schema-id":"\u003canonymous-schema-4>"}},"x-parser-schema-id":"AuthRequestPayload"},"title":"Auth Request","description":"Request to authenticate the WebSocket connection","example":"{\n \"type\": \"request\",\n \"id\": \"auth-001\",\n \"payload\": {\n \"method\": \"POST\",\n \"path\": \"/auth\",\n \"body\": {\n \"token\": \"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyLTEyMzQ1IiwiZXhwIjoxNzAxNDUzNjAwfQ.signature\"\n }\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"authRequest"}]},{"id":"subscribeRequest","contentType":"application/json","payload":[{"name":"Subscribe Request","description":"Request to subscribe to market data for one or more symbols","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `subscribe` to start live updates.","enumValues":["subscribe"],"required":true},{"name":"payload","type":"array","description":"Add one or more symbol requests here. Each one tells the server which symbol and data you want.","required":true,"properties":[{"name":"symbol","type":"string","description":"Symbol to subscribe to. For stocks and indices use ticker symbols such as `AAPL` or `SPX`. For options use symbols such as `AAPL240119C00150000`.","required":true},{"name":"symbolType","type":"string","description":"Optional. Use `option` only when the symbol is an option.","enumValues":["equity","option"],"required":false},{"name":"fields","type":"oneOf","description":"Combined field list. Use this if you want to send one field list instead of separate quote, trade, or Greeks lists. Use `[\"*\"]` to ask for all fields.","required":false},{"name":"quoteFields","type":"oneOf","description":"Quote fields you want back. If you leave both `quoteFields` and `tradeFields` empty, the server sends all quote and trade fields.","required":false},{"name":"tradeFields","type":"oneOf","description":"Trade fields you want back. If you leave both `quoteFields` and `tradeFields` empty, the server sends all quote and trade fields.","required":false},{"name":"level2","type":"boolean","description":"Set to `true` to get Level 2 order book updates from multiple exchanges.","required":false},{"name":"timeAndSales","type":"boolean","description":"Set to `true` to get Time \u0026 Sales updates.","required":false},{"name":"timeAndSalesFields","type":"oneOf","description":"Time \u0026 Sales fields to subscribe to. If omitted when timeAndSales is true, all Time \u0026 Sales fields are included.","required":false},{"name":"greeksFields","type":"oneOf","description":"Greeks fields you want back. Use this only for options.","required":false}]},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want the server to send it back in related replies.","required":false}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"properties":{"type":{"type":"string","enum":["subscribe"],"const":"subscribe","description":"Set this to `subscribe` to start live updates.","example":"subscribe","x-parser-schema-id":"\u003canonymous-schema-9>"},"payload":{"type":"array","description":"Add one or more symbol requests here. Each one tells the server which symbol and data you want.","minItems":1,"items":{"type":"object","required":["symbol"],"description":"Subscription request for a single symbol with optional field selection and data types. Field list properties accept either a string or an array of strings.","properties":{"symbol":{"type":"string","description":"Symbol to subscribe to. For stocks and indices use ticker symbols such as `AAPL` or `SPX`. For options use symbols such as `AAPL240119C00150000`.","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-11>"},"symbolType":{"type":"string","enum":["equity","option"],"default":"equity","description":"Optional. Use `option` only when the symbol is an option.","example":"equity","x-parser-schema-id":"\u003canonymous-schema-12>"},"fields":{"oneOf":[{"type":"string","description":"Field names you can use in `SymbolFieldRequest.fields`.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available Greeks fields","x-parser-schema-id":"\u003canonymous-schema-14>"},{"const":"bidPrice","description":"Current best bid price - the highest price a buyer is willing to pay","x-parser-schema-id":"\u003canonymous-schema-15>"},{"const":"bidSize","description":"Number of shares available at the bid price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-16>"},{"const":"bidExchange","description":"Exchange code where the best bid originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-17>"},{"const":"askPrice","description":"Current best ask (offer) price - the lowest price a seller is willing to accept","x-parser-schema-id":"\u003canonymous-schema-18>"},{"const":"askSize","description":"Number of shares available at the ask price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-19>"},{"const":"askExchange","description":"Exchange code where the best ask originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-20>"},{"const":"quoteTimestamp","description":"Unix timestamp in milliseconds of the consolidated/top-of-book quote time","x-parser-schema-id":"\u003canonymous-schema-21>"},{"const":"midPrice","description":"Midpoint price calculated as (bidPrice + askPrice) / 2","x-parser-schema-id":"\u003canonymous-schema-22>"},{"const":"spread","description":"Bid-ask spread calculated as askPrice - bidPrice","x-parser-schema-id":"\u003canonymous-schema-23>"},{"const":"openInterest","description":"Total number of outstanding open contracts for the option. Only applicable when symbolType is 'option'.","x-parser-schema-id":"\u003canonymous-schema-24>"},{"const":"price","description":"Last trade execution price (same as lastPrice in most cases)","x-parser-schema-id":"\u003canonymous-schema-25>"},{"const":"size","description":"Number of shares in the last trade execution","x-parser-schema-id":"\u003canonymous-schema-26>"},{"const":"totalVolume","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-27>"},{"const":"openPrice","description":"Opening price for today.","x-parser-schema-id":"\u003canonymous-schema-28>"},{"const":"highPrice","description":"Highest price so far today.","x-parser-schema-id":"\u003canonymous-schema-29>"},{"const":"lowPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-30>"},{"const":"lastPrice","description":"Most recent trade price (last sale price)","x-parser-schema-id":"\u003canonymous-schema-31>"},{"const":"netChange","description":"Net price change from previous close (lastPrice - previousClosePrice)","x-parser-schema-id":"\u003canonymous-schema-32>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-33>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-34>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-35>"},{"const":"closePrice","description":"Official close price. This may be from today or the previous trading day, depending on market hours.","x-parser-schema-id":"\u003canonymous-schema-36>"},{"const":"delta","description":"Rate of change of the option price relative to a $1 change in the underlying asset price. Ranges from -1 to 1 for puts and 0 to 1 for calls.","x-parser-schema-id":"\u003canonymous-schema-37>"},{"const":"gamma","description":"Rate of change of delta relative to a $1 change in the underlying asset price. Measures the convexity of the option's value.","x-parser-schema-id":"\u003canonymous-schema-38>"},{"const":"theta","description":"Rate of change of the option price relative to the passage of time (time decay). Typically negative, representing daily value erosion.","x-parser-schema-id":"\u003canonymous-schema-39>"},{"const":"vega","description":"Rate of change of the option price relative to a 1% change in implied volatility.","x-parser-schema-id":"\u003canonymous-schema-40>"},{"const":"rho","description":"Rate of change of the option price relative to a 1% change in the risk-free interest rate.","x-parser-schema-id":"\u003canonymous-schema-41>"},{"const":"impliedVolatility","description":"The market's implied volatility for the option contract, expressed as a decimal (e.g., 0.2752 = 27.52%).","x-parser-schema-id":"\u003canonymous-schema-42>"},{"const":"symbol","description":"Option symbol.","x-parser-schema-id":"\u003canonymous-schema-43>"},{"const":"timestamp","description":"Time when these Greeks were calculated, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-44>"}],"x-parser-schema-id":"UnifiedFieldEnum"},{"type":"array","description":"Array of field names","minItems":1,"items":{"type":"string","description":"Field names you can use in `SymbolFieldRequest.fields`.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available Greeks fields","x-parser-schema-id":"\u003canonymous-schema-14>"},{"const":"bidPrice","description":"Current best bid price - the highest price a buyer is willing to pay","x-parser-schema-id":"\u003canonymous-schema-15>"},{"const":"bidSize","description":"Number of shares available at the bid price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-16>"},{"const":"bidExchange","description":"Exchange code where the best bid originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-17>"},{"const":"askPrice","description":"Current best ask (offer) price - the lowest price a seller is willing to accept","x-parser-schema-id":"\u003canonymous-schema-18>"},{"const":"askSize","description":"Number of shares available at the ask price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-19>"},{"const":"askExchange","description":"Exchange code where the best ask originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-20>"},{"const":"quoteTimestamp","description":"Unix timestamp in milliseconds of the consolidated/top-of-book quote time","x-parser-schema-id":"\u003canonymous-schema-21>"},{"const":"midPrice","description":"Midpoint price calculated as (bidPrice + askPrice) / 2","x-parser-schema-id":"\u003canonymous-schema-22>"},{"const":"spread","description":"Bid-ask spread calculated as askPrice - bidPrice","x-parser-schema-id":"\u003canonymous-schema-23>"},{"const":"openInterest","description":"Total number of outstanding open contracts for the option. Only applicable when symbolType is 'option'.","x-parser-schema-id":"\u003canonymous-schema-24>"},{"const":"price","description":"Last trade execution price (same as lastPrice in most cases)","x-parser-schema-id":"\u003canonymous-schema-25>"},{"const":"size","description":"Number of shares in the last trade execution","x-parser-schema-id":"\u003canonymous-schema-26>"},{"const":"totalVolume","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-27>"},{"const":"openPrice","description":"Opening price for today.","x-parser-schema-id":"\u003canonymous-schema-28>"},{"const":"highPrice","description":"Highest price so far today.","x-parser-schema-id":"\u003canonymous-schema-29>"},{"const":"lowPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-30>"},{"const":"lastPrice","description":"Most recent trade price (last sale price)","x-parser-schema-id":"\u003canonymous-schema-31>"},{"const":"netChange","description":"Net price change from previous close (lastPrice - previousClosePrice)","x-parser-schema-id":"\u003canonymous-schema-32>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-33>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-34>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-35>"},{"const":"closePrice","description":"Official close price. This may be from today or the previous trading day, depending on market hours.","x-parser-schema-id":"\u003canonymous-schema-36>"},{"const":"delta","description":"Rate of change of the option price relative to a $1 change in the underlying asset price. Ranges from -1 to 1 for puts and 0 to 1 for calls.","x-parser-schema-id":"\u003canonymous-schema-37>"},{"const":"gamma","description":"Rate of change of delta relative to a $1 change in the underlying asset price. Measures the convexity of the option's value.","x-parser-schema-id":"\u003canonymous-schema-38>"},{"const":"theta","description":"Rate of change of the option price relative to the passage of time (time decay). Typically negative, representing daily value erosion.","x-parser-schema-id":"\u003canonymous-schema-39>"},{"const":"vega","description":"Rate of change of the option price relative to a 1% change in implied volatility.","x-parser-schema-id":"\u003canonymous-schema-40>"},{"const":"rho","description":"Rate of change of the option price relative to a 1% change in the risk-free interest rate.","x-parser-schema-id":"\u003canonymous-schema-41>"},{"const":"impliedVolatility","description":"The market's implied volatility for the option contract, expressed as a decimal (e.g., 0.2752 = 27.52%).","x-parser-schema-id":"\u003canonymous-schema-42>"},{"const":"symbol","description":"Option symbol.","x-parser-schema-id":"\u003canonymous-schema-43>"},{"const":"timestamp","description":"Time when these Greeks were calculated, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-44>"}],"x-parser-schema-id":"UnifiedFieldEnum"},"x-parser-schema-id":"\u003canonymous-schema-45>"}],"description":"Combined field list. Use this if you want to send one field list instead of separate quote, trade, or Greeks lists. Use `[\"*\"]` to ask for all fields.","example":["bidPrice","lastPrice","delta"],"x-parser-schema-id":"\u003canonymous-schema-13>"},"quoteFields":{"oneOf":[{"type":"string","description":"Available fields for quote subscriptions. Quote data represents the current best bid and ask prices from the order book. You can also subscribe to fundamental and reference fields (e.g. sharesOutstanding, PE, dividend) sourced from the symbol snapshot; these are delivered as strings (except hasOptions, which is a boolean) and their field names are case-sensitive.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available quote fields","x-parser-schema-id":"\u003canonymous-schema-47>"},{"const":"bidPrice","description":"Current best bid price - the highest price a buyer is willing to pay","x-parser-schema-id":"\u003canonymous-schema-48>"},{"const":"bidSize","description":"Number of shares available at the bid price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-49>"},{"const":"bidExchange","description":"Exchange code where the best bid originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-50>"},{"const":"askPrice","description":"Current best ask (offer) price - the lowest price a seller is willing to accept","x-parser-schema-id":"\u003canonymous-schema-51>"},{"const":"askSize","description":"Number of shares available at the ask price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-52>"},{"const":"askExchange","description":"Exchange code where the best ask originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-53>"},{"const":"quoteTimestamp","description":"Unix timestamp in milliseconds of the consolidated/top-of-book quote time","x-parser-schema-id":"\u003canonymous-schema-54>"},{"const":"midPrice","description":"Midpoint price calculated as (bidPrice + askPrice) / 2","x-parser-schema-id":"\u003canonymous-schema-55>"},{"const":"spread","description":"Bid-ask spread calculated as askPrice - bidPrice","x-parser-schema-id":"\u003canonymous-schema-56>"},{"const":"openInterest","description":"Total number of outstanding open contracts for the option. Only applicable when symbolType is 'option'.","x-parser-schema-id":"\u003canonymous-schema-57>"},{"const":"type","description":"Data source type for the snapshot record. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-58>"},{"const":"sicCode","description":"Standard Industrial Classification (SIC) code identifying the company's industry. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-59>"},{"const":"hasOptions","description":"Whether the symbol has listed options available. Fundamental/reference field delivered as a boolean.","x-parser-schema-id":"\u003canonymous-schema-60>"},{"const":"sharesOutstanding","description":"Total shares outstanding. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-61>"},{"const":"assets","description":"Total assets. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-62>"},{"const":"liabilities","description":"Total liabilities. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-63>"},{"const":"longTermDebt","description":"Long-term debt. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-64>"},{"const":"EPSDiluted","description":"Diluted earnings per share. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-65>"},{"const":"EPSLatest12Month","description":"Latest 12-month (trailing) earnings per share. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-66>"},{"const":"EPS3YearGrowthRate","description":"3-year EPS growth rate. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-67>"},{"const":"EPS5YearGrowthRate","description":"5-year EPS growth rate. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-68>"},{"const":"avgVolume4Weeks","description":"Average daily trading volume over the trailing 4 weeks. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-69>"},{"const":"PE","description":"Price-to-earnings (P/E) ratio. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-70>"},{"const":"high52WeekPrice","description":"52-week high price. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-71>"},{"const":"high52WeekDate","description":"Date of the 52-week high. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-72>"},{"const":"low52WeekPrice","description":"52-week low price. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-73>"},{"const":"low52WeekDate","description":"Date of the 52-week low. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-74>"},{"const":"dividend","description":"Latest dividend amount. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-75>"},{"const":"shortSaleRestricted","description":"Whether the symbol is under a short-sale restriction (SSR). Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-76>"}],"x-parser-schema-id":"QuoteFieldEnum"},{"type":"array","description":"Array of field names","minItems":1,"items":{"type":"string","description":"Available fields for quote subscriptions. Quote data represents the current best bid and ask prices from the order book. You can also subscribe to fundamental and reference fields (e.g. sharesOutstanding, PE, dividend) sourced from the symbol snapshot; these are delivered as strings (except hasOptions, which is a boolean) and their field names are case-sensitive.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available quote fields","x-parser-schema-id":"\u003canonymous-schema-47>"},{"const":"bidPrice","description":"Current best bid price - the highest price a buyer is willing to pay","x-parser-schema-id":"\u003canonymous-schema-48>"},{"const":"bidSize","description":"Number of shares available at the bid price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-49>"},{"const":"bidExchange","description":"Exchange code where the best bid originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-50>"},{"const":"askPrice","description":"Current best ask (offer) price - the lowest price a seller is willing to accept","x-parser-schema-id":"\u003canonymous-schema-51>"},{"const":"askSize","description":"Number of shares available at the ask price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-52>"},{"const":"askExchange","description":"Exchange code where the best ask originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-53>"},{"const":"quoteTimestamp","description":"Unix timestamp in milliseconds of the consolidated/top-of-book quote time","x-parser-schema-id":"\u003canonymous-schema-54>"},{"const":"midPrice","description":"Midpoint price calculated as (bidPrice + askPrice) / 2","x-parser-schema-id":"\u003canonymous-schema-55>"},{"const":"spread","description":"Bid-ask spread calculated as askPrice - bidPrice","x-parser-schema-id":"\u003canonymous-schema-56>"},{"const":"openInterest","description":"Total number of outstanding open contracts for the option. Only applicable when symbolType is 'option'.","x-parser-schema-id":"\u003canonymous-schema-57>"},{"const":"type","description":"Data source type for the snapshot record. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-58>"},{"const":"sicCode","description":"Standard Industrial Classification (SIC) code identifying the company's industry. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-59>"},{"const":"hasOptions","description":"Whether the symbol has listed options available. Fundamental/reference field delivered as a boolean.","x-parser-schema-id":"\u003canonymous-schema-60>"},{"const":"sharesOutstanding","description":"Total shares outstanding. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-61>"},{"const":"assets","description":"Total assets. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-62>"},{"const":"liabilities","description":"Total liabilities. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-63>"},{"const":"longTermDebt","description":"Long-term debt. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-64>"},{"const":"EPSDiluted","description":"Diluted earnings per share. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-65>"},{"const":"EPSLatest12Month","description":"Latest 12-month (trailing) earnings per share. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-66>"},{"const":"EPS3YearGrowthRate","description":"3-year EPS growth rate. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-67>"},{"const":"EPS5YearGrowthRate","description":"5-year EPS growth rate. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-68>"},{"const":"avgVolume4Weeks","description":"Average daily trading volume over the trailing 4 weeks. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-69>"},{"const":"PE","description":"Price-to-earnings (P/E) ratio. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-70>"},{"const":"high52WeekPrice","description":"52-week high price. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-71>"},{"const":"high52WeekDate","description":"Date of the 52-week high. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-72>"},{"const":"low52WeekPrice","description":"52-week low price. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-73>"},{"const":"low52WeekDate","description":"Date of the 52-week low. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-74>"},{"const":"dividend","description":"Latest dividend amount. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-75>"},{"const":"shortSaleRestricted","description":"Whether the symbol is under a short-sale restriction (SSR). Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-76>"}],"x-parser-schema-id":"QuoteFieldEnum"},"x-parser-schema-id":"\u003canonymous-schema-77>"}],"description":"Quote fields you want back. If you leave both `quoteFields` and `tradeFields` empty, the server sends all quote and trade fields.","example":["bidPrice","askPrice","midPrice","spread"],"x-parser-schema-id":"\u003canonymous-schema-46>"},"tradeFields":{"oneOf":[{"type":"string","description":"Available fields for trade subscriptions. Trade data includes last sale information, volume, and OHLC (Open-High-Low-Close) prices.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available trade fields","x-parser-schema-id":"\u003canonymous-schema-79>"},{"const":"price","description":"Last trade execution price (same as lastPrice in most cases)","x-parser-schema-id":"\u003canonymous-schema-80>"},{"const":"size","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-81>"},{"const":"totalVolume","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-82>"},{"const":"openPrice","description":"Highest price so far today.","x-parser-schema-id":"\u003canonymous-schema-83>"},{"const":"highPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-84>"},{"const":"lowPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-85>"},{"const":"lastPrice","description":"Most recent trade price (last sale price)","x-parser-schema-id":"\u003canonymous-schema-86>"},{"const":"netChange","description":"Net price change from previous close (lastPrice - previousClosePrice)","x-parser-schema-id":"\u003canonymous-schema-87>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-88>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-89>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-90>"},{"const":"closePrice","description":"Official close price. This may be from today or the previous trading day, depending on market hours.","x-parser-schema-id":"\u003canonymous-schema-91>"}],"x-parser-schema-id":"TradeFieldEnum"},{"type":"array","description":"Array of field names","minItems":1,"items":{"type":"string","description":"Available fields for trade subscriptions. Trade data includes last sale information, volume, and OHLC (Open-High-Low-Close) prices.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available trade fields","x-parser-schema-id":"\u003canonymous-schema-79>"},{"const":"price","description":"Last trade execution price (same as lastPrice in most cases)","x-parser-schema-id":"\u003canonymous-schema-80>"},{"const":"size","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-81>"},{"const":"totalVolume","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-82>"},{"const":"openPrice","description":"Highest price so far today.","x-parser-schema-id":"\u003canonymous-schema-83>"},{"const":"highPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-84>"},{"const":"lowPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-85>"},{"const":"lastPrice","description":"Most recent trade price (last sale price)","x-parser-schema-id":"\u003canonymous-schema-86>"},{"const":"netChange","description":"Net price change from previous close (lastPrice - previousClosePrice)","x-parser-schema-id":"\u003canonymous-schema-87>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-88>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-89>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-90>"},{"const":"closePrice","description":"Official close price. This may be from today or the previous trading day, depending on market hours.","x-parser-schema-id":"\u003canonymous-schema-91>"}],"x-parser-schema-id":"TradeFieldEnum"},"x-parser-schema-id":"\u003canonymous-schema-92>"}],"description":"Trade fields you want back. If you leave both `quoteFields` and `tradeFields` empty, the server sends all quote and trade fields.","example":["lastPrice","size","totalVolume","netChange"],"x-parser-schema-id":"\u003canonymous-schema-78>"},"level2":{"type":"boolean","default":false,"description":"Set to `true` to get Level 2 order book updates from multiple exchanges.","example":true,"x-parser-schema-id":"\u003canonymous-schema-93>"},"timeAndSales":{"type":"boolean","default":false,"description":"Set to `true` to get Time \u0026 Sales updates.","example":true,"x-parser-schema-id":"\u003canonymous-schema-94>"},"timeAndSalesFields":{"oneOf":[{"type":"string","description":"Available fields for Time \u0026 Sales subscriptions. Time \u0026 Sales shows individual trade executions in real-time.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available Time \u0026 Sales fields","x-parser-schema-id":"\u003canonymous-schema-96>"},{"const":"symbol","description":"The ticker symbol for the trade","x-parser-schema-id":"\u003canonymous-schema-97>"},{"const":"price","description":"Trade execution price","x-parser-schema-id":"\u003canonymous-schema-98>"},{"const":"size","description":"Number of shares in the trade","x-parser-schema-id":"\u003canonymous-schema-99>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-100>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-101>"},{"const":"tradeExchange","description":"Exchange code where the trade was executed (e.g., 'Q' for NASDAQ, 'N' for NYSE, 'D' for FINRA ADF)","x-parser-schema-id":"\u003canonymous-schema-102>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-103>"}],"x-parser-schema-id":"TimeAndSalesFieldEnum"},{"type":"array","description":"Array of field names","minItems":1,"items":{"type":"string","description":"Available fields for Time \u0026 Sales subscriptions. Time \u0026 Sales shows individual trade executions in real-time.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available Time \u0026 Sales fields","x-parser-schema-id":"\u003canonymous-schema-96>"},{"const":"symbol","description":"The ticker symbol for the trade","x-parser-schema-id":"\u003canonymous-schema-97>"},{"const":"price","description":"Trade execution price","x-parser-schema-id":"\u003canonymous-schema-98>"},{"const":"size","description":"Number of shares in the trade","x-parser-schema-id":"\u003canonymous-schema-99>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-100>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-101>"},{"const":"tradeExchange","description":"Exchange code where the trade was executed (e.g., 'Q' for NASDAQ, 'N' for NYSE, 'D' for FINRA ADF)","x-parser-schema-id":"\u003canonymous-schema-102>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-103>"}],"x-parser-schema-id":"TimeAndSalesFieldEnum"},"x-parser-schema-id":"\u003canonymous-schema-104>"}],"description":"Time \u0026 Sales fields to subscribe to. If omitted when timeAndSales is true, all Time \u0026 Sales fields are included.","example":["price","size","tick","tradeTimestamp"],"x-parser-schema-id":"\u003canonymous-schema-95>"},"greeksFields":{"oneOf":[{"type":"string","description":"Available fields for Greeks subscriptions. Greeks are only available for option contracts (symbolType: 'option').","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available Greeks fields","x-parser-schema-id":"\u003canonymous-schema-106>"},{"const":"delta","description":"Rate of change of the option price relative to a $1 change in the underlying asset price. Ranges from -1 to 1 for puts and 0 to 1 for calls.","x-parser-schema-id":"\u003canonymous-schema-107>"},{"const":"gamma","description":"Rate of change of delta relative to a $1 change in the underlying asset price. Measures the convexity of the option's value.","x-parser-schema-id":"\u003canonymous-schema-108>"},{"const":"theta","description":"Rate of change of the option price relative to the passage of time (time decay). Typically negative, representing daily value erosion.","x-parser-schema-id":"\u003canonymous-schema-109>"},{"const":"vega","description":"Rate of change of the option price relative to a 1% change in implied volatility.","x-parser-schema-id":"\u003canonymous-schema-110>"},{"const":"rho","description":"Rate of change of the option price relative to a 1% change in the risk-free interest rate.","x-parser-schema-id":"\u003canonymous-schema-111>"},{"const":"impliedVolatility","description":"The market's implied volatility for the option contract, expressed as a decimal (e.g., 0.2752 = 27.52%).","x-parser-schema-id":"\u003canonymous-schema-112>"},{"const":"symbol","description":"Option symbol.","x-parser-schema-id":"\u003canonymous-schema-113>"},{"const":"timestamp","description":"Time when these Greeks were calculated, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-114>"}],"x-parser-schema-id":"GreeksFieldEnum"},{"type":"array","description":"Array of field names","minItems":1,"items":{"type":"string","description":"Available fields for Greeks subscriptions. Greeks are only available for option contracts (symbolType: 'option').","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available Greeks fields","x-parser-schema-id":"\u003canonymous-schema-106>"},{"const":"delta","description":"Rate of change of the option price relative to a $1 change in the underlying asset price. Ranges from -1 to 1 for puts and 0 to 1 for calls.","x-parser-schema-id":"\u003canonymous-schema-107>"},{"const":"gamma","description":"Rate of change of delta relative to a $1 change in the underlying asset price. Measures the convexity of the option's value.","x-parser-schema-id":"\u003canonymous-schema-108>"},{"const":"theta","description":"Rate of change of the option price relative to the passage of time (time decay). Typically negative, representing daily value erosion.","x-parser-schema-id":"\u003canonymous-schema-109>"},{"const":"vega","description":"Rate of change of the option price relative to a 1% change in implied volatility.","x-parser-schema-id":"\u003canonymous-schema-110>"},{"const":"rho","description":"Rate of change of the option price relative to a 1% change in the risk-free interest rate.","x-parser-schema-id":"\u003canonymous-schema-111>"},{"const":"impliedVolatility","description":"The market's implied volatility for the option contract, expressed as a decimal (e.g., 0.2752 = 27.52%).","x-parser-schema-id":"\u003canonymous-schema-112>"},{"const":"symbol","description":"Option symbol.","x-parser-schema-id":"\u003canonymous-schema-113>"},{"const":"timestamp","description":"Time when these Greeks were calculated, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-114>"}],"x-parser-schema-id":"GreeksFieldEnum"},"x-parser-schema-id":"\u003canonymous-schema-115>"}],"description":"Greeks fields you want back. Use this only for options.","example":["delta","gamma","impliedVolatility"],"x-parser-schema-id":"\u003canonymous-schema-105>"}},"x-parser-schema-id":"SymbolFieldRequest"},"example":[{"symbol":"AAPL","quoteFields":["bidPrice","askPrice"],"tradeFields":["lastPrice","totalVolume"]}],"x-parser-schema-id":"\u003canonymous-schema-10>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want the server to send it back in related replies.","example":"sub-1","x-parser-schema-id":"\u003canonymous-schema-116>"}},"description":"Use this message to start live updates for one or more symbols.","x-parser-schema-id":"SubscribeRequestPayload"},"title":"Subscribe Request","description":"Request to subscribe to market data for one or more symbols","example":"{\n \"type\": \"subscribe\",\n \"id\": \"sub-1\",\n \"payload\": [\n {\n \"symbol\": \"AAPL\",\n \"tradeFields\": [\n \"price\",\n \"size\"\n ]\n }\n ]\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"subscribeRequest"}]},{"id":"unsubscribeRequest","contentType":"application/json","payload":[{"name":"Unsubscribe Request","description":"Request to unsubscribe from market data","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `unsubscribe` to stop live updates.","enumValues":["unsubscribe"],"required":true},{"name":"payload","type":"array","required":true,"properties":[{"name":"symbol","type":"string","description":"The ticker symbol to unsubscribe from","required":true},{"name":"quote","type":"boolean","description":"Mode 2: If true, unsubscribe from all quote data for this symbol. Takes precedence over quoteFields.","required":false},{"name":"trade","type":"boolean","description":"Mode 2: If true, unsubscribe from all trade data for this symbol. Takes precedence over tradeFields.","required":false},{"name":"level2","type":"boolean","description":"Mode 2: If true, unsubscribe from Level 2 / Order Book data for this symbol.","required":false},{"name":"timeAndSales","type":"boolean","description":"Mode 2: If true, unsubscribe from Time \u0026 Sales data for this symbol.","required":false},{"name":"greeks","type":"boolean","description":"Mode 2: If true, unsubscribe from all Greeks data for this symbol. Only applicable for option contracts.","required":false},{"name":"quoteFields","type":"array","description":"Mode 3: Specific quote fields to unsubscribe from. The subscription remains active with remaining fields. If all fields are removed, the subscription is terminated.","required":false,"properties":[{"name":"item","type":"string","description":"Available fields for quote subscriptions. Quote data represents the current best bid and ask prices from the order book. You can also subscribe to fundamental and reference fields (e.g. sharesOutstanding, PE, dividend) sourced from the symbol snapshot; these are delivered as strings (except hasOptions, which is a boolean) and their field names are case-sensitive.","required":false}]},{"name":"tradeFields","type":"array","description":"Mode 3: Specific trade fields to unsubscribe from. The subscription remains active with remaining fields. If all fields are removed, the subscription is terminated.","required":false,"properties":[{"name":"item","type":"string","description":"Available fields for trade subscriptions. Trade data includes last sale information, volume, and OHLC (Open-High-Low-Close) prices.","required":false}]}]},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want it returned in the unsubscribe reply or error.","required":false}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"properties":{"type":{"type":"string","enum":["unsubscribe"],"const":"unsubscribe","description":"Set this to `unsubscribe` to stop live updates.","example":"unsubscribe","x-parser-schema-id":"\u003canonymous-schema-117>"},"payload":{"oneOf":[{"type":"array","description":"Mode 1: full unsubscribe. Send a plain array of symbols to remove every active subscription for each symbol.","items":{"type":"string","description":"Symbol to fully unsubscribe from.","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-120>"},"example":["AAPL","MSFT","GOOGL"],"x-parser-schema-id":"\u003canonymous-schema-119>"},{"type":"array","description":"Mode 2 and Mode 3: detailed unsubscribe objects for type-specific or field-level removal.","items":{"type":"object","required":["symbol"],"description":"Detailed unsubscribe request for a single symbol. Supports type-specific (Mode 2) and field-level (Mode 3) unsubscribe.","properties":{"symbol":{"type":"string","description":"The ticker symbol to unsubscribe from","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-122>"},"quote":{"type":"boolean","description":"Mode 2: If true, unsubscribe from all quote data for this symbol. Takes precedence over quoteFields.","example":true,"x-parser-schema-id":"\u003canonymous-schema-123>"},"trade":{"type":"boolean","description":"Mode 2: If true, unsubscribe from all trade data for this symbol. Takes precedence over tradeFields.","example":false,"x-parser-schema-id":"\u003canonymous-schema-124>"},"level2":{"type":"boolean","description":"Mode 2: If true, unsubscribe from Level 2 / Order Book data for this symbol.","example":true,"x-parser-schema-id":"\u003canonymous-schema-125>"},"timeAndSales":{"type":"boolean","description":"Mode 2: If true, unsubscribe from Time \u0026 Sales data for this symbol.","example":true,"x-parser-schema-id":"\u003canonymous-schema-126>"},"greeks":{"type":"boolean","description":"Mode 2: If true, unsubscribe from all Greeks data for this symbol. Only applicable for option contracts.","example":true,"x-parser-schema-id":"\u003canonymous-schema-127>"},"quoteFields":{"type":"array","description":"Mode 3: Specific quote fields to unsubscribe from. The subscription remains active with remaining fields. If all fields are removed, the subscription is terminated.","items":{"type":"string","description":"Available fields for quote subscriptions. Quote data represents the current best bid and ask prices from the order book. You can also subscribe to fundamental and reference fields (e.g. sharesOutstanding, PE, dividend) sourced from the symbol snapshot; these are delivered as strings (except hasOptions, which is a boolean) and their field names are case-sensitive.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available quote fields","x-parser-schema-id":"\u003canonymous-schema-47>"},{"const":"bidPrice","description":"Current best bid price - the highest price a buyer is willing to pay","x-parser-schema-id":"\u003canonymous-schema-48>"},{"const":"bidSize","description":"Number of shares available at the bid price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-49>"},{"const":"bidExchange","description":"Exchange code where the best bid originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-50>"},{"const":"askPrice","description":"Current best ask (offer) price - the lowest price a seller is willing to accept","x-parser-schema-id":"\u003canonymous-schema-51>"},{"const":"askSize","description":"Number of shares available at the ask price (typically in round lots of 100)","x-parser-schema-id":"\u003canonymous-schema-52>"},{"const":"askExchange","description":"Exchange code where the best ask originated (e.g., 'Q' for NASDAQ, 'N' for NYSE)","x-parser-schema-id":"\u003canonymous-schema-53>"},{"const":"quoteTimestamp","description":"Unix timestamp in milliseconds of the consolidated/top-of-book quote time","x-parser-schema-id":"\u003canonymous-schema-54>"},{"const":"midPrice","description":"Midpoint price calculated as (bidPrice + askPrice) / 2","x-parser-schema-id":"\u003canonymous-schema-55>"},{"const":"spread","description":"Bid-ask spread calculated as askPrice - bidPrice","x-parser-schema-id":"\u003canonymous-schema-56>"},{"const":"openInterest","description":"Total number of outstanding open contracts for the option. Only applicable when symbolType is 'option'.","x-parser-schema-id":"\u003canonymous-schema-57>"},{"const":"type","description":"Data source type for the snapshot record. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-58>"},{"const":"sicCode","description":"Standard Industrial Classification (SIC) code identifying the company's industry. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-59>"},{"const":"hasOptions","description":"Whether the symbol has listed options available. Fundamental/reference field delivered as a boolean.","x-parser-schema-id":"\u003canonymous-schema-60>"},{"const":"sharesOutstanding","description":"Total shares outstanding. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-61>"},{"const":"assets","description":"Total assets. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-62>"},{"const":"liabilities","description":"Total liabilities. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-63>"},{"const":"longTermDebt","description":"Long-term debt. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-64>"},{"const":"EPSDiluted","description":"Diluted earnings per share. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-65>"},{"const":"EPSLatest12Month","description":"Latest 12-month (trailing) earnings per share. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-66>"},{"const":"EPS3YearGrowthRate","description":"3-year EPS growth rate. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-67>"},{"const":"EPS5YearGrowthRate","description":"5-year EPS growth rate. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-68>"},{"const":"avgVolume4Weeks","description":"Average daily trading volume over the trailing 4 weeks. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-69>"},{"const":"PE","description":"Price-to-earnings (P/E) ratio. Fundamental/reference field delivered as a string. Field name is case-sensitive.","x-parser-schema-id":"\u003canonymous-schema-70>"},{"const":"high52WeekPrice","description":"52-week high price. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-71>"},{"const":"high52WeekDate","description":"Date of the 52-week high. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-72>"},{"const":"low52WeekPrice","description":"52-week low price. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-73>"},{"const":"low52WeekDate","description":"Date of the 52-week low. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-74>"},{"const":"dividend","description":"Latest dividend amount. Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-75>"},{"const":"shortSaleRestricted","description":"Whether the symbol is under a short-sale restriction (SSR). Fundamental/reference field delivered as a string.","x-parser-schema-id":"\u003canonymous-schema-76>"}],"x-parser-schema-id":"QuoteFieldEnum"},"example":["bidPrice","askPrice"],"x-parser-schema-id":"\u003canonymous-schema-128>"},"tradeFields":{"type":"array","description":"Mode 3: Specific trade fields to unsubscribe from. The subscription remains active with remaining fields. If all fields are removed, the subscription is terminated.","items":{"type":"string","description":"Available fields for trade subscriptions. Trade data includes last sale information, volume, and OHLC (Open-High-Low-Close) prices.","oneOf":[{"const":"*","description":"Wildcard - subscribe to all available trade fields","x-parser-schema-id":"\u003canonymous-schema-79>"},{"const":"price","description":"Last trade execution price (same as lastPrice in most cases)","x-parser-schema-id":"\u003canonymous-schema-80>"},{"const":"size","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-81>"},{"const":"totalVolume","description":"Total shares traded so far today.","x-parser-schema-id":"\u003canonymous-schema-82>"},{"const":"openPrice","description":"Highest price so far today.","x-parser-schema-id":"\u003canonymous-schema-83>"},{"const":"highPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-84>"},{"const":"lowPrice","description":"Lowest price so far today.","x-parser-schema-id":"\u003canonymous-schema-85>"},{"const":"lastPrice","description":"Most recent trade price (last sale price)","x-parser-schema-id":"\u003canonymous-schema-86>"},{"const":"netChange","description":"Net price change from previous close (lastPrice - previousClosePrice)","x-parser-schema-id":"\u003canonymous-schema-87>"},{"const":"tick","description":"Tick direction indicator: 'up' (uptick), 'down' (downtick), or 'unchanged'","x-parser-schema-id":"\u003canonymous-schema-88>"},{"const":"tradeSeq","description":"Trade sequence number - monotonically increasing identifier for each trade","x-parser-schema-id":"\u003canonymous-schema-89>"},{"const":"tradeTimestamp","description":"Time when the trade happened, in ISO 8601 format.","x-parser-schema-id":"\u003canonymous-schema-90>"},{"const":"closePrice","description":"Official close price. This may be from today or the previous trading day, depending on market hours.","x-parser-schema-id":"\u003canonymous-schema-91>"}],"x-parser-schema-id":"TradeFieldEnum"},"example":["tick"],"x-parser-schema-id":"\u003canonymous-schema-129>"}},"x-parser-schema-id":"UnsubscribeSymbolRequest"},"example":[{"symbol":"AAPL","quote":true}],"x-parser-schema-id":"\u003canonymous-schema-121>"}],"x-parser-schema-id":"\u003canonymous-schema-118>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want it returned in the unsubscribe reply or error.","example":"unsub-1","x-parser-schema-id":"\u003canonymous-schema-130>"}},"description":"Use this message to stop live updates. You can stop everything for a symbol or stop only some data types or fields.","x-parser-schema-id":"UnsubscribeRequestPayload"},"title":"Unsubscribe Request","description":"Request to unsubscribe from market data","example":"{\n \"type\": \"unsubscribe\",\n \"id\": \"unsub-1\",\n \"payload\": [\n \"AAPL\",\n \"MSFT\"\n ]\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"unsubscribeRequest"}]},{"id":"pingRequest","contentType":"application/json","payload":[{"name":"Ping Request","description":"Keep-alive ping message","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `ping` to check that the connection is still alive.","enumValues":["ping"],"required":true},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want it returned in the `pong` reply.","required":false}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type"],"properties":{"type":{"type":"string","enum":["ping"],"const":"ping","description":"Set this to `ping` to check that the connection is still alive.","example":"ping","x-parser-schema-id":"\u003canonymous-schema-131>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want it returned in the `pong` reply.","example":"ping-001","x-parser-schema-id":"\u003canonymous-schema-132>"}},"description":"Use this message to check that the WebSocket connection is still alive.","x-parser-schema-id":"PingRequestPayload"},"title":"Ping Request","description":"Keep-alive ping message","example":"{\n \"type\": \"ping\",\n \"id\": \"ping-001\"\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"pingRequest"}]},{"id":"getExpiryDatesRequest","contentType":"application/json","payload":[{"name":"Get Expiry Dates Request","description":"Request to get option expiration dates for a symbol","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `request` for this one-time lookup.","enumValues":["request"],"required":true},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want it returned in the reply.","required":false},{"name":"payload","type":"object","description":"Put the request details here.","required":true,"properties":[{"name":"method","type":"string","description":"Use `GET` to read the expiry dates.","required":true},{"name":"path","type":"string","description":"Lookup route for expiration dates. Replace `{symbol}` with the underlying ticker or index symbol whose option expiries you want, such as `AAPL` or `SPX`.","required":true}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Use this message to get the available option expiry dates for one symbol.","properties":{"type":{"type":"string","enum":["request"],"const":"request","description":"Set this to `request` for this one-time lookup.","example":"request","x-parser-schema-id":"\u003canonymous-schema-202>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want it returned in the reply.","example":"req-001","x-parser-schema-id":"\u003canonymous-schema-203>"},"payload":{"type":"object","required":["method","path"],"description":"Put the request details here.","properties":{"method":{"type":"string","const":"GET","description":"Use `GET` to read the expiry dates.","example":"GET","x-parser-schema-id":"\u003canonymous-schema-205>"},"path":{"type":"string","description":"Lookup route for expiration dates. Replace `{symbol}` with the underlying ticker or index symbol whose option expiries you want, such as `AAPL` or `SPX`.","pattern":"^/options/[^/]+/expiry-dates$","example":"/options/AAPL/expiry-dates","x-parser-schema-id":"\u003canonymous-schema-206>"}},"example":{"method":"GET","path":"/options/AAPL/expiry-dates"},"x-parser-schema-id":"\u003canonymous-schema-204>"}},"x-parser-schema-id":"GetExpiryDatesRequestPayload"},"title":"Get Expiry Dates Request","description":"Request to get option expiration dates for a symbol","example":"{\n \"type\": \"request\",\n \"id\": \"req-expiry-1\",\n \"payload\": {\n \"method\": \"GET\",\n \"path\": \"/options/AAPL/expiry-dates\"\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"getExpiryDatesRequest"}]},{"id":"getContractSymbolsRequest","contentType":"application/json","payload":[{"name":"Get Contract Symbols Request","description":"Request to get option contract symbols for a symbol and expiry date","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `request` for this one-time lookup.","enumValues":["request"],"required":true},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want it returned in the reply.","required":false},{"name":"payload","type":"object","description":"Put the request details here.","required":true,"properties":[{"name":"method","type":"string","description":"Use `GET` to read the contract symbols.","required":true},{"name":"path","type":"string","description":"Contract-chain route. Replace `{symbol}` with the underlying ticker or index and `{expiryDate}` with `YYYY-MM-DD`. Append `/W` when you specifically want weekly contracts for that date.","required":true}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Use this message to get all contract symbols for one underlying and one expiration date.","properties":{"type":{"type":"string","enum":["request"],"const":"request","description":"Set this to `request` for this one-time lookup.","example":"request","x-parser-schema-id":"\u003canonymous-schema-219>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want it returned in the reply.","example":"req-003","x-parser-schema-id":"\u003canonymous-schema-220>"},"payload":{"type":"object","required":["method","path"],"description":"Put the request details here.","properties":{"method":{"type":"string","const":"GET","description":"Use `GET` to read the contract symbols.","example":"GET","x-parser-schema-id":"\u003canonymous-schema-222>"},"path":{"type":"string","description":"Contract-chain route. Replace `{symbol}` with the underlying ticker or index and `{expiryDate}` with `YYYY-MM-DD`. Append `/W` when you specifically want weekly contracts for that date.","pattern":"^/options/[^/]+/contracts/[0-9]{4}-[0-9]{2}-[0-9]{2}(/W)?$","example":"/options/AAPL/contracts/2024-01-19","x-parser-schema-id":"\u003canonymous-schema-223>"}},"example":{"method":"GET","path":"/options/AAPL/contracts/2024-01-19"},"x-parser-schema-id":"\u003canonymous-schema-221>"}},"x-parser-schema-id":"GetContractSymbolsRequestPayload"},"title":"Get Contract Symbols Request","description":"Request to get option contract symbols for a symbol and expiry date","example":"{\n \"type\": \"request\",\n \"id\": \"req-contracts-1\",\n \"payload\": {\n \"method\": \"GET\",\n \"path\": \"/options/AAPL/contracts/2024-01-19\"\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"getContractSymbolsRequest"}]},{"id":"getEquitySnapshotRequest","contentType":"application/json","payload":[{"name":"Get Equity Snapshot Request","description":"Request to get a full snapshot of equity data for a symbol","type":"object","properties":[{"name":"type","type":"string","description":"Set this to `request` for this one-time snapshot lookup.","enumValues":["request"],"required":true},{"name":"id","type":"string","description":"Optional. Add your own request ID here if you want it returned in the reply.","required":false},{"name":"payload","type":"object","description":"Put the request details here.","required":true,"properties":[{"name":"method","type":"string","description":"Use `GET` to read the snapshot.","required":true},{"name":"path","type":"string","description":"Snapshot route for a single equity ticker. Replace `{symbol}` with the stock symbol you want, such as `AAPL` or `MSFT`.","required":true}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Use this message to get one equity snapshot without opening a live subscription.","properties":{"type":{"type":"string","enum":["request"],"const":"request","description":"Set this to `request` for this one-time snapshot lookup.","example":"request","x-parser-schema-id":"\u003canonymous-schema-236>"},"id":{"type":"string","description":"Optional. Add your own request ID here if you want it returned in the reply.","example":"req-003","x-parser-schema-id":"\u003canonymous-schema-237>"},"payload":{"type":"object","required":["method","path"],"description":"Put the request details here.","properties":{"method":{"type":"string","const":"GET","description":"Use `GET` to read the snapshot.","example":"GET","x-parser-schema-id":"\u003canonymous-schema-239>"},"path":{"type":"string","description":"Snapshot route for a single equity ticker. Replace `{symbol}` with the stock symbol you want, such as `AAPL` or `MSFT`.","pattern":"^/equities/[^/]+/snapshot$","example":"/equities/AAPL/snapshot","x-parser-schema-id":"\u003canonymous-schema-240>"}},"example":{"method":"GET","path":"/equities/AAPL/snapshot"},"x-parser-schema-id":"\u003canonymous-schema-238>"}},"x-parser-schema-id":"GetEquitySnapshotRequestPayload"},"title":"Get Equity Snapshot Request","description":"Request to get a full snapshot of equity data for a symbol","example":"{\n \"type\": \"request\",\n \"id\": \"req-003\",\n \"payload\": {\n \"method\": \"GET\",\n \"path\": \"/equities/AAPL/snapshot\"\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"getEquitySnapshotRequest"}]}],"receiveMessages":[{"id":"quoteUpdate","contentType":"application/json","payload":[{"name":"Quote Update","description":"Real-time quote update for a subscribed symbol","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for live updates.","required":false},{"name":"payload","type":"object","description":"Data inside an update event. This is a live change after the initial snapshot.","required":false,"properties":[{"name":"action","type":"string","description":"Indicates this is a real-time update","required":false},{"name":"type","type":"string","description":"Type of market data in this message: quote, trade, Level 2, Time \u0026 Sales, Greeks, or market status.","enumValues":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"examples":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"required":false},{"name":"symbol","type":"string","description":"The ticker symbol this update is for","required":false},{"name":"data","type":"object","description":"Changed data for this symbol.","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when this event was sent","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","description":"Event wrapper for update responses","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for live updates.","x-parser-schema-id":"\u003canonymous-schema-139>"},"payload":{"type":"object","description":"Data inside an update event. This is a live change after the initial snapshot.","properties":{"action":{"type":"string","const":"update","description":"Indicates this is a real-time update","x-parser-schema-id":"\u003canonymous-schema-140>"},"type":{"type":"string","enum":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"description":"Type of market data in this message: quote, trade, Level 2, Time \u0026 Sales, Greeks, or market status.","examples":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"x-parser-schema-id":"DataType"},"symbol":{"type":"string","description":"The ticker symbol this update is for","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-141>"},"data":{"type":"object","description":"Changed data for this symbol.","additionalProperties":true,"x-parser-schema-id":"\u003canonymous-schema-142>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when this event was sent","example":1701450001123,"x-parser-schema-id":"\u003canonymous-schema-143>"}},"x-parser-schema-id":"UpdateEventPayload"}},"x-parser-schema-id":"UpdateResponsePayload"},"title":"Quote Update","description":"Real-time quote update for a subscribed symbol","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"update\",\n \"type\": \"quote\",\n \"symbol\": \"AAPL\",\n \"data\": {\n \"bidPrice\": 190.04,\n \"askPrice\": 190.06,\n \"midPrice\": 190.05,\n \"spread\": 0.02,\n \"quoteTimestamp\": 1701450001000\n },\n \"timestamp\": 1701450001123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"quoteUpdate"}]},{"id":"tradeUpdate","contentType":"application/json","payload":[{"name":"Trade Update","description":"Real-time trade/price update for a subscribed symbol","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for live updates.","required":false},{"name":"payload","type":"object","description":"Data inside an update event. This is a live change after the initial snapshot.","required":false,"properties":[{"name":"action","type":"string","description":"Indicates this is a real-time update","required":false},{"name":"type","type":"string","description":"Type of market data in this message: quote, trade, Level 2, Time \u0026 Sales, Greeks, or market status.","enumValues":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"examples":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"required":false},{"name":"symbol","type":"string","description":"The ticker symbol this update is for","required":false},{"name":"data","type":"object","description":"Changed data for this symbol.","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when this event was sent","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","description":"Event wrapper for update responses","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for live updates.","x-parser-schema-id":"\u003canonymous-schema-139>"},"payload":{"type":"object","description":"Data inside an update event. This is a live change after the initial snapshot.","properties":{"action":{"type":"string","const":"update","description":"Indicates this is a real-time update","x-parser-schema-id":"\u003canonymous-schema-140>"},"type":{"type":"string","enum":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"description":"Type of market data in this message: quote, trade, Level 2, Time \u0026 Sales, Greeks, or market status.","examples":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"x-parser-schema-id":"DataType"},"symbol":{"type":"string","description":"The ticker symbol this update is for","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-141>"},"data":{"type":"object","description":"Changed data for this symbol.","additionalProperties":true,"x-parser-schema-id":"\u003canonymous-schema-142>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when this event was sent","example":1701450001123,"x-parser-schema-id":"\u003canonymous-schema-143>"}},"x-parser-schema-id":"UpdateEventPayload"}},"x-parser-schema-id":"UpdateResponsePayload"},"title":"Trade Update","description":"Real-time trade/price update for a subscribed symbol","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"update\",\n \"type\": \"trade\",\n \"symbol\": \"AAPL\",\n \"data\": {\n \"price\": 190.05,\n \"size\": 100\n },\n \"timestamp\": 1701450001123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"tradeUpdate"}]},{"id":"level2Update","contentType":"application/json","payload":[{"name":"Level 2 / Order Book Update","description":"Real-time Level 2 order book update showing market depth across exchanges","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for live updates.","required":false},{"name":"payload","type":"object","description":"Data inside a Level 2 update.","required":false,"properties":[{"name":"action","type":"string","description":"Indicates this is a real-time Level 2 update","required":false},{"name":"type","type":"string","description":"Data type indicator for Level 2 order book","required":false},{"name":"symbol","type":"string","description":"The ticker symbol this Level 2 data is for","required":false},{"name":"data","type":"object","description":"Level 2 data for this symbol.","required":false,"properties":[{"name":"symbol","type":"string","description":"The ticker symbol","required":false},{"name":"orderBook","type":"array","description":"Compact order-book rows in askSize:price:bidSize format","required":false,"properties":[{"name":"item","type":"string","required":false}]},{"name":"quotes","type":"array","description":"Compact venue quote rows in exchange:askPrice:askSize:bidPrice:bidSize format","required":false,"properties":[{"name":"item","type":"string","required":false}]},{"name":"timestamp","type":"string","description":"Feed timestamp","required":false},{"name":"bidPrice","type":"number","description":"Top-level fallback bid price when present","required":false},{"name":"askPrice","type":"number","description":"Top-level fallback ask price when present","required":false},{"name":"bidSize","type":"number","description":"Top-level fallback bid size when present","required":false},{"name":"askSize","type":"number","description":"Top-level fallback ask size when present","required":false}]},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when this event was sent","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","description":"Event wrapper for Level 2 order book updates","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for live updates.","x-parser-schema-id":"\u003canonymous-schema-144>"},"payload":{"type":"object","description":"Data inside a Level 2 update.","properties":{"action":{"type":"string","const":"update","description":"Indicates this is a real-time Level 2 update","x-parser-schema-id":"\u003canonymous-schema-145>"},"type":{"type":"string","const":"level2nOB","description":"Data type indicator for Level 2 order book","x-parser-schema-id":"\u003canonymous-schema-146>"},"symbol":{"type":"string","description":"The ticker symbol this Level 2 data is for","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-147>"},"data":{"type":"object","description":"Level 2 data for this symbol.","additionalProperties":true,"properties":{"symbol":{"type":"string","description":"The ticker symbol","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-149>"},"orderBook":{"type":"array","description":"Compact order-book rows in askSize:price:bidSize format","items":{"type":"string","example":"0:250.00:100","x-parser-schema-id":"\u003canonymous-schema-151>"},"x-parser-schema-id":"\u003canonymous-schema-150>"},"quotes":{"type":"array","description":"Compact venue quote rows in exchange:askPrice:askSize:bidPrice:bidSize format","items":{"type":"string","example":"EDGX:272.55:100:272.00:500","x-parser-schema-id":"\u003canonymous-schema-153>"},"x-parser-schema-id":"\u003canonymous-schema-152>"},"timestamp":{"type":"string","description":"Feed timestamp","example":"2025-12-29T05:18:33.600000-05:00","x-parser-schema-id":"\u003canonymous-schema-154>"},"bidPrice":{"type":"number","format":"double","description":"Top-level fallback bid price when present","x-parser-schema-id":"\u003canonymous-schema-155>"},"askPrice":{"type":"number","format":"double","description":"Top-level fallback ask price when present","x-parser-schema-id":"\u003canonymous-schema-156>"},"bidSize":{"type":"number","format":"double","description":"Top-level fallback bid size when present","x-parser-schema-id":"\u003canonymous-schema-157>"},"askSize":{"type":"number","format":"double","description":"Top-level fallback ask size when present","x-parser-schema-id":"\u003canonymous-schema-158>"}},"x-parser-schema-id":"\u003canonymous-schema-148>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when this event was sent","example":1701450001123,"x-parser-schema-id":"\u003canonymous-schema-159>"}},"x-parser-schema-id":"Level2EventPayload"}},"x-parser-schema-id":"Level2UpdatePayload"},"title":"Level 2 / Order Book Update","description":"Real-time Level 2 order book update showing market depth across exchanges","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"update\",\n \"type\": \"level2nOB\",\n \"symbol\": \"AAPL\",\n \"data\": {\n \"orderBook\": [\n \"0:150.24:200\",\n \"500:150.26:0\"\n ],\n \"quotes\": [\n \"NSDQ:150.26:500:150.25:400\",\n \"NYSE:150.27:200:150.24:200\"\n ],\n \"symbol\": \"AAPL\",\n \"timestamp\": \"2025-12-29T05:18:33.600000-05:00\"\n },\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"level2Update"}]},{"id":"timeAndSalesUpdate","contentType":"application/json","payload":[{"name":"Time \u0026 Sales Update","description":"Real-time trade execution from the time and sales feed","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for live updates.","required":false},{"name":"payload","type":"object","description":"Data inside a Time \u0026 Sales event.","required":false,"properties":[{"name":"action","type":"string","description":"Indicates this is a real-time Time \u0026 Sales update","required":false},{"name":"type","type":"string","description":"Data type indicator for Time \u0026 Sales","required":false},{"name":"symbol","type":"string","description":"The ticker symbol this trade execution is for","required":false},{"name":"data","type":"object","description":"Time \u0026 Sales data representing a single trade execution","required":false,"properties":[{"name":"symbol","type":"string","description":"The ticker symbol","required":false},{"name":"price","type":"string","description":"Trade execution price","required":false},{"name":"size","type":"string","description":"Number of shares in the trade","required":false},{"name":"tick","type":"string","description":"Tick direction indicator","enumValues":["up","down","unchanged"],"required":false},{"name":"tradeSeq","type":"string","description":"Trade sequence number - monotonically increasing identifier","required":false},{"name":"tradeExchange","type":"string","description":"Exchange code where the trade was executed","enumValues":["Q","N","P","Z","K","J","M","A","B","C","D","I","X","Y","W"],"required":false},{"name":"tradeTimestamp","type":"string","description":"Time when the trade happened, in ISO 8601 format.","required":false}]},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when this event was sent","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","description":"Event wrapper for Time \u0026 Sales updates","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for live updates.","x-parser-schema-id":"\u003canonymous-schema-160>"},"payload":{"type":"object","description":"Data inside a Time \u0026 Sales event.","properties":{"action":{"type":"string","const":"update","description":"Indicates this is a real-time Time \u0026 Sales update","x-parser-schema-id":"\u003canonymous-schema-161>"},"type":{"type":"string","const":"timeAndSales","description":"Data type indicator for Time \u0026 Sales","x-parser-schema-id":"\u003canonymous-schema-162>"},"symbol":{"type":"string","description":"The ticker symbol this trade execution is for","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-163>"},"data":{"type":"object","description":"Time \u0026 Sales data representing a single trade execution","properties":{"symbol":{"type":"string","description":"The ticker symbol","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-164>"},"price":{"type":"string","description":"Trade execution price","example":"189.95","x-parser-schema-id":"\u003canonymous-schema-165>"},"size":{"type":"string","description":"Number of shares in the trade","example":"100","x-parser-schema-id":"\u003canonymous-schema-166>"},"tick":{"type":"string","description":"Tick direction indicator","example":"up","enum":["up","down","unchanged"],"x-parser-schema-id":"\u003canonymous-schema-167>"},"tradeSeq":{"type":"string","description":"Trade sequence number - monotonically increasing identifier","example":"123456789","x-parser-schema-id":"\u003canonymous-schema-168>"},"tradeExchange":{"type":"string","description":"Exchange code where the trade was executed","example":"Q","enum":["Q","N","P","Z","K","J","M","A","B","C","D","I","X","Y","W"],"x-parser-schema-id":"\u003canonymous-schema-169>"},"tradeTimestamp":{"type":"string","format":"date-time","description":"Time when the trade happened, in ISO 8601 format.","example":"2026-04-20T07:11:01.717000-04:00","x-parser-schema-id":"\u003canonymous-schema-170>"}},"x-parser-schema-id":"TimeAndSalesData"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when this event was sent","example":1701450001123,"x-parser-schema-id":"\u003canonymous-schema-171>"}},"x-parser-schema-id":"TimeAndSalesEventPayload"}},"x-parser-schema-id":"TimeAndSalesUpdatePayload"},"title":"Time \u0026 Sales Update","description":"Real-time trade execution from the time and sales feed","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"update\",\n \"type\": \"timeAndSales\",\n \"symbol\": \"AAPL\",\n \"data\": {\n \"symbol\": \"AAPL\",\n \"price\": \"189.95\",\n \"size\": \"100\",\n \"tick\": \"up\",\n \"tradeSeq\": \"123456789\",\n \"tradeExchange\": \"Q\",\n \"tradeTimestamp\": \"2026-04-20T07:11:01.717000-04:00\"\n },\n \"timestamp\": 1701450001123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"timeAndSalesUpdate"}]},{"id":"greeksUpdate","contentType":"application/json","payload":[{"name":"Greeks Update","description":"Greeks snapshot on subscribe and real-time updates for an option contract","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for live updates.","required":false},{"name":"payload","type":"object","description":"Data inside a Greeks event.","required":false,"properties":[{"name":"action","type":"string","description":"`snapshot` for the first Greeks values, `update` for later changes.","enumValues":["snapshot","update"],"required":false},{"name":"type","type":"string","description":"Data type indicator for Greeks data","required":false},{"name":"symbol","type":"string","description":"Option symbol","required":false},{"name":"data","type":"object","description":"Option Greeks data. Only the fields requested via greeksFields (or all fields if [\"*\"] was used) are included in each update.","required":false,"properties":[{"name":"symbol","type":"string","description":"Option symbol.","required":false},{"name":"delta","type":"number","description":"Rate of change of the option price relative to a $1 move in the underlying. Ranges from 0 to 1 for calls and -1 to 0 for puts.","required":false},{"name":"gamma","type":"number","description":"Rate of change of delta relative to a $1 move in the underlying. Measures curvature of option value.","required":false},{"name":"theta","type":"number","description":"Daily time decay of the option price. Typically negative, representing value lost each day as expiration approaches.","required":false},{"name":"vega","type":"number","description":"Rate of change of the option price relative to a 1% change in implied volatility.","required":false},{"name":"rho","type":"number","description":"Rate of change of the option price relative to a 1% change in the risk-free interest rate.","required":false},{"name":"impliedVolatility","type":"number","description":"Implied volatility of the option contract, expressed as a decimal (e.g., 0.2752 = 27.52%).","required":false},{"name":"timestamp","type":"string","description":"Time when these Greeks were calculated, in ISO 8601 format.","required":false}]},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when this event was sent","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","description":"Event wrapper for Greeks updates","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for live updates.","x-parser-schema-id":"\u003canonymous-schema-172>"},"payload":{"type":"object","description":"Data inside a Greeks event.","properties":{"action":{"type":"string","enum":["snapshot","update"],"description":"`snapshot` for the first Greeks values, `update` for later changes.","x-parser-schema-id":"\u003canonymous-schema-173>"},"type":{"type":"string","const":"greeks","description":"Data type indicator for Greeks data","x-parser-schema-id":"\u003canonymous-schema-174>"},"symbol":{"type":"string","description":"Option symbol","example":"XSP281215C00920000","x-parser-schema-id":"\u003canonymous-schema-175>"},"data":{"type":"object","description":"Option Greeks data. Only the fields requested via greeksFields (or all fields if [\"*\"] was used) are included in each update.","properties":{"symbol":{"type":"string","description":"Option symbol.","example":"XSP281215C00920000","x-parser-schema-id":"\u003canonymous-schema-176>"},"delta":{"type":"number","format":"double","description":"Rate of change of the option price relative to a $1 move in the underlying. Ranges from 0 to 1 for calls and -1 to 0 for puts.","example":0.522,"x-parser-schema-id":"\u003canonymous-schema-177>"},"gamma":{"type":"number","format":"double","description":"Rate of change of delta relative to a $1 move in the underlying. Measures curvature of option value.","example":0.0386,"x-parser-schema-id":"\u003canonymous-schema-178>"},"theta":{"type":"number","format":"double","description":"Daily time decay of the option price. Typically negative, representing value lost each day as expiration approaches.","example":-0.0246,"x-parser-schema-id":"\u003canonymous-schema-179>"},"vega":{"type":"number","format":"double","description":"Rate of change of the option price relative to a 1% change in implied volatility.","example":0.1606,"x-parser-schema-id":"\u003canonymous-schema-180>"},"rho":{"type":"number","format":"double","description":"Rate of change of the option price relative to a 1% change in the risk-free interest rate.","example":0.004,"x-parser-schema-id":"\u003canonymous-schema-181>"},"impliedVolatility":{"type":"number","format":"double","description":"Implied volatility of the option contract, expressed as a decimal (e.g., 0.2752 = 27.52%).","example":0.2752,"x-parser-schema-id":"\u003canonymous-schema-182>"},"timestamp":{"type":"string","format":"date-time","description":"Time when these Greeks were calculated, in ISO 8601 format.","example":"2026-02-13T15:07:16.65+05:30","x-parser-schema-id":"\u003canonymous-schema-183>"}},"x-parser-schema-id":"GreeksData"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when this event was sent","example":1770975436651,"x-parser-schema-id":"\u003canonymous-schema-184>"}},"x-parser-schema-id":"GreeksEventPayload"}},"x-parser-schema-id":"GreeksUpdatePayload"},"title":"Greeks Update","description":"Greeks snapshot on subscribe and real-time updates for an option contract","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"update\",\n \"type\": \"greeks\",\n \"symbol\": \"XSP281215C00920000\",\n \"data\": {\n \"delta\": 0.531,\n \"gamma\": 0.0391,\n \"impliedVolatility\": 0.2788,\n \"symbol\": \"XSP281215C00920000\",\n \"theta\": -0.0249,\n \"rho\": 0.004,\n \"timestamp\": \"2026-02-13T15:08:22.10+05:30\",\n \"vega\": 0.1618\n },\n \"timestamp\": 1770975502651\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"greeksUpdate"}]},{"id":"errorResponse","contentType":"application/json","payload":[{"name":"Error Response","description":"Error message from the server","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":false},{"name":"payload","type":"object","required":false,"properties":[{"name":"action","type":"string","description":"Indicates this is an error response","required":false},{"name":"symbol","type":"string","description":"The symbol related to the error, if applicable","required":false},{"name":"error","type":"string","description":"Human-readable error message describing what went wrong","required":false},{"name":"id","type":"string","description":"Request ID from your earlier message, if you sent one.","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when the error occurred","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-196>"},"payload":{"type":"object","properties":{"action":{"type":"string","const":"error","description":"Indicates this is an error response","x-parser-schema-id":"\u003canonymous-schema-197>"},"symbol":{"type":"string","description":"The symbol related to the error, if applicable","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-198>"},"error":{"type":"string","description":"Human-readable error message describing what went wrong","example":"invalid quote fields: invalidField","x-parser-schema-id":"\u003canonymous-schema-199>"},"id":{"type":"string","description":"Request ID from your earlier message, if you sent one.","x-parser-schema-id":"\u003canonymous-schema-200>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when the error occurred","example":1701450004000,"x-parser-schema-id":"\u003canonymous-schema-201>"}},"x-parser-schema-id":"ErrorEventPayload"}},"x-parser-schema-id":"ErrorResponsePayload"},"title":"Error Response","description":"Error message from the server","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"error\",\n \"symbol\": \"AAPL\",\n \"error\": \"invalid quote fields: invalidField1, invalidField2\",\n \"id\": \"sub-1\",\n \"timestamp\": 1701450004000\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"errorResponse"}]},{"id":"authRequiredResponse","contentType":"application/json","payload":[{"name":"Auth Required Response","description":"Server requests authentication","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":true},{"name":"payload","type":"object","description":"Payload sent when the server requires authentication.","required":true,"properties":[{"name":"action","type":"string","description":"Always `authRequired` when the client must authenticate.","enumValues":["authRequired"],"required":false},{"name":"error","type":"string","description":"Error message explaining why authentication is required","enumValues":["authentication required","authentication timeout"],"required":false},{"name":"id","type":"string","description":"The request ID from the original request that triggered this response, if applicable","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server message sent when you need to sign in before using the socket.","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-328>"},"payload":{"type":"object","description":"Payload sent when the server requires authentication.","properties":{"action":{"type":"string","enum":["authRequired"],"description":"Always `authRequired` when the client must authenticate.","x-parser-schema-id":"\u003canonymous-schema-329>"},"error":{"type":"string","description":"Error message explaining why authentication is required","example":"authentication required","enum":["authentication required","authentication timeout"],"x-parser-schema-id":"\u003canonymous-schema-330>"},"id":{"type":"string","description":"The request ID from the original request that triggered this response, if applicable","x-parser-schema-id":"\u003canonymous-schema-331>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds","example":1701450000123,"x-parser-schema-id":"\u003canonymous-schema-332>"}},"x-parser-schema-id":"AuthRequiredEventPayload"}},"x-parser-schema-id":"AuthRequiredResponsePayload"},"title":"Auth Required Response","description":"Server requests authentication","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"authRequired\",\n \"error\": \"authentication required\",\n \"id\": \"sub-001\",\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"authRequiredResponse"}]},{"id":"refreshAuthResponse","contentType":"application/json","payload":[{"name":"Refresh Auth Response","description":"Server warns authentication expires soon","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":true},{"name":"payload","type":"object","description":"Payload sent when the server wants you to refresh your token.","required":true,"properties":[{"name":"action","type":"string","description":"Always `refreshAuth`. Sign in again soon with a new token.","enumValues":["refreshAuth"],"required":false},{"name":"data","type":"object","required":false,"properties":[{"name":"message","type":"string","description":"Message from the server telling you the sign-in is about to expire.","required":false},{"name":"expiresIn","type":"integer","description":"Milliseconds left before the sign-in expires.","required":false}]},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server warning sent when your sign-in is about to expire.","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-333>"},"payload":{"type":"object","description":"Payload sent when the server wants you to refresh your token.","properties":{"action":{"type":"string","enum":["refreshAuth"],"description":"Always `refreshAuth`. Sign in again soon with a new token.","x-parser-schema-id":"\u003canonymous-schema-334>"},"data":{"type":"object","properties":{"message":{"type":"string","description":"Message from the server telling you the sign-in is about to expire.","example":"authentication expires soon, please re-authenticate","x-parser-schema-id":"\u003canonymous-schema-336>"},"expiresIn":{"type":"integer","format":"int64","description":"Milliseconds left before the sign-in expires.","example":300000,"x-parser-schema-id":"\u003canonymous-schema-337>"}},"x-parser-schema-id":"\u003canonymous-schema-335>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds","example":1701450000123,"x-parser-schema-id":"\u003canonymous-schema-338>"}},"x-parser-schema-id":"RefreshAuthEventPayload"}},"x-parser-schema-id":"RefreshAuthResponsePayload"},"title":"Refresh Auth Response","description":"Server warns authentication expires soon","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"refreshAuth\",\n \"data\": {\n \"message\": \"authentication expires soon, please re-authenticate\",\n \"expiresIn\": 300000\n },\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"refreshAuthResponse"}]},{"id":"authExpiredResponse","contentType":"application/json","payload":[{"name":"Auth Expired Response","description":"Server notifies authentication has expired","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":true},{"name":"payload","type":"object","description":"Payload sent when your sign-in has expired.","required":true,"properties":[{"name":"action","type":"string","description":"Always `authExpired` - reconnect and authenticate again.","enumValues":["authExpired"],"required":false},{"name":"error","type":"string","description":"Message from the server saying the sign-in has expired.","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server message sent when your sign-in has expired.","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-339>"},"payload":{"type":"object","description":"Payload sent when your sign-in has expired.","properties":{"action":{"type":"string","enum":["authExpired"],"description":"Always `authExpired` - reconnect and authenticate again.","x-parser-schema-id":"\u003canonymous-schema-340>"},"error":{"type":"string","description":"Message from the server saying the sign-in has expired.","example":"authentication expired","x-parser-schema-id":"\u003canonymous-schema-341>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds","example":1701450000123,"x-parser-schema-id":"\u003canonymous-schema-342>"}},"x-parser-schema-id":"AuthExpiredEventPayload"}},"x-parser-schema-id":"AuthExpiredResponsePayload"},"title":"Auth Expired Response","description":"Server notifies authentication has expired","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"authExpired\",\n \"error\": \"authentication expired\",\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"authExpiredResponse"}]},{"id":"authSuccessResponse","contentType":"application/json","payload":[{"name":"Auth Success Response","description":"Successful authentication response","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":true},{"name":"payload","type":"object","description":"Payload sent when authentication succeeds.","required":true,"properties":[{"name":"action","type":"string","description":"Result action. Always `authSuccess` when authentication succeeds.","enumValues":["authSuccess"],"required":false},{"name":"id","type":"string","description":"The request ID from the original auth request, if provided","required":false},{"name":"data","type":"object","description":"Authentication result data","required":false,"properties":[{"name":"expiresIn","type":"integer","description":"How long this sign-in stays valid, in milliseconds.","required":false},{"name":"message","type":"string","description":"Optional message (e.g., when auth is not required)","required":false}]},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server message sent when sign-in succeeds.","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-321>"},"payload":{"type":"object","description":"Payload sent when authentication succeeds.","properties":{"action":{"type":"string","enum":["authSuccess"],"description":"Result action. Always `authSuccess` when authentication succeeds.","x-parser-schema-id":"\u003canonymous-schema-322>"},"id":{"type":"string","description":"The request ID from the original auth request, if provided","x-parser-schema-id":"\u003canonymous-schema-323>"},"data":{"type":"object","description":"Authentication result data","properties":{"expiresIn":{"type":"integer","format":"int64","description":"How long this sign-in stays valid, in milliseconds.","example":2700000,"x-parser-schema-id":"\u003canonymous-schema-325>"},"message":{"type":"string","description":"Optional message (e.g., when auth is not required)","example":"auth not required","x-parser-schema-id":"\u003canonymous-schema-326>"}},"x-parser-schema-id":"\u003canonymous-schema-324>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds","example":1701450000123,"x-parser-schema-id":"\u003canonymous-schema-327>"}},"x-parser-schema-id":"AuthSuccessEventPayload"}},"x-parser-schema-id":"AuthSuccessResponsePayload"},"title":"Auth Success Response","description":"Successful authentication response","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"authSuccess\",\n \"id\": \"auth-001\",\n \"data\": {\n \"expiresIn\": 2700000\n },\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"authSuccessResponse"}]},{"id":"snapshotResponse","contentType":"application/json","payload":[{"name":"Snapshot Response","description":"Initial snapshot of market data after subscription","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for live updates.","required":false},{"name":"payload","type":"object","description":"Data inside a snapshot event. This is the first full value the server sends for a subscription.","required":false,"properties":[{"name":"action","type":"string","description":"The server sets this to `snapshot` for the first full update after you subscribe.","required":false},{"name":"type","type":"string","description":"Type of market data in this message: quote, trade, Level 2, Time \u0026 Sales, Greeks, or market status.","enumValues":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"examples":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"required":false},{"name":"symbol","type":"string","description":"Symbol this update is for.","required":false},{"name":"data","type":"object","description":"The first full set of data for this symbol.","required":false},{"name":"id","type":"string","description":"Request ID from your subscribe message, if you sent one.","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds when this event was sent","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","description":"Server message for the first full set of values after you subscribe.","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for live updates.","x-parser-schema-id":"\u003canonymous-schema-133>"},"payload":{"type":"object","description":"Data inside a snapshot event. This is the first full value the server sends for a subscription.","properties":{"action":{"type":"string","const":"snapshot","description":"The server sets this to `snapshot` for the first full update after you subscribe.","x-parser-schema-id":"\u003canonymous-schema-134>"},"type":{"type":"string","enum":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"description":"Type of market data in this message: quote, trade, Level 2, Time \u0026 Sales, Greeks, or market status.","examples":["quote","trade","level2nOB","timeAndSales","greeks","marketStatus"],"x-parser-schema-id":"DataType"},"symbol":{"type":"string","description":"Symbol this update is for.","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-135>"},"data":{"type":"object","description":"The first full set of data for this symbol.","additionalProperties":true,"x-parser-schema-id":"\u003canonymous-schema-136>"},"id":{"type":"string","description":"Request ID from your subscribe message, if you sent one.","x-parser-schema-id":"\u003canonymous-schema-137>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds when this event was sent","example":1701450000123,"x-parser-schema-id":"\u003canonymous-schema-138>"}},"x-parser-schema-id":"SnapshotEventPayload"}},"x-parser-schema-id":"SnapshotResponsePayload"},"title":"Snapshot Response","description":"Initial snapshot of market data after subscription","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"snapshot\",\n \"type\": \"quote\",\n \"symbol\": \"AAPL\",\n \"data\": {\n \"bidPrice\": 189.94,\n \"bidSize\": 100,\n \"askPrice\": 189.96,\n \"askSize\": 200,\n \"midPrice\": 189.95,\n \"spread\": 0.02,\n \"quoteTimestamp\": 1701450000000\n },\n \"id\": \"sub-2\",\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"snapshotResponse"}]},{"id":"unsubscribeResponse","contentType":"application/json","payload":[{"name":"Unsubscribe Response","description":"Confirmation of unsubscribe request","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":false},{"name":"payload","type":"object","required":false,"properties":[{"name":"action","type":"string","description":"Confirms the unsubscribe action","required":false},{"name":"data","type":"object","required":false,"properties":[{"name":"symbols","type":"array","description":"List of symbols that were unsubscribed","required":false,"properties":[{"name":"item","type":"string","required":false}]}]},{"name":"id","type":"string","description":"Request ID from your unsubscribe message, if you sent one.","required":false},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds","required":false}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-185>"},"payload":{"type":"object","properties":{"action":{"type":"string","const":"unsubscribe","description":"Confirms the unsubscribe action","x-parser-schema-id":"\u003canonymous-schema-186>"},"data":{"type":"object","properties":{"symbols":{"type":"array","items":{"type":"string","x-parser-schema-id":"\u003canonymous-schema-189>"},"description":"List of symbols that were unsubscribed","example":["AAPL","MSFT"],"x-parser-schema-id":"\u003canonymous-schema-188>"}},"x-parser-schema-id":"\u003canonymous-schema-187>"},"id":{"type":"string","description":"Request ID from your unsubscribe message, if you sent one.","x-parser-schema-id":"\u003canonymous-schema-190>"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds","example":1701450002000,"x-parser-schema-id":"\u003canonymous-schema-191>"}},"x-parser-schema-id":"UnsubscribeEventPayload"}},"x-parser-schema-id":"UnsubscribeResponsePayload"},"title":"Unsubscribe Response","description":"Confirmation of unsubscribe request","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"unsubscribe\",\n \"data\": {\n \"symbols\": [\n \"AAPL\",\n \"MSFT\"\n ]\n },\n \"id\": \"unsub-1\",\n \"timestamp\": 1701450002000\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"unsubscribeResponse"}]},{"id":"pongResponse","contentType":"application/json","payload":[{"name":"Pong Response","description":"Response to ping request","type":"object","properties":[{"name":"type","type":"string","description":"Shared WebSocket pong message type","required":true},{"name":"id","type":"string","description":"Request ID from your ping, if you sent one.","required":false},{"name":"timestamp","type":"string","description":"Time when the server sent this `pong`, in RFC3339 format.","required":false},{"name":"payload","type":"null","description":"Always `null` for `pong` messages.","required":false}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"pong","description":"Shared WebSocket pong message type","x-parser-schema-id":"\u003canonymous-schema-192>"},"id":{"type":"string","description":"Request ID from your ping, if you sent one.","example":"ping-001","x-parser-schema-id":"\u003canonymous-schema-193>"},"timestamp":{"type":"string","format":"date-time","description":"Time when the server sent this `pong`, in RFC3339 format.","example":"2026-05-13T10:30:00Z","x-parser-schema-id":"\u003canonymous-schema-194>"},"payload":{"type":"null","description":"Always `null` for `pong` messages.","x-parser-schema-id":"\u003canonymous-schema-195>"}},"x-parser-schema-id":"PongResponsePayload"},"title":"Pong Response","description":"Response to ping request","example":"{\n \"type\": \"pong\",\n \"id\": \"ping-001\",\n \"timestamp\": \"2026-05-13T10:30:00Z\",\n \"payload\": null\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"pongResponse"}]},{"id":"getExpiryDatesResponse","contentType":"application/json","payload":[{"name":"Get Expiry Dates Response","description":"Response containing option expiration dates","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `response` in the reply.","required":true},{"name":"id","type":"string","description":"Request ID echoed from the original request","required":false},{"name":"timestamp","type":"string","description":"Time when the server sent this reply, in RFC3339 format.","required":false},{"name":"payload","type":"object","required":true,"properties":[{"name":"status","type":"integer","description":"Status code for this reply. `200` means success.","required":true},{"name":"data","type":"object","description":"List of option expiry dates for the symbol.","required":false,"properties":[{"name":"symbol","type":"string","description":"The underlying symbol","required":false},{"name":"expiryDates","type":"array","description":"List of available expiration dates with optional frequency marker, sorted chronologically","required":false,"properties":[{"name":"date","type":"string","description":"Expiration date in YYYY-MM-DD format","required":true},{"name":"freq","type":"string","description":"Frequency marker. Weekly options use W; standard monthly options omit this field.","required":false}]}]},{"name":"error","type":"object","description":"Error details in a response","required":false,"properties":[{"name":"type","type":"string","description":"Error type category","enumValues":["bad_request","not_found","internal","unauthorized"],"required":false},{"name":"code","type":"string","description":"Error code for programmatic handling","required":false},{"name":"message","type":"string","description":"Human-readable error message","required":false}]}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server reply with the option expiry dates.","properties":{"type":{"type":"string","const":"response","description":"The server sets this to `response` in the reply.","x-parser-schema-id":"\u003canonymous-schema-207>"},"id":{"type":"string","description":"Request ID echoed from the original request","x-parser-schema-id":"\u003canonymous-schema-208>"},"timestamp":{"type":"string","format":"date-time","description":"Time when the server sent this reply, in RFC3339 format.","x-parser-schema-id":"\u003canonymous-schema-209>"},"payload":{"type":"object","required":["status"],"properties":{"status":{"type":"integer","description":"Status code for this reply. `200` means success.","example":200,"x-parser-schema-id":"\u003canonymous-schema-211>"},"data":{"type":"object","description":"List of option expiry dates for the symbol.","properties":{"symbol":{"type":"string","description":"The underlying symbol","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-212>"},"expiryDates":{"type":"array","description":"List of available expiration dates with optional frequency marker, sorted chronologically","items":{"type":"object","required":["date"],"properties":{"date":{"type":"string","format":"date","description":"Expiration date in YYYY-MM-DD format","example":"2024-01-19","x-parser-schema-id":"\u003canonymous-schema-214>"},"freq":{"type":"string","description":"Frequency marker. Weekly options use W; standard monthly options omit this field.","example":"W","x-parser-schema-id":"\u003canonymous-schema-215>"}},"x-parser-schema-id":"ExpiryDate"},"x-parser-schema-id":"\u003canonymous-schema-213>"}},"x-parser-schema-id":"ExpiryDatesData"},"error":{"type":"object","description":"Error details in a response","properties":{"type":{"type":"string","description":"Error type category","enum":["bad_request","not_found","internal","unauthorized"],"example":"bad_request","x-parser-schema-id":"\u003canonymous-schema-216>"},"code":{"type":"string","description":"Error code for programmatic handling","example":"INVALID_REQUEST","x-parser-schema-id":"\u003canonymous-schema-217>"},"message":{"type":"string","description":"Human-readable error message","example":"symbol is required","x-parser-schema-id":"\u003canonymous-schema-218>"}},"x-parser-schema-id":"ResponseError"}},"x-parser-schema-id":"\u003canonymous-schema-210>"}},"x-parser-schema-id":"GetExpiryDatesResponsePayload"},"title":"Get Expiry Dates Response","description":"Response containing option expiration dates","example":"{\n \"type\": \"response\",\n \"id\": \"req-expiry-1\",\n \"payload\": {\n \"status\": 200,\n \"data\": {\n \"symbol\": \"AAPL\",\n \"expiryDates\": [\n {\n \"date\": \"2024-01-19\"\n },\n {\n \"date\": \"2024-01-26\",\n \"freq\": \"W\"\n },\n {\n \"date\": \"2024-02-16\"\n }\n ]\n }\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"getExpiryDatesResponse"}]},{"id":"getContractSymbolsResponse","contentType":"application/json","payload":[{"name":"Get Contract Symbols Response","description":"Response containing option contract symbols (calls and puts)","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `response` in the reply.","required":true},{"name":"id","type":"string","description":"Request ID echoed from the original request","required":false},{"name":"timestamp","type":"string","description":"Time when the server sent this reply, in RFC3339 format.","required":false},{"name":"payload","type":"object","required":true,"properties":[{"name":"status","type":"integer","description":"Status code for this reply. `200` means success.","required":true},{"name":"data","type":"object","description":"Option contract symbols for the symbol and expiry date.","required":false,"properties":[{"name":"symbol","type":"string","description":"The underlying symbol","required":false},{"name":"expiryDate","type":"string","description":"The expiration date in YYYY-MM-DD format","required":false},{"name":"calls","type":"array","description":"List of call option contracts, sorted by strike price ascending","required":false,"properties":[{"name":"symbol","type":"string","description":"Option symbol, for example `AAPL240119C00150000`.","required":false},{"name":"strikePrice","type":"number","description":"The strike price of the option","required":false}]},{"name":"puts","type":"array","description":"List of put option contracts, sorted by strike price ascending","required":false,"properties":[{"name":"symbol","type":"string","description":"Option symbol, for example `AAPL240119C00150000`.","required":false},{"name":"strikePrice","type":"number","description":"The strike price of the option","required":false}]},{"name":"freq","type":"string","description":"Frequency marker. Weekly options use W; standard monthly options omit this field.","required":false}]},{"name":"error","type":"object","description":"Error details in a response","required":false,"properties":[{"name":"type","type":"string","description":"Error type category","enumValues":["bad_request","not_found","internal","unauthorized"],"required":false},{"name":"code","type":"string","description":"Error code for programmatic handling","required":false},{"name":"message","type":"string","description":"Human-readable error message","required":false}]}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server reply with the option contract symbols.","properties":{"type":{"type":"string","const":"response","description":"The server sets this to `response` in the reply.","x-parser-schema-id":"\u003canonymous-schema-224>"},"id":{"type":"string","description":"Request ID echoed from the original request","x-parser-schema-id":"\u003canonymous-schema-225>"},"timestamp":{"type":"string","format":"date-time","description":"Time when the server sent this reply, in RFC3339 format.","x-parser-schema-id":"\u003canonymous-schema-226>"},"payload":{"type":"object","required":["status"],"properties":{"status":{"type":"integer","description":"Status code for this reply. `200` means success.","example":200,"x-parser-schema-id":"\u003canonymous-schema-228>"},"data":{"type":"object","description":"Option contract symbols for the symbol and expiry date.","properties":{"symbol":{"type":"string","description":"The underlying symbol","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-229>"},"expiryDate":{"type":"string","format":"date","description":"The expiration date in YYYY-MM-DD format","example":"2024-01-19","x-parser-schema-id":"\u003canonymous-schema-230>"},"calls":{"type":"array","description":"List of call option contracts, sorted by strike price ascending","items":{"type":"object","description":"An option contract symbol with its strike price","properties":{"symbol":{"type":"string","description":"Option symbol, for example `AAPL240119C00150000`.","example":"AAPL240119C00150000","x-parser-schema-id":"\u003canonymous-schema-232>"},"strikePrice":{"type":"number","format":"double","description":"The strike price of the option","example":150,"x-parser-schema-id":"\u003canonymous-schema-233>"}},"x-parser-schema-id":"ContractSymbol"},"x-parser-schema-id":"\u003canonymous-schema-231>"},"puts":{"type":"array","description":"List of put option contracts, sorted by strike price ascending","items":{"type":"object","description":"An option contract symbol with its strike price","properties":{"symbol":{"type":"string","description":"Option symbol, for example `AAPL240119C00150000`.","example":"AAPL240119C00150000","x-parser-schema-id":"\u003canonymous-schema-232>"},"strikePrice":{"type":"number","format":"double","description":"The strike price of the option","example":150,"x-parser-schema-id":"\u003canonymous-schema-233>"}},"x-parser-schema-id":"ContractSymbol"},"x-parser-schema-id":"\u003canonymous-schema-234>"},"freq":{"type":"string","description":"Frequency marker. Weekly options use W; standard monthly options omit this field.","example":"W","x-parser-schema-id":"\u003canonymous-schema-235>"}},"x-parser-schema-id":"ContractSymbolsData"},"error":{"type":"object","description":"Error details in a response","properties":{"type":{"type":"string","description":"Error type category","enum":["bad_request","not_found","internal","unauthorized"],"example":"bad_request","x-parser-schema-id":"\u003canonymous-schema-216>"},"code":{"type":"string","description":"Error code for programmatic handling","example":"INVALID_REQUEST","x-parser-schema-id":"\u003canonymous-schema-217>"},"message":{"type":"string","description":"Human-readable error message","example":"symbol is required","x-parser-schema-id":"\u003canonymous-schema-218>"}},"x-parser-schema-id":"ResponseError"}},"x-parser-schema-id":"\u003canonymous-schema-227>"}},"x-parser-schema-id":"GetContractSymbolsResponsePayload"},"title":"Get Contract Symbols Response","description":"Response containing option contract symbols (calls and puts)","example":"{\n \"type\": \"response\",\n \"id\": \"req-contracts-1\",\n \"payload\": {\n \"status\": 200,\n \"data\": {\n \"symbol\": \"AAPL\",\n \"expiryDate\": \"2024-01-19\",\n \"calls\": [\n {\n \"symbol\": \"AAPL240119C00145000\",\n \"strikePrice\": 145\n },\n {\n \"symbol\": \"AAPL240119C00150000\",\n \"strikePrice\": 150\n }\n ],\n \"puts\": [\n {\n \"symbol\": \"AAPL240119P00145000\",\n \"strikePrice\": 145\n },\n {\n \"symbol\": \"AAPL240119P00150000\",\n \"strikePrice\": 150\n }\n ]\n }\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"getContractSymbolsResponse"}]},{"id":"getEquitySnapshotResponse","contentType":"application/json","payload":[{"name":"Get Equity Snapshot Response","description":"Response containing comprehensive equity data snapshot","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `response` in the reply.","required":true},{"name":"id","type":"string","description":"Request ID echoed from the original request","required":false},{"name":"timestamp","type":"string","description":"Time when the server sent this reply, in RFC3339 format.","required":false},{"name":"payload","type":"object","required":true,"properties":[{"name":"status","type":"integer","description":"Status code for this reply. `200` means success.","required":true},{"name":"data","type":"object","description":"Equity snapshot data with quote, trade, and company details.","required":false,"properties":[{"name":"symbol","type":"string","description":"The ticker symbol","required":false},{"name":"name","type":"string","description":"Company name","required":false},{"name":"description","type":"string","description":"Company description","required":false},{"name":"assetType","type":"string","description":"Type of asset (e.g., Common Stock)","required":false},{"name":"sector","type":"string","description":"Business sector","required":false},{"name":"industry","type":"string","description":"Industry classification","required":false},{"name":"address","type":"string","description":"Company headquarters address","required":false},{"name":"sicCode","type":"string","description":"Standard Industrial Classification code","required":false},{"name":"fiscalYearEnd","type":"string","description":"Fiscal year end month","required":false},{"name":"latestQuarter","type":"string","description":"Most recent quarter end date","required":false},{"name":"lastPrice","type":"string","description":"Last traded price","required":false},{"name":"price","type":"string","description":"Current price","required":false},{"name":"openPrice","type":"string","description":"Opening price for the day","required":false},{"name":"highPrice","type":"string","description":"Highest price for the day","required":false},{"name":"lowPrice","type":"string","description":"Lowest price for the day","required":false},{"name":"closePrice","type":"string","description":"Previous closing price","required":false},{"name":"netChange","type":"string","description":"Net price change from previous close","required":false},{"name":"bidPrice","type":"string","description":"Current bid price","required":false},{"name":"bidSize","type":"string","description":"Size at bid price","required":false},{"name":"askPrice","type":"string","description":"Current ask price","required":false},{"name":"askSize","type":"string","description":"Size at ask price","required":false},{"name":"midPrice","type":"string","description":"Mid-point between bid and ask","required":false},{"name":"spread","type":"string","description":"Bid-ask spread","required":false},{"name":"bidExchange","type":"string","description":"Exchange providing best bid","required":false},{"name":"askExchange","type":"string","description":"Exchange providing best ask","required":false},{"name":"tradeExchange","type":"string","description":"Exchange of last trade","required":false},{"name":"totalVolume","type":"string","description":"Total trading volume for the day","required":false},{"name":"avgVolume4Weeks","type":"string","description":"Average daily volume over 4 weeks","required":false},{"name":"tick","type":"string","description":"Tick direction (-1, 0, 1)","required":false},{"name":"tradeSeq","type":"string","description":"Trade sequence number","required":false},{"name":"quoteTimestamp","type":"string","description":"Timestamp of last quote update","required":false},{"name":"tradeTimestamp","type":"string","description":"Timestamp of last trade","required":false},{"name":"high52WeekPrice","type":"string","description":"52-week high price","required":false},{"name":"high52WeekDate","type":"string","description":"Date of 52-week high","required":false},{"name":"low52WeekPrice","type":"string","description":"52-week low price","required":false},{"name":"low52WeekDate","type":"string","description":"Date of 52-week low","required":false},{"name":"movingAverage50Day","type":"string","description":"50-day moving average","required":false},{"name":"movingAverage200Day","type":"string","description":"200-day moving average","required":false},{"name":"marketCapitalization","type":"string","description":"Market capitalization","required":false},{"name":"sharesOutstanding","type":"string","description":"Total shares outstanding","required":false},{"name":"eps","type":"string","description":"Earnings per share","required":false},{"name":"EPSDiluted","type":"string","description":"Diluted earnings per share","required":false},{"name":"dilutedEPSTTM","type":"string","description":"Trailing twelve month diluted EPS","required":false},{"name":"EPSLatest12Month","type":"string","description":"Latest 12-month EPS","required":false},{"name":"EPS3YearGrowthRate","type":"string","description":"3-year EPS growth rate","required":false},{"name":"EPS5YearGrowthRate","type":"string","description":"5-year EPS growth rate","required":false},{"name":"PE","type":"string","description":"Price-to-earnings ratio","required":false},{"name":"trailingPE","type":"string","description":"Trailing P/E ratio","required":false},{"name":"forwardPE","type":"string","description":"Forward P/E ratio","required":false},{"name":"pegRatio","type":"string","description":"PEG ratio (P/E to growth)","required":false},{"name":"priceToBookRatio","type":"string","description":"Price-to-book ratio","required":false},{"name":"priceToSalesRatioTTM","type":"string","description":"Trailing twelve month price-to-sales ratio","required":false},{"name":"bookValue","type":"string","description":"Book value per share","required":false},{"name":"beta","type":"string","description":"Beta coefficient","required":false},{"name":"dividend","type":"string","description":"Latest dividend amount","required":false},{"name":"dividendPerShare","type":"string","description":"Annual dividend per share","required":false},{"name":"dividendYield","type":"string","description":"Dividend yield","required":false},{"name":"revenueTTM","type":"string","description":"Trailing twelve month revenue","required":false},{"name":"revenuePerShareTTM","type":"string","description":"Trailing twelve month revenue per share","required":false},{"name":"grossProfitTTM","type":"string","description":"Trailing twelve month gross profit","required":false},{"name":"ebitda","type":"string","description":"EBITDA","required":false},{"name":"profitMargin","type":"string","description":"Profit margin","required":false},{"name":"operatingMarginTTM","type":"string","description":"Trailing twelve month operating margin","required":false},{"name":"returnOnAssetsTTM","type":"string","description":"Trailing twelve month return on assets","required":false},{"name":"returnOnEquityTTM","type":"string","description":"Trailing twelve month return on equity","required":false},{"name":"evToRevenue","type":"string","description":"Enterprise value to revenue ratio","required":false},{"name":"evToEBITDA","type":"string","description":"Enterprise value to EBITDA ratio","required":false},{"name":"quarterlyEarningsGrowthYOY","type":"string","description":"Year-over-year quarterly earnings growth","required":false},{"name":"quarterlyRevenueGrowthYOY","type":"string","description":"Year-over-year quarterly revenue growth","required":false},{"name":"assets","type":"string","description":"Total assets","required":false},{"name":"liabilities","type":"string","description":"Total liabilities","required":false},{"name":"longTermDebt","type":"string","description":"Long-term debt","required":false},{"name":"alphaVantageUpdatedAt","type":"string","description":"Timestamp when fundamentals were last refreshed from the external data source","required":false},{"name":"type","type":"string","description":"Category reported for this snapshot record, such as the source or instrument group. This is not the top-level WebSocket message `type`.","required":false},{"name":"size","type":"string","description":"Trade size","required":false}]},{"name":"error","type":"object","description":"Error details in a response","required":false,"properties":[{"name":"type","type":"string","description":"Error type category","enumValues":["bad_request","not_found","internal","unauthorized"],"required":false},{"name":"code","type":"string","description":"Error code for programmatic handling","required":false},{"name":"message","type":"string","description":"Human-readable error message","required":false}]}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server reply with the equity snapshot.","properties":{"type":{"type":"string","const":"response","description":"The server sets this to `response` in the reply.","x-parser-schema-id":"\u003canonymous-schema-241>"},"id":{"type":"string","description":"Request ID echoed from the original request","x-parser-schema-id":"\u003canonymous-schema-242>"},"timestamp":{"type":"string","format":"date-time","description":"Time when the server sent this reply, in RFC3339 format.","x-parser-schema-id":"\u003canonymous-schema-243>"},"payload":{"type":"object","required":["status"],"properties":{"status":{"type":"integer","description":"Status code for this reply. `200` means success.","example":200,"x-parser-schema-id":"\u003canonymous-schema-245>"},"data":{"type":"object","description":"Equity snapshot data with quote, trade, and company details.","properties":{"symbol":{"type":"string","description":"The ticker symbol","example":"AAPL","x-parser-schema-id":"\u003canonymous-schema-246>"},"name":{"type":"string","description":"Company name","example":"Apple Inc.","x-parser-schema-id":"\u003canonymous-schema-247>"},"description":{"type":"string","description":"Company description","x-parser-schema-id":"\u003canonymous-schema-248>"},"assetType":{"type":"string","description":"Type of asset (e.g., Common Stock)","example":"Common Stock","x-parser-schema-id":"\u003canonymous-schema-249>"},"sector":{"type":"string","description":"Business sector","example":"TECHNOLOGY","x-parser-schema-id":"\u003canonymous-schema-250>"},"industry":{"type":"string","description":"Industry classification","example":"CONSUMER ELECTRONICS","x-parser-schema-id":"\u003canonymous-schema-251>"},"address":{"type":"string","description":"Company headquarters address","x-parser-schema-id":"\u003canonymous-schema-252>"},"sicCode":{"type":"string","description":"Standard Industrial Classification code","x-parser-schema-id":"\u003canonymous-schema-253>"},"fiscalYearEnd":{"type":"string","description":"Fiscal year end month","example":"September","x-parser-schema-id":"\u003canonymous-schema-254>"},"latestQuarter":{"type":"string","description":"Most recent quarter end date","example":"2025-09-30","x-parser-schema-id":"\u003canonymous-schema-255>"},"lastPrice":{"type":"string","description":"Last traded price","x-parser-schema-id":"\u003canonymous-schema-256>"},"price":{"type":"string","description":"Current price","x-parser-schema-id":"\u003canonymous-schema-257>"},"openPrice":{"type":"string","description":"Opening price for the day","x-parser-schema-id":"\u003canonymous-schema-258>"},"highPrice":{"type":"string","description":"Highest price for the day","x-parser-schema-id":"\u003canonymous-schema-259>"},"lowPrice":{"type":"string","description":"Lowest price for the day","x-parser-schema-id":"\u003canonymous-schema-260>"},"closePrice":{"type":"string","description":"Previous closing price","x-parser-schema-id":"\u003canonymous-schema-261>"},"netChange":{"type":"string","description":"Net price change from previous close","x-parser-schema-id":"\u003canonymous-schema-262>"},"bidPrice":{"type":"string","description":"Current bid price","x-parser-schema-id":"\u003canonymous-schema-263>"},"bidSize":{"type":"string","description":"Size at bid price","x-parser-schema-id":"\u003canonymous-schema-264>"},"askPrice":{"type":"string","description":"Current ask price","x-parser-schema-id":"\u003canonymous-schema-265>"},"askSize":{"type":"string","description":"Size at ask price","x-parser-schema-id":"\u003canonymous-schema-266>"},"midPrice":{"type":"string","description":"Mid-point between bid and ask","x-parser-schema-id":"\u003canonymous-schema-267>"},"spread":{"type":"string","description":"Bid-ask spread","x-parser-schema-id":"\u003canonymous-schema-268>"},"bidExchange":{"type":"string","description":"Exchange providing best bid","x-parser-schema-id":"\u003canonymous-schema-269>"},"askExchange":{"type":"string","description":"Exchange providing best ask","x-parser-schema-id":"\u003canonymous-schema-270>"},"tradeExchange":{"type":"string","description":"Exchange of last trade","x-parser-schema-id":"\u003canonymous-schema-271>"},"totalVolume":{"type":"string","description":"Total trading volume for the day","x-parser-schema-id":"\u003canonymous-schema-272>"},"avgVolume4Weeks":{"type":"string","description":"Average daily volume over 4 weeks","x-parser-schema-id":"\u003canonymous-schema-273>"},"tick":{"type":"string","description":"Tick direction (-1, 0, 1)","x-parser-schema-id":"\u003canonymous-schema-274>"},"tradeSeq":{"type":"string","description":"Trade sequence number","x-parser-schema-id":"\u003canonymous-schema-275>"},"quoteTimestamp":{"type":"string","description":"Timestamp of last quote update","x-parser-schema-id":"\u003canonymous-schema-276>"},"tradeTimestamp":{"type":"string","description":"Timestamp of last trade","x-parser-schema-id":"\u003canonymous-schema-277>"},"high52WeekPrice":{"type":"string","description":"52-week high price","x-parser-schema-id":"\u003canonymous-schema-278>"},"high52WeekDate":{"type":"string","description":"Date of 52-week high","x-parser-schema-id":"\u003canonymous-schema-279>"},"low52WeekPrice":{"type":"string","description":"52-week low price","x-parser-schema-id":"\u003canonymous-schema-280>"},"low52WeekDate":{"type":"string","description":"Date of 52-week low","x-parser-schema-id":"\u003canonymous-schema-281>"},"movingAverage50Day":{"type":"string","description":"50-day moving average","x-parser-schema-id":"\u003canonymous-schema-282>"},"movingAverage200Day":{"type":"string","description":"200-day moving average","x-parser-schema-id":"\u003canonymous-schema-283>"},"marketCapitalization":{"type":"string","description":"Market capitalization","x-parser-schema-id":"\u003canonymous-schema-284>"},"sharesOutstanding":{"type":"string","description":"Total shares outstanding","x-parser-schema-id":"\u003canonymous-schema-285>"},"eps":{"type":"string","description":"Earnings per share","x-parser-schema-id":"\u003canonymous-schema-286>"},"EPSDiluted":{"type":"string","description":"Diluted earnings per share","x-parser-schema-id":"\u003canonymous-schema-287>"},"dilutedEPSTTM":{"type":"string","description":"Trailing twelve month diluted EPS","x-parser-schema-id":"\u003canonymous-schema-288>"},"EPSLatest12Month":{"type":"string","description":"Latest 12-month EPS","x-parser-schema-id":"\u003canonymous-schema-289>"},"EPS3YearGrowthRate":{"type":"string","description":"3-year EPS growth rate","x-parser-schema-id":"\u003canonymous-schema-290>"},"EPS5YearGrowthRate":{"type":"string","description":"5-year EPS growth rate","x-parser-schema-id":"\u003canonymous-schema-291>"},"PE":{"type":"string","description":"Price-to-earnings ratio","x-parser-schema-id":"\u003canonymous-schema-292>"},"trailingPE":{"type":"string","description":"Trailing P/E ratio","x-parser-schema-id":"\u003canonymous-schema-293>"},"forwardPE":{"type":"string","description":"Forward P/E ratio","x-parser-schema-id":"\u003canonymous-schema-294>"},"pegRatio":{"type":"string","description":"PEG ratio (P/E to growth)","x-parser-schema-id":"\u003canonymous-schema-295>"},"priceToBookRatio":{"type":"string","description":"Price-to-book ratio","x-parser-schema-id":"\u003canonymous-schema-296>"},"priceToSalesRatioTTM":{"type":"string","description":"Trailing twelve month price-to-sales ratio","x-parser-schema-id":"\u003canonymous-schema-297>"},"bookValue":{"type":"string","description":"Book value per share","x-parser-schema-id":"\u003canonymous-schema-298>"},"beta":{"type":"string","description":"Beta coefficient","x-parser-schema-id":"\u003canonymous-schema-299>"},"dividend":{"type":"string","description":"Latest dividend amount","x-parser-schema-id":"\u003canonymous-schema-300>"},"dividendPerShare":{"type":"string","description":"Annual dividend per share","x-parser-schema-id":"\u003canonymous-schema-301>"},"dividendYield":{"type":"string","description":"Dividend yield","x-parser-schema-id":"\u003canonymous-schema-302>"},"revenueTTM":{"type":"string","description":"Trailing twelve month revenue","x-parser-schema-id":"\u003canonymous-schema-303>"},"revenuePerShareTTM":{"type":"string","description":"Trailing twelve month revenue per share","x-parser-schema-id":"\u003canonymous-schema-304>"},"grossProfitTTM":{"type":"string","description":"Trailing twelve month gross profit","x-parser-schema-id":"\u003canonymous-schema-305>"},"ebitda":{"type":"string","description":"EBITDA","x-parser-schema-id":"\u003canonymous-schema-306>"},"profitMargin":{"type":"string","description":"Profit margin","x-parser-schema-id":"\u003canonymous-schema-307>"},"operatingMarginTTM":{"type":"string","description":"Trailing twelve month operating margin","x-parser-schema-id":"\u003canonymous-schema-308>"},"returnOnAssetsTTM":{"type":"string","description":"Trailing twelve month return on assets","x-parser-schema-id":"\u003canonymous-schema-309>"},"returnOnEquityTTM":{"type":"string","description":"Trailing twelve month return on equity","x-parser-schema-id":"\u003canonymous-schema-310>"},"evToRevenue":{"type":"string","description":"Enterprise value to revenue ratio","x-parser-schema-id":"\u003canonymous-schema-311>"},"evToEBITDA":{"type":"string","description":"Enterprise value to EBITDA ratio","x-parser-schema-id":"\u003canonymous-schema-312>"},"quarterlyEarningsGrowthYOY":{"type":"string","description":"Year-over-year quarterly earnings growth","x-parser-schema-id":"\u003canonymous-schema-313>"},"quarterlyRevenueGrowthYOY":{"type":"string","description":"Year-over-year quarterly revenue growth","x-parser-schema-id":"\u003canonymous-schema-314>"},"assets":{"type":"string","description":"Total assets","x-parser-schema-id":"\u003canonymous-schema-315>"},"liabilities":{"type":"string","description":"Total liabilities","x-parser-schema-id":"\u003canonymous-schema-316>"},"longTermDebt":{"type":"string","description":"Long-term debt","x-parser-schema-id":"\u003canonymous-schema-317>"},"alphaVantageUpdatedAt":{"type":"string","description":"Timestamp when fundamentals were last refreshed from the external data source","x-parser-schema-id":"\u003canonymous-schema-318>"},"type":{"type":"string","description":"Category reported for this snapshot record, such as the source or instrument group. This is not the top-level WebSocket message `type`.","x-parser-schema-id":"\u003canonymous-schema-319>"},"size":{"type":"string","description":"Trade size","x-parser-schema-id":"\u003canonymous-schema-320>"}},"x-parser-schema-id":"EquitySnapshotData"},"error":{"type":"object","description":"Error details in a response","properties":{"type":{"type":"string","description":"Error type category","enum":["bad_request","not_found","internal","unauthorized"],"example":"bad_request","x-parser-schema-id":"\u003canonymous-schema-216>"},"code":{"type":"string","description":"Error code for programmatic handling","example":"INVALID_REQUEST","x-parser-schema-id":"\u003canonymous-schema-217>"},"message":{"type":"string","description":"Human-readable error message","example":"symbol is required","x-parser-schema-id":"\u003canonymous-schema-218>"}},"x-parser-schema-id":"ResponseError"}},"x-parser-schema-id":"\u003canonymous-schema-244>"}},"x-parser-schema-id":"GetEquitySnapshotResponsePayload"},"title":"Get Equity Snapshot Response","description":"Response containing comprehensive equity data snapshot","example":"{\n \"type\": \"response\",\n \"id\": \"req-003\",\n \"timestamp\": \"2026-01-07T15:17:32Z\",\n \"payload\": {\n \"status\": 200,\n \"data\": {\n \"symbol\": \"AAPL\",\n \"name\": \"Apple Inc.\",\n \"description\": \"Apple Inc. is a preeminent American multinational technology company renowned for its innovative consumer electronics, software, and online services.\",\n \"assetType\": \"Common Stock\",\n \"sector\": \"TECHNOLOGY\",\n \"industry\": \"CONSUMER ELECTRONICS\",\n \"address\": \"ONE APPLE PARK WAY, CUPERTINO, CA, UNITED STATES, 95014\",\n \"sicCode\": \"3663\",\n \"fiscalYearEnd\": \"September\",\n \"latestQuarter\": \"2025-09-30\",\n \"lastPrice\": \"261.9\",\n \"price\": \"261.968295\",\n \"openPrice\": \"263.59999999999997\",\n \"highPrice\": \"263.68\",\n \"lowPrice\": \"261.21\",\n \"closePrice\": \"262.428295\",\n \"netChange\": \"-0.45999999999999996\",\n \"bidPrice\": \"261.98\",\n \"bidSize\": \"400\",\n \"askPrice\": \"261.99\",\n \"askSize\": \"100\",\n \"midPrice\": \"261.985\",\n \"spread\": \"0.009999999999990905\",\n \"bidExchange\": \"NQEX|Nasdaq Exchange\",\n \"askExchange\": \"NQEX|Nasdaq Exchange\",\n \"tradeExchange\": \"NQNX|Nasdaq Trade Reporting Facility\",\n \"totalVolume\": \"10781409\",\n \"avgVolume4Weeks\": \"41245325\",\n \"tick\": \"-1\",\n \"tradeSeq\": \"13264647\",\n \"quoteTimestamp\": \"2026-01-07T10:16:56.961000-05:00\",\n \"tradeTimestamp\": \"2026-01-07T10:17:31.398000-05:00\",\n \"high52WeekPrice\": \"288.62\",\n \"high52WeekDate\": \"2025-12-03T00:00:00.000Z\",\n \"low52WeekPrice\": \"169.2101\",\n \"low52WeekDate\": \"2025-04-08T00:00:00.000Z\",\n \"movingAverage50Day\": \"269.52\",\n \"movingAverage200Day\": \"229.91\",\n \"marketCapitalization\": \"4021300494000\",\n \"sharesOutstanding\": \"14776353\",\n \"eps\": \"7.4\",\n \"EPSDiluted\": \"1.84\",\n \"dilutedEPSTTM\": \"7.4\",\n \"EPSLatest12Month\": \"89.690722\",\n \"EPS3YearGrowthRate\": \"12.566554\",\n \"EPS5YearGrowthRate\": \"19.982310000000002\",\n \"PE\": \"35.1689\",\n \"trailingPE\": \"36.62\",\n \"forwardPE\": \"33.0\",\n \"pegRatio\": \"2.769\",\n \"priceToBookRatio\": \"54.84\",\n \"priceToSalesRatioTTM\": \"9.66\",\n \"bookValue\": \"4.991\",\n \"beta\": \"1.107\",\n \"dividend\": \"0.26\",\n \"dividendPerShare\": \"1.02\",\n \"dividendYield\": \"0.0037\",\n \"revenueTTM\": \"416161006000\",\n \"revenuePerShareTTM\": \"27.84\",\n \"grossProfitTTM\": \"195201008000\",\n \"ebitda\": \"144748003000\",\n \"profitMargin\": \"0.269\",\n \"operatingMarginTTM\": \"0.317\",\n \"returnOnAssetsTTM\": \"0.23\",\n \"returnOnEquityTTM\": \"1.714\",\n \"evToRevenue\": \"9.82\",\n \"evToEBITDA\": \"28.24\",\n \"quarterlyEarningsGrowthYOY\": \"0.912\",\n \"quarterlyRevenueGrowthYOY\": \"0.079\",\n \"assets\": \"359241000\",\n \"liabilities\": \"285508000\",\n \"longTermDebt\": \"986570000\",\n \"alphaVantageUpdatedAt\": \"2025-12-23T11:29:26Z\",\n \"type\": \"ETRADE\",\n \"size\": \"1\"\n }\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"getEquitySnapshotResponse"}]},{"id":"marketStatusUpdate","contentType":"application/json","payload":[{"name":"Market Status Update","description":"Current market status","type":"object","properties":[{"name":"type","type":"string","description":"The server sets this to `event` for this message.","required":true},{"name":"payload","type":"object","description":"Market status details sent after authentication and whenever the market status changes.","required":true,"properties":[{"name":"action","type":"string","description":"Market status is sent as an update event","required":true},{"name":"type","type":"string","description":"Data type for market status messages.","required":true},{"name":"data","type":"object","required":true,"properties":[{"name":"market","type":"string","description":"Overall market status","required":false},{"name":"serverTime","type":"string","description":"Server timestamp from the market status provider","required":false},{"name":"exchanges","type":"object","description":"Exchange status map","required":false},{"name":"currencies","type":"object","description":"Currency market status map","required":false},{"name":"afterHours","type":"boolean","description":"Whether after-hours trading is active","required":false},{"name":"earlyHours","type":"boolean","description":"Whether pre-market trading is active","required":false}]},{"name":"timestamp","type":"integer","description":"Server timestamp in Unix milliseconds","required":true}]}]}],"headers":[],"jsonPayloadSchema":{"type":"object","required":["type","payload"],"description":"Server event that reports the current market status.","properties":{"type":{"type":"string","const":"event","description":"The server sets this to `event` for this message.","x-parser-schema-id":"\u003canonymous-schema-343>"},"payload":{"type":"object","required":["action","type","data","timestamp"],"description":"Market status details sent after authentication and whenever the market status changes.","properties":{"action":{"type":"string","const":"update","description":"Market status is sent as an update event","x-parser-schema-id":"\u003canonymous-schema-344>"},"type":{"type":"string","const":"marketStatus","description":"Data type for market status messages.","x-parser-schema-id":"\u003canonymous-schema-345>"},"data":{"type":"object","properties":{"market":{"type":"string","description":"Overall market status","example":"open","x-parser-schema-id":"\u003canonymous-schema-346>"},"serverTime":{"type":"string","description":"Server timestamp from the market status provider","example":"2026-05-13T10:30:00Z","x-parser-schema-id":"\u003canonymous-schema-347>"},"exchanges":{"type":"object","additionalProperties":{"type":"string","x-parser-schema-id":"\u003canonymous-schema-349>"},"description":"Exchange status map","x-parser-schema-id":"\u003canonymous-schema-348>"},"currencies":{"type":"object","additionalProperties":{"type":"string","x-parser-schema-id":"\u003canonymous-schema-351>"},"description":"Currency market status map","x-parser-schema-id":"\u003canonymous-schema-350>"},"afterHours":{"type":"boolean","description":"Whether after-hours trading is active","x-parser-schema-id":"\u003canonymous-schema-352>"},"earlyHours":{"type":"boolean","description":"Whether pre-market trading is active","x-parser-schema-id":"\u003canonymous-schema-353>"}},"x-parser-schema-id":"MarketStatusData"},"timestamp":{"type":"integer","format":"int64","description":"Server timestamp in Unix milliseconds","example":1701450000123,"x-parser-schema-id":"\u003canonymous-schema-354>"}},"x-parser-schema-id":"MarketStatusEventPayload"}},"x-parser-schema-id":"MarketStatusUpdatePayload"},"title":"Market Status Update","description":"Current market status","example":"{\n \"type\": \"event\",\n \"payload\": {\n \"action\": \"update\",\n \"type\": \"marketStatus\",\n \"data\": {\n \"market\": \"open\",\n \"serverTime\": \"2026-05-13T10:30:00Z\",\n \"exchanges\": {\n \"nyse\": \"open\",\n \"nasdaq\": \"open\"\n },\n \"currencies\": {\n \"fx\": \"open\"\n },\n \"afterHours\": false,\n \"earlyHours\": false\n },\n \"timestamp\": 1701450000123\n }\n}","bindings":[],"extensions":[{"id":"x-parser-unique-object-id","value":"marketStatusUpdate"}]}],"extensions":[{"id":"x-parser-unique-object-id","value":"marketDataStream"}],"securitySchemes":[]},"channelId":"marketDataStream","metadata":{"id":2025,"subdomain":"ariesfinancialinc","eTag":"\"0b891e74bc9965d21b794ac66bd7e97c\"","originalFileLocation":"asyncapi-specs/market-data.json","uuid":"5801b216-18a2-4b57-acd9-f78291cc8fa7","source":"LOCAL_FILE","createdAt":"2025-12-12T07:42:06.661Z","updatedAt":"2026-10-14T10:13:16.125Z","deletedAt":null,"retiredAt":null,"retiredByDeploymentHistoryId":null}},"subdomain":"ariesfinancialinc","siteName":"Aries API","title":"Market Data WebSocket - Aries API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-16T11:06:28.768Z","originalFileLocation":"websockets/market-data.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Real-time streaming API for equity quotes, trades, and market indices. Subscribe to specific symbols with field-level granularity to receive only the data you need, minimizing bandwidth and latency.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Aries API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ariesfinancialinc/ylnD03T0GOb_wvQC/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/ariesfinancialinc/ylnD03T0GOb_wvQC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ariesfinancialinc/ylnD03T0GOb_wvQC/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ariesfinancialinc/ylnD03T0GOb_wvQC/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ariesfinancialinc/ylnD03T0GOb_wvQC/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/ariesfinancialinc/ylnD03T0GOb_wvQC/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/ariesfinancialinc/ylnD03T0GOb_wvQC/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/ariesfinancialinc/ylnD03T0GOb_wvQC/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/ariesfinancialinc/ylnD03T0GOb_wvQC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Market Data WebSocket - Aries API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Real-time streaming API for equity quotes, trades, and market indices. Subscribe to specific symbols with field-level granularity to receive only the data you need, minimizing bandwidth and latency.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Aries API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://finance.dev/websockets/market-data\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://ariesfinancialinc.mintlify.site/_mintlify/api/og/v2?division=WebSockets\u0026amp;title=Market+Data+WebSocket\u0026amp;description=Real-time+streaming+API+for+equity+quotes%2C+trades%2C+and+market+indices.+Subscribe+to+specific+symbols+with+field-level+granularity+to+receive+only+the+data+you+n\u0026amp;theme=ee60a00d22459cbc9960cbdc\u0026amp;signature=ba423cdb573e4f59920fc1607692d8d65f6b6de150967c6e2220ee2b9dc39031\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Market Data WebSocket - Aries API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Real-time streaming API for equity quotes, trades, and market indices. Subscribe to specific symbols with field-level granularity to receive only the data you need, minimizing bandwidth and latency.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://ariesfinancialinc.mintlify.site/_mintlify/api/og/v2?division=WebSockets\u0026amp;title=Market+Data+WebSocket\u0026amp;description=Real-time+streaming+API+for+equity+quotes%2C+trades%2C+and+market+indices.+Subscribe+to+specific+symbols+with+field-level+granularity+to+receive+only+the+data+you+n\u0026amp;theme=ee60a00d22459cbc9960cbdc\u0026amp;signature=ba423cdb573e4f59920fc1607692d8d65f6b6de150967c6e2220ee2b9dc39031\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/ariesfinancialinc/ylnD03T0GOb_wvQC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Aries API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0BAA5E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://finance.dev/websockets/market-data\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/websockets/market-data.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://finance.dev/#organization\",\"name\":\"Aries API\",\"url\":\"https://finance.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/ariesfinancialinc/RAN-JEltzDnib-_A/logo/light.svg?fit=max\u0026auto=format\u0026n=RAN-JEltzDnib-_A\u0026q=85\u0026s=4eae127cdf55bb09159d2b5a625690e3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://finance.dev#website\",\"name\":\"Aries API\",\"url\":\"https://finance.dev\",\"publisher\":{\"@id\":\"https://finance.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://finance.dev/websockets/market-data#webpage\",\"url\":\"https://finance.dev/websockets/market-data\",\"name\":\"Market Data WebSocket\",\"description\":\"Real-time streaming API for equity quotes, trades, and market indices. Subscribe to specific symbols with field-level granularity to receive only the data you need, minimizing bandwidth and latency.\",\"dateModified\":\"2026-11-16T11:06:28.768Z\",\"isPartOf\":{\"@id\":\"https://finance.dev#website\"},\"breadcrumb\":{\"@id\":\"https://finance.dev/websockets/market-data#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://finance.dev/websockets/market-data#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Aries API\",\"item\":\"https://finance.dev\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Market Data WebSocket\",\"item\":\"https://finance.dev/websockets/market-data\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://finance.dev/websockets/market-data#apireference\",\"headline\":\"Market Data WebSocket\",\"name\":\"Market Data WebSocket\",\"description\":\"Real-time streaming API for equity quotes, trades, and market indices. Subscribe to specific symbols with field-level granularity to receive only the data you need, minimizing bandwidth and latency.\",\"url\":\"https://finance.dev/websockets/market-data\",\"mainEntityOfPage\":{\"@id\":\"https://finance.dev/websockets/market-data#webpage\"},\"dateModified\":\"2026-11-16T11:06:28.768Z\",\"publisher\":{\"@id\":\"https://finance.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://finance.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Aries API\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Aries API\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/websockets/market-data.md","siteName":"Aries API","nav":{"global":null,"tabs":[{"tab":"Welcome","icon":"house","pages":[{"title":"Welcome","href":"/welcome"}]},{"tab":"Quick Start","icon":"rocket","pages":[{"title":"Quick Start","href":"/api-reference/quickstart"}]},{"tab":"Auth","icon":"shield-halved","pages":[{"title":"Auth","href":"/api-reference/oauth2/overview"}]},{"tab":"Core API","icon":"bolt","pages":[{"title":"Core API","href":"/api-reference"}]},{"tab":"Supplemental API","icon":"chart-mixed","pages":[{"title":"Supplemental API","href":"/supplemental-api/overview"}]},{"tab":"Prediction API","icon":"landmark","pages":[{"title":"Prediction API","href":"/prediction-api/overview"}]},{"tab":"Streaming API","icon":"satellite-dish","pages":[{"group":"Overview","pages":[{"title":"WebSockets","description":"Real-time data streaming with WebSocket connections","href":"/websockets/overview"}]},{"group":"WebSockets","pages":[{"title":"Market Data WebSocket","asyncapi":"asyncapi-specs/market-data.json marketDataStream","href":"/websockets/market-data"},{"title":"Charting WebSocket","description":"Real-time WebSocket API for TradingView chart data. Stream live quotes and trades for equities and options. Connect, authenticate, then subscribe to symbols.","asyncapi":"asyncapi-specs/tradingview-chart.json chartDataStream","href":"/websockets/tradingview-chart"},{"title":"Account Updates WebSocket","asyncapi":"asyncapi-specs/account-updates.json accountUpdatesStream","href":"/websockets/account-updates"}]}]},{"tab":"AI Agents","icon":"robot","pages":[{"title":"AI Agents","href":"/ai-agents/add-skill"}]},{"tab":"MCP Auth","icon":"plug","pages":[{"title":"MCP Auth","href":"/mcp-auth"}]},{"tab":"SDKs","icon":"code","pages":[{"title":"SDKs","href":"/sdks/overview"}]},{"tab":"Changelog","icon":"newspaper","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Market Data WebSocket - Aries API","deploymentId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","buildId":"dpl_DyXGnKeCjZyA3sUdfMJ7FjkdBefg","dynamics":["3b021dca80","a4b48b4bee","a9bb46feb3"],"chunks":["MessageExamples-DDYc9_CX.js","CodeSnippet-D_HwgQO_.js","Page-BwtPZuTy.js","utils-DWvOwgy_.js","getApiPlaygroundDisplay-CmCoerhe.js","getPastedJson-Cb5mT31m.js","icon-BPCgijHy.js","MethodPill-GQ8DuY0c.js","Check2Icon-a7bUI6e8.js","DynamicMarkdown-CQM9Bhbv.js","cloneDeep-CAwdfOU2.js","_Uint8Array-BJr8e-ZL.js","isObject-FP1Yky1u.js","Markdown-CX2QY19L.js","AssistantPageLink-CY3bFglh.js","dist-Dl6_zDnT.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}