sprice
v1.0.0
Published
Query stock price
Downloads
1
Readme
Sprice
A command line tool for querying stock price.
Sprice stands for stock price or (search price).
installation
npm install -g sprice
Maybe you need 'sudo' to install globally.
First time use npm? See How to install npm.
How to use
Usage: sprice [options] [command]
Current Price
Get the current price of some companysprice price|p <symbol>
News
Get the latest news about the company. You can move up and down to see all listed news. Selected one will be opened in the default browser.
You can also specify the number of news you want to see by -t. The default number is 10.sprice news|n <symbol> -n [number]
Company
Get the company information
sprice company|co <symbol>
Open Close High Low price
Get today's open/close/high/low price for the company.sprice oc <symbol>
Chart
Get the chart information of the company. The difference is colored as green or red.sprice charts|ch <symbol>
Earnings
Get the earnings for 4 most recent reported quarters.sprice earnings|e <symbol>
Credit
Data provided for free by IEX. View IEX’s Terms of Use.
License
(The MIT License)
Copyright (c) 2018 Frank Wang<[email protected]>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.