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

Download files

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

Source Distribution

sharpstock-0.1.0.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sharpstock-0.1.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file sharpstock-0.1.0.tar.gz.

File metadata

  • Download URL: sharpstock-0.1.0.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Darwin/21.6.0

File hashes

Hashes for sharpstock-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f1292152068eff01a8fe95cace09ec10722eda258ef68f33a959e00a26a1201d
MD5 dacabedfee1607f82e4f2ed8b6fb4c63
BLAKE2b-256 5df675476da2603ce73d826abd706242eb6cfb3255c4bf6b2c7c162effa000e5

See more details on using hashes here.

File details

Details for the file sharpstock-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: sharpstock-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.7 Darwin/21.6.0

File hashes

Hashes for sharpstock-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9f5f7ba2fceaddeb6dace1226c54b0afebf87b1585a1b766447fc6b321894ecf
MD5 3e3ca0f352a0316873e0d322c5bebc85
BLAKE2b-256 7a70dcedc389209394a881e6b54d28b0139b44e76ba000f7256606db8efc7e88

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page