Skip to content

What is in the trade ledger?

Every fill is one row. Nothing is dropped. The list is newest first.

FieldMeaning
tsFill time, Unix seconds
symbolStock token
sidebuy or sell
qtyTokens filled
priceUsdEffective price, impact included
grossUsdNotional at the chain price
feeUsdPool fee
impactUsdPrice impact cost
netUsdCash that left or came in
gapPctGap at fill time
basePriceUsdBase price at fill time
depthUsdPool depth at fill time
realizedPnlUsdProfit or loss on a sell; null on a buy
buybackAccrualUsdHalf of a plus profit; null when none
ruleThe rule that fired
reasonOne short sentence
venuepaper or onchain
txHashChain tx hash; null on paper

A buy turns cash into tokens. A sell turns tokens into cash. On paper, txHash is always null.

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.

Read the decision log.

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.