mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-07-14 16:52:53 +02:00
fix: DCA not getting most recent value
This commit is contained in:
@@ -193,7 +193,6 @@ class DCAEntry(models.Model):
|
|||||||
self.amount_received,
|
self.amount_received,
|
||||||
self.strategy.target_currency,
|
self.strategy.target_currency,
|
||||||
self.strategy.payment_currency,
|
self.strategy.payment_currency,
|
||||||
timezone.now().date(),
|
|
||||||
)
|
)
|
||||||
|
|
||||||
return amount or Decimal("0")
|
return amount or Decimal("0")
|
||||||
|
|||||||
Reference in New Issue
Block a user