Sign inSign up

feriman25/pythonmacd

By feriman25

Updated over 1 year ago

Calculate MACD with python inside a docker container.

Image
0

308

feriman25/pythonmacd repository overview

Python MACD Calculator

This Docker image calculates the MACD indicator from a given price file.

Dockerfile

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

Usage

Run the container with the following command:

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

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

Tag summary

Content type

Image

Digest

sha256:c7470ab61

Size

57.3 MB

Last updated

over 1 year ago

docker pull feriman25/pythonmacd