whale-trades

Exact captured content · path skills/whale-trades/SKILL.md · sha256 c2f4a0837e39d981… · revision 1a99e5086c3c4c4de95f32b5ff67e31e043aee77

Download the exact captured file

---
name: whale-trades
description: >-
  Lists the biggest single swaps on Monad in the last 24 hours (default $2,000 and up): who made each one, the token,
  buy or sell, dollars, venue and a link to the transaction. Sums them per token to show buy vs sell pressure and net
  flow, and names the wallets that moved the most. Filters by hours, minimum size, side, token and wallet. Dollar
  stablecoin swaps are left out unless asked for. Covers Monad only; the feed holds the last 24 hours. Use when the
  user asks "what are whales buying", "any big trades on Monad", "who is dumping X", "big buys in the last hour".
  Not for other chains (use live-trades or chain-overview), a whole wallet's record (use wallet-xray) or ranked
  traders (use smart-money). Read only; never signs or moves funds.
license: MIT
compatibility: Needs python3 and HTTPS to api.getchord.xyz. Set CHORD_API_KEY (free at chordsi.xyz/me).
metadata:
  author: Chord (getchord.xyz)
  homepage: https://chordsi.xyz/s/whale-trades
  version: "1.0.0"
---

# Whale Trades

Chord's whale feed: every swap on Monad worth at least the minimum in the last 24 hours, from Chord's own index of every
Monad venue, newest first. Wrapping and staking assets (WMON, MON, shMON, sMON, gMON, aprMON) and the main dollar coins
(USDC, AUSD, USDT0, EURW) are dropped by the feed itself, as are known relayers, so what is left are bets on tokens. The
script reads the feed page by page until it has the whole window, then ranks the trades and sums them per token.

## Run it

```bash
python3 scripts/whale_trades.py [monad] [--hours H] [--min USD] [--side buy|sell] [--token SYMBOL_OR_ADDRESS] [--wallet 0x...] [--pages N] [--limit N] [--stables]
```

- `--hours`: how far back, 0.25 to 24 (default 24). The feed holds 24 hours, no more.
- `--min`: smallest trade in dollars, 50 to 1,000,000 (default 2000).
- `--side`: `buy` or `sell` narrows the trade list and ranks tokens by that side. The per-token sums keep both sides.
- `--token`: a symbol as the feed spells it (WETH, GHO) or a token address. `--wallet`: one wallet's whale trades.
- `--pages`: most pages to read, 100 trades each, 1 to 10 (default 5). It stops as soon as the window is read.
- `--limit`: rows per list, 1 to 100 (default 15). `--stables`: keep swaps of dollar stablecoins.

Example: `python3 scripts/whale_trades.py --hours 1 --side buy`

## Read the answer

- `summary`: trades, dollars, `buyUsd`, `sellUsd`, `netUsd`, `buySharePct` and `pressure` for the whole window.
- `biggest`: the largest trades: time in UTC, wallet, side, symbol, dollars, amount, price, venue, `size` (fish from
  $2k, shark from $10k, whale from $50k), `smartMoneyRank` when the wallet is on Chord's board, explorer link.
- `byToken`: per token, buys and sells, dollars each side, net, `buySharePct`, `pressure` (`buying` at 65% of the
  dollars or more, `selling` at 35% or less, else `mixed`), how many wallets, the biggest single trade.
- `topWallets`: the wallets that moved the most dollars, with the tokens they traded.
- `read.windowComplete`: false means only the newest trades were read (`oldestTradeRead`); say the answer is partial.
- `stablesLeftOut`: dollar stablecoin swaps (priced within 1.5% of $1) that were set aside, with their dollars.

## How to answer the user

1. Say the chain (Monad) and the window, then the total and whether it leaned buying or selling.
2. Name the tokens with the most whale dollars and their pressure, with the net flow in dollars.
3. Quote the two or three biggest trades with time in UTC and a short wallet (0x12ab...cdef), and link the transaction.
4. If `windowComplete` is false or stablecoins were left out, say so in one line. Describe the flow; never tell the
   person to follow a whale or buy a token.

## Cost

One call per page read: one for the last hour, about five for a full 24 hours (400 trades). 300 calls a month are free;
then $0.006 a call from your ChordSI credit. If the script exits with code 4, show the person the message: their credit
is empty or a limit was reached, and chordsi.xyz/me is where they top up.

## Chord endpoints it calls

- `GET /v1/smart-money/whales?min=&page=&pageSize=` (Monad, last 24 hours, newest first; the hours, side, token,
  wallet and stablecoin filters are applied by the script).