1.0.6 • Published 6 years ago
@desouza-engineering/stocks v1.0.6
StocksCLI
A simple CLI tool to quickly look up stock details quotes and ratings.
Installation
You need to have Node and NPM installed to be able to use this CLI.
To intstall run
npm i -g @desouza-engineering/stocksUse
Once installed simply call it from the command line to begin using.
To retreive a quote run
stocks aaplExample results
AAPL $288.95 $-3.97 -1.36%
Year high/low: 327.85 170.27
Day high/low: 290.79 281.23To get more information about the company use the info option
stocks --info aaplOr
stocks -i aaplExmple results
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@00@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@GGffff@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@GGffffLL@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@88ffffff00@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@CCffffCC@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@LLffGG@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@88GGCCGG00@@@@8800CCCCCCGG88@@@@@@@@@@
@@@@@@@@@@CCffffffffffffCCffffffffffffff00@@@@@@@@
@@@@@@@@CCffffffffffffffffffffffffffffffff@@@@@@@@
@@@@@@00ffffffffffffffffffffffffffffffff88@@@@@@@@
@@@@@@CCffffffffffffffffffffffffffffff00@@@@@@@@@@
@@@@@@ffffffffffffffffffffffffffffffff@@@@@@@@@@@@
@@@@@@ffffffffffffffffffffffffffffffLL@@@@@@@@@@@@
@@@@88ffffffffffffffffffffffffffffffLL@@@@@@@@@@@@
@@@@@@ffffffffffffffffffffffffffffffff@@@@@@@@@@@@
@@@@@@ffffffffffffffffffffffffffffffff00@@@@@@@@@@
@@@@@@CCffffffffffffffffffffffffffffffff88@@@@@@@@
@@@@@@GGffffffffffffffffffffffffffffffffff00@@@@@@
@@@@@@88ffffffffffffffffffffffffffffffffffGG@@@@@@
@@@@@@@@CCffffffffffffffffffffffffffffffff88@@@@@@
@@@@@@@@88ffffffffffffffffffffffffffffffCC@@@@@@@@
@@@@@@@@@@00ffffffffffffffffffffffffffLL88@@@@@@@@
@@@@@@@@@@@@CCffffffffffffffffffffffff88@@@@@@@@@@
@@@@@@@@@@@@@@GGffLLCC00@@8800CCffLL88@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
AAPL Apple Inc.
Timothy D. Cook
Nasdaq Global Select Computer Hardware Technology
Apple Inc is designs, manufactures and markets mobile communication and media devices and personal computers, and sells a variety of related software, services, accessories, networking
solutions and third-party digital content and applications. Computer Hardware
-------------------------------------
AAPL $288.95 $-3.97 -1.36%
Year high/low: 327.85 170.27
Day high/low: 290.79 281.23To get more information about the company use the info option
stocks --rating aaplOr
stocks -r aaplExmple results
AAPL Strong Buy
Score: 5 Rating: S
-------------------------------------
AAPL $288.95 $-3.97 -1.36%
Year high/low: 327.85 170.27
Day high/low: 290.79 281.23To view a graph of recent prices use the graph option.
stocks --graph aaplOr
stocks -g aaplExmple results
303.02 ┤ ╭─╮
300.70 ┤ │ │╭╮
298.38 ┤ ╭──╮ │ ╰╯╰─────────╮ ╭──╮ ╭╮
296.06 ┤ ╭╮╭╮ ╭──╯ ╰─╯ ╰──╮╭──╮╭──╮╭─╮ ╭╮ │ ╰╮╭╯│
293.74 ┤ ╭─╮ ╭──╯╰╯╰──╯ ╰╯ ╰╯ ╰╯ │ ╭───╯╰╮╭╯ ╰╯ │
291.42 ┤ ╭╯ ╰─╯ │╭──╮ ╭─╯ ╰╯ ╰─╮ ╭╮ ╭╮ ╭──╮
289.11 ┤ ╭╮ │ ╰╯ ╰╮ ╭╯ ╰╮ ╭╯╰─╮╭╯╰─╯ ╰─╮
286.79 ┼╮ ╭╮ ╭╮ ╭╯╰─╮ │ ╰───╯ ╰─╯ ╰╯ │
284.47 ┤╰╮ ╭───╯╰─╯╰─────╯ ╰─╯ ╰─╮
282.15 ┤ ╰───╯ │╭╮
279.83 ┤ ╰╯╰─
Historical price of AAPL (5 market days in 15 min increments)
--------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------
AAPL $288.95 $-3.97 -1.36%
Year high/low: 327.85 170.27
Day high/low: 290.79 281.23