investor

0.1.0 • Public • Published

investor

NPM version

A investor's CLI tool written in NodeJS

All stock data come from Yahoo Finance powered by node-yahoo-finance.

Install

$ npm install -g investor

Usage

investor currently provides two commands:

Quote

Usage: investor quote|q [options] <symbols...>

Fetches current or historical quotes for the symbol(s).

Options:
  -H, --historical    Fetches historical quotes. (default: false)
  --from [date]       The start date when fetching historical data.
  --to [date]         The end date when fetching historical data.
  --period [d|w|m|v]  The frequency of returned data. (default: "d")
  -i, --interactive   Enable interactive mode for fetching historical quotes. (default: false)
  -h, --help          display help for command

Watchlist

Usage: investor watchlist|w [options] [lists...]

Fetches and display current quotes for the symbols in the watchlist(s).

Options:
  -c, --create               Create new watchlist(s)
  -d, --delete               Delete the watchlist(s)
  -a, --add <symbols...>     Add ticker symbol(s) to the watchlist.
  -r, --remove <symbols...>  Remove ticker symbol(s) from the watchlist.
  --rename <name>            Rename the watchlist name.
  -h, --help                 display help for command

License

MIT © Chun-Kai Wang

Package Sidebar

Install

npm i investor

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

19.7 kB

Total Files

7

Last publish

Collaborators

  • chunkai1312