I implemented an initial attempt for the sorting ratio, as asked in issue #401. In order to achieve this, I initially implemented a function to calculate the downside deviation for all assets. Then, I made the sorting_ratio() function to return the sorting ratio for a given portfolio. This is a draft, please review and contact me via email to fix any issues and/or any additional documentation.
I implemented an initial attempt for the sorting ratio, as asked in issue #401. In order to achieve this, I initially implemented a function to calculate the downside deviation for all assets. Then, I made the sorting_ratio() function to return the sorting ratio for a given portfolio. This is a draft, please review and contact me via email to fix any issues and/or any additional documentation.