mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-03-20 16:44:00 +01:00
feat: add currencies to DCA list
This commit is contained in:
@@ -135,8 +135,8 @@ class DCAStrategy(models.Model):
|
||||
|
||||
def current_price(self):
|
||||
exchange_rate = get_exchange_rate(
|
||||
from_currency=self.payment_currency,
|
||||
to_currency=self.target_currency,
|
||||
from_currency=self.target_currency,
|
||||
to_currency=self.payment_currency,
|
||||
date=timezone.localtime(timezone.now()),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user