Skip to content

Commit b830357

Browse files
authored
Merge pull request #3 from quantopian/master
merge
2 parents 03c085e + 852e761 commit b830357

15 files changed

+4
-14456
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ pyfolio is a Python library for performance and risk analysis of
99
financial portfolios developed by
1010
[Quantopian Inc](https://www.quantopian.com). It works well with the
1111
[Zipline](https://www.zipline.io/) open source backtesting library.
12+
Quantopian also offers a `fully managed service for professionals <https://factset.quantopian.com>`_
13+
that includes Zipline, Alphalens, Pyfolio, FactSet data, and more.
1214

1315
At the core of pyfolio is a so-called tear sheet that consists of
1416
various individual plots that provide a comprehensive image of the

pyfolio/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from . import interesting_periods
66
from . import capacity
77
from . import round_trips
8-
from . import risk
98
from . import perf_attrib
109

1110
from .tears import * # noqa
@@ -17,4 +16,4 @@
1716

1817
__all__ = ['utils', 'timeseries', 'pos', 'txn',
1918
'interesting_periods', 'capacity', 'round_trips',
20-
'risk', 'perf_attrib']
19+
'perf_attrib']

pyfolio/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ def show_perf_stats(returns, factor_returns=None, positions=None,
648648
for stat, value in perf_stats[column].iteritems():
649649
if stat in STAT_FUNCS_PCT:
650650
perf_stats.loc[stat, column] = str(np.round(value * 100,
651-
1)) + '%'
651+
3)) + '%'
652652
if header_rows is None:
653653
header_rows = date_rows
654654
else:

0 commit comments

Comments
 (0)