ProfitAly Advisor Hub
Inspiration
The world of finance can be daunting, particularly for outsiders. We developed ProfitAly following the experience of friends and loved ones struggling with investment choices—sometimes taking tips from social media or jumping on trends without research.
Our goal was to democratize financial guidance through AI and gamify learning to make finance approachable. ProfitAly bridges the gap between complex financial data and actionable knowledge for everyone.
What It Does
ProfitAly is a financial advisor platform offering AI-driven insights and interactive learning experiences:
- Smart Advisor: AI chatbot analyzes user profiles and gives customized stock suggestions with clear reasoning.
- Fantasy Trading Competitions: Risk-free simulations where users can compete, experiment, and learn from each other.
- Structured Financial Insights: Standardized suggestion format with summary highlights, real-time data, and AI explanations.
- Multi-context Understanding: Identifies question types (general, stock-specific, portfolio) and tailors responses accordingly.
- Educational Resources: Provides tutorials and explanations for financial terms, making it beginner-friendly.
How We Built It
Frontend
- React (v18.3.1) with TypeScript
- Vite for fast builds and hot module reload
- TailwindCSS and Shadcn UI (based on Radix UI)
- Framer Motion for animations
AI Integration
- Integrated Perplexity API to power the financial chatbot
- Tailored prompt engineering for consistent and relevant financial responses
Financial Information
- Twelve Data and Finnhub APIs for real-time and historical stock data
Backend and Storage
- Firebase for authentication, Firestore (NoSQL DB), cloud functions, and storage
Visualization
- Chart.js and Recharts for visualizing stock performance and trends
Context-Aware Responses
- Custom query system to retain conversation history and adjust outputs based on past user interactions
Challenges We Encountered
- AI Response Quality: Required careful prompt design and fallbacks for inconsistent API outputs
- Real-time Data Integration: Managed API rate limits and outages with caching and backup data feeds
- Context Management: Balanced memory usage and relevance in conversation history
- User Experience Design: Made complex financial data accessible through iterative UX testing
- Cross-platform Compatibility: Optimized rendering pipeline for consistent performance on all devices
Accomplishments That We're Proud Of
- Intent analysis system categorizes financial queries into six types for accurate responses
- Caching system reduces API calls by up to 80% and improves performance
- Fantasy trading competitions promote safe experimentation and learning
- Structured response format improves understanding of complex financial data
- Fallback system ensures reliable performance even during API outages
What We Learned
- AI Prompt Engineering: Consistent outputs depend heavily on prompt design
- Financial Data Complexity: Learned how different metrics matter to different investor profiles
- UX in Finance: Striking a balance between simplicity and depth is key
- Serverless Architecture: Gained insights into Firebase's strengths and limits for real-time apps
- TypeScript at Scale: Reinforced the importance of strong typing and interface design
What's Next for ProfitAly
- Portfolio Optimization: AI-driven rebalancing based on market conditions
- Community Features: Share strategies and learn from top fantasy traders
- Advanced Visualization: Predictive and interactive financial charts
- Mobile Application: Native apps for iOS and Android
- Integration with Brokerages: Enable direct trading from within the app (with proper security)
- Enriched Educational Content: Organized tutorials on all areas of investing
We believe ProfitAly can revolutionize investing by making financial intelligence available, understandable, and actionable for everyone.
Built With
- finnhub-(stock-data)-news-api-(financial-news)-routing-react-router-(v6.26.2)-dev-tools-eslint
- firebase
- firestore
- functions
- perplexity
- react
- react-chartjs-2
- recharts-backend-&-database-firebase-(auth
- storage)-apis-perplexity-api-(ai-chatbot)-twelve-data
- tailwindcss
- typescript
- typescript-eslint-autoprefixer
- vite


Log in or sign up for Devpost to join the conversation.