Cluster buys and sells
cluster_tradesStocks that several members of Congress traded in the same direction inside a rolling window (Coldpine's cluster detection, same definition as the bot). Returns ticker, direction, distinct member count, trade count, date span, summed disclosed amount range and the member names. Same data as coldpine.io/research/biggest-cluster-buys-in-congress. Use it for 'what are several members buying (or selling) at once'; for everyone who ever traded one given stock use get_stock instead. The window counts back from the most recent trade date on record, not from a date you choose, and clusters come back largest first by distinct members. A person is counted once per cluster however many trades they made. Overlap in timing is a description of the filings, not evidence of coordination. Access: needs the agent token from a free Coldpine account, sent as 'Authorization: Bearer '; without it the call returns setup steps instead of data. Read-only, cached for up to an hour.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum clusters to return, 1 to 50. Default 10. | |
| direction | No | Which side to cluster: 'purchase' for stocks several members bought, 'sale' for stocks several sold. Default 'purchase'. One direction per call. | purchase |
| min_members | No | Smallest number of distinct members that makes a cluster, 2 to 20. Default 3. Raise it to keep only the broadest overlaps. | |
| window_days | No | Length of the look-back window in days, 1 to 365, ending at the latest trade date on record. Default 90. A longer window finds more and larger clusters. |