mirror of
https://github.com/laoxong/nofx.git
synced 2026-06-04 01:48:22 +08:00
2334d78e4a
- Remove system_config, beta_codes, signal_source tables and related code - Simplify config.go to only read from .env (APIServerPort, JWTSecret, RegistrationEnabled) - Remove GetCustomCoins, use all USDT perpetual contracts for WSMonitor - Add trader_equity_snapshots table for equity tracking - Remove signal source modal from frontend AITradersPage - Fix WSMonitor nil panic by restoring initialization in main.go
18 lines
626 B
JSON
18 lines
626 B
JSON
{
|
|
"_说明": "此文件仅供参考,系统不会读取此文件。所有配置从 .env 文件加载。",
|
|
|
|
"_env配置说明": {
|
|
"JWT_SECRET": "JWT密钥,必须设置",
|
|
"REGISTRATION_ENABLED": "是否允许注册,true/false",
|
|
"API_SERVER_PORT": "API服务器端口,默认8080",
|
|
"DEEPSEEK_API_KEY": "DeepSeek API Key(回测用)"
|
|
},
|
|
|
|
"_数据库配置说明": {
|
|
"traders表": "交易员配置,包含杠杆、扫描间隔等",
|
|
"strategies表": "策略配置,包含AI500 API URL、OI Top API URL等",
|
|
"ai_models表": "AI模型配置",
|
|
"exchanges表": "交易所配置"
|
|
}
|
|
}
|