Giter Site home page Giter Site logo

therealrabbit / yfinance-tickers-using-python Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 975 KB

This repository hosts a Python script (main.py) which validates stock ticker symbols and fetches their most recent closing prices. It utilizes the yfinance library to interface with Yahoo Finance data.

Python 100.00%
python yfinance stock-market tickers

yfinance-tickers-using-python's Introduction

The main.py file processes each ticker listed in the tickers.xlsx file, using the yfinance library to confirm its presence. If a given ticker is successfully located, the program labels its status as True and fetches its most recent closing price (just as an additional confirmation the ticker exists), both of which are then appended to the output. However, if the ticker cannot be located or an error occurs during the process, its status is labeled as False and no closing price is appended for that ticker. All of these results are then stored in a new CSV file called 'tickers_with_yahoo.csv'.

Original ticker list compiled by FML-Research https://github.com/FML-Research/us_stock_tickers

yfinance-tickers-using-python's People

Contributors

therealrabbit avatar

Stargazers

 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.