8000 GitHub - eetti/rates: Currency exchange rates in your terminal · GitHub
[go: up one dir, main page]

Skip to content
eettiPublic
forked from lunush/rates

About

Currency exchange rates in your terminal

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

 
 

Repository files navigation

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

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0