config: add autoRange config doc

This commit is contained in:
c9s 2022-12-26 01:00:15 +08:00
parent 961725f03c
commit 24f0f40fad
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -55,6 +55,15 @@ exchangeStrategies:
- on: binance - on: binance
grid2: grid2:
symbol: BTCUSDT symbol: BTCUSDT
## autoRange can be used to detect a price range from a specific time frame
## the pivot low / pivot high of the given range will be used for lowerPrice and upperPrice.
## when autoRange is set, it will override the upperPrice/lowerPrice settings.
##
## the valid format is [1-9][hdw]
## example: "14d" means it will find the highest/lowest price that is higher/lower than left 14d and right 14d.
# autoRange: 14d
lowerPrice: 28_000.0 lowerPrice: 28_000.0
upperPrice: 50_000.0 upperPrice: 50_000.0