bugfixing
This commit is contained in:
parent
68b5e22085
commit
f924f20d71
@ -482,6 +482,9 @@ async def run():
|
|||||||
analyst_list = await get_all_analyst_stats()
|
analyst_list = await get_all_analyst_stats()
|
||||||
print('Number of analysts:', len(analyst_list))
|
print('Number of analysts:', len(analyst_list))
|
||||||
|
|
||||||
|
if len(analyst_list) < 4000:
|
||||||
|
return
|
||||||
|
|
||||||
#Test Modes
|
#Test Modes
|
||||||
#analyst_list = [ item for item in analyst_list if item['analystId'] =='5a02da51efacff00010633d2']
|
#analyst_list = [ item for item in analyst_list if item['analystId'] =='5a02da51efacff00010633d2']
|
||||||
|
|
||||||
|
|||||||
@ -223,7 +223,7 @@ def run_executive():
|
|||||||
|
|
||||||
def run_analyst_rating():
|
def run_analyst_rating():
|
||||||
week = datetime.today().weekday()
|
week = datetime.today().weekday()
|
||||||
if week <= 4:
|
if week <= 5:
|
||||||
run_command(["python3", "cron_analyst_insight.py"])
|
run_command(["python3", "cron_analyst_insight.py"])
|
||||||
run_command(["python3", "cron_analyst_db.py"])
|
run_command(["python3", "cron_analyst_db.py"])
|
||||||
run_command(["python3", "cron_analyst_ticker.py"])
|
run_command(["python3", "cron_analyst_ticker.py"])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user