ShellMarkets is a command-line tool (CLI) for retrieving stock market information. It uses yfinance module to fetch data about specific stocks and provides various options to display detailed information about companies.
You can install ShellMarkets directly from PyPI using pip:
pip install shellmarketsAfter installation, you can use the shmkt command to interact with the tool. Below are the available options and usage examples.
To display the version of ShellMarkets:
shmkt --versionTo get basic information about one or more stocks:
shmkt TICKER1 TICKER2 ...To get extended information about a specific stock:
shmkt TICKER -eTo get detailed information about the company:
shmkt TICKER -iTo get recent news about the company:
shmkt TICKER --nTo display the stocks in a portfolio file:
shmkt -p /path/to/portfolio/fileTo create a new portfolio file with an optional list of stocks:
shmkt -c /path/to/new/portfolio/file TICKER1 TICKER2 ...To add a stock to an existing portfolio file:
shmkt -a TICKER /path/to/portfolio/fileTo remove a stock from an existing portfolio file:
shmkt -d TICKER /path/to/portfolio/fileshmkt --helpContributions are welcome. Please open an issue or submit a pull request on GitHub.
This project is licensed under the GNU General Public License (GPL). See the LICENSE file for details.


