Files
coin/etc/coin_test.yaml

33 lines
1009 B
YAML
Raw Normal View History

Service: coin
Port: 16499
ApiPort: 163602
WebPort: 16500
Databases:
Driver: postgres
Source:
- host=139.224.247.176 user=postgres password=Stock0310~! dbname=coin_prod port=19432 sslmode=disable TimeZone=Asia/Shanghai
# cache DB的选择请在后面直接带参数不带会自动HASH计算选择DB库。
Cache: redis://null:Weidong2023~!@139.224.247.176:19379/1
2026-05-08 20:54:49 +08:00
# Binance 现货 API需同时在 Binance 控制台开启现货交易权限)
BinanceApiKey: "qZrLXzykvb7w7uKVJ45rXomp94BiJnk4a4tsaduAHKMYlljVcwWsZzOA3pYdGnqo"
BinanceApiSecret: "YqTpRybnBWllS0fA1yk0T1MEx0RxRazc2bH2iZuPEI8QJKesUueq3saCDdDj7hpU"
2026-05-10 23:23:38 +08:00
# 现货轮询标的Symbol 为交易对OrderQtyUsdt 为每笔开仓/加仓买入的 USDT 名义,须 ≥10列表为空则不调现货策略
2026-05-07 09:56:21 +08:00
SpotWatchList:
- Symbol: BTCUSDT
2026-05-10 23:23:38 +08:00
OrderQtyUsdt: 10
2026-05-07 09:56:21 +08:00
# 日志配置
Log:
Level: 0 # 0:debug, 1:info, 2:warn, 3:error, 4:fatal
Dir: logs
Endpoint: http://127.0.0.1:13299/log
Remote: false
Console: true
File: true