Skip to content

๐Ÿ“Ÿ Stock application on your console. You can add, show info, candlestick chart of any stock. Read news related to stock symbol.

Notifications You must be signed in to change notification settings

lambiengcode/stockcon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“Ÿ Stock Console

Welcome to the Stock Management System, a Python application for managing stocks and retrieving stock data and news from the Alpha Vantage API.

Img

Table of Contents

Overview

The Stock Management System allows users to interact with the Alpha Vantage API to perform various tasks related to stock management. It provides functionalities such as setting the API key, adding and removing stocks, viewing stock information, plotting stock charts, and accessing stock news.

Prerequisites

Before using the application, ensure you have the following installed:

  • Python 3.x
  • colorama (can be installed via pip: pip install colorama)
  • inquirer (can be installed via pip: pip install inquirer)

Getting Started

  1. Clone the repository:

    git clone https://github.com/lambiengcode/stockcon.git
  2. Navigate to the project directory:

    cd stockcon
  3. Install dependencies:

    pip3 install .
  4. Set up your API key:

    stockcon
    [?] What would you like to do?: 
    >   Set API Key
        Add Stock
        Remove Stock
        Show Stock Information
        Plot Stock Chart
        View Stock News
        Exit
    
    Enter your API key: 

Usage

To run the application, execute the following command:

stockcon

[?] What would you like to do?: 
 > Set API Key
   Add Stock
   Remove Stock
   Show Stock Information
   Plot Stock Chart
   View Stock News
   Exit
  • Set API Key: Allows you to set your API key for accessing the Alpha Vantage API. You will be prompted to enter your API key, which will be saved securely for future use.
  • Add Stock: Enables you to add a stock symbol to your watchlist. You will be asked to input the symbol of the stock you wish to add.
  • Remove Stock: Lets you remove a stock symbol from your watchlist. You will be prompted to enter the symbol of the stock you want to remove.
  • Show Stock Information: Displays information about a specific stock, including its symbol, last refreshed timestamp, interval, output size, and time zone. You will be prompted to select a stock symbol from your watchlist.
  • Plot Stock Chart: Generates a candlestick chart for a selected stock symbol based on the intraday data retrieved from the Alpha Vantage API. You will be prompted to choose a stock symbol from your watchlist.
  • View Stock News: Fetches and displays the latest news related to a selected stock symbol from the Alpha Vantage API. You will be prompted to select a stock symbol from your watchlist.

About

๐Ÿ“Ÿ Stock application on your console. You can add, show info, candlestick chart of any stock. Read news related to stock symbol.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages