Real-time price streaming from Yahoo Finance via WebSocket.
Production server
Local development server
Send messages to the server
Available only on servers:
Accepts one of the following messages:
{
"subscribe": [
"AAPL",
"NVDA",
"BTC-USD"
]
}
{
"unsubscribe": [
"AAPL"
]
}
Receive price updates from the server
Available only on servers:
Accepts the following message:
{
"id": "BTC-USD",
"price": 87690.22,
"time": 1735364458000,
"currency": "USD",
"exchange": "CCC",
"quoteType": "NONE",
"marketHours": "PRE_MARKET",
"changePercent": 0.1,
"dayVolume": 0,
"dayHigh": 0.1,
"dayLow": 0.1,
"change": 0.1,
"shortName": "string",
"openPrice": 0.1,
"previousClose": 0.1,
"bid": 0.1,
"bidSize": 0,
"ask": 0.1,
"askSize": 0,
"marketCap": 0.1
}
Real-time price update
Real-time price update from Yahoo Finance
Real-time price update from Yahoo Finance
Type of financial instrument
Market hours indicator
Option type (for options contracts)