Files
nofx/config.json.example
T
tinkle-community b6b2fdccac Security: Remove hardcoded credentials
- Remove hardcoded API URL and auth token from pool/coin_pool.go
- Update config.json.example with placeholder format
- Credentials should now be configured via config.json file
2025-10-28 20:58:02 +08:00

31 lines
921 B
JSON

{
"traders": [
{
"id": "qwen_trader",
"name": "Qwen AI Trader",
"ai_model": "qwen",
"binance_api_key": "YOUR_BINANCE_API_KEY_1",
"binance_secret_key": "YOUR_BINANCE_SECRET_KEY_1",
"qwen_key": "YOUR_QWEN_API_KEY",
"initial_balance": 1000.0,
"scan_interval_minutes": 3
},
{
"id": "deepseek_trader",
"name": "DeepSeek AI Trader",
"ai_model": "deepseek",
"binance_api_key": "YOUR_BINANCE_API_KEY_2",
"binance_secret_key": "YOUR_BINANCE_SECRET_KEY_2",
"deepseek_key": "YOUR_DEEPSEEK_API_KEY",
"initial_balance": 1000.0,
"scan_interval_minutes": 3
}
],
"coin_pool_api_url": "http://x.x.x.x:x/api/ai500/list?auth=YOUR_AUTH_TOKEN",
"oi_top_api_url": "http://x.x.x.x:x/api/oi/top?auth=YOUR_AUTH_TOKEN",
"api_server_port": 8080,
"max_daily_loss": 5.0,
"max_drawdown": 10.0,
"stop_trading_minutes": 30
}