import React from 'react'; import { BookOpen } from 'lucide-react'; import 'katex/dist/katex.min.css'; import { BlockMath, InlineMath } from 'react-katex'; interface MacroMathModalProps { isOpen: boolean; onClose: () => void; } export default function MacroMathModal({ isOpen, onClose }: MacroMathModalProps) { React.useEffect(() => { const handleKeyDown = (e: KeyboardEvent) => { if (e.key === 'Escape') { onClose(); } }; if (isOpen) { window.addEventListener('keydown', handleKeyDown); } return () => { window.removeEventListener('keydown', handleKeyDown); }; }, [isOpen, onClose]); if (!isOpen) return null; return (
Institutional Specification Manual
Details structural curves, monetary flows, and historical surprise indices.
Calculates the duration spread between short-term and long-term government yield rates. A negative spread represents structural inversion, often preceding a recession:
2S10S Yield Curve Spread:
where:
-
-
Measures how far an economic release deviates from general consensus expectations, scaled by the historical standard deviation of surprises:
Standardized Surprise Score:
where:
-
-
-
Calculates the net USD liquidity circulating in the financial system by subtracting treasury reserves and central bank operations:
Federal Reserve Net Liquidity Equation:
where:
-
-
-