Skip to main content

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)

Source distribution for sharpstock 0.1.0
File Size Uploaded
sharpstock-0.1.0.tar.gz 5.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sharpstock 0.1.0
File Interpreter ABI Platform
sharpstock-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.4 kB

Release files / sharpstock-0.1.0.tar.gz

Download URL sharpstock-0.1.0.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f1292152068eff01a8fe95cace09ec10722eda258ef68f33a959e00a26a1201d
BLAKE2b-256 checksum
How to use checksums
5df675476da2603ce73d826abd706242eb6cfb3255c4bf6b2c7c162effa000e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.7 Darwin/21.6.0

Release files / sharpstock-0.1.0-py3-none-any.whl

Download URL sharpstock-0.1.0-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9f5f7ba2fceaddeb6dace1226c54b0afebf87b1585a1b766447fc6b321894ecf
BLAKE2b-256 checksum
How to use checksums
7a70dcedc389209394a881e6b54d28b0139b44e76ba000f7256606db8efc7e88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.7 Darwin/21.6.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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