Update XMR and ASP percentages

This commit is contained in:
ferretinjapan 2017-06-21 00:00:58 +09:30 committed by GitHub
parent 7f6404a39d
commit e72ec05926
1 changed files with 2 additions and 2 deletions

View File

@ -468,12 +468,12 @@ def asp(bot, trigger):
total = value_dash + value_decred + value_factom + value_golem + value_maidsafecoin + value_augur + value_stellar + value_nem + value_ripple + value_zcash total = value_dash + value_decred + value_factom + value_golem + value_maidsafecoin + value_augur + value_stellar + value_nem + value_ripple + value_zcash
total_june = value_nxt + value_sia + value_dgb + value_sys + value_ans total_june = value_nxt + value_sia + value_dgb + value_sys + value_ans
xmr_totalvalue = float(total / xmrbtc_price) xmr_totalvalue = float(total / xmrbtc_price)
asppercent = (((stamp_price * total) / 14950)-1)*100 asppercent = ((((stamp_price * total) / 14950)-1)*100) + ((((stamp_price * total_june) / 13240)-1)*100)
if asppercent >= 0: if asppercent >= 0:
aspsign = '+' aspsign = '+'
else: else:
aspsign = '-' aspsign = '-'
xmrpercent = ((650*(xmrbtc_price*stamp_price)/14950)-1)*100 xmrpercent = ((((650*(xmrbtc_price*stamp_price)/14950)-1)*100)) + (((250*(xmrbtc_price*stamp_price)/13240)-1)*100)
if xmrpercent >= 0: if xmrpercent >= 0:
xmrsign = '+' xmrsign = '+'
else: else: