Sign inSign up

thehale/gnucash

By thehale

•Updated over 2 years ago

Update stock prices in your GnuCash budget using Docker! (via Finance::Quote)

Image
0

120

thehale/gnucash repository overview

⁠GnuCash Stock Price Updates in Docker

Update stock prices in your GnuCash budget using Docker!

This Docker image has GnuCash and Finance::Quote installed.

The following command will update the stock prices in your budget

docker run \
    --env ALPHAVANTAGE_API_KEY="YOUR_API_KEY" \
    --volume /path/to/budget/folder:${HOME}/gnucash \
    -it \
    thehale/gnucash:4.13 \
        gnucash-cli --quotes get ${HOME}/gnucash/YOUR_BUDGET.gnucash

NOTE #1: You can change the gnucash-cli line to perform any operation available in the GnuCash CLI. Updating stock prices just happens to be the most common use case for this Docker image.

NOTE #2: The shown script runs GnuCash 4.13. That said, many users have reported success using this Docker image to update their budgets used in GnuCash 5.x. Make backups and try it out yourself!

Tag summary

Content type

Image

Digest

sha256:6e4323315…

Size

931.2 MB

Last updated

over 2 years ago

docker pull thehale/gnucash:4.13