import type { Metadata } from "next"; import { LiveEvents } from "@/components/market/live-events"; import { Page, PageHeader } from "@/components/ui/section"; import { api } from "@/lib/api"; import type { MarketEvent } from "@/lib/types"; export const metadata: Metadata = { title: "Trading halts", description: "Trading halts and resumptions across US listed markets, from the Nasdaq Trader halts feed.", alternates: { canonical: "/halts" } }; export const dynamic = "force-dynamic"; export default async function HaltsPage() { const events = await api("/v1/events?type=TRADING_HALT,TRADING_RESUME&limit=200"); const halts = events.filter((e) => e.type === "TRADING_HALT").length; return ( ); }