plebnet-dev / dca.plebnet.dev

MIT License
0 stars 1 forks source link

Fly Deploy DCA Calculator

DCA calculator for Bitcoin

This is an educational tool built with dash plotly python for dollar cost averaging of bitcoin, custom tailored for PLEBNET.DEV in usd.

Users can select options for daily, weekly, monthly Dollar Cost averaging of bitcoin in multiple currencies. The result of the form will be a total amount of bitcoin stacked and a plot chart that shows total accumulation over a the specified time range.

Install


git clone https://github.com/plebnet-dev/dca.plebnet.dev.git
cd dca-calculator
python3 -m venv venv
pip install -r requirements.txt
python3 app.py

Deploy on fly.io

deploy using the Docker container with

  fly launch --dockerfile Dockerfile

Run with gunicorn

gunicorn app:server