Skip to content

Commit

Permalink
doc: update support strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
andycheng123 committed Dec 16, 2021
1 parent debd5b3 commit 0e82bf6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions config/support.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ exchangeStrategies:
interval: 1m
minVolume: 1_000
movingAverageWindow: 99
longTermMovingAverage:
interval: 1h
window: 99

scaleQuantity:
byVolume:
Expand Down
8 changes: 7 additions & 1 deletion doc/strategy/support.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 0e82bf6

Please sign in to comment.