A dynamic web application that tracks the top 50 stocks discussed on the Reddit WallStreetBets forum. The site automatically updates every hour, displaying the latest stocks ranked by sentiment and popularity. A countdown timer shows the next scheduled update to keep users informed in real-time.
View a live demo here: https://trentpierce.github.io/WallstreetBets-Stock-Tracker/
- Top 50 Stocks: Displays the most discussed stocks on WallStreetBets based on sentiment and number of comments.
- Hourly Updates: Automatically fetches new data from the API every hour.
- Countdown Timer: A live countdown timer shows the time remaining until the next data refresh.
- Real-Time Sentiment Analysis: Shows sentiment trends ("positive", "negative", "neutral") to help users gauge market sentiment.
-
Clone the repository:
git clone https://github.com/TrentPierce/wallstreetbets-stock-tracker.git
-
Navigate to the project directory:
cd wallstreetbets-stock-tracker
-
Install dependencies (if needed for local server setup):
npm install
-
Start the CORS proxy server:
node server.js
-
Open
index.html
in your web browser to view the website.
- Node.js and npm installed for running the local CORS proxy server.
- A modern web browser to run the website.
index.html
: The main HTML file for the website.app.js
: JavaScript file containing logic for fetching data, updating the countdown timer, and displaying stock information.server.js
: Node.js server to handle CORS issues when fetching data from the API.
This project uses the Tradestie API to fetch the latest stock information from the WallStreetBets subreddit.
Feel free to open issues or submit pull requests for any features, bugs, or improvements. Contributions are welcome!
This project is licensed under the MIT License. See the LICENSE file for details.
- Data provided by the Tradestie API.
- Inspired by the Reddit community of WallStreetBets.