Skip to main content

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

sma_rsi_indicators-0.1.5.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

sma_rsi_indicators-0.1.5-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page