As a developer, I love working with the terminal. The plain, simple, and in my opinion the best way to interact with the computer (also it makes you look geeky).
I spent most of my time in the terminal. By now you must have guessed I am a huge fan of the terminal and terminal-based applications.
Recently I developed an interest in stock markets and started tracking the stock markets. Since I love working with the terminal I decided to build a terminal oriented application that can help me to track the stock market.
terminal-stocks is available and can be used without installation.
1. Get the current price of the stock.
You need to provide the ticker of the stock and terminal-stocks will give you the price information of the stock. terminal-stocks uses yahoo finance’s ticker to fetch stock information.
2. Get the historical prices of a stock.
This will give the 10 entries. To fetch more you can get it by providing page parameters like below.
3. Get the global market summary right in your terminal.
More and more features will be added going forward.
If you want to use terminal-stocks as a cli tool, you are lucky, terminal-stocks comes with cli as well. You can install terminal-stocks in windows/ubuntu/mac and use it.
1. Install terminal-stocks from npm
npm install terminal-stocks -g
2. Get the price information of stock
terminal-stocks -t ITC.NS
3. Get the historical price information of stock
terminal-stocks -t ITC.NS --historical
4. Get the market summary
terminal-stocks is still in development and need a lot of improvements and feature development.
Add stock price chart right in the terminal.Add live price for stocks.Add support to maintain portfolio and track p&l right in terminal.
If you want to contribute and make terminal-stocks better, contributions are welcome via pull request on Github
Create your free account to unlock your custom reading experience.