From 0715f46a4a7fda8c4e59cd9645e66a6e99b95cb1 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 7 Oct 2025 19:28:06 +0200 Subject: [PATCH] docs: fix broken doc example --- docs/strategy-callbacks.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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",