Files
Market-Data-Downloader/config.conf
2025-10-05 13:10:12 +01:00

158 lines
4.0 KiB
Plaintext

{
"trading_pairs": [
{
"symbol": "BTCUSDT",
"enabled": true,
"priority": 1,
"record_from_date": "2020-01-01T00:00:00Z"
},
{
"symbol": "ETHUSDT",
"enabled": true,
"priority": 1,
"record_from_date": "2020-01-01T00:00:00Z"
},
{
"symbol": "BNBUSDT",
"enabled": true,
"priority": 2,
"record_from_date": "2020-01-01T00:00:00Z"
},
{
"symbol": "XRPUSDT",
"enabled": true,
"priority": 3,
"record_from_date": "2020-01-01T00:00:00Z"
},
{
"symbol": "SOLUSDT",
"enabled": true,
"priority": 2,
"record_from_date": "2020-01-01T00:00:00Z"
},
{
"symbol": "HBARUSDT",
"enabled": true,
"priority": 1,
"record_from_date": "2020-01-01T00:00:00Z"
},
{
"symbol": "HBARBTC",
"enabled": true,
"priority": 1,
"record_from_date": "2020-01-01T00:00:00Z"
}
],
"technical_indicators": {
"enabled": ["sma", "ema", "rsi", "macd", "bb", "atr"],
"periods": {
"sma": [20, 50, 200],
"ema": [12, 26],
"rsi": [14],
"macd": {
"fast": 12,
"slow": 26,
"signal": 9
},
"bb": {
"period": 20,
"std": 2
},
"atr": [14],
"stoch": {
"k_period": 14,
"d_period": 3
},
"adx": [14]
},
"calculation_intervals": ["1m", "5m", "15m", "1h", "4h", "1d"]
},
"collection": {
"bulk_chunk_size": 1000,
"websocket_reconnect_delay": 5,
"tick_batch_size": 100,
"candle_intervals": ["1m", "5m", "15m", "1h", "4h", "1d"],
"max_retries": 3,
"retry_delay": 1,
"rate_limit_requests_per_minute": 2000,
"concurrent_symbol_limit": 10,
"default_record_from_date": "2020-01-01T00:00:00Z"
},
"gap_filling": {
"enable_auto_gap_filling": true,
"auto_fill_schedule_hours": 24,
"max_gap_size_candles": 1000,
"min_gap_size_candles": 2,
"enable_intelligent_averaging": true,
"averaging_lookback_candles": 10,
"max_consecutive_empty_candles": 5,
"intervals_to_monitor": ["1m", "5m", "15m", "1h", "4h", "1d"]
},
"database": {
"batch_insert_size": 1000,
"compression_after_days": 7,
"retention_policy_days": 365,
"vacuum_analyze_interval_hours": 24,
"connection_pool": {
"min_size": 10,
"max_size": 50,
"command_timeout": 60
},
"partitioning": {
"chunk_time_interval": "1 day",
"compress_chunk_time_interval": "7 days"
}
},
"gap_filling": {
"enable_auto_gap_filling": true,
"auto_fill_schedule_hours": 24,
"intervals_to_monitor": ["1m", "5m", "15m", "1h", "4h", "1d"],
"max_gap_size_candles": 1000,
"max_consecutive_empty_candles": 5,
"averaging_lookback_candles": 10,
"enable_intelligent_averaging": true,
"max_fill_attempts": 3
},
"ui": {
"refresh_interval_seconds": 5,
"max_chart_points": 1000,
"default_timeframe": "1d",
"theme": "dark",
"enable_realtime_updates": true
},
"monitoring": {
"enable_performance_metrics": true,
"log_slow_queries": true,
"slow_query_threshold_ms": 1000,
"enable_health_checks": true,
"health_check_interval_seconds": 30
},
"alerts": {
"enable_price_alerts": false,
"enable_volume_alerts": false,
"enable_system_alerts": true,
"price_change_threshold_percent": 5.0,
"volume_change_threshold_percent": 50.0
},
"data_quality": {
"enable_data_validation": true,
"max_price_deviation_percent": 10.0,
"min_volume_threshold": 0.001,
"enable_outlier_detection": true,
"outlier_detection_window": 100
},
"features": {
"enable_candle_generation_from_ticks": true,
"enable_technical_indicator_alerts": false,
"enable_market_analysis": true,
"enable_backtesting": false,
"enable_paper_trading": false
},
"system": {
"max_memory_usage_mb": 8192,
"max_cpu_usage_percent": 80,
"enable_auto_scaling": false,
"enable_caching": true,
"cache_ttl_seconds": 300
}
}