stock-bot/config/default.json
2025-06-18 14:01:45 -04:00

71 lines
No EOL
1.5 KiB
JSON

{
"app": {
"name": "stock-bot",
"version": "1.0.0"
},
"service": {
"name": "default-service",
"port": 3000,
"environment": "development"
},
"database": {
"postgres": {
"host": "localhost",
"port": 5432,
"database": "trading_bot",
"username": "trading_user",
"password": "trading_pass_dev",
"maxConnections": 10
},
"questdb": {
"host": "localhost",
"httpPort": 9000,
"pgPort": 8812,
"database": "questdb"
},
"mongodb": {
"uri": "mongodb://trading_admin:trading_mongo_dev@localhost:27017/stock?authSource=admin",
"database": "stock",
"connectionTimeout": 30000,
"serverSelectionTimeout": 5000
},
"dragonfly": {
"host": "localhost",
"port": 6379,
"password": "",
"db": 0,
"keyPrefix": "stock-bot:"
}
},
"logging": {
"level": "info",
"format": "json",
"prettyPrint": true
},
"providers": {
"yahoo": {
"enabled": true,
"rateLimit": 5,
"timeout": 30000
},
"quoteMedia": {
"enabled": false,
"apiKey": "",
"baseUrl": "https://app.quotemedia.com/data",
"rateLimit": 10,
"timeout": 30000
},
"interactiveBrokers": {
"enabled": false,
"host": "localhost",
"port": 7497,
"clientId": 1
}
},
"features": {
"realtime": true,
"backtesting": true,
"paperTrading": true,
"notifications": false
}
}