improve handle_similar_open_order description
This commit is contained in:
@@ -1756,7 +1756,11 @@ class FreqtradeBot(LoggingMixin):
|
|||||||
self, trade: Trade, price: float, amount: float, side: str
|
self, trade: Trade, price: float, amount: float, side: str
|
||||||
) -> bool:
|
) -> bool:
|
||||||
"""
|
"""
|
||||||
Keep existing open order if same amount and side, otherwise cancel
|
Keep existing open order if same amount and side otherwise cancel
|
||||||
|
:param trade: Trade object of the trade we're analyzing
|
||||||
|
:param price: Limit price of the potential new order
|
||||||
|
:param amount: Quantity of assets of the potential new order
|
||||||
|
:param side: Side of the potential new order
|
||||||
:return: True if an existing similar order was found
|
:return: True if an existing similar order was found
|
||||||
"""
|
"""
|
||||||
if trade.has_open_orders:
|
if trade.has_open_orders:
|
||||||
|
|||||||
Reference in New Issue
Block a user