Rates is a scriptable CLI tool that brings currency exchange rates right into your terminal and supports 30+ fiat and 10K+ crypto currencies.
If you have Rust installed, you can get the binary by running:
cargo install rates
pkgin install rates
Alternatively, you can download a binary for your system from the releases page
- Switch to Yahoo and Binance
- Add tests
- Add
--period
flag that takes a period e.g. day, week, month, quarter, year, max, etc. Defaults to 1 day. - Add
--difference
flag that return difference for a given period of time. Works only if--period
is greater than 2 days. - Add
--max
and--min
flags that return maximum and minimum value for a given period - Add
--close
,--adjusted-close
, and--open
flags that return close, adjusted close, or open value for a given period - Add
--csv <location>
flag that returns data in a csv file - Add
--json <location>
flag that returns data in a json file - Add
--force-update
flag to fetch new data - Add ability to set caching interval via environmetal variables
- Add aliaces for symbols, e.g. bitcoin = btc, gold = xau
- (maybe) Add volume subcommand that:
- By default, accepts one value and returns its volume if available.
Apache 2.0 or MIT, at your choice.