Configuration Guide
Customize EDISON settings for your trading style and market conditions.
Exchange & Trading Configuration
Exchange Settings
"exchange": {
"name": "bybit",
"symbol": "XRPUSDT",
"timeframe": "5", // Primary timeframe in minutes
"apiKey": "your-api-key",
"apiSecret": "your-api-secret",
"testnet": false, // Use testnet for testing
"demo": true // Demo mode without real orders
}Trading Parameters
"trading": {
"leverage": 10, // Max leverage (1-100)
"riskPercent": 1, // Risk per trade as % of balance
"maxPositions": 1, // Max concurrent positions
"tradingCycleIntervalMs": 10000, // How often to check signals (ms)
"orderType": "MARKET", // MARKET or LIMIT orders
"tradingFeeRate": 0.0002, // Exchange fee rate (0.02%)
"favorableMovementThresholdPercent": 0.1 // Min movement to validate entry
}Multi-Timeframe Configuration
EDISON uses 5 timeframes for multi-timeframe analysis:
"timeframes": {
"entry": {
"interval": "1", // 1-minute (quick entries)
"candleLimit": 1000, // Keep 1000 candles in memory
"enabled": true
},
"primary": {
"interval": "5", // 5-minute (main analysis)
"candleLimit": 500,
"enabled": true
},
"trend1": {
"interval": "15", // 15-minute (trend confirmation)
"candleLimit": 500,
"enabled": true
},
"trend2": {
"interval": "30", // 30-minute (higher timeframe)
"candleLimit": 250,
"enabled": true
},
"context": {
"interval": "60", // 1-hour (context/macro)
"candleLimit": 100,
"enabled": true
}
}Entry Configuration & Indicators
"entryConfig": {
"priceAction": {
"enabled": true // Use price action patterns
},
"divergenceDetector": {
"minStrength": 0.3, // Min divergence strength (0-1)
"priceDiffPercent": 0.2 // Min price difference for divergence
},
"rsiPeriod": 14, // RSI calculation period
"rsiOversold": 30, // Oversold threshold
"rsiOverbought": 70, // Overbought threshold
"fastEmaPeriod": 9, // Fast EMA for trend
"slowEmaPeriod": 21, // Slow EMA for confirmation
"zigzagDepth": 2 // ZigZag pattern depth
}Threshold Settings
"thresholds": {
"defaults": {
"confidence": {
"min": 0.60, // Min confidence to enter (0-1)
"clampMin": 0.30, // Minimum floor
"clampMax": 1.0 // Maximum cap
},
"rsi": {
"oversold": 30,
"overbought": 70,
"extreme": { "low": 20, "high": 80 },
"neutralZone": { "min": 45, "max": 55 }
},
"stopLoss": {
"percent": 2.5, // Fixed SL as % of entry
"atrMultiplier": 1.5, // Or use ATR × multiplier
"minDistancePercent": 1.5 // Minimum SL distance
},
"touches": {
"min": 3, // Min touches for strong level
"strong": 5 // Level strength at N touches
}
}
}Risk Management Configuration
Basic Position Settings
"riskManagement": {
"positionSizeUsdt": 10, // Fixed position size in USDT
"stopLossPercent": 2.5, // Stop loss as % from entry
"minStopLossPercent": 1.0, // Minimum SL distance
"breakevenOffsetPercent": 0.4, // Move SL to break-even + offset
"trailingStopEnabled": false, // Enable trailing stop
"trailingStopPercent": 0.6, // Trail by this % from high
"trailingStopActivationLevel": 2, // Activate at +2% profit
"takeProfits": [
{ "level": 1, "percent": 0.5, "sizePercent": 70 }, // TP1: 0.5% profit, close 70%
{ "level": 2, "percent": 1.0, "sizePercent": 30 } // TP2: 1.0% profit, close 30%
]
}Daily Limits (Phase 5)
"dailyLimits": {
"enabled": true,
"maxDailyLossPercent": 5.0, // Stop if -5% daily loss
"maxDailyProfitPercent": 10.0, // Take profit if +10% daily
"resetTimeUTC": "00:00", // Reset at midnight UTC
"emergencyStopOnLimit": true // Stop bot completely when hit
}Advanced Features
Compound Interest (Phase 5)
Automatically scale position size based on account profit.
"compoundInterest": {
"enabled": true,
"useVirtualBalance": true, // Use trade history balance
"baseDeposit": 1000, // Initial deposit (protected)
"reinvestmentPercent": 50, // Reinvest 50% of profits
"maxRiskPerTrade": 2, // Max 2% risk per trade
"minPositionSize": 10, // Min $10 per trade
"maxPositionSize": 1000, // Max $1000 per trade
"profitLockPercent": 30 // Lock/protect 30% of profits
}BTC Confirmation Filter
Filter trades based on BTC momentum - only enter when BTC aligns with signal direction.
"btcConfirmation": {
"enabled": true,
"symbol": "BTCUSDT",
"timeframe": "1", // 1-minute BTC analysis
"candleLimit": 50,
"minimumMomentum": 0.3, // Min momentum threshold
"lookbackCandles": 10, // Analyze last 10 candles
"requireAlignment": true, // Require BTC direction match
"useCorrelation": true,
"correlationPeriod": 50
}Analyzer Confidence Boosts
Adjust signal confidence based on different market conditions.
"boosts": {
"liquiditySweep": 0.15, // +15% confidence on sweep
"divergence": 0.10, // +10% for divergence
"choch": 0.10, // +10% for change of character
"bos": 0.05, // +5% for break of structure
"trendAlignment": 0.15, // +15% when aligned with trend
"htfConfirmation": 0.15, // +15% for higher TF confirm
"hvnMatch": 0.20, // +20% for HVN match
"orderbookWall": 0.15 // +15% for orderbook wall
}Configuration Best Practices
✓
Start conservative: Lower signal strength, smaller positions
✓
Backtest thoroughly: Run 3+ months of data before live trading
✓
Adjust timeframe to market: Shorter timeframes for volatile markets
✓
Never risk more than 2% per trade: Preserve capital
✓
Monitor daily: Review logs and trades regularly