add tri strategy config

This commit is contained in:
c9s 2023-07-05 16:08:35 +08:00
parent f06e37c44f
commit 798b3c62bb
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

33
config/tri.yaml Normal file
View File

@ -0,0 +1,33 @@
---
notifications:
slack:
defaultChannel: "dev-bbgo"
errorChannel: "bbgo-error"
sessions:
binance:
exchange: binance
envVarPrefix: binance
exchangeStrategies:
- on: binance
tri:
minSpreadRatio: 1.0011
separateStream: true
# resetPosition: true
limits:
BTC: 0.001
ETH: 0.01
USDT: 20.0
symbols:
- BNBUSDT
- BNBBTC
- BNBETH
- BTCUSDT
- ETHUSDT
- ETHBTC
paths:
- [ BTCUSDT, ETHBTC, ETHUSDT ]
- [ BNBBTC, BNBUSDT, BTCUSDT ]
- [ BNBETH, BNBUSDT, ETHUSDT ]