From 1% profit and broken scripts to 77.8% win rate in 9 days. Zero code. $0/month. Just prompting.
By Gencay
Published: 2026-02-14
URL: https://www.learnwithmeai.com/p/how-i-built-a-crypto-trading-agent

You’re asleep. Your trading bot isn’t.
It already checked RSI, MACD, Bollinger Bands, and EMA across 50+ coins.
It sent you a Telegram alert at 3:02 AM.
By 3:04, it executed a position with a stop-loss already in place.
You wake up, check your phone, and see:

\Crypto trading bot report\
That’s what I built.
For $0 additional cost, like my Clawdbot.
With zero manual coding.
(And yes, I’m going to show you exactly how.)
Note: This is a build tutorial, not trading advice, and my results come from one account.
Part 1: Why Most Crypto Bots Fail You?
Crypto doesn’t sleep. You do.
That’s the core problem. 50+ coins moving 24/7/365.
Manual monitoring? Impossible.
So people turn to paid bots. $50/month. $200/month. Some charge a percentage of profits.
Here’s what I found after testing a couple of them:
- Expensive. $30-200/month before you even make a trade.
- Black box. You don’t know what strategy it’s running.
- No customization.\*You can’t change indicators or thresholds.
- ”No-code” that still needs code: Every “beginner-friendly” bot I tried required API debugging, JSON configs, or Docker knowledge.
I wanted something different:
- Multi-indicator strategy (not just one signal)
- Full transparency (I can see and modify every decision)
- Actually zero code (I describe what I want in plain English)
So I built it myself. Using Clawdbot.
Security Setup
You’ve seen the OpenClaw (Clawdbot) hype everywhere.
Articles. GitHub issues. Discussions.
And I see the same pattern: people don’t trust it.
I can hear the questions: “Wait, trading? How? Why would you trust an AI with your money?”
Fair point. Let me explain.
I built this with maximum safety:
Safety Layer 1: API Restrictions
The bot cannot withdraw crypto. Period.
I set the API permissions to trading-only.
Even if something goes wrong, funds stay locked in the account.
Safety Layer 2: No Fiat Connection
No credit card.
No bank account.
Zero way to move money out of Binance.
Part 2: What I Built (Trading Agent)
So I built.
A crypto trading bot. Zero code.
It continuously monitors 30 coins watchlist on Binance.
Here’s what it does:
- Monitors 30+ coins.
- BTC, ETH, SOL, AVAX, and meme coins.
- Analyzes 4 indicators:
- RSI: overbought/oversold
- MACD: momentum shifts
- Bollinger Bands: volatility
- EMA: trend crossovers
- Only trades when 3+ align.
No noise. Just strong signals.
Risk rules I can’t break:
- Fixed position size
- Max 5 open trades
- Stop-loss on everything
- Take-profit targets
It also sends a report hourly to me, like this.

And today, it achieves a 77.8% win rate, 7 wins out of 9 closed trades in 9 days.

\Win rate\
Part 3: How It Works and How I Built (Architecture)
The architecture is simple. Three layers.
But everything started with one prompt.
Here is the prompt.
Open your Clawdbot(OpenClaw) and send this prompt.
Visit here: https://skills.sh/dkyazzentwatwa/chatgpt-skills/crypto-ta-analyzer
Build an automated trading bot for Binance.
Requirements:
- Multi-symbol support (30 coins)
- Technical indicators: RSI, MACD, Bollinger Bands, EMA
- Run every 5 minutes
- Max 5 positions, $100 per trade
- Stop-loss (2%) and take-profit (5%)
- Hourly reports via Telegram (your timezone)
- Daily performance analysis
- State persistence across restarts
Use Binance API with proxy support (if needed).
Test in dry-run mode first.
It will write a script that will be your crypto bot.
Make sure to tell your Clawdbot a creating skill for this crypto bot, and run this bot every 5 minutes and report to you hourly or any frequency you want.
Also, make sure to follow the security measures below.
SECURITY MEASURES (IMPORTANT):
1. Get API Keys: https://www.binance.com/en/my/settings/api-management
- Create new API key
- Give it a descriptive name (e.g., “Trading Bot”)
2. API Permissions - DISABLE withdrawals:\*\*
- ✅ Enable Reading
- ✅ Enable Spot & Margin Trading
- ❌ DISABLE Enable Withdrawals (critical!)
- ❌ DISABLE Enable Futures
3. Funding:
- Do NOT link your bank card to Binance
- Deposit only the amount you’re willing to risk
- Start small ($100-500) to test the bot
4. IP Restrictions:
- Add your server’s IP to API whitelist
- This prevents unauthorized access even if API key leaks
5. Never share your API Secret Key:
- Store it in environment variables
- Never commit it to Git
- Never share it in screenshots or logs
Just like that, your trading bot will be ready.
Part 4: Going Live + Constant Upgrading
First, we tested in dry-run mode.
No real money. Just logs.
The bot ran for a few days. It found signals. It calculated positions.
But it didn't trade.
Everything worked. Time to go live.
Live Test
We started small.
Five coins: DOGE, BTC, ETH, SOL, AVAX.
Trade size: $30. Max positions: 3.
The bot scanned every 5 minutes. It waited for strong signals. Score ≥3, confidence ≥0.7.
First cycle: all neutral. No trades.
That's correct behavior. Patience is a feature, not a bug.
Then the first buy signal hit. The bot executed. Market order. Instant fill. We watched the position. Stop-loss at 2%. Take-profit at 5%.
It worked.
Iteration 1: More Coins
Five coins weren't enough exposure.
We expanded to 30. More opportunities. Same risk controls. The config file grew. The strategy stayed the same.
Iteration 2: Quantity Fixes
Binance has rules. LOT\_SIZE. stepSize. minQty.
Our sales orders failed.
Wrong quantity precision.
We fixed the rounding logic. Now every order respects exchange filters.
Also, every report includes this line: “Sell failures”.
So I would solve.
Iteration 3: Reporting
We added hourly reports. Every hour, a Telegram message: active positions, recent signals, bot status.
No need to check manually. The bot reports to us.
Then daily analysis. Win rate. Average P&L. Per-symbol breakdown. Data drives decisions.

Iteration 4: Reliability
State persistence. If the bot crashes, it remembers its positions.
Auto-restart scripts. PID tracking. Log rotation.
The bot runs 24/7. We sleep. It doesn't.
Current Stats
Let’s see the current stats.
• 9 closed trades
• 77.8% win rate
• +3.55% average P&L
• Running for 9 days straight
The architecture is simple. Three layers. One prompt. Constant iteration. That's how you build something that works.
⚠️ Disclaimer: Educational only. Not financial advice. Crypto is risky. Do your own research.
Part 5: How to improve? - Trade Journal
Every trade gets logged. Entry price. Exit price. P&L percentage. Timestamp. Order ID. Nothing is lost.
This is intentional.
The bot writes to a daily journal. Structured data. Per-symbol breakdown. Win/loss ratio. Exit reasons: take-profit or stop-loss.
Here's what a journal entry looks like:
BONK_TRY: buys=0 sells=1 wins=1 realized=+$5.13
SEI_TRY: buys=1 sells=1 wins=1 realized=+$7.45
ROSE_TRY: buys=1 sells=1 wins=0 realized=-$4.39
Raw data. No interpretation yet. Just facts.
Why This Matters?
Data enables iteration. After 30 days, patterns emerge:
• Which coins win most often?
• Which indicators give false signals?
• What time of day works best?
• Should the stop-loss be tighter or looser?
You can't improve what you don't measure.
How We Built the Trade Journal?
The bot was trading. But we couldn't see what happened yesterday. Or last week. Logs scroll. Memory fades.
We needed a record. Permanent. Structured. Every trade, forever.
One prompt, and our trade journal was built.
Add persistent trade journaling to the trading bot.
Requirements:
- Create _append_trade_journal() function
- Write to memory/trading/trades.jsonl (JSONL format)
- Log every BUY: symbol, price, quantity, order_id, timestamp, slippage, indicator snapshot
- Log every SELL: all above + exit_reason, pnl_percent, realized_profit, entry_snapshot, exit_snapshot, MFE, MAE
- Failsafe: if journal write fails, trading continues (never crash the bot for logging)
- Timestamps in both UTC and local timezone
The journal will be used later for ML training and strategy optimization.
What are the next steps?
I built a crypto trading agent that monitors 50+ coins, analyzes 4 technical indicators, executes trades with risk management, and sends me hourly Telegram reports.
Zero manual coding. $0/month running cost.
Clawdbot did the heavy lifting.
The bot isn’t perfect. It won’t make you rich overnight. But it does something most traders can’t: it stays disciplined 24/7, never panics, and never overrides its own rules.
That’s worth more than any indicator.
Now go build yours.