Inspiration
We wanted to make stock market learning engaging instead of intimidating. Most investing platforms feel overwhelming for beginners, while games often lack real-world value. STOCK REALM was inspired by the idea of combining real-time market data with gamification — creating a competitive, rewarding environment where users can learn investing risk-free using virtual currency.
What it does
STOCK REALM is a gamified stock market simulation platform where users trade real-world assets using virtual money. Players can:
- Invest in live stocks using real-time market data
- Track profits, losses, and portfolio growth
- Earn XP, badges, streaks, and daily rewards
- Compete on leaderboards with other users
- Unlock cosmetic items and rewards
- Use advanced trading features like intraday trading, GTT orders, limit orders, and stop-loss systems
- Build watchlists and monitor live charts/news
The platform creates a realistic trading experience without financial risk.
How we built it
We built STOCK REALM using a modern full-stack architecture focused on scalability and performance.
Frontend
- Next.js 15
- TypeScript
- Tailwind CSS
- shadcn/ui
- Framer Motion
- Zustand
Backend
- Supabase
- PostgreSQL
- Supabase Auth
- Realtime subscriptions
Features & APIs
- Live stock market APIs
- TradingView-style chart integrations
- Real-time portfolio tracking
- XP and reward engine
- Leaderboard ranking systems
We designed the UI with a dark-mode-first, premium gaming aesthetic inspired by fantasy sports dashboards and modern fintech apps.
Challenges we ran into
One of the biggest challenges was handling real-time portfolio updates while maintaining performance and accuracy. Since stock prices constantly fluctuate, syncing user holdings, rankings, and rewards required careful database structuring and realtime event handling.
We also faced challenges integrating advanced trading systems like:
- GTT (Good Till Triggered) orders
- Stop-loss logic
- Intraday trading behavior
- Real-time leaderboard rendering
Balancing gamification with realistic investing mechanics was another major challenge.
Accomplishments that we're proud of
- Successfully built a fully functional stock trading simulator with live market integration
- Implemented gamification systems including XP, streaks, badges, and rewards
- Added advanced trading tools typically found in professional trading platforms
- Created a polished retro-modern UI with responsive design
- Built scalable database architecture with realtime updates
- Designed a competitive leaderboard ecosystem with ranking systems
Most importantly, we created a platform that makes financial learning genuinely fun and engaging.
What we learned
Through building STOCK REALM, we learned:
- How to manage realtime financial data efficiently
- The importance of scalable database architecture
- How gamification can dramatically improve user engagement
- The complexity behind trading systems and portfolio management
- Best practices for building responsive full-stack applications with Next.js and Supabase
We also learned how important UI/UX is in keeping users motivated and immersed.
What's next for STOCK REALM
We plan to expand STOCK REALM into a complete social investing ecosystem.
Future plans include:
- Multiplayer investing leagues
- Friend systems and social trading
- AI-powered portfolio insights
- Seasonal tournaments and events
- Mobile app launch
- Cryptocurrency and ETF support
- Achievement-based progression trees
- Educational investing challenges for beginners
- Global market expansion
Our long-term vision is to make financial education accessible, competitive, and genuinely exciting for everyone.
Built With
- api
- css3
- html5
- javascript
- json
- react
- supabase
- vite
Log in or sign up for Devpost to join the conversation.