mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
strategy/supertrend: update doc
This commit is contained in:
parent
1489759cf0
commit
20955ad7da
|
@ -73,8 +73,6 @@ exchangeStrategies:
|
|||
stopByReversedLinGre: false
|
||||
|
||||
exits:
|
||||
# Protective stop loss
|
||||
- protectiveStopLoss:
|
||||
activationRatio: 0.6%
|
||||
stopLossRatio: -2%
|
||||
placeStopOrder: false
|
||||
# roiStopLoss is the stop loss percentage of the position ROI (currently the price change)
|
||||
- roiStopLoss:
|
||||
percentage: 5%
|
||||
|
|
|
@ -41,12 +41,9 @@ Supertrend strategy needs margin enabled in order to submit short orders, and yo
|
|||
- TP/SL by reversed linear regression signal.
|
||||
- `exits`
|
||||
- Exit methods to TP/SL
|
||||
- `protectiveStopLoss`
|
||||
- Protective stop loss
|
||||
- `activationRatio`
|
||||
- Ratio to activate the order
|
||||
- `stopLossRatio`
|
||||
- Ratio to stop loss (or take profit)
|
||||
- `roiStopLoss`
|
||||
- The stop loss percentage of the position ROI (currently the price change)
|
||||
- `percentage`
|
||||
|
||||
|
||||
#### Examples
|
||||
|
|
Loading…
Reference in New Issue
Block a user