Skip to main content

A Python implementation for TA-LIB

Project description

TA-Box

This is a Python implementation for TA-LIB based on Cython.

TA-Lib is widely used by trading software developers requiring to perform technical analysis of financial market data.

  • Includes 150+ indicators such as ADX, MACD, RSI, Stochastic, Bollinger Bands, etc.
  • Candlestick pattern recognition
  • Open-source API for C/C++, Java, Perl, Python and 100% Managed .NET

Because TA-Box is written in pure Python, you do not have to install the TA-Lib. TA-Box also supports Cython compilation. With the support of cython, the speed of TA-Box is comparable to TA-LIB.

Installation

You can install from PyPI:

$ python3 -m pip install TA-Box

Or checkout the sources and run setup.py yourself:

$ python setup.py install

Function List

  • Cycle Indicators

    • HT_DCPERIOD

    • HT_DCPHASE

    • HT_PHASOR

    • HT_SINE

    • HT_TRENDMODE

  • Math Operators

    • ADD✓

    • DIV✓

    • MAX✓

    • MAXINDEX

    • MIN✓

    • MININDEX

    • MINMAX

    • MINMAXINDEX

    • MULT✓

    • SUB✓

    • SUM

  • Math Transform

    • ACOS✓

    • ASIN✓

    • ATAN✓

    • CEIL

    • COS

    • COSH

    • EXP

    • FLOOR

    • LN

    • LOG10

    • SIN✓

    • SINH

    • SQRT✓

    • TAN✓

    • TANH

  • Momentum Indicators

    • ADX

    • ADXR

    • APO

    • AROON

    • AROONOSC

    • BOP

    • CCI

    • CMO

    • DX

    • MACD

    • MACDEXT

    • MACDFIX

    • MFI

    • MINUS_DI

    • MINUS_DM

    • MOM

    • PLUS_DI

    • PLUS_DM

    • PPO

    • ROC

    • ROCP

    • ROCR

    • ROCR100

    • RSI

    • STOCH

    • STOCHF

    • STOCHRSI

    • TRIX

    • ULTOSC

    • WILLR

  • Overlap Studies

    • BBANDS

    • DEMA

    • EMA

    • HT_TRENDLINE

    • KAMA

    • MA

    • MAMA

    • MAVP

    • MIDPOINT

    • MIDPRICE

    • SAR

    • SAREXT

    • SMA✓

    • T3

    • TEMA

    • TRIMA

    • WMA

  • Pattern Recognition

    • CDL2CROWS

    • CDL3BLACKCROWS

    • CDL3INSIDE

    • CDL3LINESTRIKE

    • CDL3OUTSIDE

    • CDL3STARSINSOUTH

    • CDL3WHITESOLDIERS

    • CDLABANDONEDBABY

    • CDLADVANCEBLOCK

    • CDLBELTHOLD

    • CDLBREAKAWAY

    • CDLCLOSINGMARUBOZU

    • CDLCONCEALBABYSWALL

    • CDLCOUNTERATTACK

    • CDLDARKCLOUDCOVER

    • CDLDOJI

    • CDLDOJISTAR

    • CDLDRAGONFLYDOJI

    • CDLENGULFING

    • CDLEVENINGDOJISTAR

    • CDLEVENINGSTAR

    • CDLGAPSIDESIDEWHITE

    • CDLGRAVESTONEDOJI

    • CDLHAMMER

    • CDLHANGINGMAN

    • CDLHARAMI

    • CDLHARAMICROSS

    • CDLHIGHWAVE

    • CDLHIKKAKE

    • CDLHIKKAKEMOD

    • CDLHOMINGPIGEON

    • CDLIDENTICAL3CROWS

    • CDLINNECK

    • CDLINVERTEDHAMMER

    • CDLKICKING

    • CDLKICKINGBYLENGTH

    • CDLLADDERBOTTOM

    • CDLLONGLEGGEDDOJI

    • CDLLONGLINE

    • CDLMARUBOZU

    • CDLMATCHINGLOW

    • CDLMATHOLD

    • CDLMORNINGDOJISTAR

    • CDLMORNINGSTAR

    • CDLONNECK

    • CDLPIERCING

    • CDLRICKSHAWMAN

    • CDLRISEFALL3METHODS

    • CDLSEPARATINGLINES

    • CDLSHOOTINGSTAR

    • CDLSHORTLINE

    • CDLSPINNINGTOP

    • CDLSTALLEDPATTERN

    • CDLSTICKSANDWICH

    • CDLTAKURI

    • CDLTASUKIGAP

    • CDLTHRUSTING

    • CDLTRISTAR

    • CDLUNIQUE3RIVER

    • CDLUPSIDEGAP2CROWS

    • CDLXSIDEGAP3METHODS

  • Price Transform

    • AVGPRICE

    • MEDPRICE

    • TYPPRICE

    • WCLPRICE

  • Statistic Functions

    • BETA

    • CORREL

    • LINEARREG

    • LINEARREG_ANGLE

    • LINEARREG_INTERCEPT

    • LINEARREG_SLOPE

    • STDDEV

    • TSF

    • VAR

  • Volatility Indicators

    • ATR

    • NATR

    • TRANGE✓

  • Volume Indicators

    • AD

    • ADOSC

    • OBV

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

TA-Box-0.0.1a1.dev1.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

TA_Box-0.0.1a1.dev1-cp36-cp36m-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.6m Windows x86-64

File details

Details for the file TA-Box-0.0.1a1.dev1.tar.gz.

File metadata

  • Download URL: TA-Box-0.0.1a1.dev1.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.13

File hashes

Hashes for TA-Box-0.0.1a1.dev1.tar.gz
Algorithm Hash digest
SHA256 97e7d46655a63e519b7950e567a87f2e0ce78527026918a647edf38d61dd2ccd
MD5 6bf78bcb7784799141a0527ec543668b
BLAKE2b-256 7924c8ab79a05ef8305a54acf1fef04993cafc8cd8bb8269afb2b7f31464ed3b

See more details on using hashes here.

File details

Details for the file TA_Box-0.0.1a1.dev1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: TA_Box-0.0.1a1.dev1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.64.0 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.13

File hashes

Hashes for TA_Box-0.0.1a1.dev1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 374fe7f86ab0810102a76b5ffb7be1f396e1d6c29af2df3d8d7709713d8bbb25
MD5 c8019765ac67e831c42ba987ad1fe8cf
BLAKE2b-256 391afb89468dabdd17072a0dc457f5e632ee0eaf3cb033d042623b8c0173b477

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