run *name:
    python3 ./model.py
    @if [[ ! -z "{{ name }}" ]]; then \
        OUT_DIR="output/{{ name }}"; \
        rm -rf "${OUT_DIR}"; \
        mkdir -p "${OUT_DIR}"; \
        mv bitcoin_*.png bitcoin_*.txt "${OUT_DIR}"; \
    fi

fmt:
    black ./*.py

clean:
    rm -f bitcoin_*.png bitcoin_*.txt
