| name | analyzeMarket |
| description | Analyze overall market sentiment, sector trends, and identify hot topics and stocks. |
analyzeMarket
描述
分析整体市场情感、板块趋势,并识别热门话题和股票。
输入模式
interface AnalyzeMarketInput {
tickers?: string[];
timeframe?: string;
includeNews?: boolean;
includeKOL?: boolean;
}
输出模式
interface AnalyzeMarketOutput {
id: string;
timestamp: Date;
sentiment: {
overall: 'bullish' | 'bearish' | 'neutral';
score: number;
factors: {
news: number;
social: number;
technical: number;
};
};
sectors: {
[sectorName: string]: {
trend: 'up' | 'down' | 'sideways';
strength: number;
topStocks: string[];
};
};
hotTopics: string[];
hotStocks: string[];
riskLevel: 'low' | 'medium' | 'high';
riskFactors: string[];
}
错误代码
NO_DATA: 无市场数据可用
ANALYSIS_ERROR: 市场分析失败
INVALID_TIMEFRAME: 时间周期不支持