How do I list trades?
Use GET /api/v1/treasury/trades. It returns TreasuryTradeDto[].
| Query | Rule |
|---|---|
limit | 1 to 200 |
before | Optional trade ID; returns older rows |
curl 'https://api.squeeze.plus/api/v1/treasury/trades?limit=50'The list is newest first. For the next page, pass the last id as before.
Each row has id, ts, symbol, side, qty, priceUsd, grossUsd, feeUsd, impactUsd, netUsd, gapPct, chainPriceUsd, basePriceUsd, depthUsd, realizedPnlUsd, buybackAccrualUsd, rule, reason, venue, and txHash. See Ledger fields.
Sample
Section titled “Sample”venue: "paper" rows have txHash: null. A live row would carry the chain tx hash.