From e5f3d04437a75f1f7de69b1f8dae9046f97bc0ef Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 9 Apr 2024 19:26:52 +0200 Subject: [PATCH] Add some imports closes #10053 --- docs/strategy-callbacks.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/strategy-callbacks.md b/docs/strategy-callbacks.md index be14765e6..e39a4f102 100644 --- a/docs/strategy-callbacks.md +++ b/docs/strategy-callbacks.md @@ -809,6 +809,7 @@ Returning a value more than the above (so remaining stake_amount would become ne ``` python from freqtrade.persistence import Trade +from typing import Optional, Tuple, Union class DigDeeperStrategy(IStrategy): @@ -948,7 +949,7 @@ If the cancellation of the original order fails, then the order will not be repl ```python from freqtrade.persistence import Trade -from datetime import timedelta +from datetime import timedelta, datetime class AwesomeStrategy(IStrategy):