Overview
Each MagicTradeBot instance can be independently configured with a specific trading strategy, allowing you to run multiple bots simultaneously across different exchanges and trading styles. This flexible architecture enables you to deploy unlimited bot instances, each optimized for different market conditions and risk profiles.
Trading Profiles
MagicTradeBot supports six distinct trading profiles, each designed for different timeframes and objectives:
| Profile | Code | Timeframe | Kline Intervals | Key Characteristics | Ideal For |
|---|---|---|---|---|---|
| 1. HFT (High-Frequency Trading) | hft |
Seconds to minutes | ["1m"] |
Lightning-fast execution · High volume · Tiny profits per trade · Low-latency required | Market makers, arbitrage |
| 2. Scalp Trading | scalp |
Minutes to hours | 1m–15m |
Quick entries/exits · Tight SL · Multiple trades/day | Active traders, volatile markets |
| 3. Day Trading | day |
Intraday (hours) | 15m–4h |
No overnight positions · Balanced risk/reward · Multi-TF confirmation | Full-time traders, trending markets |
| 4. Swing Trading | swing |
Multi-day to weeks | 1h–12h |
Captures larger swings · Lower frequency · Pattern-based | Part-time traders, established trends |
| 5. Long-Term Position Trading | long |
Weeks to months | 1d, 1w, 1M |
Strategic builds · Minimal monitoring · Fundamental + technical | Investors, bull/bear cycles |
| 6. Default Profile | default |
Flexible | ["5m", "15m", "1h"] |
Balanced multi-timeframe approach for general trading | All-purpose starter profile |
Strategy Configuration Components
1. Kline/Candlestick Settings
kline_config:
intervals: ["15m", "1h"] # Primary analysis timeframes
lookback_periods: 100 # Historical candles to analyze
data_source: "exchange" # exchange | aggregated | weighted
2. Signal Generation Configuration
signal_config:
indicators:
- type: "RSI"
period: 14
overbought: 70
oversold: 30
- type: "MACD"
fast: 12
slow: 26
signal: 9
- type: "EMA"
periods: [9, 21, 50, 200]
confirmation_rules:
min_signals: 2
timeframe_alignment: true
volume_confirmation: true
3. Smart Take Profit Configuration
take_profit:
mode: "dynamic" # fixed | dynamic | trailing | ladder
dynamic:
base_percentage: 2.5
atr_multiplier: 1.5
max_percentage: 10
trailing:
activation_percent: 1.5
callback_percent: 0.5
ladder:
levels:
- percent: 1.5
exit_portion: 0.33
- percent: 3.0
exit_portion: 0.33
- percent: 5.0
exit_portion: 0.34
4. Smart Stop Loss Configuration
stop_loss:
mode: "adaptive" # fixed | adaptive | trailing | time_based
adaptive:
base_percentage: 2.0
volatility_multiplier: 1.2
support_resistance: true
trailing:
initial_percent: 2.0
trail_activation: 1.0
trail_percent: 0.5
time_based:
max_duration_hours: 24
emergency_stop: 5.0
5. Intelligent Decision Making
decision_engine:
risk_management:
max_position_size: 5.0
max_daily_loss: 3.0
max_open_positions: 5
correlation_filter: true
market_conditions:
volatility_filter: true
trend_strength_min: 0.6
liquidity_check: true
ai_optimization:
adaptive_learning: true
pattern_recognition: true
6. Position Sizing Strategy
position_sizing:
method: "kelly_criterion" # fixed | percent_risk | kelly_criterion | volatility_based
kelly_criterion:
max_kelly: 0.25
win_rate: 0.55
avg_win_loss_ratio: 1.8
percent_risk:
risk_per_trade: 1.0
volatility_based:
atr_multiplier: 2.0
max_position_value: 10000
Multi-Instance Bot Examples
Example 1: Scalping Bot (Binance)
bot_instance:
name: "Binance_Scalp"
exchange: "binance"
general:
profile: "scalp"
strategy_intervals: ["5m", "15m"]
# ... (TP/SL/risk settings as shown earlier)
Example 2: Long-Term Bot (Bybit)
bot_instance:
name: "Bybit_Long"
exchange: "bybit"
general:
profile: "long"
strategy_intervals: ["1d", "1w"]
# ... (long-term focused settings)
Example 3: Day Trading Bot (OKX)
bot_instance:
name: "OKX_DayTrader"
exchange: "okx"
general:
profile: "day"
strategy_intervals: ["30m", "1h", "4h"]
# ... (balanced intraday settings)
Strategy-Specific Recommendations
| Profile | Intervals | Take Profit | Stop Loss | Max Positions | Primary Focus |
|---|---|---|---|---|---|
| Scalp | 1m–15m | 0.5–2% | 0.3–1% | 5–10 | Momentum, order book |
| Day | 15m–4h | 2–5% | 1–3% | 3–7 | Intraday trends |
| Swing | 1h–12h | 5–15% | 3–8% | 2–5 | Key levels, patterns |
| Long | 1d+ | 20–100%+ | 10–25% | 1–3 | Market cycles |
| HFT | 1m / tick | 0.1–0.5% | 0.05–0.3% | 10–50 | Arbitrage, liquidity |
Key Benefits
- Unlimited Bot Instances – Deploy as many as you need across exchanges & strategies
- Exchange-Specific Optimization – Tailor each bot for Binance, Bybit, OKX, etc.
- Strategy Isolation – Independent risk parameters per bot
- Multi-Timeframe Analysis – Robust signal confirmation
- Adaptive Intelligence – Smart TP/SL that reacts to real market conditions
- Portfolio Diversification – Mix strategies to capture all market phases
Getting Started
- Choose Your Strategy Profile – HFT, scalp, day, swing, long, or default
- Configure Timeframes – Match intervals to your chosen profile
- Customize Parameters – Indicators, TP/SL, risk rules
- Name Your Bot – e.g., Binance_Scalp, Bybit_Long
- Deploy & Monitor – Launch and watch performance in real-time
Run multiple strategies simultaneously to maximize opportunities across all market conditions!