What is in the trade ledger?
Every fill is one row. Nothing is dropped. The list is newest first.
| Field | Meaning |
|---|---|
ts | Fill time, Unix seconds |
symbol | Stock token |
side | buy or sell |
qty | Tokens filled |
priceUsd | Effective price, impact included |
grossUsd | Notional at the chain price |
feeUsd | Pool fee |
impactUsd | Price impact cost |
netUsd | Cash that left or came in |
gapPct | Gap at fill time |
basePriceUsd | Base price at fill time |
depthUsd | Pool depth at fill time |
realizedPnlUsd | Profit or loss on a sell; null on a buy |
buybackAccrualUsd | Half of a plus profit; null when none |
rule | The rule that fired |
reason | One short sentence |
venue | paper or onchain |
txHash | Chain tx hash; null on paper |
A buy turns cash into tokens. A sell turns tokens into cash. On paper, txHash is always null.
Sample
Section titled “Sample”A row reads NVDA · sell · converged · paper. Net is $2,100. Realized is +$100. Buyback is $50. This row closed a discount position. Half the profit went to the reserve.
Live costs
Section titled “Live costs”For a live fill, the token amount and cash come from the confirmed tx. Fee and impact fields are estimates from the route. They do not include the operator’s ETH gas bill.