⚙️ System Overview
MagicTradeBot runs as a native compiled binary with a modular configuration system. It supports both zero-configuration setups and advanced production deployments.
- ✅ No runtime dependencies (Node, Python, Java, etc.)
- ✅ Runs as a single executable
- ✅ Modular
/settingsconfiguration system - ✅ Optional external services for scaling and integrations
💻 System Requirements
| Component | Requirement |
|---|---|
| Operating System | Windows 10+, macOS (Intel/Apple Silicon), Linux (Ubuntu, Debian, CentOS, Alpine) |
| Runtime | No external runtime required (native Rust binary) |
| CPU / RAM | Minimum: 1 vCPU / 512 MB RAM • Recommended: 1–2 vCPU / 1 GB+ RAM |
| Storage | < 100 MB (including logs and configuration) |
| Network | Stable internet connection required for exchange APIs |
| Configuration | Modular YAML files inside /settings directory |
🗄️ Database & Storage Options
MagicTradeBot v6.0 introduces flexible storage backends depending on your deployment needs:
| Option | Description | Use Case |
|---|---|---|
| SQLite (Default) | Embedded lightweight database (zero configuration) | Single bot, local setups |
| PostgreSQL | Shared database across multiple bot instances | Multi-bot deployments, centralized monitoring |
💡 SQLite requires no setup and runs automatically.
💡 PostgreSQL enables advanced setups with shared state across multiple bots.
⚡ Optional Services & Integrations
1. Redis + RedisMarketBridge (Optional)
Redis is used for high-speed market data streaming and shared state caching.
- Requires Redis server (local or remote)
- Requires RedisMarketBridge adapter application
- Streams live market data into Redis for real-time processing
⚠️ If Redis is enabled in configuration, RedisMarketBridge MUST be running.
Otherwise, the bot will not receive market data.
2. TradingView Signal Bridge (Required for TradingView Signals)
To use external signals from TradingView, an intermediate bridge service is required.
- TradingView → sends webhook alert
- TV Signal Bridge → validates & streams signal
- MagicTradeBot → receives and executes trade
⚠️ TradingView signals will NOT work without the TV Signal Bridge service configured.
🚀 Deployment
Deployment remains simple despite added flexibility:
- Download and extract the package
- Configure via Bot Configurator (recommended)
- Replace
/settingsdirectory - Set environment variables for API keys
- Run the binary
# Linux / macOS
./MagicTradeBot
# Windows
MagicTradeBot.exe
💡 Recommended Setup
- Use SQLite for single bot setups
- Use PostgreSQL for multi-bot environments
- Enable Redis only when using advanced market data streaming
- Use a VPS for 24/7 uptime
✅ Minimal setup → SQLite only
✅ Scalable setup → PostgreSQL + Redis
✅ Advanced signals → TradingView Bridge
MagicTradeBot v6.0 balances simplicity and scalability — allowing you to start with zero configuration and progressively enable advanced components as your trading system grows.