https://github.com/wrobbins/quoter
Simple CLI tool for obtaining stock quotes
https://github.com/wrobbins/quoter
cli rust stock-prices stock-quotes stocks
Last synced: 6 months ago
JSON representation
Simple CLI tool for obtaining stock quotes
- Host: GitHub
- URL: https://github.com/wrobbins/quoter
- Owner: wrobbins
- Created: 2020-01-15T02:40:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-07T17:04:54.000Z (about 1 year ago)
- Last Synced: 2025-01-02T18:03:54.566Z (9 months ago)
- Topics: cli, rust, stock-prices, stock-quotes, stocks
- Language: Rust
- Size: 47.9 KB
- Stars: 7
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
:warning: The Yahoo API used now requires authentication and this no longer works. :warning:
# Quoter

A simple CLI app in Rust to obtain stock quotes.
This is an exercise to get exposure to [Rust](https://www.rust-lang.org/).

## TODO
- [x] replace reqwest with [ureq](https://github.com/algesten/ureq)
- [x] accept 1-N sybols on the cli
- [ ] config file for saving default symbols
- [x] pretty output options:
- [colored](https://github.com/mackwic/colored)
- ~~[prettytable](https://github.com/phsym/prettytable-rs)~~ not needed
- [ ] optional configs for calculating cost basis### Future
- [ ] support for alternative APIs
- IE [this](https://financialmodelingprep.com/developer/docs/)
- [ ] fancy unicode icons for :arrow_up: :arrow_down:
- [ ] publish on `brew` `apt` `crates`### Research
Similar projects
- [stock snippet](https://github.com/alexanderepstein/Bash-Snippets/tree/master/stocks)
- [Ticker.sh](https://github.com/pstadler/ticker.sh)