From 24f0f40fad2e4cb45dbbdf3edb9b16d366086fdd Mon Sep 17 00:00:00 2001 From: c9s Date: Mon, 26 Dec 2022 01:00:15 +0800 Subject: [PATCH] config: add autoRange config doc --- config/grid2.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/grid2.yaml b/config/grid2.yaml index aed8bc28d..18725fe9d 100644 --- a/config/grid2.yaml +++ b/config/grid2.yaml @@ -55,6 +55,15 @@ exchangeStrategies: - on: binance grid2: 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 upperPrice: 50_000.0