feat: implement Polymarket read-only data service and add scan terminal dashboard components

This commit is contained in:
2569718930@qq.com
2026-04-24 10:19:16 +08:00
parent c05cdd17c6
commit c61a3f500d
9 changed files with 707 additions and 419 deletions
+11
View File
@@ -497,6 +497,11 @@ export interface ScanOpportunityRow {
distribution_bias_direction?: string | null;
distribution_bias_score?: number | null;
distribution_bias_available?: boolean;
peak_probability?: number | null;
peak_value?: number | null;
peak_distance?: number | null;
peak_alignment_score?: number | null;
is_peak_candidate?: boolean;
window_phase?: string | null;
window_score?: number | null;
remaining_window_minutes?: number | null;
@@ -525,6 +530,12 @@ export interface PrimarySignal extends ScanOpportunityRow {}
export interface ScanTerminalResponse {
generated_at: string;
snapshot_id?: string | null;
status?: "ready" | "stale" | "failed" | string;
stale?: boolean;
stale_reason?: string | null;
last_success_at?: string | null;
last_failed_at?: string | null;
filters: ScanTerminalFilters;
summary: {
recommended_count: number;