Skip to main content

A high-performance technical analysis library for financial markets

Project description

Tecana - Technical Analysis Library

A high-performance Python library for technical analysis of financial markets, optimized for speed and efficiency.

Features

  • 60+ technical indicators with optimized implementations
  • Trading signals derived from indicators (momentum, zone, trend, volatility)
  • Simple, consistent API with pandas integration
  • Minimal dependencies (just numpy and pandas)
  • Comprehensive test coverage

Installation

pip install tecana

Quick Start
import tecana as ta
import pandas as pd

# Load your OHLCV data
df = pd.read_csv('your_data.csv')

# Calculate single indicators
df = ta.rsi(df)
df = ta.macd(df)

# Apply multiple indicators efficiently in one call
df = ta.custom(df,
    ['rsi', 14],              # With specific parameter
    ['macd', 12, 26, 9],      # With multiple parameters
    ['bb', {'window': 20}],   # With keyword arguments
    ['atr']                   # With default parameters
)

# Calculate trading signals
df = ta.rsi_m(df)  # Momentum signal
df = ta.rsi_z(df)  # Zone signal (overbought/oversold)
df = ta.rsi_t(df)  # Trend signal

Indicator Categories
Trend Indicators
SMA, EMA, DEMA, TEMA, KAMA, MACD, Bollinger Bands, Parabolic SAR, Ichimoku Cloud, and more.

Momentum Indicators
RSI, Stochastic Oscillator, CCI, Williams %R, ADX, TRIX, Ultimate Oscillator, and more.

Volatility Indicators
ATR, Bollinger Bands Width, Keltner Channel Width, Choppiness Index, and more.

Volume Indicators
OBV, Chaikin Money Flow, MFI, Volume Price Trend, Ease of Movement, and more.

Signal Types
Momentum Signals (_m): Identify potential reversals or continuations
Zone Signals (_z): Identify overbought/oversold conditions
Trend Signals (_t): Identify trend direction
Volatility Signals (_v): Identify periods of high or low volatility
Disclaimer
This software is provided 'as-is', without any express or implied warranty. The calculations and indicators provided by this library are for informational purposes only and should not be construed as financial advice. The author is not responsible for any errors, inaccuracies, or misuse of this library. Trading and investing involve risk, and you should always conduct your own research before making financial decisions. In no event will the author be held liable for any financial losses or damages arising from the use of this software.

## License

This project is licensed under a custom license that allows free use including commercial applications, 
but prohibits selling the software itself or derivatives. See the LICENSE file for details.

## Support Development
If you find Tecana useful and would like to support its development:

- **Bitcoin (Netowork: BTC - SegWit):** `bc1q496gksyalywftwg4q0hjqs4nuexgxpe638h6lu`
- **Ethereum (Netowork: ETH - ERC20):** `0x4ed38015d1cf0f4cea2010f5aea3f34f9878d0d3`
- **Solana (Netowork: SOL - Solana):** `534JQmpyuA9a4WZvdRW33aon3n69r2od61SQcX8EfSxn`
- **USDC (Netowork: ETH - ERC20):** `0x4ed38015d1cf0f4cea2010f5aea3f34f9878d0d3`

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

tecana-0.1.0.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

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

tecana-0.1.0-py3-none-any.whl (28.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tecana-0.1.0.tar.gz
  • Upload date:
  • Size: 30.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for tecana-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a76ab69cf758ac05d84c1850067707a254276260df1c3179ce77a19e70603d53
MD5 c77c63bd0b84324dc1ca7f0891c96b66
BLAKE2b-256 1edaa3ea94347d44ca15a1c88569ded3bb2cbe4a063f5e84fe4969d0d265d915

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tecana-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for tecana-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 21fbacacc7573a5b325c8875f2a007a688e0b665bb1f530c8276a4a77021b13d
MD5 901b0f0235341257f22e2f53c07068fe
BLAKE2b-256 e9fe55fc848261b7d7e1e3a4d65f20b8dd2b0b84d96d6ab765e20a91aa194c56

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