Enhanced JGTapy
Project description
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
- Accelerator Oscillator (AC)
- Accumulation/Distribution (A/D)
- Alligator
- Average True Range (ATR)
- Awesome Oscillator (AO)
- Bears Power
- Bollinger Bands
- Bulls Power
- Commodity Channel Index (CCI)
- DeMarker (DeM)
- Exponential Moving Average (EMA)
- Force Index (FRC)
- Fractals (dimension 2,3,5,8,13,21,34,55,89)
- Gator Oscillator
- Ichimoku Kinko Hyo
- Market Facilitation Index (BW MFI)
- Momentum
- Money Flow Index (MFI)
- Moving Average Convergence/Divergence (MACD)
- Simple Moving Average (SMA)
- 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eccf6bdee5ad0794cbce402366929ab37dfcdb240b0e0a13963eb02aae649048
|
|
| MD5 |
83d1ab1941f7dd06a12cacc28ab80ecb
|
|
| BLAKE2b-256 |
da2c01a2d166024b1e117bf805799bff3239fadb451bd86a3a321393aaa50ac7
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8110db94ffd807c660f3180c54eb889869431248c00af54a2d8632ae4f00276
|
|
| MD5 |
52173121bc532850f3498b50aa160e9e
|
|
| BLAKE2b-256 |
c0e74f0c83ec22de235e1fe24282567423d767ece252379d6d3f1a9ab34bf222
|