mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 08:15:15 +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
|
|
|