bbgo_origin/pkg/bbgo/testdata/order_executor.yaml
2020-11-09 14:56:54 +08:00

28 lines
556 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:
orderExecutor:
bySymbol:
BTCUSDT:
basic:
minQuoteBalance: 1000.0
maxBaseAssetBalance: 10.0
minBaseAssetBalance: 1.0
maxOrderAmount: 100.0