Giter Club home page Giter Club logo

marketinfo's Introduction

Stock Data Retrieval Web Application

This is a simple web application that allows users to retrieve various stock-related data using the Yahoo Finance API. The application is built using Python and the Flask framework, making it easy to run and deploy on a local server.

Features

  • Users can input a stock ticker and select the type of data they want to retrieve (e.g., info, actions, dividends, splits, etc.).
  • The application fetches the requested data from Yahoo Finance using the yfinance library.
  • The data is then displayed to the user on the web interface.
  • Users can also save the data as a CSV-like file for further analysis.

How to Use

  1. Clone this repository to your local machine.

  2. Install the required dependencies by running the following command(with Python 3.x installed):

pip install flask yfinance pandas
  1. Run the application using the following command:
python getmarketinfo.py

The application will be available at http://127.0.0.1:5000/ in your web browser.

  1. Enter a stock ticker and select the desired data view option from the dropdown list.

image

  1. Click the "Submit" button to retrieve the data and view it on the result page.

  2. Optionally, you can click the "Save as CSV" button to save the data as a downloadable file with a .csv extension.

  • have some format issues to fix as a date/time are not saving.

image

Folder Structure

  • getmarketinfo.py: The main Python script containing the Flask application and data retrieval functions.
  • templates: A directory containing the HTML templates used for the web interface.

Notes

  • Please make sure you have a stable internet connection to access the Yahoo Finance API and fetch the stock data.
  • The application uses the Yahoo Finance API, and data availability is subject to Yahoo's terms and conditions.

Feel free to reach out if you have any questions or need further assistance!


Created by [Charlie CS]

marketinfo's People

Contributors

charliecidral avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.