Lesson Learned #051: Calendar Awareness is Critical for Trading AI
Lesson Learned #051: Calendar Awareness is Critical for Trading AI
Date: December 19, 2025 Severity: HIGH Category: Operational Reliability
The Problem
Claude repeatedly made statements like âtomorrow could be downâ without recognizing that:
- It was Friday evening
- Tomorrow (Saturday) is NOT a trading day
- The next trading day is Monday
This eroded user trust because:
- The AI appeared unaware of basic market calendar
- Users expect a trading AI to know market hours
- Repeated mistakes made advice seem unreliable
Root Cause
The trading context hook did NOT prominently display:
- The current day of week
- Whether itâs a weekend
- The actual date
The AI had to infer this from context clues rather than having it explicitly stated.
The Fix
- Added explicit calendar awareness to the hook:
DAY_OF_WEEK=$(TZ=America/New_York date +%A) # Monday, Tuesday, etc. FULL_DATE=$(TZ=America/New_York date '+%A, %B %d, %Y') # Friday, December 19, 2025 IS_WEEKEND="false" if [[ $DAY_NUM -ge 6 ]]; then IS_WEEKEND="true" fi - Made it the FIRST LINE of output:
đ TODAY: Friday, December 19, 2025 â ď¸ WEEKEND - NO TRADING - Clear weekend warnings so AI never forgets
Prevention
- Always show current date/time prominently in trading context
- Include day of week (not just date)
- Warn explicitly on weekends
- Reference ânext trading dayâ not âtomorrowâ
Related Issues
- LL-012: Weekend Market Awareness
- LL-013: Trading System Dead for 2 Days
Tags
#calendar #operations #trust #user-experience