Skip to content

Commit 0715f46

Browse files
committed
docs: fix broken doc example
1 parent a545067 commit 0715f46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/strategy-callbacks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1337,7 +1337,7 @@ Entries will be validated, and won't be passed to the UI if they don't correspon
13371337
while start_dt < end_date:
13381338
start_dt += timedelta(hours=1)
13391339
if (start_dt.hour % 4) == 0:
1340-
mark_areas.append(
1340+
annotations.append(
13411341
{
13421342
"type": "area",
13431343
"label": "4h",
@@ -1348,7 +1348,7 @@ Entries will be validated, and won't be passed to the UI if they don't correspon
13481348
)
13491349
elif (start_dt.hour % 2) == 0:
13501350
price = dataframe.loc[dataframe["date"] == start_dt, ["close"]].mean()
1351-
mark_areas.append(
1351+
annotations.append(
13521352
{
13531353
"type": "area",
13541354
"label": "2h",

0 commit comments

Comments
 (0)