Correct price formula
This commit is contained in:
parent
3c7a6685b4
commit
d0a5782449
|
@ -50,7 +50,7 @@ class Agora(object):
|
|||
rates = self.get_rates_all()
|
||||
min_amount = rates[currency] * float(settings.Agora.MinUSD)
|
||||
max_amount = rates[currency] * float(settings.Agora.MaxUSD)
|
||||
price_formula = f"coingeckoxmrusd{currency.lower()}*{settings.Agora.Margin}"
|
||||
price_formula = f"coingeckoxmrusd*usd{currency.lower()}*{settings.Agora.Margin}"
|
||||
# price_formula = f"coingeckoxmrusd*{settings.Agora.Margin}"
|
||||
print("formula", price_formula)
|
||||
ad = self.agora.ad_create(
|
||||
|
|
Loading…
Reference in New Issue