FinPanda
Intelligent Insights, Smart Investments
Created on 12th April 2026
•
FinPanda
Intelligent Insights, Smart Investments
The problem FinPanda solves
Most retail investors especially students and beginners — want to learn stock trading but face two major barriers:
Financial risk : Real trading requires real money. Mistakes are costly and discouraging.
No intelligent feedback loop : Generic trading apps don't explain why a stock might move or give AI-driven context to help users learn.
FinPanda solves both. It's a zero-risk paper trading simulator that lets users practice buying and selling stocks with $1,00,000 of virtual money, backed by real live market data. On top of that, it integrates a machine learning volatility model and Monte Carlo simulation engine to generate price predictions, sentiment analysis on live financial news, and AI-powered stock suggestions — giving users the tools institutional traders use, for free.
Challenges we ran into
Serverless Architecture Limits
Issue: Moving from an Express server to Vercel's serverless functions broke our internal API calls since routes were no longer running persistently on localhost.
Fix: Implemented dynamic host detection to route internal requests to the correct serverless domains in production.
React Router & OAuth 404s
Issue: Refreshing pages or returning from Google OAuth caused 404 errors because Vercel was looking for static files that didn't exist in our SPA.
Fix: Configured smart SPA fallback rewrite rules in vercel.json to route all non-API traffic smoothly back to index.html.
Python ML Server Deployment
Issue: Our ML models failed to build on Render because the default Python version (3.14) lacked pre-compiled wheels for our specific Scikit-Learn requirements.
Fix: Pinned the exact runtime to Python 3.11.9 in a render.yaml config to ensure fast, stable dependency installations.
API Contract Mismatches
Issue: The UI expected complex, enriched data payloads (like live stock prices inside the watchlist GET response) which the backend wasn't originally providing.
Fix: We heavily refactored the Node.js API to cross-reference our database with the Finnhub API, injecting real-time market data into nearly every route before serving the client.
Visualizing the Monte Carlo Data
Issue: The prediction chart was completely blank. The backend was returning 100 parallel final prices, but the frontend expected a single sequential daily price path.
Fix: We rewrote the simulation output to generate a distinct "timeSeries" daily walk that the React charts could accurately plot over a 30-day timeframe.
Technologies used
