Skip to content

Enumeration Types ​

These enumerations (enum) are used across all market-related APIs to standardize and categorize key values such as market types.


Market ​

Purpose: Specifies the market to which the order belongs.

CodeDescription
dcexDigital Currency Market

interval ​

CodeDescription
Minute11 minute K
Minute33 minute K
Minute55 minute K
Minute3030 minute K
Hourhour K
Dayday K
Weekweek K
Monthmonth K
Quarterquarter K
Yearyear K

session ​

Codeis_trading_dayis_openDescription
unknownfalsefalseunknown
pre_markettruefalsepre-market
after_markettruefalseafter-market
tradingtruetrueregular continuous trading
closedtrue / falsefalseclosed (true after market close on a trading day; false on weekends and market holidays)
pre_openingtruefalseopening auction
closing_auctiontruefalseclosing auction
overnighttruefalseovernight session (US equities 21:00–04:00 ET, cross-day; true on Sunday when US overnight opens as it rolls into the next trading day)

crypto_status ​

CodeDescription
normalNormal
suspendedSuspended
circuit_breakerCircuit Breaker

option_type ​

CodeDescription
callCall
putPut

language ​

CodeDescription
zh_twTraditional Chinese
en_usEnglish
ja_jpJapanese
th_thThai
ar_saArabic
nl_nlDutch
ko_krKorean

action_type ​

CodeDescription
splitStock split
reverse_splitStock reverse split
dividendStock dividend

adjust_type ​

CodeDescription
forwardForward-adjusted
actualUnadjusted
backwardBackward-adjusted

trade_type ​

Purpose: Trade type modifier, only returned for US stocks (usex) quote streams. The value is formed by concatenating codes from each Level in order (each Level contributes one character, with a space used as a placeholder if the Level is empty). For example, "@ To" means Level 1=@ (Regular Settlement), Level 2=space (not applicable), Level 3=T (Extended Hours Trade), Level 4=o (Oddlot Execution). If shown as eod, it represents all-US EOD correction data.

Level 1

CodeDescription
@Regular Settlement
CCash Settlement
NNext Day Settlement
RSeller Settlement

Level 2

CodeDescription
FIntermarket Sweep
OOpening Print
4Derivative Priced
5Re-Opening Print
6Closing Print
7Qualified Contingent Trade (QCT)
(empty)Not applicable, see next level

Level 3

CodeDescription
TExtended Hours Trade
UExtended Hours Trade – Reported Late or Out of Sequence
LSold Last – Reported Late But In Sequence
ZSold – Out of Sequence
(empty)Not applicable, see next level

Level 4

CodeDescription
AAcquisition
BBunched
DDistribution
HPrice Variation Trade
MNASDAQ Official Close Price (NOCP)
oOddlot Execution
PPrior Reference Price
QNASDAQ Official Opening Price (NOOP)
SSplit Trade
VContingent Trade
WAverage Price Trade
XCross Trade
xOddlot Cross Trade
(empty)Not applicable, see other levels

Note: If trade_type is eod, it represents all-US EOD correction data.