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):