fixed mistake
This commit is contained in:
parent
1856d54b75
commit
ff3974042e
3 changed files with 6 additions and 68 deletions
|
@ -213,10 +213,10 @@ def update_rank(data=None):
|
||||||
|
|
||||||
# Load Reddit api to check if there are new followers
|
# Load Reddit api to check if there are new followers
|
||||||
def check_new_social(symbol):
|
def check_new_social(symbol):
|
||||||
yesterday = datetime.datetime.strftime(date.today()-timedelta(2), '%Y-%m-%d')
|
yesterday = datetime.datetime.strftime(date.today()-timedelta(1), '%Y-%m-%d')
|
||||||
socials = Social.objects.filter(name=symbol).filter(date=yesterday)
|
socials = Social.objects.filter(name=symbol).filter(date=yesterday)
|
||||||
|
|
||||||
if not(socials):
|
if not(socials):
|
||||||
|
print('new social')
|
||||||
request = 'https://www.reddit.com/r/'+ symbol +'/about.json'
|
request = 'https://www.reddit.com/r/'+ symbol +'/about.json'
|
||||||
response = requests.get(request, headers = {'User-agent': 'Checking new social data'})
|
response = requests.get(request, headers = {'User-agent': 'Checking new social data'})
|
||||||
data = json.loads(response.content)
|
data = json.loads(response.content)
|
||||||
|
|
|
@ -925,9 +925,9 @@ async def index(request):
|
||||||
|
|
||||||
if now > 3 and now < 6:
|
if now > 3 and now < 6:
|
||||||
try:
|
try:
|
||||||
social_xmr = list(Social.objects.filter(name='Monero').filter(date=yesterday))[0]
|
social_xmr = Social.objects.filter(name='Monero').get(date=yesterday)
|
||||||
social_btc = list(Social.objects.filter(name='Bitcoin').filter(date=yesterday))[0]
|
social_btc = Social.objects.filter(name='Bitcoin').get(date=yesterday)
|
||||||
social_crypto = list(Social.objects.filter(name='Cryptocurrency').filter(date=yesterday))[0]
|
social_crypto = Social.objects.filter(name='Cryptocurrency').get(date=yesterday)
|
||||||
if social_btc and social_xmr and social_crypto:
|
if social_btc and social_xmr and social_crypto:
|
||||||
print('socials found yesterday')
|
print('socials found yesterday')
|
||||||
update_socials = False
|
update_socials = False
|
||||||
|
@ -975,6 +975,7 @@ async def index(request):
|
||||||
synchronous.check_new_social('Bitcoin')
|
synchronous.check_new_social('Bitcoin')
|
||||||
synchronous.check_new_social('Monero')
|
synchronous.check_new_social('Monero')
|
||||||
synchronous.check_new_social('Cryptocurrency')
|
synchronous.check_new_social('Cryptocurrency')
|
||||||
|
#synchronous.update_database(yesterday, yesterday)
|
||||||
#await asynchronous.update_social_data(yesterday)
|
#await asynchronous.update_social_data(yesterday)
|
||||||
|
|
||||||
if update_btc:
|
if update_btc:
|
||||||
|
@ -3487,7 +3488,6 @@ def sfmodel(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
dates = []
|
dates = []
|
||||||
stock_to_flow = []
|
stock_to_flow = []
|
||||||
projection = []
|
projection = []
|
||||||
|
@ -3545,7 +3545,6 @@ def sfmodellin(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
dates = []
|
dates = []
|
||||||
stock_to_flow = []
|
stock_to_flow = []
|
||||||
projection = []
|
projection = []
|
||||||
|
@ -3603,9 +3602,7 @@ def sfmultiple(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
symbol = 'xmr'
|
symbol = 'xmr'
|
||||||
|
|
||||||
now_sf = 0
|
now_sf = 0
|
||||||
maximum = 0
|
maximum = 0
|
||||||
dates = []
|
dates = []
|
||||||
|
@ -3616,7 +3613,6 @@ def sfmultiple(request):
|
||||||
v0 = 0.002
|
v0 = 0.002
|
||||||
delta = (0.015 - 0.002)/(6*365)
|
delta = (0.015 - 0.002)/(6*365)
|
||||||
count = 0
|
count = 0
|
||||||
|
|
||||||
sf_aux = 0
|
sf_aux = 0
|
||||||
coins = Coin.objects.order_by('date').filter(name=symbol)
|
coins = Coin.objects.order_by('date').filter(name=symbol)
|
||||||
for coin in coins:
|
for coin in coins:
|
||||||
|
@ -3649,12 +3645,10 @@ def marketcycle(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
dates = []
|
dates = []
|
||||||
color = []
|
color = []
|
||||||
sell = []
|
sell = []
|
||||||
buy = []
|
buy = []
|
||||||
|
|
||||||
data = Sfmodel.objects.order_by('date')
|
data = Sfmodel.objects.order_by('date')
|
||||||
for item in data:
|
for item in data:
|
||||||
if item.color > 0:
|
if item.color > 0:
|
||||||
|
@ -3675,19 +3669,15 @@ def shielded(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
dates = []
|
dates = []
|
||||||
values = []
|
values = []
|
||||||
values2 = []
|
values2 = []
|
||||||
values3 = []
|
values3 = []
|
||||||
|
|
||||||
gc = pygsheets.authorize(service_file='service_account_credentials.json')
|
gc = pygsheets.authorize(service_file='service_account_credentials.json')
|
||||||
sh = gc.open('zcash_bitcoin')
|
sh = gc.open('zcash_bitcoin')
|
||||||
wks = sh.worksheet_by_title('Sheet1')
|
wks = sh.worksheet_by_title('Sheet1')
|
||||||
|
|
||||||
dominance = 0
|
dominance = 0
|
||||||
monthly = 0
|
monthly = 0
|
||||||
|
|
||||||
values_mat = wks.get_values(start=(3,1), end=(999,5), returnas='matrix')
|
values_mat = wks.get_values(start=(3,1), end=(999,5), returnas='matrix')
|
||||||
|
|
||||||
for k in range(0,len(values_mat)):
|
for k in range(0,len(values_mat)):
|
||||||
|
@ -3731,7 +3721,6 @@ def thermocap(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
symbol = 'xmr'
|
symbol = 'xmr'
|
||||||
dates = []
|
dates = []
|
||||||
values = []
|
values = []
|
||||||
|
@ -3746,7 +3735,6 @@ def thermocap(request):
|
||||||
calories = []
|
calories = []
|
||||||
calories2 = []
|
calories2 = []
|
||||||
calories3 = []
|
calories3 = []
|
||||||
|
|
||||||
coins = Coin.objects.order_by('date').filter(name=symbol)
|
coins = Coin.objects.order_by('date').filter(name=symbol)
|
||||||
for coin in coins:
|
for coin in coins:
|
||||||
dates.append(datetime.datetime.strftime(coin.date, '%Y-%m-%d'))
|
dates.append(datetime.datetime.strftime(coin.date, '%Y-%m-%d'))
|
||||||
|
@ -3790,7 +3778,6 @@ def sharpe(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
symbol = 'xmr'
|
symbol = 'xmr'
|
||||||
dates = []
|
dates = []
|
||||||
values = []
|
values = []
|
||||||
|
@ -3844,9 +3831,7 @@ def transcost(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
data = DailyData.objects.order_by('date')
|
data = DailyData.objects.order_by('date')
|
||||||
|
|
||||||
costbtc = []
|
costbtc = []
|
||||||
costxmr = []
|
costxmr = []
|
||||||
dates = []
|
dates = []
|
||||||
|
@ -3876,9 +3861,7 @@ def transcostntv(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
data = DailyData.objects.order_by('date')
|
data = DailyData.objects.order_by('date')
|
||||||
|
|
||||||
costbtc = []
|
costbtc = []
|
||||||
costxmr = []
|
costxmr = []
|
||||||
dates = []
|
dates = []
|
||||||
|
@ -3908,9 +3891,7 @@ def minerrevcap(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
data = DailyData.objects.order_by('date')
|
data = DailyData.objects.order_by('date')
|
||||||
|
|
||||||
costbtc = []
|
costbtc = []
|
||||||
costxmr = []
|
costxmr = []
|
||||||
dates = []
|
dates = []
|
||||||
|
@ -3940,9 +3921,7 @@ def minerrev(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
data = DailyData.objects.order_by('date')
|
data = DailyData.objects.order_by('date')
|
||||||
|
|
||||||
costbtc = []
|
costbtc = []
|
||||||
costxmr = []
|
costxmr = []
|
||||||
dates = []
|
dates = []
|
||||||
|
@ -3972,15 +3951,12 @@ def minerrevntv(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
data = DailyData.objects.order_by('date')
|
data = DailyData.objects.order_by('date')
|
||||||
|
|
||||||
costbtc = []
|
costbtc = []
|
||||||
costxmr = []
|
costxmr = []
|
||||||
dates = []
|
dates = []
|
||||||
now_btc = 0
|
now_btc = 0
|
||||||
now_xmr = 0
|
now_xmr = 0
|
||||||
|
|
||||||
for item in data:
|
for item in data:
|
||||||
dates.append(datetime.datetime.strftime(item.date, '%Y-%m-%d'))
|
dates.append(datetime.datetime.strftime(item.date, '%Y-%m-%d'))
|
||||||
if item.btc_minerrevntv < 0.0001:
|
if item.btc_minerrevntv < 0.0001:
|
||||||
|
@ -4004,15 +3980,12 @@ def minerfeesntv(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
data = DailyData.objects.order_by('date')
|
data = DailyData.objects.order_by('date')
|
||||||
|
|
||||||
costbtc = []
|
costbtc = []
|
||||||
costxmr = []
|
costxmr = []
|
||||||
dates = []
|
dates = []
|
||||||
now_btc = 0
|
now_btc = 0
|
||||||
now_xmr = 0
|
now_xmr = 0
|
||||||
|
|
||||||
for item in data:
|
for item in data:
|
||||||
dates.append(datetime.datetime.strftime(item.date, '%Y-%m-%d'))
|
dates.append(datetime.datetime.strftime(item.date, '%Y-%m-%d'))
|
||||||
if item.btc_minerfeesntv < 0.1:
|
if item.btc_minerfeesntv < 0.1:
|
||||||
|
@ -4036,15 +4009,12 @@ def minerfees(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
data = DailyData.objects.order_by('date')
|
data = DailyData.objects.order_by('date')
|
||||||
|
|
||||||
costbtc = []
|
costbtc = []
|
||||||
costxmr = []
|
costxmr = []
|
||||||
dates = []
|
dates = []
|
||||||
now_btc = 0
|
now_btc = 0
|
||||||
now_xmr = 0
|
now_xmr = 0
|
||||||
|
|
||||||
for item in data:
|
for item in data:
|
||||||
dates.append(datetime.datetime.strftime(item.date, '%Y-%m-%d'))
|
dates.append(datetime.datetime.strftime(item.date, '%Y-%m-%d'))
|
||||||
if item.btc_minerfeesusd < 1:
|
if item.btc_minerfeesusd < 1:
|
||||||
|
@ -4068,15 +4038,12 @@ def dailyemissionntv(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
data = DailyData.objects.order_by('date')
|
data = DailyData.objects.order_by('date')
|
||||||
|
|
||||||
emissionbtc = []
|
emissionbtc = []
|
||||||
emissionxmr = []
|
emissionxmr = []
|
||||||
dates = []
|
dates = []
|
||||||
now_btc = 0
|
now_btc = 0
|
||||||
now_xmr = 0
|
now_xmr = 0
|
||||||
|
|
||||||
for item in data:
|
for item in data:
|
||||||
if item.btc_emissionntv == 0:
|
if item.btc_emissionntv == 0:
|
||||||
emissionbtc.append('')
|
emissionbtc.append('')
|
||||||
|
@ -4107,9 +4074,7 @@ def commit(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
data = DailyData.objects.order_by('date')
|
data = DailyData.objects.order_by('date')
|
||||||
|
|
||||||
costbtc = []
|
costbtc = []
|
||||||
costxmr = []
|
costxmr = []
|
||||||
dates = []
|
dates = []
|
||||||
|
@ -4139,9 +4104,7 @@ def commitntv(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
data = DailyData.objects.order_by('date')
|
data = DailyData.objects.order_by('date')
|
||||||
|
|
||||||
costbtc = []
|
costbtc = []
|
||||||
costxmr = []
|
costxmr = []
|
||||||
dates = []
|
dates = []
|
||||||
|
@ -4171,7 +4134,6 @@ def competitorssats(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
dates = []
|
dates = []
|
||||||
xmr = []
|
xmr = []
|
||||||
dash = []
|
dash = []
|
||||||
|
@ -4182,7 +4144,6 @@ def competitorssats(request):
|
||||||
now_dash = 0
|
now_dash = 0
|
||||||
now_grin = 0
|
now_grin = 0
|
||||||
now_zcash = 0
|
now_zcash = 0
|
||||||
|
|
||||||
count = 0
|
count = 0
|
||||||
coins_xmr = Coin.objects.order_by('date').filter(name='xmr')
|
coins_xmr = Coin.objects.order_by('date').filter(name='xmr')
|
||||||
for coin_xmr in coins_xmr:
|
for coin_xmr in coins_xmr:
|
||||||
|
@ -4249,7 +4210,6 @@ def competitorssatslin(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
dates = []
|
dates = []
|
||||||
xmr = []
|
xmr = []
|
||||||
dash = []
|
dash = []
|
||||||
|
@ -4260,7 +4220,6 @@ def competitorssatslin(request):
|
||||||
now_dash = 0
|
now_dash = 0
|
||||||
now_grin = 0
|
now_grin = 0
|
||||||
now_zcash = 0
|
now_zcash = 0
|
||||||
|
|
||||||
count = 0
|
count = 0
|
||||||
coins_xmr = Coin.objects.order_by('date').filter(name='xmr')
|
coins_xmr = Coin.objects.order_by('date').filter(name='xmr')
|
||||||
for coin_xmr in coins_xmr:
|
for coin_xmr in coins_xmr:
|
||||||
|
@ -4327,17 +4286,14 @@ def dread_subscribers(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
dates = []
|
dates = []
|
||||||
data1 = []
|
data1 = []
|
||||||
data2 = []
|
data2 = []
|
||||||
now_xmr = 0
|
now_xmr = 0
|
||||||
now_btc = 0
|
now_btc = 0
|
||||||
|
|
||||||
gc = pygsheets.authorize(service_file='service_account_credentials.json')
|
gc = pygsheets.authorize(service_file='service_account_credentials.json')
|
||||||
sh = gc.open('zcash_bitcoin')
|
sh = gc.open('zcash_bitcoin')
|
||||||
wks = sh.worksheet_by_title('Sheet6')
|
wks = sh.worksheet_by_title('Sheet6')
|
||||||
|
|
||||||
values_mat = wks.get_values(start=(3,1), end=(99,3), returnas='matrix')
|
values_mat = wks.get_values(start=(3,1), end=(99,3), returnas='matrix')
|
||||||
|
|
||||||
for k in range(0,len(values_mat)):
|
for k in range(0,len(values_mat)):
|
||||||
|
@ -4369,7 +4325,6 @@ def coincards(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
dates = []
|
dates = []
|
||||||
data1 = []
|
data1 = []
|
||||||
data2 = []
|
data2 = []
|
||||||
|
@ -4418,7 +4373,6 @@ def merchants(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
dates = []
|
dates = []
|
||||||
data1 = []
|
data1 = []
|
||||||
data2 = []
|
data2 = []
|
||||||
|
@ -4475,7 +4429,6 @@ def merchants_increase(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
dates = []
|
dates = []
|
||||||
data1 = []
|
data1 = []
|
||||||
data2 = []
|
data2 = []
|
||||||
|
@ -4532,7 +4485,6 @@ def merchants_percentage(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
dates = []
|
dates = []
|
||||||
data1 = []
|
data1 = []
|
||||||
data2 = []
|
data2 = []
|
||||||
|
@ -4589,7 +4541,6 @@ def dominance(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
symbol = 'xmr'
|
symbol = 'xmr'
|
||||||
values = []
|
values = []
|
||||||
pricexmr = []
|
pricexmr = []
|
||||||
|
@ -4645,7 +4596,6 @@ def rank(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
symbol = 'xmr'
|
symbol = 'xmr'
|
||||||
values = []
|
values = []
|
||||||
pricexmr = []
|
pricexmr = []
|
||||||
|
@ -4715,7 +4665,6 @@ def p2pool_hashrate(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
hashrate = []
|
hashrate = []
|
||||||
hashrate_mini = []
|
hashrate_mini = []
|
||||||
combined = []
|
combined = []
|
||||||
|
@ -4786,7 +4735,6 @@ def p2pool_totalblocks(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
dates = []
|
dates = []
|
||||||
totalblocks = []
|
totalblocks = []
|
||||||
totalblocks_mini = []
|
totalblocks_mini = []
|
||||||
|
@ -4823,7 +4771,6 @@ def p2pool_totalhashes(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
dates = []
|
dates = []
|
||||||
totalblocks = []
|
totalblocks = []
|
||||||
totalblocks_mini = []
|
totalblocks_mini = []
|
||||||
|
@ -4859,7 +4806,6 @@ def p2pool_miners(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
miners = []
|
miners = []
|
||||||
miners_mini = []
|
miners_mini = []
|
||||||
dates = []
|
dates = []
|
||||||
|
@ -4894,7 +4840,6 @@ def miningprofitability(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
dates = []
|
dates = []
|
||||||
value = []
|
value = []
|
||||||
now_value = 0
|
now_value = 0
|
||||||
|
@ -4914,7 +4859,6 @@ def tail_emission(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
inflationxmr = []
|
inflationxmr = []
|
||||||
finflationxmr = []
|
finflationxmr = []
|
||||||
dates = []
|
dates = []
|
||||||
|
@ -4944,7 +4888,6 @@ def privacymarketcap(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
data = DailyData.objects.order_by('date')
|
data = DailyData.objects.order_by('date')
|
||||||
|
|
||||||
dates = []
|
dates = []
|
||||||
|
@ -5005,9 +4948,7 @@ def privacydominance(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
data = DailyData.objects.order_by('date')
|
data = DailyData.objects.order_by('date')
|
||||||
|
|
||||||
dates = []
|
dates = []
|
||||||
marketcaps = []
|
marketcaps = []
|
||||||
dominances = []
|
dominances = []
|
||||||
|
@ -5067,9 +5008,7 @@ def monerodominance(request):
|
||||||
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
if request.user.username != "Administrador" and request.user.username != "Morpheus":
|
||||||
update_visitors(False)
|
update_visitors(False)
|
||||||
|
|
||||||
|
|
||||||
data = DailyData.objects.order_by('date')
|
data = DailyData.objects.order_by('date')
|
||||||
|
|
||||||
dates = []
|
dates = []
|
||||||
marketcaps = []
|
marketcaps = []
|
||||||
xmr_dominance = []
|
xmr_dominance = []
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
python-3.8.5
|
|
Loading…
Reference in a new issue