We wanted an app that combines stock articles from multiple sources to have easy access to all the data and a way to visualize it using graphs beyond the stock trends.

What it does

Gets stock articles from various news sources, rates them based on the number of positive and negative words, gets data from the top trending and slumping stocks, displays the buzzwords and corresponding articles for each stock.

How we built it

We used JavaScript to handle the backend and get the stocks and ratings from all the news sources and combined them into a JSON file that included company name, positive words, positive articles corresponding to the words, negative words, and negative articles corresponding to the negative words. We host this JSON file on Heroku, and the front-end gets the data from the JSON file and displays it visually and graphically. The website was built using HTML and CSS, and the word cloud uses d3.js to display all the buzzwords and list out the articles.

Challenges we ran into

Figuring out how to get the articles from each news source, as each website had a different structure, working with languages we weren't familiar with, trying to integrate the front end and the back end.

Accomplishments that we're proud of

Although hosting the JSON on Heroku didn't quite work out, we were able to get everything completed using static data.

What we learned

Data Parsing, UI, Web Crawling, HTTP requests

What's next for Broker

Adding more functionality and visualization so users can potentially also see the stock trends instead of just buzzwords and related articles.

Share this project: