def generate_monthly_heatmaps(loop):
brokers = Brokers.objects.all()
path_to = join(settings.DATA_PATH, "performance")
filenames = multi_filenames(path_to_history=path_to)
loop.run_until_complete(gather(*[make_heat_img(\
path_to=path_to, filename=filename) for filename in filenames], \
return_exceptions=True))
#AI50 index heatmap
loop.run_until_complete(gather(*[qindex_heatmap(broker=broker.slug) for broker in brokers],
return_exceptions=True))
评论列表
文章目录