đź“„ README.md
```markdown
# 💳 M-Pesa Trading Bot – Deriv Edition
> A complete trading bot for Deriv with real M-Pesa STK Push deposits, B2C withdrawals, and 56 ready‑to‑use XML strategies.
---
## đź“– Description
The **M-Pesa Trading Bot** is an all‑in‑one automated trading platform built for **Deriv DBot**. It combines:
- **56 professional trading strategies** (scalping, trend, mean reversion, breakout, martingale, AI/ML, etc.) in **Deriv DBot XML format**.
- **Real M-Pesa integration** – deposit via STK Push, withdraw via B2C API (Safaricom Daraja).
- **Live dashboard** to monitor trades, balance, and M‑Pesa transactions.
- **Strategy‑driven engine** – each bot uses its own indicator settings (RSI, SMA, MACD, Bollinger Bands) for realistic signals.
All components run in a single Node.js server and can be installed on **Termux** or any Linux environment.
---
## ✨ Features
| Feature | Description |
|---------|-------------|
| **56 Deriv DBot XML bots** | Ready to upload to Deriv DBot – each with custom parameters. |
| **M‑Pesa STK Push deposits** | Real money deposits via Safaricom Daraja API – customer receives a prompt on their phone. |
| **M‑Pesa B2C withdrawals** | Withdraw funds directly to any M‑Pesa number. |
| **Live trading dashboard** | View balance, trade history, M‑Pesa transactions, and bot status in real time. |
| **Strategy‑driven trading** | Each bot uses its own indicators (RSI, SMA, MACD, Bollinger) to generate signals. |
| **Demo mode** | Run the bot without M‑Pesa credentials to test strategies using simulated price data. |
| **ZIP export** | Download all 56 XML bots in a single ZIP file for easy upload. |
| **Mobile‑friendly UI** | Works on phone and desktop. |
---
## 📦 Included Strategies (56)
The bots are categorised by type:
| Type | Number of Bots |
|------|----------------|
| Scalping | 10 |
| Trend Following | 10 |
| Mean Reversion | 10 |
| Breakout | 10 |
| Martingale | 5 |
| AI / Machine Learning | 5 |
| Grid Trading | 2 |
| Arb …