Fix some type problems

This commit is contained in:
Matthias
2022-05-25 10:13:37 +00:00
parent 9e4c68a5b4
commit b2968df5dc
5 changed files with 15 additions and 7 deletions

View File

@@ -868,8 +868,8 @@ class LocalTrade():
return o
return None
def select_order(
self, order_side: str = None, is_open: Optional[bool] = None) -> Optional[Order]:
def select_order(self, order_side: Optional[str] = None,
is_open: Optional[bool] = None) -> Optional[Order]:
"""
Finds latest order for this orderside and status
:param order_side: ft_order_side of the order (either 'buy', 'sell' or 'stoploss')