-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#11] Add Support For Fetching CryptoCurrency Prices
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
- Loading branch information
Showing
5 changed files
with
271 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.