Trading
Your bot can execute trades directly in Telegram. Swap tokens, set limit orders, send funds to other wallets. Everything follows a two-step preview-then-confirm workflow so you never accidentally send a trade you didn't mean to.
What You Can Do
| You Say | What Happens |
|---|---|
| "Swap 10 USDC to SOL" | Get a quote, then confirm to execute the swap |
| "Create a limit order to sell 1 SOL at $150" | Set a limit order that fills when the target price is reached |
| "Transfer 5 SOL to <address>" | Send tokens to another wallet |
| "Show my orders" | List all your active and pending orders |
| "Check my balance" | See your wallet tokens and their values |
Try it: Swap 10 USDC to SOL, Create a limit order to sell 1 SOL at $150, or Show my orders.
How Trading Works
Every trade follows the same pattern: your bot shows you a preview first, then you confirm. Nothing executes until you say yes.
Step 1 — Preview. Your bot pulls a quote and shows you exactly what you'll get, the price impact, the route, and any fees.
Step 2 — Confirm. You review it and say yes. Only then does your bot submit the transaction to the blockchain.
This prevents accidental trades. You always see the numbers before committing funds.
Swapping Tokens
When you ask to swap, your bot finds the best route across all Solana DEXs using Jupiter. You get one quote with the best available price.
You: "Swap 100 USDC to SOL"
Bot: "Quote: You'll receive ~0.70 SOL for 100 USDC. Price: $142.35 per SOL Price impact: 0.01% Route: USDC → SOL via Jupiter Shall I execute?"
You: "Yes"
Bot: "Transaction submitted! TX: 5abc...xyz. You received 0.6998 SOL."
The quote shows you the exact amount you'll receive, the price you're paying per token, how much your trade affects the market (price impact), and which DEX route Jupiter is using. If the numbers look good, confirm. If not, you can cancel and try again later.
Limit Orders
Instead of buying or selling at the current market price, you can set a limit order at your target price. Your bot monitors the market and fills the order automatically when your price hits.
You: "Create a limit order to buy 1 SOL at $130"
Bot: "Limit order preview: Buy 1 SOL when price reaches $130 You'll spend ~130 USDC Execute?"
You: "Yes"
Bot: "Limit order created! Order ID: 12345. The order will fill automatically when SOL reaches $130."
Your order sits there until the price hits your target. You don't have to watch the charts. When the price reaches $130, your bot executes the trade for you.
Managing Your Orders
You can check all your active orders at any time.
You: "Show my orders"
Bot: "Your active orders:"
| ID | Type | Pair | Amount | Target | Status |
|---|---|---|---|---|---|
| 12345 | Limit Buy | SOL/USDC | 1 SOL | $130 | Active |
| 12346 | Limit Sell | JUP/USDC | 500 JUP | $1.50 | Active |
If you want to cancel an order, just tell your bot the order ID and it'll cancel it for you.
Transferring Tokens
Need to send tokens to another wallet? Your bot handles that too.
You: "Send 5 SOL to <wallet address>"
Bot: "Transfer preview: Sending: 5 SOL ($711) To: <wallet address> Execute?"
You: "Confirm"
Bot: "Transfer complete! TX: 8def...uvw. 5 SOL sent."
Same two-step workflow. Your bot shows you what you're sending and where it's going. You confirm, then it sends.
Where Your Trades Go
Swap trades are routed through Jupiter, Solana's leading DEX aggregator. Jupiter automatically checks every DEX on Solana and finds you the best price. You don't have to shop around yourself.
Limit orders are managed by D0's backend. When your target price hits, your bot executes the trade through Jupiter just like a regular swap.
Tips for Better Trades
- Always check the preview. The quote shows you the exact amount, price impact, and fees before anything happens. If the numbers don't look right, don't confirm.
- Use limit orders for better entries. Instead of market buying at whatever price is available right now, set a limit order at your ideal entry and let it fill when the market comes to you.
- Watch price impact on large trades. If you're swapping a big amount and the price impact is high (like 2% or more), consider splitting it into smaller trades so you don't move the market against yourself.
- Check your balance first. Make sure you have enough tokens for the trade plus a bit of SOL for transaction fees. Without SOL for gas, the transaction won't go through.
