Libraries refactor and add some sinks #4
|
@ -604,7 +604,7 @@ class Transactions(object):
|
||||||
if not contact["data"]["is_selling"]:
|
if not contact["data"]["is_selling"]:
|
||||||
continue
|
continue
|
||||||
if currency == "USD":
|
if currency == "USD":
|
||||||
cumul_usd += amount
|
cumul_usd += float(amount)
|
||||||
else:
|
else:
|
||||||
rate = rates[currency]
|
rate = rates[currency]
|
||||||
amount_usd = float(amount) / rate
|
amount_usd = float(amount) / rate
|
||||||
|
|
Loading…
Reference in New Issue