Grid Bot Profit vs Your Actual Portfolio P&L
Reconcile completed grid trades and open inventory. Learn why a positive realized grid result can coexist with a portfolio loss.

Table of Contents
A grid can report profitable completed sales while its remaining inventory is worth less than the cash that bought it. To evaluate the account, calculate realized profit from closed units, mark the still-open units at a defined price, and account for costs and transfers.
Build the view from the assets
Suppose you allocate a 500 USDC strategy bank. The grid spends 300 USDC on the volatile token. It later sells a portion with a 120 USDC assigned acquisition cost and receives 132 USDC net. The closed portion made 12 USDC. The remaining position carries 180 USDC in acquisition cost and is currently worth 150 USDC.
| Component | Value |
|---|---|
| Realized result on sold units | +12 USDC |
| Unrealized result on open units | −30 USDC |
| Combined result before separately paid costs | −18 USDC |
| Current portfolio value | 482 USDC |
The final value checks independently. The account has 200 USDC unused from the bank, 132 USDC in sale proceeds and 150 USDC of marked inventory. If it also paid 2 USDC equivalent in fees that were not included in those numbers, the net result would be −20 on the original baseline.
Keep a consistent cost convention
Use either average cost or the lot assignment that matches your workflow, and apply it consistently to the open and closed shares. Gross profit can look larger when a fee was deducted in a later transaction. The cash flow view can help catch omitted costs. Copy the price timestamp and quote source so you can reproduce the unrealized mark.
Do not treat the spot value of the whole position as guaranteed liquidation proceeds. If the quote to sell the full quantity is materially lower, maintain a second mark based on the quote. The gap is especially relevant in shallow pools or when selling a bigger position than a typical grid leg.
Review the dashboard in three questions
- Which orders have confirmed on-chain and represent completed actions?
- What units remain open, and what price marks them?
- Does the change in total value match the contribution-adjusted cash flow after fees?
A withdrawal or top-up changes the amount of money available and needs its own entry. A paused bot can still hold unsold units that move with the market. When comparing paper and live strategies, record which costs each one includes.
See how to reconcile a real bot trade to confirm the balances supporting the report. For plans that express a profit target as a fraction of allocated capital, see take-profit on the whole bank.
Ready to automate your crypto trading?
Set up DCA, grid, or limit-order strategies on Uniswap V3 for Arbitrum and Base — from your own Safe, with a free demo to start.