Skip to content

Market Value

FreeValueStandardPro

Get the latest market value snapshot for one or more indices.

  • Retrieves a real-time last index market value.
  • Exchanges typically generate a price report every second for popular indices like SPX.
SPX
Client
Auth
Style
from thetadatadx import Client

client = Client.from_env()

rows = client.market_data.index_snapshot_market_value(
    "SPX",
)
for t in rows:
    print(t.date, t.market_price)
Sample response · JSON
[
  {
    "market_price": 6395.81,
    "symbol": "SPX",
    "timestamp": "2025-08-20T16:02:06"
  }
]

Parameters

NameTypeRequiredDefaultDescription
symbolsymbolsyesComma-separated ticker symbols (e.g. AAPL,MSFT)
min_timestringnoMinimum time filter
timeout_msintnoPer-request deadline in milliseconds. 0 means no deadline.

Response

Rows of MarketValueTick:

FieldTypeDescription
ms_of_dayi32Milliseconds since midnight Eastern Time.
market_bidf64Last market bid.
market_askf64Last market ask.
market_pricef64Market value derived from the last NBBO.
datei32Trading date as a YYYYMMDD integer.

Released under the Apache-2.0 License.