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.
Inspired by wttr.in I build terminal-stocks which can provide the stock’s current prices, historical prices, and global market summary.
terminal-stocks is available and can be used without installation.
1. Get the current price of the stock.
curl https://terminal-stocks.herokuapp.com/ITC.NS
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.
curl https://terminal-stocks.herokuapp.com/historical/ITC.NS
#terminal #nodejs #javascript #web-monetization