%run "Retropy_framework.ipynb"
Installing requirements .. Done
def percentile(s, p):
return s.quantile(p/100)
lc = get(lc+"@Y")
gb = get(gb+"@Y")
Fetching VFITX@Y from Y .. DONE
lc = lc/lc[0]
gb = gb/gb[0]
lc_val = lc[-1]
gb_val = gb[-1]
r = lc.s / (lc.s + gb.s) * 100
r = r.dropna()
r = r/r[0]*50
r[-1]
show(lc, gb, ta=False)
show(r)
#percentile(r, 95)
#percentile(r, 50)
#percentile(r, 5)
57.022489911814475
# be sure to save before you publish
# when done, you will get a public link to an HTML file with the results
publish()