mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-27 09:15:15 +00:00
56 lines
1.0 KiB
YAML
56 lines
1.0 KiB
YAML
---
|
|
notifications:
|
|
slack:
|
|
defaultChannel: "dev-bbgo"
|
|
errorChannel: "bbgo-error"
|
|
|
|
switches:
|
|
trade: true
|
|
orderUpdate: true
|
|
submitOrder: true
|
|
|
|
sessions:
|
|
max:
|
|
exchange: max
|
|
envVarPrefix: max
|
|
|
|
binance:
|
|
exchange: binance
|
|
envVarPrefix: binance
|
|
|
|
persistence:
|
|
json:
|
|
directory: var/data
|
|
redis:
|
|
host: 127.0.0.1
|
|
port: 6379
|
|
db: 0
|
|
|
|
crossExchangeStrategies:
|
|
- xalign:
|
|
interval: 1m
|
|
sessions:
|
|
- max
|
|
- binance
|
|
|
|
## quoteCurrencies config specifies which quote currency should be used for BUY order or SELL order.
|
|
## when specifying [USDC,TWD] for "BUY", then it will consider BTCUSDC first then BTCTWD second.
|
|
quoteCurrencies:
|
|
buy: [USDC, TWD]
|
|
sell: [USDT]
|
|
expectedBalances:
|
|
BTC: 0.0440
|
|
useTakerOrder: false
|
|
dryRun: true
|
|
balanceToleranceRange: 10%
|
|
maxAmounts:
|
|
USDT: 100
|
|
USDC: 100
|
|
TWD: 3000
|
|
largeAmountAlert:
|
|
quote: USDT
|
|
amount: 200
|
|
slackMentions:
|
|
- '<@USER_ID>'
|
|
- '<!subteam^TEAM_ID>'
|