Skip to main content

A Python package for financial analysis including RSI, MACD, and statistical insights.

Project description

ATACS (Automated Technical Analysis Calculation and Suggestions)

ATACS is a Python package designed for stock market analysis. It provides functionality to:

  • Calculate and visualize key technical indicators like RSI (Relative Strength Index) and MACD (Moving Average Convergence Divergence).
  • Perform statistical analysis on stock prices, including calculating central tendency measures like mean, median, mode, and measures of dispersion like standard deviation, variance, covariance, and correlation.

This package is useful for traders, analysts, and financial data scientists who want to quickly assess technical indicators and market trends for decision-making.

Features

  • RSI Calculation and Visualization: Calculates the Relative Strength Index and visualizes it alongside stock prices, suggesting "Buy," "Hold," or "Sell" based on predefined thresholds.
  • MACD Calculation and Visualization: Calculates and plots the Moving Average Convergence Divergence, with buy/sell/hold recommendations.
  • Statistical Analysis: Calculate central tendency measures (mean, median, mode), dispersion (standard deviation, variance), and correlation analysis between stock prices and market indices.

Installation

To install the ATACS package, you can use pip:

pip install atacs

Usage

Here's an example of how to use the package:

RSI Calculation and Visualization:

from atacs.rsi import calculate_rsi, plot_rsi

stock_prices = [120, 122, 123, 124, 122, 121, 120, 119, 118, 119] rsi = calculate_rsi(stock_prices) plot_rsi(stock_prices)

MACD Calculation and Visualization:

from atacs.macd import calculate_macd, plot_macd

stock_prices = [120, 122, 123, 124, 122, 121, 120, 119, 118, 119] macd = calculate_macd(stock_prices) plot_macd(stock_prices)

Statistical Analysis:

from atacs.stats import calculate_statistics

stock_prices = [120, 122, 123, 124, 122, 121, 120, 119, 118, 119] market_index = [2000, 2020, 2030, 2050, 2020, 2005, 1995, 1980, 1970, 1985] statistics = calculate_statistics(stock_prices, market_index) print(statistics)

License MIT License. See the LICENSE file for more information.

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

atacs-0.1.4.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

ATACS-0.1.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file atacs-0.1.4.tar.gz.

File metadata

  • Download URL: atacs-0.1.4.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for atacs-0.1.4.tar.gz
Algorithm Hash digest
SHA256 e2d8d6896e5b42bff83a9cf74eb328bb98ce66cb26e9f244c3f76946c07d67e2
MD5 3ddb2eed39510e9b0742b65776466cda
BLAKE2b-256 a9c95307e919543cf2069c822b175a4bbe11d07ed0f9c6dc75129c4e6456d9a5

See more details on using hashes here.

File details

Details for the file ATACS-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: ATACS-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for ATACS-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b7606601dccfa80513dd027eba001684f52ad22023f7ff911cbab76d1505baf3
MD5 0630515ca13bd19ee64fe0641c892c57
BLAKE2b-256 a7d17f49f708e4f75577cb8cde31c5eb0ce6736b9ef2a94211ec488e98d2ccc1

See more details on using hashes here.

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