doc: update support strategy

This commit is contained in:
Andy Cheng 2021-12-16 19:32:35 +08:00
parent debd5b3bf2
commit 0e82bf630f
2 changed files with 10 additions and 1 deletions

View File

@ -58,6 +58,9 @@ exchangeStrategies:
interval: 1m
minVolume: 1_000
movingAverageWindow: 99
longTermMovingAverage:
interval: 1h
window: 99
scaleQuantity:
byVolume:

View File

@ -15,7 +15,13 @@ This strategy uses K-lines with high volume as support and buys the target asset
- The threshold, e.g., `1000000`, `5000000`. A K-line with volume larger than this is seen as a support, and
triggers a market buy order.
- `movingAverageWindow`
- The MA window to filter out noises, e.g., 99. The support higher than the MA is seen as invalid
- The MA window in the current K-line interval to filter out noises, e.g., 99. The support higher than the MA is seen as invalid
- `longTermMovingAverage`
- The MA window in a longer K-line interval
- `interval`
- The K-line interval, e.g., `5m`, `1h`
- `window`
- The MA window in the specified K-line interval to filter out noises.
- `maxBaseAssetBalance`
- Maximum quantity of the target asset. Orders will not be submitted if the current balance reaches this threshold.
- `minQuoteAssetBalance`