Skip to main content

A moment-free estimator of the Sharpe (signal-to-noise) ratio.

Project description



This package implements a moment-free estimator of the Sharpe
(signal-to-noise) ratio. The algorithm does not require the computation
of any moments by estimating the Sharpe ratio based on the cumulative
sum of (i.i.d.) increments or returns. This algorithm is much more
precise (efficient) when increments are heavy-tailed.

The estimator computes the difference between the drawdown and drawup
durations. First, the cumulative sum of x (e.g. prices) is computed,
then the total drawdown and drawup durations are computed. Precision is
improved by averaging the estimator on several random permutations of x.


pip install --no-cache-dir pysharperratio

Author: Amir Sani

Maintainers: `Amir Sani <>`__ & `Damien Challet <>`__


Damien <>`__.
`"Sharper asset ranking from total drawdown
durations." <>`__ arXiv preprint
arXiv:1505.01333 (2015).

Preprint available at


@article{challet2015sharper, title={Sharper asset ranking from total
drawdown durations}, author={Challet, Damien}, journal={arXiv preprint
arXiv:1505.01333}, year={2015} }

Copyright (c) 2017, Amir Sani


.. |DOI| image::

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pysharperratio, version 0.1.10
Filename, size File type Python version Upload date Hashes
Filename, size pysharperratio-0.1.10.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page