Sharpe Stock
A simple Python library to calculate the Sharpe Ratio of a stock.
How to use
pip install sharpestock
from sharpestock.sharpe_ratio import calculate_sharpe_ratio
df = pd.read_csv('data.csv')
calculate_sharpe_ratio(df)
Features
- Sharpe Ratio Calculation
- Calculate Sharpe Ratio for multiple stocks
Metadata
Release files for sharpstock 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sharpstock-0.1.0.tar.gz | 5.7 kB | Without provenance | Details for sharpstock-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sharpstock-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for sharpstock-0.1.0-py3-none-any.whl |
Total release size: 12.4 kB
Security for sharpstock 0.1.0
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.