Inspiration
The inspiration for this project stems from that increasing complexity and data that investors need to analyze and read through to make an informed decision. From financial news to social media commentary, the task of filtering through and understanding stock-related information has become overwhelming. Our project is about giving investors a powerful, easy-to-use platform that can process and analyze large volumes of data from multiple streams, offering a distilled view of the sentiment towards a stock.
What it does
The project is a financial analytics application designed to simplify investment research. Users can enter a stock name or symbol into a search bar, prompting the app to scrape the web for relevant news articles, social media posts on platforms like StockTwits, and user-generated content that pertains to the stock in question. It analyzes earnings reports, providing a comprehensive sentiment analysis that predicts whether a company's earnings are heading positive or negative. The website also provides a neatly organized list of all sources, articles, and posts we've analyzed.
How we built it
The provided Python script allows users to input the name of a company and fetch news articles related to that company from selected sources. It uses the News API and TextBlob for sentiment analysis. The script calculates the average sentiment polarity of the articles and determines if the overall sentiment is positive, negative, or neutral for the selected company. The code provides detailed sentiment analysis results, including article titles, publication dates, and sentiment labels, along with an overall sentiment assessment. It also includes error handling to manage invalid inputs and data fetching issues. This script serves as a basic tool for retrieving news and performing sentiment analysis on companies.
It is a user-friendly web interface that empowers users to explore and understand public sentiment towards companies. Built with React, it provides a seamless experience for searching company names, viewing sentiment analysis results, and accessing relevant news articles. Users can effortlessly navigate the application, making data-driven decisions and staying informed about company sentiment in a visually appealing and interactive manner.
Challenges we ran into
During the development of this project, we encountered several challenges. One significant challenge was efficiently displaying data from the CSV file on the user interface. We also faced the difficulty of finding reliable and up-to-date news APIs that could provide accurate information for sentiment analysis. Integrating the frontend and backend components of the project presented another hurdle, as seamless communication between the two parts was essential for a smooth user experience. Lastly, ensuring the accuracy of sentiment values based on trustworthy and diverse sources proved to be a complex task. These challenges required careful problem-solving and creative solutions to deliver a functional and reliable news sentiment analysis tool.
Accomplishments that we're proud of
Throughout the development of our web application, we achieved several accomplishments that we are proud of. We successfully established the integration between our React-based frontend and the backend services, ensuring smooth data exchange and real-time interactivity which is crucial for user experience. We proficiently implemented API calls that allowed us to create a dynamic and responsive application. In addition, we are really proud of the web application we designed. It is a very user-friendly design and we've also paid special attention to aesthetics, ensuring the interface is not only functional but visually appealing too.
What we learned
Throughout this project, we've gained invaluable insights into the world of full-stack development. We learned to balance functionality and design, ensuring seamless user experiences. The complexities of real-time data handling and the intricacies of responsive design were also key areas where we enhanced our skills. Moreover, we've become better at troubleshooting and problem-solving, which are essential skills in the technology industry.
What's next for Trendalytics
For the future, Trendalytics aims to further develop by implementing real-time updates, harnessing daily stock fluctuations to maintain accuracy. Additionally, the integration of OpenAI's advanced analytics with CSV data will provide a transparent and detailed explanation of our projection methodologies, allowing users to understand the 'why' behind the figures they see.
Built With
- api
- beautiful-soup
- flask
- ml
- newsapi
- python
- r
- react
- textblob
- webscraping
Log in or sign up for Devpost to join the conversation.