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.
Metadata
Release files for ATACS 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| atacs-0.1.5.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ATACS-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / atacs-0.1.5.tar.gz
| Download URL | atacs-0.1.5.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c40deae90c360c3ca0516c66862f556e1fc66c884dd768a132f5468bd0e8965
|
|
BLAKE2b-256 checksum How to use checksums |
12b402320b7320928ce92f20588be5619dd44c01b558061085e2966385aa0b44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / ATACS-0.1.5-py3-none-any.whl
| Download URL | ATACS-0.1.5-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
244a693a47a468fe9c56f96704ae26871eca950acae26af38d8d6a112638f82f
|
|
BLAKE2b-256 checksum How to use checksums |
2882b8df1e5d4a68fb5e9920f56aa9ea769b9d48e9281deaa25e43c366b077b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|