Simple ETF cli that displays ETF data & allows management of tracked etfs. The ETF data is scraped from Yahoo Finance.
Available commands:
report
- generates a report for the ETFs in the configurationadd <etf-symbol>
- adds the specified ETF symbol to the configuration. The symbol must exist in Yahoo finance, such as VWCE.DEremove <index>
- removes the ETF with the specified index from the configurationlist
- lists the ETF symbols currently in the configurationhelp
- help command
Steps:
- Download the source code.
- Navigate to the root project folder.
- Run
go build .
- Run
go install .
- You can then run any command using
etf-cli [command]
- Add tests
- Add html output option for the reports with graphs
- Investigate how to publish cli by using for example homebrew, goreleaser