strategy: clearer comment format for dynamic spread in config

This commit is contained in:
Andy Cheng 2022-05-17 10:58:12 +08:00
parent db62352e6e
commit 0e76a90ee4

View File

@ -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%