feat: integrate chatbox research with datasets and backtests

This commit is contained in:
yuxuanhui
2026-09-08 12:43:00 +08:00
parent 43336ad960
commit aef8e1d310
37 changed files with 1421 additions and 42 deletions
+15
View File
@@ -32,6 +32,8 @@ import type {
} from "../types";
import { PnlChart } from "./PnlChart";
import { SelfCorrelationPanel } from "./SelfCorrelationPanel";
import { AlphaSources } from "../research/AlphaSources";
import type { UIAction } from "../ai/types";
export function AlphaDetail({
id,
@@ -41,6 +43,7 @@ export function AlphaDetail({
onClose,
onSaved,
onTask,
onAction,
suspended = false,
chatOffset = 0,
}: {
@@ -51,6 +54,7 @@ export function AlphaDetail({
onClose: () => void;
onSaved: () => void;
onTask: () => void;
onAction: (action: UIAction) => void;
suspended?: boolean;
chatOffset?: number;
}) {
@@ -316,6 +320,17 @@ export function AlphaDetail({
/>
)}
</TabPane>
<TabPane tab="研究来源" itemKey="sources">
{tab === "sources" && id && (
<AlphaSources
key={id}
id={id}
version={version}
timezone={timezone}
onAction={onAction}
/>
)}
</TabPane>
<TabPane tab="研究记录" itemKey="research">
<div className="detail-section">
<p className="muted">