Fix typo.

This commit is contained in:
Reigo Reinmets 2022-01-14 21:05:05 +02:00
parent 9f9e2a8722
commit 6c0eef94bb

View File

@ -664,7 +664,7 @@ class DigDeeperStrategy(IStrategy):
if 0 < count_of_buys <= self.max_dca_orders:
try:
# This returns first order stake size
stake_amount = filled_buys[0].stake_amount
stake_amount = filled_buys[0].cost
# This then calculates current safety order size
stake_amount = stake_amount * (1 + (count_of_buys * 0.25))
return stake_amount