What it does Think Twice is an AI-powered dashboard that helps traders stop making emotional mistakes. It scans your trading history to find bad habits like "revenge trading" or panic selling. Using a secure local engine and a Gemini AI coach, it gives you a "Risk Score" and a personalized plan to help you trade with more discipline.
How we built it We built the frontend with HTML, CSS, and JavaScript, using Chart.js for the graphs and PapaParse to handle data files. The intelligence comes from a Python FastAPI backend connected to Gemini 2.5 Flash-Lite, which analyzes your trading patterns to provide instant coaching.
Challenges we ran into Data Cleanup: Making sure the app could read many different types of CSV and Excel files from various brokers.
API Limits: Handling the rate limits of the Gemini AI free tier so the dashboard stays functional.
Privacy: Building the tool so that your private financial data stays in your browser and is never stored on a server.
Accomplishments that we're proud of Real-time Analysis: Creating a system that turns a messy spreadsheet into a clean, visual risk report in seconds.
AI Integration: Successfully using an AI model to act as a behavioral coach for investors.
Clean Design: Building a professional, "bank-grade" interface that is easy for anyone to use.
What we learned Behavioral Finance: How specific trading data can actually reveal a person’s emotional state.
Local Processing: The benefits of processing data on the user's computer to ensure maximum privacy and speed.
What's next for Think Twice Live Warnings: Real-time alerts that pop up before you make a bad trade.
Wearable Sync: Connecting smartwatches to see if your heart rate is too high when you're trading.
More Stages: Adding specialized reports for different types of assets like Crypto or Options.
Built With Frontend: JavaScript, HTML, CSS
Backend: Python, FastAPI
AI: Google Gemini 2.5 Flash-Lite
Data: PapaParse, Chart.js, XLSX
Built With
- chart.js
- css-backend:-python
- fastapi-ai:-google-gemini-2.5-flash-lite-data:-papaparse
- google-gemini
- html
- javascript
- python
Log in or sign up for Devpost to join the conversation.