From 6c0eef94bbd2eb9d63ccc51349cdbc9d069aa018 Mon Sep 17 00:00:00 2001 From: Reigo Reinmets Date: Fri, 14 Jan 2022 21:05:05 +0200 Subject: [PATCH] Fix typo. --- docs/strategy-callbacks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/strategy-callbacks.md b/docs/strategy-callbacks.md index fd8323fe7..e56526e99 100644 --- a/docs/strategy-callbacks.md +++ b/docs/strategy-callbacks.md @@ -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