Skip to main content

Enhanced JGTapy

Project description

Upload Python Package

jgtapy

Technical Indicators for the Pandas' Dataframes

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

Installation

pip install -U jgtapy

Example

>>> import pandas as pd
>>> from jgtapy import Indicators
>>> df = pd.read_csv('EURUSD60.csv')
>>> i= Indicators(df)
>>> i.accelerator_oscillator(column_name='AC'
>>> i.fractals(column_name_high='fb', column_name_low='fs')
>>> i.fractals3(column_name_high='fb3', column_name_low='fs3')
>>> i.fractals5(column_name_high='fb5', column_name_low='fs5')
>>> ... 8,13,21,34,55,89
>>> i.sma()
>>> df = i.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 (dimension 2,3,5,8,13,21,34,55,89)
  14. Gator Oscillator
  15. Ichimoku Kinko Hyo
  16. Market Facilitation Index (BW MFI)
  17. Momentum
  18. Money Flow Index (MFI)
  19. Moving Average Convergence/Divergence (MACD)
  20. Simple Moving Average (SMA)
  21. Smoothed Moving Average (SMMA)

Detailed Documentation

For detailed documentation on the Alligator, Awesome Oscillator (AO), Accelerator Oscillator (AC), Fractals, and Market Facilitation Index (MFI) indicators, including descriptions and usage examples, please refer to the INDICATORS.md file.

Alligator 🐊

The Alligator indicator is a combination of three smoothed moving averages with different periods and shifts. It is used to identify trends and their direction. The three lines are called the Jaw, Teeth, and Lips. The implementation can be found in the alligator method in jgtapy/indicators.py.

Awesome Oscillator (AO) 🌟

The Awesome Oscillator is a momentum indicator that compares the 5-period simple moving average (SMA) with the 34-period SMA. It helps to identify market momentum. The implementation can be found in the awesome_oscillator method in jgtapy/indicators.py.

Accelerator Oscillator (AC) 🚀

The Accelerator Oscillator measures the acceleration or deceleration of the current market driving force. It is derived from the Awesome Oscillator by subtracting a 5-period SMA of the AO from the AO itself. The implementation can be found in the accelerator_oscillator method in jgtapy/indicators.py.

Fractals 🌀

Fractals are used to identify potential reversal points in the market. They consist of a series of at least five bars, with the highest high in the middle and two lower highs on each side for a bullish fractal, or the lowest low in the middle and two higher lows on each side for a bearish fractal. The implementation can be found in the fractals method and its variations in jgtapy/indicators.py.

Market Facilitation Index (MFI) 📈

The Market Facilitation Index measures the efficiency of price movement by comparing the range of price movement to the volume. It helps to identify potential market trends and reversals. The implementation can be found in the bw_mfi method in jgtapy/indicators.py.

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

jgtapy-1.9.22.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

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

jgtapy-1.9.22-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file jgtapy-1.9.22.tar.gz.

File metadata

  • Download URL: jgtapy-1.9.22.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for jgtapy-1.9.22.tar.gz
Algorithm Hash digest
SHA256 eccf6bdee5ad0794cbce402366929ab37dfcdb240b0e0a13963eb02aae649048
MD5 83d1ab1941f7dd06a12cacc28ab80ecb
BLAKE2b-256 da2c01a2d166024b1e117bf805799bff3239fadb451bd86a3a321393aaa50ac7

See more details on using hashes here.

File details

Details for the file jgtapy-1.9.22-py3-none-any.whl.

File metadata

  • Download URL: jgtapy-1.9.22-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for jgtapy-1.9.22-py3-none-any.whl
Algorithm Hash digest
SHA256 b8110db94ffd807c660f3180c54eb889869431248c00af54a2d8632ae4f00276
MD5 52173121bc532850f3498b50aa160e9e
BLAKE2b-256 c0e74f0c83ec22de235e1fe24282567423d767ece252379d6d3f1a9ab34bf222

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