- Added TradeAIAnalysis model for multi-version AI analysis results
- Created reflection_ai_analysis.py service with reflection-enhanced prompt
- Implemented analyze_with_reflection(): builds prompt, calls AI, parses JSON, saves version
- Added get_analysis_history(), get_latest_analysis(), save_suggestion_as_experience()
- Added 4 new API endpoints: POST /reanalyze, GET /reanalyze/{id}/history,
GET /reanalyze/{id}/latest, POST /ai-analysis/{id}/save-experience
- Updated analysis_db.py to import TradeAIAnalysis
- Verified app imports successfully
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.