mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-11 23:07:01 +08:00
feat: 添加use_default_coins开关,简化默认币种配置
- 新增use_default_coins配置项:true=使用默认8个主流币种,false=使用API币种池 - 更直观的配置方式,新手可直接设置true快速开始 - 优先级:use_default_coins > coin_pool_api_url > 缓存 > 默认列表 - 更新所有语言版本README(en/zh-CN/ru/uk)添加配置说明 - 更新config.json.example示例文件
This commit is contained in:
@@ -23,6 +23,7 @@ type TraderConfig struct {
|
||||
// Config 总配置
|
||||
type Config struct {
|
||||
Traders []TraderConfig `json:"traders"`
|
||||
UseDefaultCoins bool `json:"use_default_coins"` // 是否使用默认主流币种列表
|
||||
CoinPoolAPIURL string `json:"coin_pool_api_url"`
|
||||
OITopAPIURL string `json:"oi_top_api_url"`
|
||||
APIServerPort int `json:"api_server_port"`
|
||||
|
||||
Reference in New Issue
Block a user