# Technical Analysis Library in Python
You can use this library to add features to your finacial time series dataset.
### Volume
* Accumulation/Distribution Index (ADI)
* On-Balance Volume (OBV)
* On-Balance Volume mean (OBV mean)
* Chaikin Money Flow (CMF)
* Force Index (FI)
* Ease of Movement (EoM, EMV)
* Volume-price Trend (VPT)
### Volatility
* Average True Range (ATR)
* Bollinger Bands (BB)
* Keltner Channel (KC)
* Donchian Channel (DC)
### Trend
* Moving Average Convergence Divergence (MACD)
* Average Directional Movement Index (ADX)
* Vortex Indicator (VI)
* Trix (TRIX)
* Mass Index (MI)
* Commodity Channel Index (CCI)
* Detrended Price Oscillator (DPO)
* KST Oscillator (KST)
* Ichimoku Kinkō Hyō (Ichimoku)
### Momentum
* Money Flow Index (MFI)
* Relative Strength Index (RSI)
### Fundamental
* Daily Return (DR)
* Cumulative Return (CR)
# How to use
> pip3 install ta
### Example adding all features
```python
import pandas as pd
from ta import *
# load datas
df = pd.read_csv('your-file.csv', sep=',')
# clean nan values
df = utils.dropna(df)
# add ta features
df = add_all_ta_features(df, "Open", "High", "Low", "Close", "Volume_BTC")
# fill nan values
df = df.fillna(method='backfill')
```
### Example adding one feature
```python
import pandas as pd
from ta.volume import *
# load datas
df = pd.read_csv('your-file.csv', sep=',')
# clean nan values
df = utils.dropna(df)
# add ta feature
df['cmf'] = chaikin_money_flow(df.High, df.Low, df.Close, df.Volume_BTC)
# fill nan values
df['cmf'] = df['cmf'].fillna(method='backfill')
```
If you don't know any feature you can visualize them in "visualize_features.ipynb".
# Deploy to developers
> pip3 install -r requirements.txt
# Based on:
* https://en.wikipedia.org/wiki/Technical_analysis
* https://github.com/FreddieWitherden/ta
* https://github.com/femtotrader/pandas_talib
# Credits:
Developed by Bukosabino at Lecrin Technologies - http://lecrintech.com
We are glad to receive any contribution, idea or feedback.
You can use this library to add features to your finacial time series dataset.
### Volume
* Accumulation/Distribution Index (ADI)
* On-Balance Volume (OBV)
* On-Balance Volume mean (OBV mean)
* Chaikin Money Flow (CMF)
* Force Index (FI)
* Ease of Movement (EoM, EMV)
* Volume-price Trend (VPT)
### Volatility
* Average True Range (ATR)
* Bollinger Bands (BB)
* Keltner Channel (KC)
* Donchian Channel (DC)
### Trend
* Moving Average Convergence Divergence (MACD)
* Average Directional Movement Index (ADX)
* Vortex Indicator (VI)
* Trix (TRIX)
* Mass Index (MI)
* Commodity Channel Index (CCI)
* Detrended Price Oscillator (DPO)
* KST Oscillator (KST)
* Ichimoku Kinkō Hyō (Ichimoku)
### Momentum
* Money Flow Index (MFI)
* Relative Strength Index (RSI)
### Fundamental
* Daily Return (DR)
* Cumulative Return (CR)
# How to use
> pip3 install ta
### Example adding all features
```python
import pandas as pd
from ta import *
# load datas
df = pd.read_csv('your-file.csv', sep=',')
# clean nan values
df = utils.dropna(df)
# add ta features
df = add_all_ta_features(df, "Open", "High", "Low", "Close", "Volume_BTC")
# fill nan values
df = df.fillna(method='backfill')
```
### Example adding one feature
```python
import pandas as pd
from ta.volume import *
# load datas
df = pd.read_csv('your-file.csv', sep=',')
# clean nan values
df = utils.dropna(df)
# add ta feature
df['cmf'] = chaikin_money_flow(df.High, df.Low, df.Close, df.Volume_BTC)
# fill nan values
df['cmf'] = df['cmf'].fillna(method='backfill')
```
If you don't know any feature you can visualize them in "visualize_features.ipynb".
# Deploy to developers
> pip3 install -r requirements.txt
# Based on:
* https://en.wikipedia.org/wiki/Technical_analysis
* https://github.com/FreddieWitherden/ta
* https://github.com/femtotrader/pandas_talib
# Credits:
Developed by Bukosabino at Lecrin Technologies - http://lecrintech.com
We are glad to receive any contribution, idea or feedback.
Metadata
Release files for ta 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ta-0.1.tar.gz | 5.8 kB | Details |
Release files / ta-0.1.tar.gz
| Download URL | ta-0.1.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d49db70d8afa4f75adbe12c537ec16c3cb331746ad61f00f70b2f5b8760eab56
|
|
BLAKE2b-256 checksum How to use checksums |
3c79752ceaffd56013f7ff2bfaeb1e4979eb63fd724ca01e737343e5899c2cea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |