mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 23:05:15 +00:00
28 lines
557 B
YAML
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
|
|
|