bbgo_origin/config/support.yaml

71 lines
1.3 KiB
YAML
Raw Normal View History

---
notifications:
slack:
defaultChannel: "dev-bbgo"
errorChannel: "bbgo-error"
# object routing rules
routing:
trade: "$symbol"
order: "$symbol"
submitOrder: "$session" # not supported yet
sessions:
2021-05-30 16:32:27 +00:00
binance:
exchange: binance
riskControls:
# This is the session-based risk controller, which let you configure different risk controller by session.
sessionBased:
max:
orderExecutor:
bySymbol:
BTCUSDT:
basic:
minQuoteBalance: 100.0
maxBaseAssetBalance: 3.0
minBaseAssetBalance: 0.0
maxOrderAmount: 1000.0
backtest:
startTime: "2020-09-04"
endTime: "2020-09-14"
sessions:
- binance
symbols:
- LINKUSDT
account:
binance:
balances:
USDT: 10000.0
exchangeStrategies:
2021-05-30 16:32:27 +00:00
- on: binance
support:
symbol: LINKUSDT
interval: 1m
minVolume: 1_000
triggerMovingAverage:
interval: 5m
window: 99
2021-12-16 11:32:35 +00:00
longTermMovingAverage:
interval: 1h
window: 99
2021-05-30 16:32:27 +00:00
scaleQuantity:
byVolume:
exp:
domain: [ 1_000, 200_000 ]
range: [ 0.5, 1.0 ]
2021-05-30 16:32:27 +00:00
maxBaseAssetBalance: 1000.0
minQuoteAssetBalance: 2000.0
2022-06-19 09:24:47 +00:00
trailingStopTarget:
callbackRatio: 1.5%
minimumProfitPercentage: 2%
2022-01-28 05:37:19 +00:00
targets:
- profitPercentage: 0.02
quantityPercentage: 0.5