> ## Documentation Index
> Fetch the complete documentation index at: https://api.unusualwhales.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> API requests use the base URL https://api.unusualwhales.com and require a bearer token in the `Authorization` header (`Authorization: Bearer <API_KEY>`). Create and manage API tokens at https://unusualwhales.com/dashboard/api.
> For live market data inside an AI tool, use the Unusual Whales MCP server at https://unusualwhales.com/public-api/mcp.
> Instructions for agents using Unusual Whales tools: https://unusualwhales.com/skill.md

# TradeCodes

> Trade / print qualifier for the sale.

Enum
values**8**
used by[TradeReport](/docs/kafka/types/TradeReport.md)

**Proto definition**

```protobuf schema.proto theme={null}
enum TradeCodes {
  INTERMARKET_SWEEP = 0;
  OPENING_PRINT = 1;
  DERIVATIVE_PRICED = 2;
  RE_OPENING_PRINT = 3;
  CLOSING_PRINT = 4;
  QUALIFIED_CONTINGENT_TRADE = 5;
  TRADE_CODES_EMPTY = 6;
  TC_EMPTY = 7;
}
```

## Values

The number on the right of each row is the protobuf enum number.

INTERMARKET\_SWEEP
0

Intermarket Sweep Order (ISO).

OPENING\_PRINT
1

Opening print for the security's trading session.

DERIVATIVE\_PRICED
2

Derivatively priced trade.

RE\_OPENING\_PRINT
3

Re opening print after a trading halt or pause.

CLOSING\_PRINT
4

Closing print for the security's trading session.

QUALIFIED\_CONTINGENT\_TRADE
5

Qualified Contingent Trade (QCT).

TRADE\_CODES\_EMPTY
6

Sentinel: the trade carries no trade code.

TC\_EMPTY
7

Sentinel: the trade carries no trade code (alias of TRADE\_CODES\_EMPTY).
