Skip to content

Commit

Permalink
strategy: support strategy doc
Browse files Browse the repository at this point in the history
  • Loading branch information
andycheng123 committed Feb 6, 2022
1 parent 8b009a9 commit 16f811f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/support.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ exchangeStrategies:
maxBaseAssetBalance: 1000.0
minQuoteAssetBalance: 2000.0

#trailingStopTarget:
# callBackRatio: 0.015
# minimumProfitPercentage: 0.02

targets:
- profitPercentage: 0.02
quantityPercentage: 0.5
Expand Down
6 changes: 6 additions & 0 deletions doc/strategy/support.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@ This strategy uses K-lines with high volume as support and buys the target asset
- `quantityPercentage`
- The position ratio to take profit, e.g., 0.5 means selling 50% of the original buy order position when takes
profit.
- `trailingStopTarget`
- Use trailing stop to take profit
- `callBackRatio`
- Callback ratio of the trailing stop
- `minimumProfitPercentage`
- The minimum profit ratio of the trailing stop. The trailing stop is triggered when the profit is higher than the minimum.


#### Examples
Expand Down

0 comments on commit 16f811f

Please sign in to comment.