Common Definition
This page lists every enum value accepted or returned by Stocks Trading endpoints.
Global rule: all enum string values are UPPERCASE on both request and response.
side
Used on /order/place (request), /order/history filter (request), and on every order / trade row
(response).
| Value | Description |
|---|---|
BUY | Buy side |
SELL | Sell side |
orderType
Used on /order/place (request), /order/history filter (request), and on every order / trade row
(response).
| Value | Description |
|---|---|
MARKET | Market order |
LIMIT | Limit order |
timeInForce
Used on /order/place (request). Optional; defaults to DAY.
| Value | Description |
|---|---|
DAY | Good until end of the trading day (default) |
GTC | Good-til-cancelled. Only supported on LIMIT orders. Fractional GTC orders must be placed with tradingSession = EXTENDED or 24H. |
tradingSession / session
Used on /order/place (request) as tradingSession; returned on order / trade rows as session.
Required for LIMIT, forbidden for MARKET.
| Value | Description |
|---|---|
RTH | Regular Trading Hours (09:30–16:00 ET) only |
EXTENDED | Pre-Market + RTH + Post-Market (04:00–20:00 ET) |
24H | Overnight + Pre-Market + RTH + Post-Market (20:00 → next-day 20:00 ET) |
walletType
Used on /order/place (request, BUY side only). Optional; defaults to CARD. SELL orders always
settle against CARD regardless of what is passed.
| Value | Description |
|---|---|
CARD | Funding wallet (default) |
MAIN | Spot wallet |
orderStatus (filter)
Used on /order/history as a comma-separated multi-value filter. Accepts only these terminal-status
values; in-flight statuses (NEW, ACCEPTED) are not valid filter inputs.
| Value | Description |
|---|---|
FILLED | Fully filled |
PARTIALLY_FILLED | Partially filled |
CANCELED | Canceled |
EXPIRED | Expired |
REJECTED | Rejected |
status (order / trade response)
Returned on each order / trade row. Covers both in-flight and terminal states.
| Value | Description |
|---|---|
NEW | Accepted locally, pending upstream acknowledgement |
ACCEPTED | Accepted by upstream broker |
PARTIALLY_FILLED | Partially filled |
FILLED | Fully filled |
CANCELED | Canceled |
EXPIRED | Expired (end-of-day close for DAY orders, etc.) |
REJECTED | Rejected |
Note: The
statusfield on the Place Order response (/order/place) and on the Cancel Order response (/order/cancel) is a separate acknowledgement code, not an order lifecycle status. It only carriesS(accepted) orF(failed).
tradability (exchange info)
Returned on /market/exchangeInfo → symbols[].tradability. Indicates which trading direction is
currently allowed for a symbol.
| Value | Description |
|---|---|
BUY_SELL | Both buying and selling are allowed. |
BUY | Only buying is allowed (new long positions only). |
SELL | Only selling is allowed (close-only). |
NONE | No trading allowed (halted / suspended). |
convertType (tokenized)
Used on /tokenized/convert-status (request) and returned in /tokenized/history and
/tokenized/convert-status responses.
| Value | Description |
|---|---|
MINT | Mint tokenized asset from an underlying equity holding. |
REDEEM | Redeem tokenized asset back into the underlying equity. |
status (tokenized convert response)
Returned on /tokenized/mint, /tokenized/redeem, /tokenized/convert-status, and each row of
/tokenized/history. This is a separate status code from the order lifecycle status — mint /
redeem is an async convert flow with its own three-state machine.
| Value | Description |
|---|---|
P | Processing (async in flight). |
S | Success (convert completed). |
F | Failed. |