Understanding Total PnL, Grid Profits, and Unpaired PnL
Total PnL represents your Spot Grid bot's comprehensive performance metric, combining both realized and unrealized gains/losses. This figure gives you the most accurate snapshot of your bot's financial performance at any given moment.
Grid Profits and Unpaired PnL are subcomponents that make up the Total PnL:
- Grid Profits: Estimated realized gains from completed grid cycles (buy-sell pairs)
- Unpaired PnL: Remaining gains/losses not attributable to completed grid trades
๐ Master Spot Grid trading strategies
Important Note: If you've enabled Simple Earn Allocation, any Earn-generated profits appear separately under "Simple Earn earnings."
Calculating Total PnL
Total PnL = Current Bot Equity - Initial Equity ยฑ (Top-ups/Withdrawals)
Example Calculation:
- Initial investment: 100 USDT
- Current equity: 200 USDT
- Total PnL = 200 - 100 = 100 USDT
This includes:
- Realized trading profits
- Trading fees
- Unrealized PnL
- Earn interest (if enabled)
Grid Profits Calculation
Grid Profits estimate realized gains from completed grid cycles using this formula:
Grid Profit = (Sell Price - Buy Price) ร Amount - Fees
Fee Structure:
- Buy fees: Deducted in base currency (e.g., BTC)
- Sell fees: Deducted in quote currency (e.g., USDT)
Example Transaction Group
| Transaction | Amount (BTC) | Price (USDT) | Fee |
|---|---|---|---|
| Buy | 0.00005222 | 100,000 | 0.00000005222 BTC |
| Sell | 0.00005216 | 101,000 | 0.00526816 USDT |
Profit Calculation:
- Gross Profit: 0.00005216 BTC ร (101,000 - 100,000) = 0.05216 USDT
Deduct Fees:
- Buy Fee: โ0.005216 USDT
- Sell Fee: 0.00526816 USDT
- Net Grid Profit: 0.05216 - 0.005216 - 0.00526816 = 0.04167584 USDT
Note: Small discrepancies may occur due to rounding and currency-specific fee deductions.
Unpaired PnL Calculation
Unpaired PnL = Total PnL - Grid Profits
This component typically includes:
- Unrealized gains/losses
- Partially filled orders
- Residual amounts from rounding
๐ Optimize your trading bot performance
Withdrawal Considerations for Grid Profits
Several factors may limit withdrawable amounts:
- Previous withdrawals from the same bot
- Grid edits or additional investments (may reset withdrawable amount)
- Rounding differences and fee approximations
- Minimum trade size requirements
The system automatically calculates the maximum safe withdrawal amount to ensure your bot continues operating effectively.
FAQ Section
Q: Why does my Grid Profit estimate differ slightly from actual withdrawals?
A: This occurs due to fee currency differences, rounding, and minimum trade size requirements. The system prioritizes bot stability when determining withdrawable amounts.
Q: How often should I check my Total PnL vs. Grid Profits?
A: Regular monitoring of both metrics gives you the most complete picture of your bot's performance. Total PnL shows overall health while Grid Profits demonstrate trading efficiency.
Q: What happens to residual amounts left in my bot?
A: Any amounts below minimum trade sizes remain in your bot until you stop it, at which point they're returned to your wallet.
Q: Can I improve my Grid Profits?
A: Yes, by optimizing your grid parameters (price range, number of grids) and selecting volatile trading pairs with sufficient liquidity.