diff --git a/components/mission-control/TradingReports.tsx b/components/mission-control/TradingReports.tsx index 7f85748..6f75d36 100644 --- a/components/mission-control/TradingReports.tsx +++ b/components/mission-control/TradingReports.tsx @@ -2,164 +2,7 @@ import { useState } from 'react' -export function TradingReports() { - const [generatedReport, setGeneratedReport] = useState(null) - const [loading, setLoading] = useState(false) - const [reportType, setReportType] = useState<'macro' | 'weekly' | 'trade'>('macro') - - // Generate report in JavaScript - 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 generateMacroReport = () => ` - - const getSampleReport = () => ` - - - - - -The Macroverse — Late Business Cycle Analysis - - - -
-
-

THE MACROVERSE

-

February 25, 2026

-
⚠️ ASSESSMENT: LATE BUSINESS CYCLE — RECESSION WINDOW: 2026-2028
-
-
-
S&P 500
6,909
-
Initial Claims
206K
-
Unemployment
4.1%
-
Fed Funds
4.5%
-
Bitcoin
$64,500
-
-
-

01 — Where We Are in the Cycle

-
-
Early Expansion
-
Mid Cycle
-
Late Cycle ◀️
-
Contraction
-
-
-
-

02 — Positioning

-
-
✅ ENERGY

Historically last to fall.

-
✅ CASH

Dry powder.

-
⏳ BITCOIN

Pricing weakness.

-
-
-

Generated by Thoth AI

-
- -` - - 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-report-${reportType}-${new Date().toISOString().split('T')[0]}.html` - a.click() - } - - return ( -
-
-

📈 Trading Reports

-

- Generate AI-powered trading and macro reports. Thoth creates them using the LLM. -

- - {/* Report Type Selection */} -
- - - -
- - -
- - {generatedReport && ( -
-
-

🤖 AI Generated Report

- -
- -
-
-
-
- )} -
- ) -} - +// Generate macro report function generateMacroReport() { const date = new Date().toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' }) return ` @@ -186,10 +29,10 @@ body { background: #0f0f12; color: #e0e0e0; font-family: system-ui, -apple-syste .live-data .up { color: #4ade80; } .live-data .down { color: #f87171; } section { padding: 50px 0; border-bottom: 1px solid #222; } -section h2 { font-size: 1.6rem; margin-bottom: 25px; color: #667eea; display: flex; align-items: center; gap: 10px; } +section h2 { font-size: 1.6rem; margin-bottom: 25px; color: #667eea; } section h2 .num { background: #667eea; color: #0f0f12; padding: 2px 10px; border-radius: 5px; font-size: 0.9rem; } .timeline { display: flex; justify-content: space-between; align-items: center; padding: 30px; background: #151518; border-radius: 15px; overflow-x: auto; gap: 20px; } -.timeline-step { text-align: center; min-width: 90px; position: relative; } +.timeline-step { text-align: center; min-width: 90px; } .timeline-step .dot { width: 16px; height: 16px; background: #333; border-radius: 50%; margin: 0 auto 12px; } .timeline-step.active .dot { background: #ff69b4; box-shadow: 0 0 20px #ff69b4; } .timeline-step.active { color: #ff69b4; } @@ -214,8 +57,8 @@ section h2 .num { background: #667eea; color: #0f0f12; padding: 2px 10px; border footer { padding: 50px 20px; text-align: center; color: #555; font-size: 0.85rem; } .sources { margin-top: 20px; padding: 20px; background: #151518; border-radius: 10px; } .disclaimer { margin-top: 20px; padding: 20px; background: #0a0a0c; border-radius: 10px; font-size: 0.75rem; color: #444; } -.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, #667eea, #ff69b4); width: 0%; z-index: 1000; transition: width 0.1s; } -@media (max-width: 600px) { .hero h1 { font-size: 2rem; } .live-data { grid-template-columns: repeat(2, 1fr); } } +.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, #667eea, #ff69b4); width: 0%; z-index: 1000; } +@media (max-width: 600px) { .hero h1 { font-size: 2rem; } } @@ -270,15 +113,15 @@ footer { padding: 50px 20px; text-align: center; color: #555; font-size: 0.85rem

04 Positioning

-
ENERGY (XLE)

Historically last to fall. Defensive late-cycle allocation.

-
CASH

Dry powder to buy near cycle bottom.

-
ALTCOINS

Already in bear market since 2021.

-
BITCOIN

Pricing late-cycle weakness.

+
ENERGY (XLE)

Historically last to fall.

+
CASH

Dry powder.

+
ALTCOINS

Already in bear market.

+
BITCOIN

Pricing weakness.

-
Data Sources: J.P. Morgan, RSM US, Deloitte, Fidelity, Bloomberg, Advisor Perspectives
-
Disclaimer: This report is derived from macroeconomic analysis and does not constitute investment advice. Past cycle behavior is instructive but not deterministic. All views are the author's own. Do your own research.
+
Data Sources: J.P. Morgan, RSM US, Deloitte, Fidelity
+
Disclaimer: Educational purposes only. Not investment advice.