Open ahotrod opened 5 years ago
The output of
df_prices.calc_stats()
reports a rf = 0. I'd like to have
include a rf in the calculations. I don't see how to set rf. I've also tried:
ffn.GroupStats(*[df_prices[x] for x in df_prices.columns]).set_riskfree_rate(rf = 1.5)
without success.
I also just had the same problem and figured it out.
perf = pd.DataFrame(df).calc_stats() perf.set_riskfree_rate(0.011) perf.display()
Thanks!
The output of
reports a rf = 0. I'd like to have
include a rf in the calculations. I don't see how to set rf. I've also tried:
without success.