mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-28 13:01:38 +00:00
* improve portfolio controller * improve menu ux with disabling command when port or bench are not loaded * allow custom reset with benchmark and portfolio loaded * bench needs portfolio loaded to use start date, reflect that * fix tests * allow to see sum of a portfolio holdings * add r-square to portfolio * add skewness of data * add kurtosis * add stats * allow perf command to select a period * add yearly returns to cumulative return plot * add individual rolling volatility * add individual rolling sharpe * add individual rolling sortino * add individual rolling beta * add period to cumulative returns * clean up on aisle 5 * minor fix * add volatility, sharpe ratio, sortino ratio and maximum drawdown ratio * remove duplicated metrics * check for portfolio and benchmark more modular * fix tests * remove sqrt(N) and N from sharpe and sortino calculations * allow hold to export raw data from tail * automatically add space before and after table * add portfolio holdings in percentage * fix relative dates to be more accurate * refactor metric command to allow to select a metric of interest and check different periods * fix cumulative return and implement new yearly return command * add daily returns graph * add distribution of daily returns command * add monthly returns command * add summary command with multiple metrics for a specific period * calculate yearly (out)performance * fix show * rbeta with benchmark of 1 * improve mret style * improve title of distribution * improve volatility * minor improvement in doc * improve mret and yret * tests * update portfolio content on hugo docs * fix ycrv hugo docs * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * Update _index.md * fix issue Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>