import { getDashboardSummary, getRecentSignals, getRecentTrades } from '@/lib/queries'; import { RecentSignalsSection } from './RecentSignals'; import { Badge } from '@/components/ui/badge'; import { TradeTableClient } from '@/components/TradeTableClient'; function StatusIndicator({ running }: { running: boolean }) { return ( {running ? 'Running' : 'Stopped'} ); } function SummaryCard({ label, value, subtext, color = 'text-heading', }: { label: string; value: string; subtext?: string; color?: string; }) { return (
{label}
{value}
{subtext &&{subtext}
}Weather arbitrage bot overview
Bot Status
Uptime
{summary.uptime}
Mode
{summary.dryRun ? 'Dry Run' : 'Live'}
No signals yet. Start the bot to begin scanning markets.
)}