An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

:warning: The Yahoo API used now requires authentication and this no longer works. :warning:

# Quoter

![build-status](https://github.com/wrobbins/quoter/workflows/Build/badge.svg)

A simple CLI app in Rust to obtain stock quotes.

This is an exercise to get exposure to [Rust](https://www.rust-lang.org/).

![Example](./docs/example.svg)

## 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)