Skip to main content
pySharpeRratio
==============

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.


Note
----

The data used to fit the spline is saved as spline_data.csv in the data folder.


Installation
------------

pip install --no-cache-dir pysharperratio

Author: Amir Sani
Maintainers: Amir Sani & Damien Challet

Reference
---------

Challet, Damien, `"Sharper asset ranking from total drawdown durations." arXiv preprint, arXiv:1505.01333 (2015).

Preprint available at http://arxiv.org/abs/1505.01333

Bibtex:

@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|

.. |DOI| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.267937.svg
:target: https://doi.org/10.5281/zenodo.267937

Metadata

Release files for pysharperratio 0.1.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysharperratio 0.1.11
File Size Uploaded Provenance Actions
pysharperratio-0.1.11.tar.gz 3.0 kB Without provenance Details for pysharperratio-0.1.11.tar.gz

Release files / pysharperratio-0.1.11.tar.gz

Download URL pysharperratio-0.1.11.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
dc20e4954bf13a2cb8f872a7295ef0fbba0495f9f6c27f19c1bd9a4339fc03c7
BLAKE2b-256 checksum
How to use checksums
7f7c7692e070135311e3ad32fd2acb99fe4651d33abbdaed49fbcb2252eb0129
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pysharperratio 0.1.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page