Skip to content

Cosnavel/stock-tracker-cli

Repository files navigation

Stock Tracker Command Line Interface

The Stock Tracker CLI aims toward a fully functional interface that lets you check stock value and other useful pieces of information about the stocks. The stock data is sourced by the iexcloud API. You can sign up for free to get your keys.

To use the Stock Tracker you have to provide valid API Keys for a Stock Data Provider in your .env. Use the .env.example for reference. The provider could be easily replaced by another one. To do so check out the HttpClientService.

To build an executable, standalone Stock Tracker run: php stock-tracker app:build stock-tracker

Supported Commands:

  • cap {symbol} Display market cap of the stock with the given symbol
  • company {symbol} Display information about the company of the stock with the given symbol
  • historic {symbol} Display historical price data of the stock with the given symbol
  • intraday {symbol} Display the intraday data of the stock with the given symbol
  • price {symbol} Display the current value of the stock with the given symbol
  • status Display status of Stock API

Example: Will output the current market cap of Apple stock-tracker cap AAPL

The Stock Tracker CLI is built with Laravel Zero made by nunomaduro.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published