Skip to main content

No project description provided

Project description

CryptoTA

Technical Analysis on Cryptocurrency

install

pip install cryptota

usage

import cryptota
import vectorbt as vbt

binance_data = vbt.BinanceData.download(
    "BTCUSDT",
    start='1 day ago UTC',
    end='now UTC',
    interval='1m'
)
binance_data = binance_data.update()
price = binance_data.get()

ta = cryptota.TA_Features()
ta.get_all_indicators(price)

Metric

ref: https://tulipindicators.org/list
ref: https://github.com/twopirllc/pandas-ta

Momentum

  • Awesome Oscillator: ao
  • Absolute Price Oscillator: apo
  • Balance of Power: bop
  • Commodity Channel Index: cci
  • Chande Momentum Oscillator: cmo
    • A wrapper for ta.linreg(series, r=True)
  • Momentum: mom
  • Percentage Price Oscillator: ppo
  • Rate of Change: roc
  • Relative Strength Index: rsi
    • Default is John Carter's. Enable Lazybear's with lazybear=True
    • Excluded from df.ta.strategy().
  • Trix: trix
  • Williams %R: willr

Overlap

  • Double Exponential Moving Average: dema
  • Exponential Moving Average: ema
    • Commonly known as 'Typical Price' in Technical Analysis literature
  • Hull Exponential Moving Average: hma
    • Use: help(ta.ichimoku). Returns two DataFrames.
    • Drop the Chikou Span Column, the final column of the first resultant DataFrame, remove potential data leak.
  • Kaufman's Adaptive Moving Average: kama
  • Linear Regression: linreg
  • Simple Moving Average: sma
  • Triple Exponential Moving Average: tema
  • Triangular Moving Average: trima
  • Variable Index Dynamic Average: vidya
  • Volume Weighted Moving Average: vwma
  • Weighted Moving Average: wma

Trend

  • Average Directional Movement Index: adx
  • Detrended Price Oscillator: dpo
    • Set centered=False to remove potential data leak.
  • Parabolic Stop and Reverse: psar
  • Q Stick: qstick
  • Vertical Horizontal Filter: vhf

Volatility

  • Average True Range: atr
  • Normalized Average True Range: natr

Volume

  • Accumulation/Distribution Index: ad
  • Accumulation/Distribution Oscillator: adosc
  • Klinger Volume Oscillator: kvo
  • Money Flow Index: mfi
  • Negative Volume Index: nvi
  • On-Balance Volume: obv
  • Positive Volume Index: pvi
  • Price-Volume: pvol
  • Price Volume Trend: pvt

Indicator

  • Average Directional Movement Rating: adxr
  • Aroon: aroon
  • Chaikins Volatility: cvi
  • Directional Movement Index: dx
  • Ease of Movement: emv
  • Forecast Oscillator: fosc
  • Linear Regression Intercept: linregintercept
  • Linear Regression Slope: linregslope
  • Market Facilitation Index: marketfi
  • Mass Index: mass
  • Rate of Change Ratio: rocr
  • True Range: tr
  • Ultimate Oscillator: ultosc
  • Volume Oscillator: vosc
  • Williams Accumulation/Distribution: wad

Overlay

  • Average Price: avgprice
  • Bollinger Bands: bbands
  • Time Series Forecast: tsf
  • Typical Price: typprice
  • Weighted Close Price: wcprice
  • Wilders Smoothing: wilders
  • Zero-Lag Exponential Moving Average: zlema

Math

  • Mean Deviation Over Period: md
  • Standard Error Over Period: stderr

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

cryptota-0.0.3.tar.gz (17.9 kB view hashes)

Uploaded Source

Built Distributions

cryptota-0.0.3-py3.7.egg (22.6 kB view hashes)

Uploaded Source

cryptota-0.0.3-py3-none-any.whl (15.1 kB view hashes)

Uploaded Python 3

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