Built: March 5, 2026 (Midday autonomous build)
Surfaces historical insights from the investment system that the main trading dashboard doesn't show:
- Chart showing daily signal counts over time
- Helps identify if momentum scanner is too conservative
- Current insight: 0 signals for 3+ days (Mar 3-5) - potential threshold issue
- Surfaces API errors and ticker issues
- Current issue: SQ (Square) showing as "delisted" - ticker may have changed (Block rebrand)
- Track data feed problems
- Documents blocked/rejected orders
- Today's example: COIN order blocked with "no market data" warning
- Help diagnose IBKR integration issues
- Summary stats: total signals, avg/day, error counts
- Recommendations for system improvements
-
Log Parser (
parse_trading_logs.py):- Reads
/home/ubuntu/clawd/investment/logs/orchestrator.log - Extracts signal counts, errors, order status
- Outputs
trading_analytics.json
- Reads
-
Dashboard (Next.js):
- Loads analytics JSON
- Visualizes with Recharts
- Provides actionable recommendations
The log parser should run periodically (e.g., hourly cron) to keep data fresh:
# Add to cron or run manually
python3 /home/ubuntu/clawd/builds/midday/2026-03-05/parse_trading_logs.pyThen commit and push the updated JSON file to auto-deploy.
- Frontend: Next.js 15, TypeScript, Tailwind CSS
- Charts: Recharts
- Deployment: Vercel (static export)
- Data: Python log parser → JSON
npm install
npm run dev
# Open http://localhost:3000npm run build
# Outputs to /out directory (static site)-
Signal Drought: No signals generated Mar 3-5 (3 days)
- Momentum scanner may need threshold adjustment
- Market conditions not meeting criteria
-
SQ Ticker Error: 1,759 "delisted" errors for $SQ
- Square rebranded to Block
- Need to update ticker or remove from watchlist
-
Missing Order Failure Tracking:
- COIN order blocked today but not logged
- Implement order rejection logging in trading agents
- Set up hourly cron to regenerate analytics
- Add order failure logging to trading system
- Fix SQ ticker issue (update to BLOCK or remove)
- Review momentum scanner thresholds
Complements: Trading Dashboard (current portfolio state) Purpose: Historical analysis & system diagnostics