Merge pull request #7898 from initrv/patch-1

fix doc minimal_roi
This commit is contained in:
Matthias 2022-12-14 12:56:51 +01:00 committed by GitHub
commit 350cebb0a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -363,9 +363,9 @@ class AwesomeStrategy(IStrategy):
timeframe = "1d" timeframe = "1d"
timeframe_mins = timeframe_to_minutes(timeframe) timeframe_mins = timeframe_to_minutes(timeframe)
minimal_roi = { minimal_roi = {
"0": 0.05, # 5% for the first 3 candles "0": 0.05, # 5% for the first 3 candles
str(timeframe_mins * 3)): 0.02, # 2% after 3 candles str(timeframe_mins * 3): 0.02, # 2% after 3 candles
str(timeframe_mins * 6)): 0.01, # 1% After 6 candles str(timeframe_mins * 6): 0.01, # 1% After 6 candles
} }
``` ```