HomeChatAlertsCalendarScreenerWatchlistsFiles
DocsSettings
Sign upJoinLog in

Docs

Overview

IntroductionMCP ServerOpenAPI Spec

REST API

WebSocket

Live Quotes (Per Second)Live Quotes (Per Minute)Live NewsLive SEC FilingsTrading Halts

Live Quotes (Per Minute)

WSwss://socket.vantafin.com/v1/stocks
View as markdown

Subscribe to per-minute live quotes over the same WebSocket connection. Use channel LM.{ticker} or LM.* for all tickers. Each message delivers one minute quote per subscribed ticker during regular and extended hours on trading days. Lower message volume than per-second streams - a good default for charts, alerts and most real-time apps.

Use cases

  • Live candlestick charts and intraday performance trackers
  • Streaming watchlists with minute-level updates
  • Alerting on minute closes or volume spikes
  • Streaming dashboards that need lower message volume than per-second quotes

Subscribe

Send a subscribe message after connecting. Use LM.{ticker} (e.g. LM.AAPL) for a single symbol or LM.* for every symbol.

{
  "action": "subscribe",
  "params": "LM.AAPL"
}

Message fields

FieldTypeDescription
typestringMessage type discriminator.
tickerstringTicker.
openfloatOpening price of the window.
highfloatHighest trade price in the window.
lowfloatLowest trade price in the window.
closefloatClosing price of the window.
volumeintegerTraded volume in the window.
timestampintegerWindow timestamp, epoch milliseconds.
from vantafin import WebSocketClient

ws = WebSocketClient("vf-live-your_api_key")
ws.connect()
ws.subscribe(["LM.AAPL"])

for message in ws:
    print(message)
{
  "type": "live_quote_minute",
  "ticker": "AAPL",
  "open": 189.02,
  "high": 189.45,
  "low": 188.9,
  "close": 189.31,
  "volume": 845000,
  "timestamp": 1700000060000
}
Live Quotes (Per Second)
Live News