Technical Indicators
A comprehensive Python library for technical analysis indicators in financial markets.
Features
- Support and Resistance Indicators
- Pivot Points (Floor Trader's Method)
- Fibonacci Retracements
- Support/Resistance Level Detection
- Maximum Drawdown Analysis
- Moving Averages
- Volume Indicators
- Momentum Indicators
- Trend Indicators
Installation
Using pip:
pip install technical-indicators
Using Poetry:
poetry add technical-indicators
Quick Start
import pandas as pd
from Technical_Analysis.Indicators.supportResistance import calculate_pivot_points
# Create or load your price data
df = pd.DataFrame({
'High': [105, 104, 106],
'Low': [98, 97, 99],
'Close': [102, 101, 103]
})
# Calculate pivot points
pivots = calculate_pivot_points(df)
print(pivots)
Documentation
Full documentation is available at https://technical-indicators.readthedocs.io
Support and Resistance Indicators
The library provides various methods to identify potential support and resistance levels:
from Technical_Analysis.Indicators.supportResistance import (
find_support_resistance,
fibonacci_retracement,
calculate_pivot_points
)
# Find support and resistance levels
levels = find_support_resistance(df)
# Calculate Fibonacci retracements
fib_levels = fibonacci_retracement(df)
# Calculate pivot points
pivots = calculate_pivot_points(df)
Development
This project uses Poetry for dependency management. To set up the development environment:
- Install Poetry:
curl -sSL https://install.python-poetry.org | python3 -
- Clone the repository:
git clone https://github.com/yourusername/TechnicalIndicators.git
cd TechnicalIndicators
- Install dependencies:
poetry install
- Run tests:
poetry run pytest
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for awt-ti 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| awt_ti-0.1.0.tar.gz | 56.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| awt_ti-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 124.2 kB
Release files / awt_ti-0.1.0.tar.gz
| Download URL | awt_ti-0.1.0.tar.gz |
|---|---|
| Size | 56.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9510ae030e1d9afc85a6fc3de6a380f778ef509fe84ef211c607aea48a3825ff
|
|
BLAKE2b-256 checksum How to use checksums |
8bc3d9f9624b9dd25ee8c667bb86b9fbee6510054ce5a9abb2973152650a4397
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.12.3 Linux/5.15.167.4-microsoft-standard-WSL2
|
Release files / awt_ti-0.1.0-py3-none-any.whl
| Download URL | awt_ti-0.1.0-py3-none-any.whl |
|---|---|
| Size | 67.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49374bf3e84abe68cd2fe1e4cc35b0ca4e3ba742441fbce2dd29bd377e2fad2f
|
|
BLAKE2b-256 checksum How to use checksums |
108b1a6e8e616fc158c675c84b3a4038fa77913711c94c8dcc57571b81f76352
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.12.3 Linux/5.15.167.4-microsoft-standard-WSL2
|