Finish implementation and tests for the cheat system #3
|
@ -385,7 +385,7 @@ class Agora(object):
|
|||
base_currency_price = rates
|
||||
for ad in ads:
|
||||
price = float(ad[2])
|
||||
rate = round(price / base_currency_price, 2)
|
||||
rate = round(price / base_currency_price, 4)
|
||||
ad.append(asset)
|
||||
ad.append(rate)
|
||||
return sorted(ads, key=lambda x: x[2])
|
||||
|
|
Loading…
Reference in New Issue