mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
strategy: clearer comment format for dynamic spread in config
This commit is contained in:
parent
db62352e6e
commit
0e76a90ee4
|
@ -57,12 +57,11 @@ exchangeStrategies:
|
||||||
minProfitSpread: 0.1%
|
minProfitSpread: 0.1%
|
||||||
|
|
||||||
# EXPERIMENTAL
|
# EXPERIMENTAL
|
||||||
# Dynamic spread is an experimental feature. Use at your own risk!
|
# Dynamic spread is an experimental feature. Use at your own risk!
|
||||||
# DynamicSpreadWindow enables the automatic adjustment to bid and ask spread.
|
# DynamicSpreadWindow enables the automatic adjustment to bid and ask spread.
|
||||||
# When DynamicSpreadWindow is set and is larger than 0, the spreads are calculated based on the SMA of amplitude of
|
# When DynamicSpreadWindow is set and larger than 0, the spreads are calculated based on the SMA of amplitude of
|
||||||
# previous [DynamicSpreadWindow] K-lines. Max and min spreads limit the maximum and minimum of spreads. Set them to
|
# previous [DynamicSpreadWindow] K-lines. Max and min spreads limit the maximum and minimum of spreads. Set them
|
||||||
# 0 to disable the limitation
|
# to 0 to disable the limitation.
|
||||||
#
|
|
||||||
# dynamicSpreadWindow: 1
|
# dynamicSpreadWindow: 1
|
||||||
# minAskSpread: 0.05%
|
# minAskSpread: 0.05%
|
||||||
# minBidSpread: 0.05%
|
# minBidSpread: 0.05%
|
||||||
|
|
Loading…
Reference in New Issue
Block a user