We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b159f3 commit 9c01662Copy full SHA for 9c01662
pyfolio/timeseries.py
@@ -775,7 +775,7 @@ def perf_stats_bootstrap(returns, factor_returns=None):
775
776
stats = pd.DataFrame(columns=['mean', '5%', '95%'])
777
778
- def do_boostrap(stat_func, *args):
+ def do_bootstrap(stat_func, *args):
779
stat_name = stat_func.__name__
780
bootstrap_values = calc_bootstrap(stat_func, *args)
781
bootstrap_stats = \
@@ -785,7 +785,7 @@ def do_boostrap(stat_func, *args):
785
stats.loc[stat_name, '95%'] = bootstrap_stats['95%']
786
787
for stat_func in SIMPLE_STAT_FUNCS:
788
- do_boostrap(stat_func, returns)
+ do_bootstrap(stat_func, returns)
789
790
if factor_returns is not None:
791
for stat_func in FACTOR_STAT_FUNCS:
0 commit comments