diff --git a/docs/strategy-callbacks.md b/docs/strategy-callbacks.md index 86219c0d9..aebd10857 100644 --- a/docs/strategy-callbacks.md +++ b/docs/strategy-callbacks.md @@ -1337,7 +1337,7 @@ Entries will be validated, and won't be passed to the UI if they don't correspon while start_dt < end_date: start_dt += timedelta(hours=1) if (start_dt.hour % 4) == 0: - mark_areas.append( + annotations.append( { "type": "area", "label": "4h", @@ -1348,7 +1348,7 @@ Entries will be validated, and won't be passed to the UI if they don't correspon ) elif (start_dt.hour % 2) == 0: price = dataframe.loc[dataframe["date"] == start_dt, ["close"]].mean() - mark_areas.append( + annotations.append( { "type": "area", "label": "2h",