Calculate MACD with python inside a docker container.
308
This Docker image calculates the MACD indicator from a given price file.
FROM alpine:latest
WORKDIR /app
COPY macd_calculator.py .
RUN apk add --no-cache python3 py3-pandas
ENTRYPOINT ["python3", "/app/macd_calculator.py"]
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.
Content type
Image
Digest
sha256:c7470ab61…
Size
57.3 MB
Last updated
over 1 year ago
docker pull feriman25/pythonmacd