0.0.1 • Published 5 years ago

yahoo-fin-hist-cli v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

yahoo-fin-hist-cli

Automate "getting historical prices". :sunglasses:

Usage

$ fin aapl 24-Aug-17 -c

> The closing price for AAPL on 24-Aug-17: 159.27

> It's already copied to your clipboard.

Possible queries:

  # Main use cases

  > fin <ticker> <date> -c   (gets the historical `close price` and copies it to the clipboard)

  > fin <ticker> <date>      (opens page with open close... for that single day)

  > fin <ticker>             (opens historical prices page of that security)

  ## Extra features

  > fin <ticker> <date> -f   (opens page with open close... for a 5 days range)

  > fin <ticker> <date> -t   (opens page with open close... for a 10 days range)

  > fin <ticker> <date> -m   (opens page with open close... for a 30 days range)

Installation

If you don't have NodeJS already download it. You'll get npm with it.

Install this package with this command:

$ npm install -g yahoo-fin-hist-cli

Then you can run the fin command from anywhere.

Raison D'etre

"Excel-monkey" tasks are hard. Automate as much you can.

License

MIT © Mohamed Hayibor