Update README.md

This commit is contained in:
Adithya Chari
2019-11-27 14:30:02 -06:00
committed by GitHub
parent 02473d80a7
commit 6f289b75a9

View File

@@ -1,3 +1,17 @@
# LedgerStockUpdate
This application locates any stocks you have in your [ledger-cli](ledger-cli.org) file, then generates a price database of those stocks compatible with the application.
### Usage
Build the go file, and run as follows:
```bash
./[name of executable] -f=[ledger file] -p=[price database file (to create or update)]
```
This should spit out a price database file, which can then be used to calculate the market value in ledger as follows:
```bash
ledger -f [ledger file] --price-db [price database file] -V bal
```