stock-bot/config/default.json
2025-06-18 19:08:51 -04:00

84 lines
No EOL
1.9 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",
"user": "trading_user",
"password": "trading_pass_dev",
"ssl": false,
"poolSize": 10,
"connectionTimeout": 30000,
"idleTimeout": 10000
},
"questdb": {
"host": "localhost",
"ilpPort": 9009,
"httpPort": 9000,
"pgPort": 8812,
"database": "questdb",
"user": "admin",
"password": "quest",
"bufferSize": 65536,
"flushInterval": 1000
},
"mongodb": {
"uri": "mongodb://trading_admin:trading_mongo_dev@localhost:27017/stock?authSource=admin",
"host": "localhost",
"port": 27017,
"database": "stock",
"user": "trading_admin",
"password": "trading_mongo_dev",
"authSource": "admin",
"poolSize": 10
},
"dragonfly": {
"host": "localhost",
"port": 6379,
"db": 0,
"keyPrefix": "stock-bot:",
"maxRetries": 3,
"retryDelay": 100
}
},
"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
}
}