Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

eetti/rates

Open more actions menu
 
 

Rates

Usage example Rates is a scriptable CLI tool that brings currency exchange rates right into your terminal and supports 30+ fiat and 10K+ crypto currencies.

Installation

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

TODO

  • 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.

License

Apache 2.0 or MIT, at your choice.

About

Currency exchange rates in your terminal

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 83.1%
  • Shell 13.8%
  • Makefile 3.1%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.