def plot(result_dict_file, is_show, plot_save_file):
"""
Draw result DataFrame
"""
import pandas as pd
from rqalpha.plot import plot_result
result_dict = pd.read_pickle(result_dict_file)
if is_show:
plot_result(result_dict)
if plot_save_file:
plot_result(result_dict, show_windows=False, savefile=plot_save_file)
评论列表
文章目录