A python implementation of the R PerformanceAnalytics