Inspiration
Traditional stock analysis tools often overlook the power of social sentiment, while retail investors increasingly rely on platforms like Reddit and Twitter for market insights. We built StonkSensei to bridge this gap, combining quantitative metrics with qualitative social sentiment to democratize data-driven investing. Inspired by the GameStop saga, we wanted to create a tool that decodes "meme stock" hype while maintaining rigorous financial analysis.
What it does
StonkSensei is a next-gen stock analysis platform that:
- Analyzes sentiment across Reddit and financial news using FinBERT and FinTwitBERT ML models
- Calculates real-time "Hype Score" based on social media engagement
- Generates risk profiles using real market data + proprietary volatility algorithms
- Delivers plain-English investment theses via DeepSeek-7B LLM
- Flags blacklisted/meme stocks while suggesting whitelisted opportunities
How we built it
- Frontend: React/Next.js (TypeScript) + Tailwind CSS
- Backend: FastAPI (Python)
- ML Pipeline:
- Pandas for data cleaning
- FinBERT and FinTwitBERT for sentiment analysis
- Custom hype/risk scoring algorithms
- DeepSeek-7B for natural language insights
- Data Infrastructure:
- Web scraping: Selenium + Beautiful Soup
- Database: MongoDB
- Auth: Okta Auth0
- Deployment:
- AI/ML: Modal for GPU-accelerated inference
Challenges we ran into
- Model Integration Hell: Getting FinBERT/FinTwitBERT to play nicely with real-time sentiment streams
- Reddit Rate Limits: Overcoming API restrictions with Selenium and BeautifulSoup scraping
- Meme Stock Detection: Separating genuine hype from bot-driven noise
- Risk Calculation: Blending traditional beta scores with social volatility metrics
- Prompt Engineering: Creating prompts that do proper analysis while providing data for user needs
- Connecting Components: Making sure frontend, backend, and ML components work seamlessly with each other.
Accomplishments that we're proud of
- Designed a visually appealing and accessible user interface
- Gathered large amounts of social media data using web scraping
- Utilized sentiment analysis and market data to assess risk of investments
- Used DeepSeek to provide stock advising information to users.
What we learned
- Financial NLP requires domain-specific fine-tuning (generic models fail)
- Social sentiment has asymmetric impact – panic sells faster than hype buys
- User experience is king: Traders want insights, not raw data
- Web scraping ethics – when does "public data" become intrusive?
- The power of JIT model loading on Modal's GPU cluster
- Technical skills like FastAPI, web scraping, and NLP
What's next for StonkSensei
In the future, we plan to utilize more financial data and improve our financial models using RAGs, LangChain, and other AI/ML systems in order to continue dominating the stock market.
Built With
- auth0
- beautiful-soup
- bert
- deepseek
- fastapi
- modal
- mongodb
- next.js
- pandas
- react
- selenium
- tailwindcss
- typescript
Log in or sign up for Devpost to join the conversation.