Updated the application to use the AlphaVantage API.

This change may slow down the program, as the free API is rate-limited to 5 requests a minute.
This commit is contained in:
Adithya Chari
2020-05-11 19:10:31 -05:00
parent a498934181
commit 894c73d5b6
2 changed files with 29 additions and 25 deletions

View File

@@ -7,7 +7,7 @@ This application locates any stocks you have in your [ledger-cli](ledger-cli.org
Build the go file, and run as follows:
```bash
./[name of executable] -f=[ledger file] -p=[price database file (to create or update)]
./[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: