Sign inSign up

feriman25/pythonrsi

By feriman25

Updated over 1 year ago

Calculate RSI with python inside a docker container.

Image
0

360

feriman25/pythonrsi repository overview

Python RSI Calculator

This Docker image calculates the RSI(24) from a given price file.

Dockerfile

FROM alpine:latest
WORKDIR /app
COPY rsi_calculator.py .
RUN apk add --no-cache python3 py3-numpy py3-pandas
ENTRYPOINT ["python3", "/app/rsi_calculator.py"]

Usage

Run the container with the following command:

docker run --rm -v YourFileWithPrices.txt:/data/input.csv feriman25/pythonrsi:latest /data/input.csv > outputWithPricesAndRSI.csv

Replace YourFileWithPrices.txt with the actual path to your input CSV file.

Tag summary

Content type

Image

Digest

sha256:1050e3af0

Size

57.3 MB

Last updated

over 1 year ago

docker pull feriman25/pythonrsi