Merge pull request #3291 from hroff-1902/minor-fix-docs2

Docs: Fix samples in strategy-advanced.md
This commit is contained in:
hroff-1902 2020-05-12 15:05:07 +03:00 committed by GitHub
commit 4c9131bd64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ It applies a tight timeout for higher priced assets, while allowing more time to
The function must return either `True` (cancel order) or `False` (keep order alive).
``` python
from datetime import datetime, timestamp
from datetime import datetime, timedelta
from freqtrade.persistence import Trade
class Awesomestrategy(IStrategy):
@ -59,7 +59,7 @@ class Awesomestrategy(IStrategy):
### Custom order timeout example (using additional data)
``` python
from datetime import datetime, timestamp
from datetime import datetime
from freqtrade.persistence import Trade
class Awesomestrategy(IStrategy):