mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-27 17:25:16 +00:00
28 lines
556 B
YAML
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
|
|
|