> ## 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

# TradeCancel

> A stock trade cancellation referencing a previously reported trade.

Message
fields**13**
topic[trade-cancels](https://api.unusualwhales.com/docs/kafka/topics/trade-cancels.md)

**Proto definition**

```protobuf schema.proto theme={null}
message TradeCancel {
  string symbol = 1;
  string market_center = 2;
  string security_class = 3;
  string control_number = 4;
  string price = 5;
  uint32 size = 6;
  uint64 volume = 7;
  string trade_settlement = 8;
  string trade_code = 9;
  string ext_hour_sold_codes = 10;
  string sale_cond_codes = 11;
  int64 executed_at = 12;
  int64 tracking_id = 13;
}
```

## Fields

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

symbol
string
1

The ticker symbol of the canceled trade.

market\_center
string
2

The market center where the canceled trade originally executed.

security\_class
string
3

The security class code of the stock.

control\_number
string
4

Identifier the upstream feed assigned to the canceled trade.

price
string
5

The price at which the canceled trade executed.

size
uint32
6

The size of the canceled trade in shares.

volume
uint64
7

The consolidated market volume reported with the cancellation.

trade\_settlement
string
8

The settlement condition of the canceled trade.

trade\_code
string
9

The trade code of the canceled trade.

ext\_hour\_sold\_codes
string
10

The extended-hours or sold code of the canceled trade.

sale\_cond\_codes
string
11

The special sale condition code of the canceled trade.

executed\_at
int64
12

The time at which the cancellation was reported in Unix epoch milliseconds.

tracking\_id
int64
13

Internal tracking identifier of the cancellation.
