empyrical — Easy Playground
Financial risk metrics: alpha, beta, Sharpe, Sortino, max drawdown
Getting started with empyricalRun locally
Install
pip install empyrical-reloadedPython CodeRun locally
Expected Output
# Expected output shown below # (Run locally with: empyrical)
empyrical is a third-party package. Financial risk metrics: alpha, beta, Sharpe, Sortino, max drawdown. Install with: pip install empyrical-reloaded
Challenge
Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?