https://github.com/bitkarrot/dca-calculator
Stack Sats. Dollar cost average (DCA) calculator for stacking bitcoin
https://github.com/bitkarrot/dca-calculator
bitcoin calculator pandas pandas-dataframe plotly-dash python savings-account
Last synced: 26 days ago
JSON representation
Stack Sats. Dollar cost average (DCA) calculator for stacking bitcoin
- Host: GitHub
- URL: https://github.com/bitkarrot/dca-calculator
- Owner: bitkarrot
- License: mit
- Created: 2023-04-09T05:12:25.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-04T21:52:11.000Z (about 2 years ago)
- Last Synced: 2024-04-18T12:24:39.003Z (about 2 years ago)
- Topics: bitcoin, calculator, pandas, pandas-dataframe, plotly-dash, python, savings-account
- Language: Python
- Homepage: https://stack.bitcoin.org.hk
- Size: 161 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/bitkarrot/dca-calculator/actions/workflows/main.yml)
# DCA calculator for Bitcoin
This is an educational tool built with dash plotly python for dollar cost averaging of bitcoin, custom tailored for https://bitcoin.org.hk, with usd and hkd options.
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
```sh
git clone https://github.com/bitkarrot/dca-calculator.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
```sh
fly launch --dockerfile Dockerfile
```
## Run with gunicorn
```sh
gunicorn app:server
```