master
SeanChenTaipei 2 years ago
parent be64649cad
commit 39b2a2e32f
  1. 2
      main.py

@ -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()
fig['layout'] = {}
data['ret'] = json.dumps(fig, cls=plotly.utils.PlotlyJSONEncoder)
# Plotting ret bars

Loading…
Cancel
Save