bbgo_origin/pkg/bbgo/testdata/order_executor.yaml
2020-10-26 21:45:02 +08:00

28 lines
557 B
YAML

---
imports:
- github.com/c9s/bbgo/pkg/strategy/buyandhold
sessions:
max:
exchange: max
envVarPrefix: max
binance:
exchange: binance
envVarPrefix: binance
riskControls:
# session-based risk controller
sessionBased:
# max is the session name that you want to configure the risk control
max:
orderExecutors:
bySymbol:
BTCUSDT:
basic:
minQuoteBalance: 1000.0
maxBaseAssetBalance: 10.0
minBaseAssetBalance: 1.0
maxOrderAmount: 100.0