TA-Lib or Technical Analysis Library is a fast good old C implementation technical analysis library wrapped in many languages and includes 200 indicators such as ADX, MACD, RSI, Stochastic, Bollinger Bands, etc. but it’s hard to install. These steps will guide you to install it.
- Install the build tool
sudo apt install build-essential wget -y
- Clone the source code
wget https://github.com/TA-Lib/ta-lib/releases/download/v0.4.0/ta-lib-0.4.0-src.tar.gz
tar -xvf ta-lib-0.4.0-src.tar.gz
- Config and build from source.
cd ta-lib/
./configure --prefix=/usr
make
- Install to system
sudo make install
Install TA-Lib on Python
sudo pip install TA-Lib