update config

This commit is contained in:
c9s 2020-11-12 16:34:57 +08:00
parent 1a6f5b99ae
commit 63bfaccc4e
2 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ sessions:
riskControls: riskControls:
# This is the session-based risk controller, which let you configure different risk controller by session. # This is the session-based risk controller, which let you configure different risk controller by session.
sessionBased: sessionBased:
# "binance" is the session name that you want to configure the risk control # "max" is the session name that you want to configure the risk control
max: max:
# orderExecutor is one of the risk control # orderExecutor is one of the risk control
orderExecutor: orderExecutor:

View File

@ -30,7 +30,7 @@ riskControls:
# This is the session-based risk controller, which let you configure different risk controller by session. # This is the session-based risk controller, which let you configure different risk controller by session.
sessionBased: sessionBased:
# "max" is the session name that you want to configure the risk control # "max" is the session name that you want to configure the risk control
binance: max:
# orderExecutor is one of the risk control # orderExecutor is one of the risk control
orderExecutor: orderExecutor:
# symbol-routed order executor # symbol-routed order executor
@ -59,11 +59,11 @@ backtest:
USDT: 10000.0 USDT: 10000.0
exchangeStrategies: exchangeStrategies:
- on: binance - on: max
grid: grid:
symbol: BTCUSDT symbol: BTCUSDT
quantity: 0.01 quantity: 0.01
gridNumber: 100 gridNumber: 10
profitSpread: 50.0 profitSpread: 50.0
upperPrice: 11000.0 upperPrice: 11000.0
lowerPrice: 9000.0 lowerPrice: 9000.0