feat: integrate chatbox research with datasets and backtests
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user