Skip to main content

Technical Indicators for the Pandas' Dataframes

Project description

Technical Indicators for the Pandas’ Dataframes

Documentation: https://pandastechindicators.readthedocs.io/en/latest/

Installation

pip install -U tapy

Example

>>> import pandas as pd
>>> from tapy import Indicators
>>> df = pd.read_csv('EURUSD60.csv')
>>> indicators = Indicators(df)
>>> indicators.accelerator_oscillator(column_name='AC')
>>> indicators.sma()
>>> df = indicators.df
>>> df.tail()
            Date   Time     Open     High      Low    Close  Volume        AC       sma
3723  2019.09.20  16:00  1.10022  1.10105  1.10010  1.10070    2888 -0.001155  1.101296
3724  2019.09.20  17:00  1.10068  1.10193  1.10054  1.10184    6116 -0.000820  1.101158
3725  2019.09.20  18:00  1.10186  1.10194  1.10095  1.10144    3757 -0.000400  1.101056
3726  2019.09.20  19:00  1.10146  1.10215  1.10121  1.10188    3069  0.000022  1.101216
3727  2019.09.20  20:00  1.10184  1.10215  1.10147  1.10167    1224  0.000388  1.101506

Available Indicators

  1. Accelerator Oscillator (AC)

  2. Accumulation/Distribution (A/D)

  3. Alligator

  4. Average True Range (ATR)

  5. Awesome Oscillator (AO)

  6. Bears Power

  7. Bollinger Bands

  8. Bulls Power

  9. Commodity Channel Index (CCI)

  10. DeMarker (DeM)

  11. Exponential Moving Average (EMA)

  12. Force Index (FRC)

  13. Fractals

  14. Gator Oscillator

  15. Ichimoku Kinko Hyo

  16. Simple Moving Average (SMA)

  17. Smoothed Moving Average (SMMA)

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

tapy-1.7.0.tar.gz (8.2 kB view hashes)

Uploaded Source

Built Distribution

tapy-1.7.0-py3-none-any.whl (8.5 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