85 lines
2.1 KiB
Markdown
85 lines
2.1 KiB
Markdown
# 🤖 Trading Bot — Version 0.3 (PRODUCTION)
|
|
|
|
**Version:** 0.3 | **Status:** 🟢 LIVE | **Updated:** 2026-07-14
|
|
|
|
## 📊 Current Performance (Live)
|
|
|
|
| Metric | Value | Status |
|
|
|--------|-------|--------|
|
|
| **Portfolio** | $107.37 | 🟢 +0.49% |
|
|
| **Trades** | 5 live | ✅ Balanced |
|
|
| **Free USDT** | $18.75 | Active |
|
|
| **Win Rate** | +2.06%-2.20% | ✅ Consistent |
|
|
| **Bot** | RUNNING | ✅ 24/7 |
|
|
|
|
## 🎯 Strategy v0.3
|
|
|
|
**Algorithm:** Local Minimum Detection
|
|
- Scan 30min price history
|
|
- Detect support levels
|
|
- TP: +1.5% | SL: -0.8%
|
|
- Max 1 open trade
|
|
|
|
**Active Pairs:** BTC, ETH, BNB, XRP, SOL
|
|
|
|
**Risk:** 50% capital/trade, no leverage, -5% daily pause
|
|
|
|
## 📁 Files (v0.3 ONLY)
|
|
|
|
- main_ml.py ✅ (production engine)
|
|
- web_dashboard.py (live UI)
|
|
- Integrations (Telegram, Obsidian, Dashboard)
|
|
|
|
**Removed (cleanup 2026-07-14):**
|
|
- ❌ Backups (main_ml_BACKUP*, v2, v4_backup, v6)
|
|
- ❌ DCA strategy (deprecated)
|
|
- ❌ Old monitoring tools
|
|
|
|
## 🚀 Quick Start
|
|
|
|
**Status:**
|
|
```bash
|
|
systemctl status trading-bot.service
|
|
journalctl -u trading-bot.service -f
|
|
```
|
|
|
|
**Dashboard:** https://bot.bizmark.cloud (Port 7000)
|
|
|
|
**Configure:** Edit `src/main_ml.py`
|
|
```python
|
|
TAKE_PROFIT_PERCENT = 1.5 # 1.0-2.5%
|
|
STOP_LOSS_PERCENT = 0.8 # 0.5-1.5%
|
|
INVESTMENT_PERCENT = 50 # 10-55%
|
|
CYCLE_INTERVAL = 60 # 30-120s
|
|
```
|
|
|
|
After changes: `git commit` → `git push` → `systemctl restart trading-bot.service`
|
|
|
|
## 📱 Telegram Reports (3h)
|
|
|
|
Auto-delivery: 00:00, 03:00, 06:00, 09:00, 12:00, 15:00, 18:00, 21:00 UTC
|
|
- Marc: 7646180954
|
|
- Brother: 8518722579
|
|
- Via: @bizMarkTrading_Bot
|
|
|
|
## 🔄 Versioning
|
|
|
|
**v0.3 (NOW):** Local Minimum + 3h reports + clean repo
|
|
|
|
**Downgrade v0.3 → v0.2:**
|
|
```bash
|
|
git log --oneline
|
|
git checkout <v0.2-hash>
|
|
systemctl restart trading-bot.service
|
|
```
|
|
|
|
## 📞 Help
|
|
|
|
- Logs: `journalctl -u trading-bot.service -f`
|
|
- Status: `curl http://172.16.1.168:7000/api/state | jq '.'`
|
|
- Report: `/home/marc/.pyenv/versions/3.10.16/bin/python3 /home/marc/bot-deploy/send_3h_report.py`
|
|
|
|
---
|
|
|
|
**Repo:** https://git.bizmark.cloud/marc/BrainDock | **Branch:** master (v0.3) | **Status:** 🟢 PRODUCTION READY
|