TA-Lib
TA-Lib is a technical analysis library. It’s a C library, frequently used with a python wrapper.
Github Actions
Well, it’s github’s CI. This blog is built with it.
Building it
You can add the following step to your CI:
- name: Cache talib
id: cache-talib
uses: actions/cache@v2
with:
path: ta-lib
key: ${{ runner.os }}-talib
- name: Build talib
if: steps.cache-talib.outputs.cache-hit != 'true'
run: |
curl http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz -L -o ta-lib-0.4.0-src.tar.gz
tar -xzf ta-lib-0.4.0-src.tar.gz
cd ta-lib
./configure --prefix=/usr
make
- name: Install talib
run: |
cd ta-lib
sudo make install