Common financial technical indicators implemented in Pandas.
Dependencies:
- python (3.0 +)
- pandas (0.18 +)
This is first release, in the future this will be made into python(3) module and will be instalable via pip.
TA class is very well documented and there should be no trouble exploring it and using with your data.
Each class method expects proper ohlc
data as input.
How to:
from finta import TA
TA.SMA(ohlc, 42)
## will return Pandas Series object with Simple moving average for 42 periods
TA.AO(ohlc)
## will return Pandas series object with "Awesome oscillator" values
I welcome pull requests with new indicators or fixes for existing ones. Please submit only indicators that belong in public domain and are royalty free.
Some of the code is based from pandas_talib project but it is so radically changed that fork would not be a valid option. I urge the authors to merge with my code manually and continue developing on it.