{% extends "emails/base.html" %} {% block title %}{{ alert_type }} Alert - Bitcoin Monitor{% endblock %} {% block content %}
{% if alert_type == 'dip' %} 🚨 DIP DETECTED: Price is {{ percent_change|floatformat:1 }}% below average {% elif alert_type == 'peak' %} ⚡ PEAK DETECTED: Price is {{ percent_change|floatformat:1 }}% above average {% else %} â„šī¸ MARKET EVENT DETECTED {% endif %}
Current Bitcoin Price
${{ current_price|floatformat:2 }}
{% if alert_type == 'dip' %}📉 Below threshold{% else %}📈 Above threshold{% endif %}
{{ threshold_percent }}%
Threshold
${{ yearly_average|floatformat:2 }}
Yearly Average
${{ lower_threshold|floatformat:2 }}
Lower Bound
${{ upper_threshold|floatformat:2 }}
Upper Bound

Event Details

Event Type: {{ alert_type|upper }}
Detected At: {{ detected_at|date:"M d, Y H:i" }} UTC
Price Deviation: {{ percent_change|floatformat:1 }}%
Previous Status: {{ previous_status|default:"N/A"|title }}
{% if recommendation %}

💡 Recommendation

{{ recommendation }}

{% endif %}
View Live Dashboard
{% endblock %}