Created
September 7, 2020 06:20
-
-
Save rjurney/586bc093bc59f5c3e3c5e375bf5bfd8b to your computer and use it in GitHub Desktop.
A Colab cell to build and install TA Lib and its Python interface TA-Lib
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# download TA-Lib | |
!wget -q http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz 2>&1 > /dev/null | |
!tar xvzf ta-lib-0.4.0-src.tar.gz 2>&1 > /dev/null | |
import os | |
os.chdir('ta-lib') # Can't use !cd in co-lab | |
!./configure --prefix=/usr 2>&1 > /dev/null | |
!make 2>&1 > /dev/null | |
!make install 2>&1 > /dev/null | |
os.chdir('../') | |
!pip install TA-Lib 2>&1 > /dev/null | |
import talib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment