1.0.2 • Published 5 years ago
stock-table v1.0.2
Features
- Use any stock ticker
- Display monthly, weekly, or daily stock data
- Supports multiple APIs
- Save full JSON response to home directory
Install
npm install stock-tableUsage
Usage: stock [options] [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
key Configure API key from https://www.alphavantage.co
table|t <ticker> [timeframe] [save] Get the stock price
help [command] display help for commandGet Started
You must provide your free API key from the alpha vantage API and set it using
stock key set Additional key options:
$ stock key -h
Usage: stock-key [options] [command]
Options:
-h, --help display help for command
Commands:
set Set API key - get one at https://www.alphavantage.co
show Show API key
remove Remove API key
help [command] display help for commandExample
stock table AAPL monthlyYou may substitute the timeframe with either monthly, weekly or daily
To save full JSON response to your home directory append save to the command
stock table AAPL daily saveSupported APIs
Currently, stock-table supports the following APIs: