Fix typo.
This commit is contained in:
parent
9f9e2a8722
commit
6c0eef94bb
@ -664,7 +664,7 @@ class DigDeeperStrategy(IStrategy):
|
|||||||
if 0 < count_of_buys <= self.max_dca_orders:
|
if 0 < count_of_buys <= self.max_dca_orders:
|
||||||
try:
|
try:
|
||||||
# This returns first order stake size
|
# 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
|
# This then calculates current safety order size
|
||||||
stake_amount = stake_amount * (1 + (count_of_buys * 0.25))
|
stake_amount = stake_amount * (1 + (count_of_buys * 0.25))
|
||||||
return stake_amount
|
return stake_amount
|
||||||
|
Loading…
Reference in New Issue
Block a user