#TA-LIB with docker container
4 messages · Page 1 of 1 (latest)
My dockerfile has:
FROM python:3.10.7-slim-bullseye as base
Install dependencies
FROM base as python-deps
RUN apt-get update
&& apt-get -y install build-essential libssl-dev git libffi-dev libgfortran5 pkg-config cmake gcc wget
&& apt-get clean
&& pip install --upgrade pip
Install TA-lib
RUN wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz && \
tar -xvzf ta-lib-0.4.0-src.tar.gz && \
cd ta-lib/ && \
./configure --prefix=/usr && \
make && \
make install
RUN pip install TA-Lib
RUN rm -R ta-lib ta-lib-0.4.0-src.tar.gz
Technical analysis library with indicators like ADX, MACD, RSI, Stochastic, TRIX... includes also candlestick pattern recognition. Useful for…