Skip to content

How do I list trades?

Use GET /api/v1/treasury/trades. It returns TreasuryTradeDto[].

QueryRule
limit1 to 200
beforeOptional trade ID; returns older rows
Terminal window
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.

venue: "paper" rows have txHash: null. A live row would carry the chain tx hash.

Read the equity curve.