FinGuard
See Risk, Act Smart, Grow Confident
The problem FinGuard solves
FinGuard acts as a personal risk manager that doesn't just show you the problem it mathematically calculates the fix.
1. "Stress Test" Your Wealth (Crash Simulator)
- Task: See if your portfolio can survive a market collapse.
- Benefit: Users can run "What-If" scenarios to see exactly how their current holdings would perform during events like the 2008 Financial Crisis or the 2020 COVID Crash.
- Result: It replaces anxiety with data, allowing users to adjust before a crisis hits.
2. Quantify Hidden Dangers (Risk Meter)
- Task: Understand your exposure at a glance.
- Benefit: The system aggregates complex metrics (Volatility, Liquidity, Concentration) into a simple 0-100 Risk Score.
- Result: Instantly identify if your portfolio is "Safe," "Moderate," or "Critical."
3. Automated Optimization (Action Plan)
Task: Rebalance a drift-prone portfolio back to safety.
Benefit: Instead of guessing what to sell, the engine generates a specific Action Plan (e.g., "Sell 20% of AAPL, Buy 15% of GLD").
Result: Provides actionable steps to optimize diversification and reduce risk, complete with the "Why" behind every recommendation.
Challenges we ran into
Challenges We ran into
1. The "Apples to Oranges" Data Problem
Users hold diverse assets—Stocks, Gold ETFs, Crypto, and Cash—which have completely different data structures. A crypto token doesn't have a "P/E Ratio" like a stock does. We solved this by building a Portfolio Normalization Layer that maps every asset to a "StandardAsset" interface and virtually assigns sectors to non-stock assets (e.g., Bitcoin → "Digital Assets").
2. Client-Side Privacy vs. Server Power
Financial data requires immense trust. We realized users might be hesitant to upload portfolio data to a hackathon project's database. We solved this by adopting a Client-Side Compute Architecture. We moved the heavy risk algorithms and crash simulation logic entirely to the browser. Your financial data never leaves your device, solving the privacy hurdle instantly.
3. Translating Math to "Human" Language
Institutional metrics like the Herfindahl-Hirschman Index are meaningless to a regular user. We had to design an algorithm to normalize these raw mathematical outputs into a "Composite Risk Score" (0-100) and actionable "Human" insights (e.g., "Your portfolio is too dependent on the IT Sector").
Accomplishments that we're proud of
- The Crash Simulator: We successfully built a simulator that applies historical market correlation data to the user's specific portfolio, showing them their potential loss in real Rupees.
- Zero-Lag Rebalancing: The rebalancing engine runs hundreds of permutations in milliseconds directly in the browser to find the optimal risk/reward allocation.
- Privacy-First Architecture: Building a financial tool where the most sensitive data doesn't touch our database.
What we learned
- Financial Engineering: We learned how to implement complex financial models (Sharpe Ratio, Standard Deviation) into code.
- Data Visualization: We learned how to make "boring" financial charts interactive and scary (simulating a crash) vs. calming (showing the solution) to guide user behavior.
- React Optimization: Handling real-time updates for portfolio calculations required deep optimization of React state management to prevent lag.
Technologies used
