'use client' import { useState } from 'react' // Generate macro report function generateMacroReport() { const date = new Date().toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' }) return ` The Macroverse — Late Business Cycle Analysis

THE MACROVERSE

${date}

⚠️ Assessment Alert
LATE BUSINESS CYCLE ENVIRONMENT CONFIRMED
Recession Window: 2026-2028 | Initial Claims: 206K (Watch: 300K)
S&P 500
6,909
▲ 0.8%
Initial Claims
206K
SAFE
Unemployment
4.1%
WATCH
Fed Funds
4.5%
Bitcoin
$64,500
▼ 49% ATH
Gold
$2,940

01 Where We Are in the Cycle

Early
Expansion
Mid
Cycle
Late
Cycle ◀️
Con
traction

02 The Negative Feedback Loop

1. Stock Market Drops
2. Companies Lay Off Workers
3. Job Openings Low
4. Consumer Spending Drops
5. Non-Linear Unemployment Rise
⚠️ STATUS: NOT YET TRIGGERED

03 The Risk Cascade

COMPLETED
Altcoins
IN PROGRESS
Bitcoin
APPROACHING
Equities
PENDING
Energy/Metals

04 Positioning

ENERGY (XLE)

Historically last to fall.

CASH

Dry powder.

ALTCOINS

Already in bear market.

BITCOIN

Pricing weakness.

` } // Generate weekly report function generateWeeklyReport() { const date = new Date().toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' }) return ` Weekly Report

📅 Weekly Trading Report

${date}

Performance Summary

+3.2%
This Week
+12.4%
This Month
8/12
Win Rate

Trade Highlights

✓ BTC Long — +5.2% — Hit TP2

✓ ETH Long — +2.1% — Closed

✗ SOL Short — -1.2% — Stop hit

Next Week Watchlist

• Fed Meeting — Watch volatility

• BTC — $65K resistance

` } // Generate trade setup report function generateTradeReport() { return `Trade Setup

🎯 Trade Setup

BTC/USD — LONG

Entry$63,500
Stop Loss$62,000
Take Profit 1$65,000
Take Profit 2$67,000
Risk:Reward1:3

Rationale

• Weekly structure breakout
• RSI oversold on 4H
• Volume increasing on up days

` } export function TradingReports() { const [generatedReport, setGeneratedReport] = useState(null) const [loading, setLoading] = useState(false) const [reportType, setReportType] = useState<'macro' | 'weekly' | 'trade'>('macro') const generateReport = () => { setLoading(true) let report = '' if (reportType === 'macro') { report = generateMacroReport() } else if (reportType === 'weekly') { report = generateWeeklyReport() } else { report = generateTradeReport() } setGeneratedReport(report) setLoading(false) } const downloadReport = () => { if (!generatedReport) return const blob = new Blob([generatedReport], { type: 'text/html' }) const url = URL.createObjectURL(blob) const a = document.createElement('a') a.href = url a.download = `thoth-${reportType}-report-${new Date().toISOString().split('T')[0]}.html` a.click() } return (

📈 Trading Reports

Generate AI-powered trading and macro reports.

{generatedReport && (

Generated Report

{generatedReport.slice(0, 1500)}...
)}
) }