StockSim is a web-based stock market simulator designed for beginners to practice investing using virtual money. The app helps users learn core investment principles like diversification, long-term thinking, and risk assessment — all without the fear of losing real money.
- 💰 Start with $10,000 in virtual cash
- 📈 Buy/Sell stocks using mock real-time data
- 📰 Explore stock news (mock data)
- 📊 Analyze your portfolio with graphs & tables
- ⭐ Track watchlist assets
- 🔄 Reset portfolio via referral-based gamified flow
- 🌗 Dark/Light theme switch
- 🧠 Tutorials for investment basics
- 🏆 Leaderboard for engagement
scripts/stock_data_fetcher.py– Simulates stock price data using Pythonscripts/server.js– Node.js backend to serve API routesscripts/historical_data_fetcher.py– Fetches historical data using Python
Make sure you have Python 3, Node.js, and npm installed on your system.
Open three separate terminals and run the following commands:
cd scripts
python ./stock_data_fetcher.pynode ./scripts/server.jsnpm install # (Run this once if dependencies are not installed)
npm run dev