Files
ledger-quotes-updater/README.md
2022-05-25 10:16:59 -05:00

721 B

LedgerStockUpdate

This repository has been archived, please refer to the SourceHut page

This application locates any stocks you have in your ledger-cli file, then generates a price database of those stocks compatible with the application.

Usage

Build the go file, and run as follows:

./[name of executable] -f=[ledger file] -p=[price database file (to create or update)] -a=[Alpha Vantage API token] -b=[Name of ledger binary]

This should spit out a price database file, which can then be used to calculate the market value in ledger as follows:

ledger -f [ledger file] --price-db [price database file] -V bal