mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Add 0 entry to enhanced ROI example
This commit is contained in:
parent
af4469f073
commit
e5a9c81412
|
@ -257,11 +257,12 @@ from freqtrade.exchange import timeframe_to_minutes
|
|||
|
||||
class AwesomeStrategy(IStrategy):
|
||||
|
||||
ticker_interval = '1d'
|
||||
ticker_interval = "1d"
|
||||
ticker_interval_mins = timeframe_to_minutes(ticker_interval)
|
||||
minimal_roi = {
|
||||
str(ticker_interval_mins * 3)): 0.02, # After 3 candles
|
||||
str(ticker_interval_mins * 6)): 0.01, # After 6 candles
|
||||
"0": 0.05, # 5% for the first 3 candles
|
||||
str(ticker_interval_mins * 3)): 0.02, # 2% after 3 candles
|
||||
str(ticker_interval_mins * 6)): 0.01, # 1% After 6 candles
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user