twopirllc / pandas-ta

Technical Analysis Indicators - Pandas TA is an easy to use Python 3 Pandas Extension with 150+ Indicators
https://twopirllc.github.io/pandas-ta/
MIT License
5.37k stars 1.05k forks source link

Requesting some indicators found in Tushare #660

Open andymc31 opened 1 year ago

andymc31 commented 1 year ago

I am trying to apply some technical indicators I saw used in a research paper which used Tushare to acquire the data, however due to the strategies feature I find pandas-ta to be much more convenient. Unfortunately, there are a few indicators that are in Tushare but not pandas-ta. Also it seems that the stochastic indicator is calculated differently, is this actually a different indicator? If so can tushare's be implemented as well?

Tushare's indicators: https://github.com/waditu/tushare/blob/master/tushare/stock/indictor.py

note their KDJ does not use ema or sma, which lines up with this: https://www.moomoo.com/us/learn/detail-what-is-the-kdj-67019-220809006

Is this the same as the stochastic indicator in pandas-ta?

Also requesting: ADXR BBI Bull And Bear Index ASI Accumulation Swing Index WR Williams Overbought/Oversold Index VR Volatility Volume Ratio

All of which can be found in that tushare file.

andymc31 commented 1 year ago

I tried to add them in a pull request