Update entry/exit timeout documentation

the type of order is now an Order, no longer a dictionary.

closes #6691
This commit is contained in:
Matthias
2022-04-16 06:47:56 +02:00
parent a4ec8984cd
commit 4019c05fee
4 changed files with 34 additions and 30 deletions
+2 -2
View File
@@ -183,11 +183,11 @@ class AwesomeStrategy(IStrategy):
``` python hl_lines="2 6"
class AwesomeStrategy(IStrategy):
def check_entry_timeout(self, pair: str, trade: 'Trade', order: dict,
def check_entry_timeout(self, pair: str, trade: 'Trade', order: 'Order',
current_time: datetime, **kwargs) -> bool:
return False
def check_exit_timeout(self, pair: str, trade: 'Trade', order: dict,
def check_exit_timeout(self, pair: str, trade: 'Trade', order: 'Order',
current_time: datetime, **kwargs) -> bool:
return False
```