Project description
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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.