Commit Graph

14 Commits

Author SHA1 Message Date
9a5884d4dd Finish recursive price transform 2022-05-25 14:31:55 +08:00
d8b0e4c5db Integrate to Yahoo Finance 2022-05-25 12:24:39 +08:00
63e92d86eb Add mapping commodities 2022-05-25 12:12:08 +08:00
James Conroy
8da331e3ea Don't sleep before the first API call
Since arrays are 0 indexed the program immediately sleeps for a minute.
This commit makes it so the program only sleeps after 5 api calls have
been made.
2021-07-31 22:08:32 -05:00
Terry Zhao
a6ce5d41a1 fix: unquote commodities & allow "." in ticker 2021-01-03 00:12:10 -05:00
Adithya Chari
894c73d5b6 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.
2020-05-11 19:10:31 -05:00
Adithya Chari
a498934181 Improved error handling: Skips stock instead of panicing when API fails 2020-04-09 13:27:53 -05:00
Jon Banafato
cf884263c8 Add api token flag
Currently the `demo` API token is hardcoded, which is not usable for
real API calls. Add a new CLI flag to allow users to supply their own
registered API token.
2020-04-06 00:21:17 -04:00
Jon Banafato
0f58a18825 Add ledger binary command line flag
Allow the ledger binary used to be specified by the user. Journal syntax
is not 100% compatible across implementations, so supporting others
(e.g. hledger) make the updater work for those users' journals.
2020-04-05 23:43:22 -04:00
Adithya Chari
567758c788 update 2019-11-29 15:55:53 -06:00
Adithya Chari
a83847f65a merge 2019-11-27 20:11:05 -06:00
Adithya Chari
38e96bfa37 updated error handling 2019-11-27 20:09:59 -06:00
Adithya Chari
a5dbd81cad Update main.go 2019-11-27 14:16:03 -06:00
Adithya Chari
35a64342fd initial 2019-11-27 14:13:38 -06:00