We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb7af51 commit b82fcefCopy full SHA for b82fcef
stakemachine/strategies/walls.py
@@ -47,7 +47,7 @@ def updateorders(self):
47
48
# Buy Side
49
if float(self.balance(self.market["base"])) < buy_price * target["amount"]["buy"]:
50
- InsufficientFundsError(Amount(target["amount"]["buy"], self.market["quote"]))
+ InsufficientFundsError(Amount(target["amount"]["buy"] * float(buy_price), self.market["base"]))
51
self["insufficient_buy"] = True
52
else:
53
self["insufficient_buy"] = False
0 commit comments