Close your Base lots.
Match sales to the oldest available buys and reconcile proceeds, basis, and gain in USDC.
CSV format and supported trades
Use one Base wallet’s normalized trade history. Required headers are timestamp,type,asset,quantity,amountusdc,feeusdc,reference. Extra columns are ignored.
Use YYYY-MM-DD or an ISO UTC timestamp ending in Z. Rows with the same timestamp follow input order. Use buy and sell for USDC-settled trades. Use separate asset identifiers for different tokens that share a symbol.
amountusdc is the gross USDC paid or received for the full row. Use positive token quantities. Enter a positive fee or zero. Signed gross amounts are read as magnitudes in the direction set by type. Include earlier buys that fund later sales. Transfer-only rows need trade classification and USDC values before they can be used here.
Amounts are in USDC. Buy fees add to basis and sell fees reduce proceeds. The CSV is for reviewing matched lots and open inventory.
Matched sale lots
| Asset | Acquired UTC | Sold UTC | Buy ref | Sell ref | Quantity | Net proceeds | Basis | Gain |
|---|
Open lots
| Asset | Acquired UTC | Buy ref | Quantity | Basis |
|---|
Interested in Lot Close?
Copy this line and reply in the channel where you found Lot Close.