Skip to main content

A comprehensive library for technical analysis indicators in financial markets

Project description

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:

  1. Install Poetry:
curl -sSL https://install.python-poetry.org | python3 -
  1. Clone the repository:
git clone https://github.com/yourusername/TechnicalIndicators.git
cd TechnicalIndicators
  1. Install dependencies:
poetry install
  1. Run tests:
poetry run pytest

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

awt_ti-0.1.0.tar.gz (56.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

awt_ti-0.1.0-py3-none-any.whl (67.6 kB view details)

Uploaded Python 3

File details

Details for the file awt_ti-0.1.0.tar.gz.

File metadata

  • Download URL: awt_ti-0.1.0.tar.gz
  • Upload date:
  • Size: 56.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.3 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for awt_ti-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9510ae030e1d9afc85a6fc3de6a380f778ef509fe84ef211c607aea48a3825ff
MD5 05ca44ec5a3c047e94a5a46b3f338f76
BLAKE2b-256 8bc3d9f9624b9dd25ee8c667bb86b9fbee6510054ce5a9abb2973152650a4397

See more details on using hashes here.

File details

Details for the file awt_ti-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: awt_ti-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 67.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.3 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for awt_ti-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 49374bf3e84abe68cd2fe1e4cc35b0ca4e3ba742441fbce2dd29bd377e2fad2f
MD5 3fd7bf2bd4051ea5ffadc72e6f6f9156
BLAKE2b-256 108b1a6e8e616fc158c675c84b3a4038fa77913711c94c8dcc57571b81f76352

See more details on using hashes here.

Supported by

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