Skip to content

Latest commit

 

History

History
96 lines (74 loc) · 2.59 KB

File metadata and controls

96 lines (74 loc) · 2.59 KB

Snapshot

The latest snapshot of stats, according to condition rules, for one or more symbols.

Endpoint

GET https://<base_url>/v1/<source>/<offset>/equities/snapshot/<symbols>

URI Parameters

<source> - Data source; acceptable values: Nasdaq, BX, PSX, CQT

<offset> - Real-time or 15 minute delayed data; acceptable values: realtime, delayed

<symbols> - Security identifier(s): if more than one, use comma separated list

Headers

"Authorization: Bearer <token>"

Request Body

none

Response Body

[
  {
    "symbol": "string",
    "timestamp": "string",
    "open": number,
    "high": number,
    "low": number,
    "close": number,
    "lastTrade": number,
    "volume": number,
    "lastSale": number,
    "previousClose": number,
    "dollarVolume": number,
    "netChange": number,
    "percentChange": number
  }
]
Field Name Type Description
Symbol symbol string
Date + Timestamp timestamp string Trade timestamp, format: YYYY-MM-DDThh:mm:ss.s
Open open number The open price for the symbol in the given time period
High high number The highest price for the symbol in the given time period
Low low number The lowest price for the symbol in the given time period
Close close number The close price for the symbol in the given time period
Last Sale lastSale number The latest last sale eligible transaction
Volume volume number The trading volume of the symbol in the given time period. NLS+ Volume is consolidated
Last Trade lastTrade number The most recent price of the symbol
Previous Day Close previousClose number The adjusted close price for the symbol for the previous day
Dollar volume dollarVolume number The dollar amount for shares traded today
Net Change netChange number The value of the change from the previous day
Percent Change percentChange number The percentage change since the previous day

Example

Request

curl --location --request GET 'https://example.com/v1/nasdaq/realtime/equities/snapshot/ZVZZT' \
--header "Authorization: Bearer example_token"

Response

[
    {
        "symbol": "ZVZZT",
        "timestamp": "2022-03-22T12:16:34.142",
        "open": 10.02,
        "high": 10.04,
        "low": 9.99,
        "close": 10.02,
        "lastTrade": 10.02,
        "volume": 493724,
        "lastSale": 10.02,
        "previousClose": 9.99,
        "dollarVolume": 4182738.4050000273,
        "netChange": 0.03,
        "percentChange": 0.3003
    }
]