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.
| Code | Description |
|---|---|
dcex | Digital Currency Market |
interval
| Code | Description |
|---|---|
Minute1 | 1 minute K |
Minute3 | 3 minute K |
Minute5 | 5 minute K |
Minute30 | 30 minute K |
Hour | hour K |
Day | day K |
Week | week K |
Month | month K |
Quarter | quarter K |
Year | year K |
session
| Code | is_trading_day | is_open | Description |
|---|---|---|---|
unknown | false | false | unknown |
pre_market | true | false | pre-market |
after_market | true | false | after-market |
trading | true | true | regular continuous trading |
closed | true / false | false | closed (true after market close on a trading day; false on weekends and market holidays) |
pre_opening | true | false | opening auction |
closing_auction | true | false | closing auction |
overnight | true | false | overnight 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
| Code | Description |
|---|---|
normal | Normal |
suspended | Suspended |
circuit_breaker | Circuit Breaker |
option_type
| Code | Description |
|---|---|
call | Call |
put | Put |
language
| Code | Description |
|---|---|
zh_tw | Traditional Chinese |
en_us | English |
ja_jp | Japanese |
th_th | Thai |
ar_sa | Arabic |
nl_nl | Dutch |
ko_kr | Korean |
action_type
| Code | Description |
|---|---|
split | Stock split |
reverse_split | Stock reverse split |
dividend | Stock dividend |
adjust_type
| Code | Description |
|---|---|
forward | Forward-adjusted |
actual | Unadjusted |
backward | Backward-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
| Code | Description |
|---|---|
@ | Regular Settlement |
C | Cash Settlement |
N | Next Day Settlement |
R | Seller Settlement |
Level 2
| Code | Description |
|---|---|
F | Intermarket Sweep |
O | Opening Print |
4 | Derivative Priced |
5 | Re-Opening Print |
6 | Closing Print |
7 | Qualified Contingent Trade (QCT) |
| (empty) | Not applicable, see next level |
Level 3
| Code | Description |
|---|---|
T | Extended Hours Trade |
U | Extended Hours Trade – Reported Late or Out of Sequence |
L | Sold Last – Reported Late But In Sequence |
Z | Sold – Out of Sequence |
| (empty) | Not applicable, see next level |
Level 4
| Code | Description |
|---|---|
A | Acquisition |
B | Bunched |
D | Distribution |
H | Price Variation Trade |
M | NASDAQ Official Close Price (NOCP) |
o | Oddlot Execution |
P | Prior Reference Price |
Q | NASDAQ Official Opening Price (NOOP) |
S | Split Trade |
V | Contingent Trade |
W | Average Price Trade |
X | Cross Trade |
x | Oddlot Cross Trade |
| (empty) | Not applicable, see other levels |
Note: If
trade_typeiseod, it represents all-US EOD correction data.

