Coder Social home page Coder Social logo

finviz-feed's Introduction

finviz-feed

Project Details

Description

This project utilises Beautiful Soup to web scrap the finviz website for news related to various stocks. I choose finviz because the website has already done a great job in aggregating news and also because it is a financial website that I use to keep myself updated about my portfolio. The script would scrap the news for various tickers as specified in an array. Once the data has been scrapped, it would be stored in a csv file for ease of reference. The script has been built with the intention to be triggered daily since it would only scrap the latest news.

Libraries

  1. Beautiful Soup
  2. Requests

Motivation

At times, I find it challenging to keep myself updated with the latest news for stocks that I am currently holding. So I decided to build a script that fetches the news, something like a RSS feed, and send them to me instead of having to search through the website ticker by ticker. With this automation, I no longer have to visit finviz on a daily basis to get news update.

How to use

  1. Download the necessary libraries
  2. Update the tickers variable with the stocks that you are interested in

If the script is successful, you should see a csv file, finviz_feed.csv, being created in the same directory containing the tickers that you have specified and the latest news scrapped.

Future Possible Enhancements

  1. Automatically open the csv file with an spreadsheet application, Excel or Numbers upon completion.
  2. Inclusion of high-level metrics for each ticker such as - % Price Change, Prev Close, Prev Open, 52-week High vs Low etc.

Limitations

  1. Only scrap the latest news (Intentionally designed this way but may be viewed as a limitation to some).

Credits

  1. finviz
    • finviz is a great website to get daily updates about the stock market. The service is packed with features that are relevant to both long-term investors and traders alike. I highly recommend checking out the website and leverage what is relevant for you. If you find it useful, consider subscribing for their service!

finviz-feed's People

Contributors

xunhao 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.