first commit

This commit is contained in:
super
2026-03-16 09:43:24 +08:00
commit 72f5bc7306
44 changed files with 9001 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
import type { Market } from "@/src/domain/types";
export type RecommendationSegment =
| "OPEN_AUCTION"
| "MIDDAY"
| "AFTER_HOURS";
export type RecommendationSignal = {
name: string;
value: number | string;
pass: boolean;
};
export type RecommendationItem = {
code: string;
market: Market;
rank: number;
score: number;
reasons: string[];
risks: string[];
signals: RecommendationSignal[];
};
export type RecommendationSnapshot = {
userId: string;
date: string; // YYYY-MM-DD
segment: RecommendationSegment;
generatedAt: string; // ISO
screeningVersion: string; // e.g. v0.1
universe: {
watchlistCount: number;
importedPoolCount: number;
totalCount: number;
};
items: RecommendationItem[];
};