Skip to content

Commit 9e4b697

Browse files
committed
Fine tune buy slippage protection.
1 parent b1175d0 commit 9e4b697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NostalgiaForInfinityX.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7371,7 +7371,7 @@ def confirm_trade_entry(self, pair: str, order_type: str, amount: float, rate: f
73717371
if ((rate > dataframe['close'])):
73727372
slippage = ((rate / dataframe['close']) - 1.0)
73737373

7374-
if slippage < 0.018:
7374+
if slippage < 0.02:
73757375
return True
73767376
else:
73777377
return False

0 commit comments

Comments
 (0)