Get Political Sector Rotation
get_political_sector_rotationTrack political sector rotation by aggregating congressional and executive trades. Get trade count, dollar volume, and top tickers per sector to see where politicians are concentrating trades.
Instructions
Which market SECTORS politicians have been trading in over a trailing window. Aggregates congressional + executive trades by sector and returns, per sector: trade count, total dollar volume, number of distinct politicians, and the top tickers. Use it to see where political trading activity is concentrating (e.g. "politicians piled into Energy this month"). Sort by count or dollar volume.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Top-N sectors to return (default: 15, max: 30) | |
| sortBy | No | Rank sectors by trade count or summed dollar volume (default: count) | |
| chamber | No | Optional chamber filter (default: all chambers merged) | |
| windowDays | No | Lookback window in days (default: 30, max: 90) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |