- Support breaking changes in
hledger-lib
v1.41.
- AlphaVantage changed the message field for API errors to
Error Message
so we now try to parse this field out of the response as well.
- Change
Prices
volume field fromInteger
toScientific
to support decimal amounts returned by cryptocurrency routes. - AlphaVantage changed the information message field from
Note
toInformation
so we now attempt to parse both and throw anApiError
if either exist. This usually occurs when you've run out of API calls for the day. - AlphaVantage changed the
DIGITAL_CURRENCY_DAILY
endpoint to return the same price fields as theTIME_SERIES_DAILY
endpoint, so we dropped theCryptoPrices
type and return thePrices
type from both the stock & crypto API calls. - AlphaVantage has swapped premium-only endpoints on us again - now
TIME_SERIES_DAILY
is free andTIME_SERIES_DAILY_ADJUSTED
is paid-only so we had to switch back.
- Switch from the (now premium-only)
TIME_SERIES_DAILY
AlphaVantage endpoint to the freeTIME_SERIES_DAILY_ADJUSTED
endpoint. - Bump package dependencies.
- Fix breaking changes in
hledger-lib
v1.26.
- Add support for fetching cryptocurrency prices with the
-c
flag andcryptocurrencies
config option. - Add support for config file at
$XDG_CONFIG_HOME/hstockquotes/config.yaml
withapi-key
,exclude
, &rate-limit
options.
- Don't write out a journal file if no prices were successfully fetched.
- Log API errors to
stderr
instead ofstdout
. - Improve error messages when the AlphaVantage API returns a rate-limit-exceeded error.
- Improve documentation in README &
--help
flag. - Add trailing newline to generated files.
- Initial release