0
$\begingroup$

I am working through some backtesting ideas and I would love to capture the basic statistics results for comparison, (cumulative returns, annual returns, sharpe, omega etc.) Is there a python library that provides the calculation of the stats as callable functions similar to the ta-lib library, Python's TA-Lib port?

$\endgroup$
2
$\begingroup$

Turns out Quantopian's empyrical package handles this exact use case Quantopian Empyrical Package

$\endgroup$
  • 2
    $\begingroup$ If this solves your problem, then you can accept your own answer to mark the question as resolved. $\endgroup$ – LocalVolatility Aug 29 '17 at 6:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.