@ -415,7 +415,7 @@ def result_view():
fig['layout'] = {}
data['weight'] = json.dumps(fig, cls=plotly.utils.PlotlyJSONEncoder)
# Plotting weight
fig = (r+1).cumprod().plot()
fig = (r+1).cumprod().iloc[::5, :].plot()
data['ret'] = json.dumps(fig, cls=plotly.utils.PlotlyJSONEncoder)
# Plotting ret bars