{% extends "base.html" %} {% block title_key %}ai_mentor.page_title{% endblock %} {% block title %}🧠 AI Mentor Trading{% endblock %} {% block head_extra %} {% endblock %} {% block content %}
{% if holiday_config.active_holiday %}

{{ holiday_config.active_holiday }} πŸŽ†

{{ holiday_greeting }}

{% if holiday_config.adjustments.risk_reduction %}

⚠️ Risk automatically reduced by {{ (100 - holiday_config.adjustments.risk_reduction * 100)|int }}% during holiday period

{% endif %}
{% endif %}

🧠 AI Mentor Trading

Your digital mentor for long-term trading success

πŸ‡ΊπŸ‡Έ English Language β€’ πŸ“Š Real-time Analysis β€’ 🎯 Personal {% if holiday_config.active_holiday %} β€’ {{ holiday_config.active_holiday.split()[0] }} πŸŽ„ {% endif %}

Total Sessions

{{ total_sessions or 0 }}

trading sessions

Win Rate

{{ "%.1f"|format(win_rate or 0) }}%

profit sessions

Today

{% if today_session %} {% set profit_loss = today_session.get('profit_loss', today_session.get('total_profit_loss', 0)) %}
${{ "%.2f"|format(profit_loss) }}
{{ (today_session.get('emotions', 'neutral')|title) }} {% else %}
-

not traded yet

{% endif %}

AI Status

πŸ€– Active

ready to analyze

πŸ“Š Today's Trading

{% if today_session %} {% set profit_loss = today_session.get('profit_loss', today_session.get('total_profit_loss', 0)) %} {% set total_trades = today_session.get('total_trades', today_session.get('trades_count', 0)) %}
Total Trades: {{ total_trades }}
P&L: ${{ "%.2f"|format(profit_loss) }}
Emotion: {{ (today_session.get('emotions', 'neutral')|title) }}
{% if today_session.get('personal_notes') %}

Your Notes:

"{{ today_session.get('personal_notes') }}"

{% endif %}
🧠 View Full AI Analysis
{% else %}
πŸ“ˆ

No Trading Today Yet

Start trading to get personalized AI analysis!

{% endif %}

πŸ€– Latest AI Insights

{% if recent_reports %}
{% for report in recent_reports[:3] %} {% set report_profit = report.get('profit_loss', report.get('total_profit_loss', 0)) %}
{{ report.get('session_date', 'Unknown Date') }} ${{ "%.2f"|format(report_profit) }}

{{ (report.get('motivation', 'No insights available'))[:100] }}{% if (report.get('motivation', '')|length) > 100 %}...{% endif %}

{{ (report.get('emotions', 'neutral')|title) }}
{% endfor %}
{% else %}
πŸ€–

AI is Ready to Help!

Start trading to get personalized insights from your AI mentor.

{% endif %}

πŸ’‘ Daily Tips from AI Mentor

🎯 Consistency

"Small but consistent profits are better than one big profit followed by losses."

πŸ›‘οΈ Risk Management

"Never risk more than 2% of your capital per trade. Capital is a trader's life!"

🧠 Emotions

"Trading with a calm emotion is the key to professional trading. Take a break if frustrated."

{% endblock %}