A basic package to calculate sma and rsi indicators
Project description
'A package that allows you to calculate sma and rsi indicators from a given csv file and outputs the indicators to a given csv file.'
Example Usage:
import sma_rsi_indicators
csv_path = "orcl.csv" # Insert the path to your csv file here
list_of_data = sma_rsi_indicators.convert_to_dict(csv_path)
sma_rsi_indicators.calculate_sma(list_of_data,"orcl-sma.csv")
sma_rsi_indicators.calculate_rsi(list_of_data,"orcl-rsi.csv")
Your csv file should contain columns called "Date" and "Close" indicating the dates and the closing values of those dates for this module to work.
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sma_rsi_indicators-0.1.5.tar.gz.
File metadata
- Download URL: sma_rsi_indicators-0.1.5.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d97d06d72afe9914f0e0caf6ccd4f5439f7702d150983a18039db1e29141e96b
|
|
| MD5 |
14030924a6ea0b58fca571bb14d69c13
|
|
| BLAKE2b-256 |
1ba82415a534493ee459810d74f285408c4e3ccf6c8336bace1250bf0d6c84e4
|
File details
Details for the file sma_rsi_indicators-0.1.5-py3-none-any.whl.
File metadata
- Download URL: sma_rsi_indicators-0.1.5-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90ac2bf93f66d912228bd63e2707a8e6eb3f78fcfad93c8419f30fb53eeec1f2
|
|
| MD5 |
2ba94cadd3d88a61f472ff6967bbfc66
|
|
| BLAKE2b-256 |
70b0a12af2701b6019950fbfd6569338c702f0ff13f8e82c5f725a5b6d41c588
|