pmorissette / ffn

ffn - a financial function library for Python
pmorissette.github.io/ffn
MIT License
1.96k stars 294 forks source link

Different ways of pulling in calc_stats/performance stats #53

Closed ShreyasChari closed 6 years ago

ShreyasChari commented 6 years ago

Hi, I see how once perf = data.calc_stats, perf.plot() shows the equity curve and if you do perf.display() you get all the stats in a table.

As this table is not very easy to read, I'd like to express it in the form of a visual manner. Perhaps say you have 5 assets and they have all these stats, but i'd like to see side -by-side histogram of the sharpe ratios say in one graph or any other stat. How would i perform this manipulation?

JordanPlatts commented 6 years ago

Look at perf.stats. I think it will be a pandas DataFrame of the statistics side-by-side.

ShreyasChari commented 6 years ago

Indeed. Gracias!