Files
B-Wear bf08d59def Add files via upload
Signed-off-by: B-Wear <Bwear008@gmail.com>
2025-03-22 14:20:21 -04:00

105 lines
2.9 KiB
JSON

{
"exchange": {
"name": "binance",
"api_key": "YOUR_API_KEY",
"api_secret": "YOUR_API_SECRET",
"testnet": true
},
"trading": {
"symbols": ["BTC/USDT", "ETH/USDT"],
"timeframes": ["1m", "5m", "15m", "1h", "4h", "1d"],
"lookback_periods": 100,
"state_file": "trading_state.json",
"initial_capital": 50.0,
"max_positions": 3,
"leverage": 1
},
"risk_management": {
"risk_per_trade": 0.02,
"max_daily_loss": 0.05,
"max_drawdown": 0.15,
"stop_loss_pct": 0.02,
"take_profit_pct": 0.04,
"min_win_rate": 0.45,
"min_profit_factor": 1.2
},
"technical_analysis": {
"indicators": {
"sma": [20, 50, 200],
"ema": [20],
"rsi": [14],
"macd": {
"fast": 12,
"slow": 26,
"signal": 9
},
"bollinger_bands": {
"period": 20,
"std_dev": 2
}
},
"patterns": {
"candlestick": true,
"chart": true
}
},
"machine_learning": {
"model_type": "lstm",
"features": [
"open", "high", "low", "close", "volume",
"sma_20", "sma_50", "sma_200",
"rsi_14", "macd", "macd_signal", "macd_hist",
"bb_upper", "bb_middle", "bb_lower"
],
"train_test_split": 0.2,
"validation_split": 0.1,
"rl": {
"learning_rate": 0.0003,
"n_steps": 2048,
"batch_size": 64,
"n_epochs": 10,
"gamma": 0.99,
"gae_lambda": 0.95,
"clip_range": 0.2,
"ent_coef": 0.01,
"vf_coef": 0.5
}
},
"sentiment_analysis": {
"news_api_key": "YOUR_NEWS_API_KEY",
"twitter_api_key": "YOUR_TWITTER_API_KEY",
"twitter_api_secret": "YOUR_TWITTER_API_SECRET",
"twitter_access_token": "YOUR_TWITTER_ACCESS_TOKEN",
"twitter_access_token_secret": "YOUR_TWITTER_ACCESS_TOKEN_SECRET",
"sentiment_weights": {
"news": 0.4,
"twitter": 0.3,
"market": 0.3
},
"sentiment_thresholds": {
"positive": 0.3,
"negative": -0.3
}
},
"signal_weights": {
"technical": 0.4,
"ml": 0.3,
"sentiment": 0.2,
"risk": 0.1
},
"signal_thresholds": {
"buy": 0.6,
"sell": -0.6
},
"logging": {
"level": "INFO",
"file": "trading_bot.log",
"max_size": 10485760,
"backup_count": 5
},
"web_dashboard": {
"host": "localhost",
"port": 5000,
"debug": false
}
}