Empowering Australian Teens (12-18) with AI-Powered Investment Education
A gamified investment education platform by Tick.AI that takes young learners on a journey through financial history, teaching real investment strategies through interactive missions and AI-powered coaching.
MiniFi is an innovative educational platform designed specifically for Australian teenagers aged 12-18. Players navigate through major financial events in history, make investment decisions, and learn from AI coaches while competing in real-time investment competitions.
Built for NextGen AI Hackathon 2025 by Tick.AI.
- ๐ Historical Financial Missions: Journey through 35+ years of financial history (1990-2025)
- ๐ค AI-Powered Coaching: Personalized investment advice teaching family office strategies
- ๐ Real-Time Trading Simulation: Practice with virtual capital
- ๐ Competitive Leaderboards: Compete with players globally
- ๐ Advanced Analytics: Performance charts and risk analysis
- ๐ฎ Gamified Learning: XP system, achievements, and progressive unlocking
- ๐ Real Rewards System: Exchange XP for Australian brand gift cards
- ๐ฑ Mobile-First Design: Optimized for all devices
- ๐ฏ Crisis-Based Learning: Mission flow aligned with "learning through crisis" philosophy
- ๐ High Conviction Investing: Celebrate bold decisions and quick failures as growth
- ๐ง Emotional Intelligence: Loss results show "Wisdom Earned" with learning-focused messaging
- ๐ฑ Mobile-First UX: Bottom sheet modals, 44px touch targets, bottom navigation
- ๐ฎ Enhanced Gamification:
- Knowledge Quiz after missions
- What-If Analysis for exploring alternate outcomes
- Points System with Flybuys-style rewards
- League System for competitive progression
- Investor Journey with milestone tracking
- ๐ฒ Infinite Gameplay: Random scenario generation after completing historical missions
- ๐ Asset Class System: 6 distinct asset classes with FO-aligned categorization
- ๐ FO Certification Path: Capital Guardian โ Balanced Investor โ FO Fellow
- Node.js 18+
- Python 3.8+
- npm or yarn
- Git
git clone git@gitlab.com:tick.ai/minifi.git
cd minifiCreate a .env.local file in the root directory:
# Backend API URL
NEXT_PUBLIC_API_URL=http://localhost:8000
# OpenAI API Key (for AI Coach functionality)
OPENAI_API_KEY=your_openai_api_key_hereFrontend:
npm installBackend:
cd backend
pip install -r requirements.txt
cd ..Start Backend:
cd backend
./start_backend.shStart Frontend (in a new terminal):
npm run dev- Frontend: http://localhost:3000
- Backend API: http://localhost:8000
- API Documentation: http://localhost:8000/docs
- Start with the Japanese Bubble Economy (1990)
- Complete missions chronologically to unlock new events
- Make investment decisions based on historical context
- Learn from AI coaches about market dynamics
- Unlock after completing all historical missions
- Allocate your starting capital across various assets
- Choose from 4 specialized AI coaches
- Trade in real-time with market simulation
- View detailed performance charts
- Analyze risk metrics (Sharpe ratio, volatility, max drawdown)
- Compare your results with global leaderboards
- Earn XP and achievements
- Framework: Next.js 15 with TypeScript
- UI Components: shadcn/ui with Tailwind CSS
- Charts: Recharts for data visualization
- State Management: React hooks and context
- Framework: FastAPI with Python
- Database: SQLite with thread-safe connections
- AI Integration: OpenAI API (GPT-4o-mini) for coaching
- Caching: 1-hour TTL for price data (10x performance boost)
components/
โโโ data/
โ โโโ missions.ts # Historical missions with asset class metadata
โ โโโ coaches.ts # AI coach profiles with FO strategies
โ โโโ assetClasses.ts # Comprehensive asset class reference
โ โโโ randomScenarios.ts # Procedural scenario generation
โ โโโ events.ts # Financial events data
โโโ features/
โ โโโ UpcomingFeatures.tsx # Coming soon feature teasers
โ โโโ AssetClassMastery.tsx # Asset class progress tracking
โ โโโ RiskSpectrum.tsx # Risk/return visualization
โ โโโ FOCertificationTeaser.tsx # Certification path preview
โโโ mission/
โ โโโ MissionIntro.tsx # Crisis โ Challenge โ Conviction flow
โ โโโ InvestmentDecision.tsx # High conviction investment choice
โ โโโ InvestmentThesis.tsx # Document reasoning before decisions
โ โโโ MissionResult.tsx # Wisdom-focused results (wins & learning)
โ โโโ KnowledgeQuiz.tsx # Post-mission comprehension validation
โ โโโ WhatIfAnalysis.tsx # Explore alternate outcomes
โโโ gamification/
โ โโโ InvestorJourney.tsx # Visual milestone progression
โ โโโ LeagueSystem.tsx # Competitive tier rankings
โ โโโ RewardsStore.tsx # XP redemption marketplace
โ โโโ FlybuysRewards.tsx # Partner rewards integration
โ โโโ SavingsVault.tsx # Goal-based savings game
โ โโโ StakingCard.tsx # XP staking for bonuses
โ โโโ pointsSystem.ts # Points calculation utilities
โโโ shared/
โ โโโ MobileBottomNav.tsx # Fixed mobile navigation
โโโ ui/
โ โโโ dialog.tsx # Bottom sheet modal variants
โโโ PerformanceChart.tsx # Investment performance visualization
โโโ AICoach.tsx # AI coaching interface
โโโ trading-dashboard.tsx # Real-time trading with asset classes
โโโ competition-results.tsx # Results and leaderboards
backend/
โโโ main.py # FastAPI application
โโโ models.py # Pydantic data models
โโโ database.py # Database management
โโโ services/ # Business logic services
โโโ coach_service.py # AI coaching (family office approach)
โโโ coach_chat.py # Real-time chat
โโโ price_service.py # Yahoo Finance price data
โโโ investment_metrics_service.py # Historical performance
MiniFi teaches teens to invest like wealthy families:
- Reward Effort over outcomes
- Explore Asset Classes (stocks, bonds, ETFs, crypto, REITs, commodities)
- Think Long-Term like family offices managing multi-generational wealth
- Diversify Strategically across 4-6+ asset classes
- Focus: Capital preservation, defensive assets
- Language: "Steady as she goes," "Family offices think in generations"
- Teaches: Bonds, gold, dividend stocks, REITs
- Focus: Strategic allocation, risk-adjusted returns
- Language: "Balance is key," "Diversification protects"
- Teaches: Mixed portfolios, asset correlations
- Focus: Growth opportunities, calculated risks
- Language: "Go big," "Innovation pays off"
- Teaches: Growth stocks, crypto, emerging markets
- Focus: Tech-focused diversification
- Language: "Focus on the future," "Innovation drives wealth"
- Teaches: AI, cloud, semiconductors
- Total Return: Overall portfolio performance
- Sharpe Ratio: Risk-adjusted returns
- Volatility: Portfolio risk measurement
- Max Drawdown: Maximum loss from peak
- Annualized Return: Yearly performance rate
- Asset Class Exploration: Track diversification progress
- โ Philosophy-Aligned Mission Flow: "Crisis Mode" โ "High Conviction" โ "Wisdom Earned"
- โ Learning from Failures: Losses celebrated as growth opportunities with violet confetti
- โ Mobile Bottom Navigation: Fixed nav bar with safe area support
- โ Bottom Sheet Modals: Native mobile dialog experience
- โ Enhanced Touch Targets: All interactive elements meet 44px minimum
- โ Knowledge Quiz: Post-mission comprehension validation
- โ What-If Analysis: Explore alternate investment outcomes
- โ Points System: Flybuys-style rewards with tier progression
- โ Rewards Store: Redeem XP for rewards and perks
- โ League System: Competitive rankings (Bronze โ Diamond)
- โ Investor Journey: Visual milestone progression tracker
- โ Random Scenarios: Infinite gameplay with procedurally generated events
- โ Homepage Mobile Menu: Hamburger navigation with responsive typography
- โ Asset Class System: 6 FO-aligned asset classes with full metadata
- โ Risk/Return Profiles: Volatility, correlation, and FO allocation ranges
- โ Time Horizon Guidance: Short/Medium/Long investment recommendations
- โ Asset Class Mastery UI: Track progress across all asset classes
- โ FO Certification Teaser: 3-level certification path preview
- โ Risk Spectrum Visualization: Interactive risk/return chart component
- โ AI Coach rewards effort and exploration
- โ Backend caching (10x faster price data)
- โ Mobile-optimized UI
- โ Comprehensive documentation
Crisis Learning & Mobile UX Update
| Feature | Status | Description |
|---|---|---|
| Historical Missions | โ Complete | 6 major financial events (1990-2025) |
| AI Coach System | โ Complete | 4 FO-aligned coaches with strategies |
| Trading Simulation | โ Complete | Real-time portfolio with asset classes |
| Performance Analytics | โ Complete | Real Yahoo Finance data integration |
| Mobile-First UI | โ Complete | Bottom nav, bottom sheets, 44px targets |
| Leaderboards | โ Complete | Global competition rankings |
| Crisis-Based Learning | โ Complete | Philosophy-aligned mission flow |
| Knowledge Quiz | โ Complete | Post-mission comprehension checks |
| What-If Analysis | โ Complete | Explore alternate outcomes |
| Points & Rewards | โ Complete | Flybuys-style points system |
| League System | โ Complete | Competitive tier progression |
| Investor Journey | โ Complete | Visual milestone tracker |
| Random Scenarios | โ Complete | Infinite procedural gameplay |
Engaging Learning Tools
| Feature | Priority | Description |
|---|---|---|
| ๐ฏ Risk Profile Quiz | High | Personalized coach matching |
| ๐ Portfolio Builder | High | Drag-drop portfolio construction |
| ๐ฒ Risk Roulette | High | Daily prediction mini-game |
| ๐ FO Certification | High | 3-level credential system |
| โฑ๏ธ Time Horizon Challenges | Medium | Goal-matching gameplay |
| ๐ Asset Comparison Tool | Medium | Side-by-side analysis |
Deepening Educational Impact
| Feature | Priority | Description |
|---|---|---|
| ๐ Extended Missions | High | Expand to 20+ historical events |
| ๐ง Adaptive Difficulty | High | AI-adjusted challenges based on skill |
| ๐ Learning Analytics | High | Track knowledge gaps & progress |
| ๐ฏ Micro-Lessons | Medium | Bite-sized financial concepts |
| ๐ Achievement System | Medium | Badges for milestones & exploration |
| ๐ ASX Integration | Medium | Real Australian market data |
Building Community
| Feature | Priority | Description |
|---|---|---|
| ๐ฅ Friend Competitions | High | Challenge friends, private leagues |
| ๐ฌ Social Feed | High | Share achievements, strategies |
| ๐ซ Classroom Mode | High | Teacher dashboards, class competitions |
| ๐ Rewards Marketplace | Medium | Australian brand gift cards (Woolworths, JB Hi-Fi) |
| ๐ฑ Push Notifications | Medium | Market alerts, challenge reminders |
| ๐ค Mentorship Pairing | Low | Connect beginners with advanced users |
Professional-Grade Features
| Feature | Priority | Description |
|---|---|---|
| ๐ Advanced Charts | High | Candlesticks, technical indicators |
| โก Options Trading Sim | High | Learn derivatives safely |
| ๐ Auto-Rebalancing | Medium | Portfolio optimization suggestions |
| ๐ Short Selling Sim | Medium | Understand market mechanics |
| ๐ Global Markets | Medium | US, UK, Asian market simulations |
| ๐ค AI Strategy Builder | Low | Create & backtest custom strategies |
Scaling Impact
| Feature | Priority | Description |
|---|---|---|
| ๐ฑ Native Mobile Apps | High | iOS & Android with offline mode |
| ๐ฆ Real Micro-Investing | High | Connect to real brokerage (supervised) |
| ๐ School Curriculum API | High | LMS integration for educators |
| ๐จโ๐ฉโ๐ง Parent Portal | Medium | Progress tracking, parental controls |
| ๐ APAC Expansion | Medium | Localized for Singapore, NZ, HK |
| ๐ National Competitions | Medium | School vs school tournaments |
Next-Gen Intelligence
| Feature | Vision | Description |
|---|---|---|
| ๐ง Personalized AI Tutors | Planned | Custom AI trained on user learning style |
| ๐ฎ VR Trading Floor | Planned | Immersive market experience |
| ๐ฎ Predictive Analytics | Planned | AI-powered market scenario modeling |
| ๐ Global Launch | Planned | Multi-language, multi-currency |
| ๐ Certification Program | Planned | Industry-recognized credentials |
| ๐ค Fintech Partnerships | Planned | Bank & broker integrations |
| Metric | v1.0 Target | v2.0 Target |
|---|---|---|
| Active Users | 1,000 | 50,000 |
| School Partnerships | 5 | 200 |
| Mission Completion Rate | 70% | 85% |
| Financial Literacy Improvement | 40% | 60% |
| User Retention (30-day) | 35% | 55% |
| NPS Score | 40+ | 60+ |
- Education First: Every feature must have measurable learning outcomes
- Teen-Centric Design: UI/UX optimized for Gen Z engagement patterns
- AI-Native: Leverage AI throughout, not as an afterthought
- Australian Focus: Local market context, brands, and regulations
- Responsible Growth: Build trust with parents, schools, regulators
- Backend Improvements - 10-point improvement plan
- AI Coach Guide - Family office coaching details
- Mobile UX Guide - Mobile optimization
- Debug Guide - Testing and troubleshooting
- GitLab Setup - Repository management
Run the test suite:
./test_updates.shExpected output:
โ
All Python files have valid syntax
โ
Core backend files present
โ
Documentation created
# Build frontend
npm run build
# Set production environment variables
NEXT_PUBLIC_API_URL=https://your-api-domain.com
OPENAI_API_KEY=your_production_api_key
# Start production server
npm start| Variable | Description | Required |
|---|---|---|
NEXT_PUBLIC_API_URL |
Backend API URL | Yes |
OPENAI_API_KEY |
OpenAI API key for AI coaching | Yes |
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Merge Request
Private - NextGen AI Hackathon 2025
- Built by: Tick.AI
- For: NextGen AI Hackathon 2025
- Target: Australian teenagers aged 12-18
- Powered by: OpenAI GPT-4o-mini
- Inspired by: Real financial market events and family office strategies
Start your investment journey today with MiniFi! ๐๐ฐ
Empowering the next generation of investors through AI-powered education.