-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Support for Cryptocurrency API Route #11
Comments
Alphavantage provides two lists CSV files of of the currencies they handle, which I've used thusly in a bash script for myself:
So, you could similarly checking commodity names and aliases against those two lists. |
Add a getDailyCryptoPrices function to the AlphaVantage module for fetching prices for a cryptocurrency. Have the fetchPrices function take a list of cryptocurrencies in addition to the CommoditySymbols from a ledger file. It will split the commodities into equities & cryptos and hit the appropriate AlphaVantage route to get the prices. Add a `cryptocurrencies` configuration option and `-c`/`--crypto` flags to the exe, allowing users to specify the cryptocurrencies to fetch prices for. Eventually, we should ditch manual specification & use AlphaVantage's supported Digital Currency list: https://www.alphavantage.co/digital_currency_list/ Refs #11
Latest Eventually it'd be cool to use that digital_currency_list CSV that alphavantage provides. Maybe something like:
I'll leave this open until I implement that... |
Need some way to specify the cryptomarket & which currencies should hit this route instead of the stock route.
https://www.alphavantage.co/documentation/#currency-daily
The text was updated successfully, but these errors were encountered: