Skip to content

v1.5.0: Allow exporting to CSV

Compare
Choose a tag to compare
@jorijn jorijn released this 10 Jul 07:03
· 47 commits to master since this release
a9b722f

Added

  • When you buy Bitcoin and supply EXPORT_CSV=/location/to/file.csv, Bitcoin-DCA will export the order information to that file in CSV format.

Please note that when you do, you need to tell Docker to mount a local file as a volume inside Bitcoin-DCA's container:

$ touch /location/to/bitcoin-dca/orders.csv # create the file if it does not exists yet
$ docker run <--usual-argments> -v /location/to/bitcoin-dca/orders.csv:/location/to/bitcoin-dca/orders.csv -e EXPORT_CSV=/location/to/bitcoin-dca/orders.csv buy 25 ... # example 

More information: https://bitcoin-dca.readthedocs.io/en/latest/persistent-storage.html

How to update

$ docker image rm ghcr.io/jorijn/bitcoin-dca
$ docker pull ghcr.io/jorijn/bitcoin-dca:latest