Giter Site home page Giter Site logo

usag1r / sentiment-analysis-for-nvidia-stock Goto Github PK

View Code? Open in Web Editor NEW

This project forked from py-fi-nance/sentiment-analysis-for-nvidia-stock

0.0 0.0 0.0 171 KB

Walkthrough of conducting a sentiment analysis on Nvidia stock against 1800 articles scraped through Google API, built with Python code.

License: MIT License

Jupyter Notebook 100.00%

sentiment-analysis-for-nvidia-stock's Introduction

Sentiment-Analysis-for-Nvidia-Stock

Walkthrough of conducting a sentiment analysis on Nvidia stock against 1800 articles scraped through Google API, built with Python code.

Table of Contents

  1. Introduction
  2. Features
  3. Requirements
  4. Installation
  5. Usage
  6. Visualizations
  7. Contributing
  8. Contact Information

Introduction

In the rapidly evolving world of financial markets, understanding the sentiment of a stock is pivotal. Our project is a data-driven approach to dissect the sentiment of Nvidia's stocks by leveraging state-of-the-art web scraping, natural language processing, and data visualization. By going through into the nexus between public sentiment and stock performance, this endeavor provides valuable insights for investors, traders, analysts, and researchers.

Features

  • Robust Data Collection: Gathering pertinent news articles related to Nvidia from various sources.
  • Intelligent Web Scraping: Extracting full article text with user-agent simulation.
  • Real-Time Stock Integration: Loading Nvidia's stock data for comprehensive analysis.
  • Advanced Sentiment Analysis: Utilizing TextBlob for polarity and subjectivity scoring.
  • Insightful Visualization: Crafting intuitive visualizations to trace sentiment trends and stock price movements.
  • Modular and Scalable Design: Extensible codebase adaptable to various stocks and sectors.

Requirements

  • Python 3.x
  • GoogleNews
  • fake-useragent
  • newspaper3k
  • pandas
  • requests
  • openbb
  • textblob
  • matplotlib

Installation

!pip install GoogleNews fake-useragent newspaper3k pandas requests openbb textblob matplotlib

Usage

The complete guide in the blog walks you through each step of the process, including:

  • Environment Setup: Prepare your environment with the required libraries.
  • Data Collection & Processing: Gather and preprocess the news articles.
  • Sentiment Analysis: Evaluate the sentiment from news articles.
  • Stock Data Integration: Merge sentiment analysis with stock data.
  • Data Visualization: Visualize the results with customizable graphs.

Visualizations

  • Sentiment Polarity over Time: Trace how the polarity of news sentiment changes.
  • Nvidia Closing Price Over Time: Analyze Nvidia's closing price in relation to sentiment.

Contributing

We welcome contributions to this project. To contribute:

  1. Fork the project.
  2. Create your feature branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

License: MIT

Contact Information

For any questions or inquiries, please contact [email protected] - Subject: Github Repo Q, Sentiment-Analysis-for-Nvidia-Stock. For a full article walkthrough please visit > https://www.pyfi.com/blog/how-to-perform-sentiment-analysis-in-python < where you'll also be able to pick up a complimentary copy of the complete, Volume I text of our Machine Learning Edge Blueprint, a $49 value. This text will walk you through everything you need to get started coding Python for Finance

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.