fix: DCA not getting most recent value

This commit is contained in:
Herculino Trotta
2024-11-13 12:41:18 -03:00
parent 0c67405f3e
commit 759b2a5f13

View File

@@ -193,7 +193,6 @@ class DCAEntry(models.Model):
self.amount_received,
self.strategy.target_currency,
self.strategy.payment_currency,
timezone.now().date(),
)
return amount or Decimal("0")