Skip to content

stock_at_time_trade()

StandardPro

Real-time request:

Historical request:

Returns the last trade reported by UTP & CTA feeds at a specified millisecond of the day.
Trade condition mappings can be found here.

Parameters

symbolRequired  -

The stock or index symbol, or underlying symbol for options.

Type: str
start_dateRequired  -

The start date (inclusive).

Type: datetime.date
end_dateRequired  -

The end date (inclusive).

Type: datetime.date
time_of_dayRequired  -

The time of the day to fetch data for; assumed to be America/New_York.

Type: datetime.time
venue  -

Used to specify the venue of the real time or historic request. nqb = Nasdaq Basic; utp_cta = merged UTP & CTA.

Type: str (Default: nqb)
Enumnqb, utp_cta

Sample Code

py

Response

Returns the last trade for a given symbol and specified time of day

array of: