Skip to content

ClutchReboot/RustyStocks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rusty Stocks

Rusty Stocks is a command-line tool built in Rust that allows you to gather and view data on multiple stocks using the Stock Pulse API on RapidAPI. It stores your settings locally, so you don't have to repeatedly input your API keys or remember which stocks you frequently track.

Features

  • Multiple Stock Tracking: Query data for multiple stocks at once.
  • Local Configuration Storage: Save your API keys and frequently checked stocks locally, so you don't need to re-enter them each time.
  • Command-Line Interface: Simple and efficient interface for stock data retrieval.
  • Flexible Configuration: Customize which stocks to track and update settings easily.

Installation

  1. Clone the repository:

    git clone git@github.com:ClutchReboot/RustyStocks.git
    cd RustyStocks/rusty_stocks
  2. Build the project:

    cargo build --release
  3. Run the tool:

    ./target/release/rusty_stocks

Usage

This tool is used with Stock Pulse's endpoint on RapidAPI. Make sure to sign up and get a free API key.

After running the tool for the first time, you will be prompted to enter your API key for Stock Pulse's API on RapidAPI. You can also specify the stocks you'd like to track.

Basic usage:

rusty_stocks --help

# All options stored in config file.
rusty_stocks --host rapidapi.com --api-key xxxxx --stocks tsla,aapl

# Can run just the command without options to reuse last settings.
rusty_stocks

Acknowledgements

  • Thanks to RapidAPI for easy endpoints
  • Thanks to Stock Pulse specifically to their access to data.

About

Command-line tool built in Rust that allows you to gather and view data on multiple stocks.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages