Skip to content

Use Case: Portfolio Monitor

Your bot tracks everything you hold across wallet, perps, and DeFi. One question in Telegram gives you the complete picture.

The Scenario

You hold tokens in your Solana wallet, have open positions on Donut Perps, and deposited assets in DeFi protocols. Normally that means checking three different apps to see where you stand. With D0, ask once and get everything in one response.

Quick checks: What's my balance?, Show my perps positions, or Show my DeFi positions.

Complete Balance Overview

You: "What's my balance?"

Bot: "Here's your complete overview:

Wallet: $14,280"

TokenAmountValue24h Change
SOL42.5$6,035+4.8%
USDC3,500$3,500
JUP2,100$2,604+6.2%
BONK150,000$1,245-1.3%
RAY180$896+2.1%

Perps Account: Equity: $5,200 Available Balance: $3,800 Margin Used: $1,400

Total: $19,480

One command shows your wallet breakdown with 24-hour price changes, plus your perps account balance and margin usage. You see everything you need to know in one message.

Check Perps Positions

You: "Show my perps positions"

Bot: "Your open positions:"

SymbolSideSizeEntryMark PricePnLLeverage
BTCUSDTLONG0.05$96,800$98,450+$82.5010x
SOLUSDTLONG10$138.50$142.35+$38.505x

Total Unrealized PnL: +$121.00

You're up on both positions. BTC moved from your $96,800 entry to $98,450, netting you $82.50 with 10x leverage. SOL is up from $138.50 to $142.35, giving you $38.50 with 5x.

DeFi Portfolio

You: "Show my DeFi positions"

Bot: "Your DeFi portfolio:

Kamino Lending: Deposited: 1,000 USDC (earning 8.2% APY) Borrowed: 200 USDC (paying 12.5% APR) Health Factor: 2.8 (Safe)

Meteora LP: SOL/USDC Pool: $2,400 total value Fees earned: $45.20 (24h)

Total DeFi Value: $3,245"

Your Kamino position is healthy with a 2.8 health factor. Your Meteora LP is earning fees. Everything in one view.

Deep Dive on a Holding

Want more detail on a specific token? Ask your bot about it.

You: "Tell me more about my JUP position"

Bot: "Your JUP position:

Holding: 2,100 JUP Current value: $2,604 (18.2% of wallet) Current price: $1.24 (+6.2% today, +15% this week)

JUP market overview: Market cap: $1.67B (#42) 24h volume: $285M Safety score: 92/100

Jupiter recently announced a governance proposal for fee sharing."

Your bot shows you what you hold, what it's worth, how much of your portfolio it represents, and what's happening in the market for that token.

Track Changes Over Time

You: "How has my portfolio done this week?"

Bot: "This week's performance:

Wallet: $14,280 (up from ~$13,200 on Monday, +8.2%) Perps: +$121 unrealized PnL

Best performer: JUP (+15%) Worst performer: BONK (-4.2%)

SOL: +12% (your largest position drove most of the gains)"

You can see what's working and what's not. Your largest position (SOL) is up 12%, which drove most of your portfolio gains this week.

Real-World Workflows

Morning check-in

Every morning, ask "What's my balance?" to get a complete snapshot of wallet, perps, and DeFi in one response. You know where you stand before the trading day starts.

Before making a trade

Before buying or selling, check your allocation with "Show my portfolio" to decide if you need to rebalance. If you're already 40% in SOL and considering buying more, maybe that's too concentrated.

After a market move

When you see crypto news break, ask "Check my balance" to see how all your positions were affected. Did that Fed announcement help or hurt your portfolio? You'll know immediately.

Monitor perps risk

If the market is volatile, ask "Show my perps positions" to check your leverage, margin usage, and unrealized PnL. You want to make sure you're not getting close to liquidation.

Track DeFi health

Periodically check "Show my DeFi positions" to monitor lending health factors and LP performance. If your Kamino health factor is dropping, you need to know before it becomes a problem.

End-of-day review

Before bed, a quick "Portfolio update" gives you peace of mind or an early warning if something needs attention. You're not lying there wondering if your positions are okay.

Tips for Portfolio Monitoring

  • Use the combined balance command. One question gives you wallet, perps, and DeFi all at once. You see the full picture instead of checking each account separately.
  • Monitor your perps margin. Keep an eye on equity and available balance to avoid liquidation. If your available balance is getting low relative to margin used, you're at risk.
  • Check DeFi health factors. Make sure your Kamino lending positions stay healthy. Keep your health factor above 2.0 to stay away from liquidation risk.
  • Combine with alerts. After checking your portfolio, set price alerts for tokens you're watching. If SOL is a big part of your portfolio and support is at $130, set an alert there.
  • Ask about specific tokens. "How is my SOL doing?" gives you more detail than a general portfolio check. You get your position size, current value, portfolio percentage, and market context.
  • Stay informed. After seeing a token's price change, ask your bot to analyze why it moved. Understanding the reason helps you decide whether to hold, add more, or exit.

D0 — Your personal AI trading assistant on Telegram