Add stake amount property to order object

This commit is contained in:
Matthias
2023-07-15 10:14:08 +02:00
parent 17296fdf9c
commit d8c0621887
4 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -750,7 +750,7 @@ class DigDeeperStrategy(IStrategy):
# Hope you have a deep wallet!
try:
# This returns first order stake size
stake_amount = filled_entries[0].cost
stake_amount = filled_entries[0].stake_amount
# This then calculates current safety order size
stake_amount = stake_amount * (1 + (count_of_entries * 0.25))
return stake_amount