Backup before system reinstall

This commit is contained in:
llama-research
2025-09-06 07:37:16 +00:00
parent f9856c31e5
commit e78aefac88
66 changed files with 16347 additions and 1917 deletions

View File

@@ -0,0 +1,216 @@
{
"immortals": {
"吕洞宾": {
"title": "主力剑仙",
"specialty": "综合分析与决策",
"description": "作为八仙之首,负责整体投资策略制定,需要最快最准确的数据",
"preferred_apis": {
"stock_quote": "alpha_vantage",
"company_overview": "alpha_vantage",
"market_movers": "yahoo_finance_15",
"market_news": "yahoo_finance_15"
},
"data_priority": ["实时价格", "公司基本面", "市场动态"],
"api_weight": 0.15
},
"何仙姑": {
"title": "风控专家",
"specialty": "风险管理与合规",
"description": "专注风险评估和投资组合管理,需要稳定可靠的数据源",
"preferred_apis": {
"stock_quote": "yahoo_finance_15",
"company_overview": "seeking_alpha",
"market_movers": "webull",
"market_news": "seeking_alpha"
},
"data_priority": ["波动率", "风险指标", "合规信息"],
"api_weight": 0.12
},
"张果老": {
"title": "技术分析师",
"specialty": "技术指标与图表分析",
"description": "专精技术分析,需要详细的价格和成交量数据",
"preferred_apis": {
"stock_quote": "webull",
"company_overview": "alpha_vantage",
"market_movers": "yahoo_finance_15",
"market_news": "yahoo_finance_15"
},
"data_priority": ["技术指标", "成交量", "价格走势"],
"api_weight": 0.13
},
"韩湘子": {
"title": "基本面研究员",
"specialty": "财务分析与估值",
"description": "深度研究公司财务状况和内在价值",
"preferred_apis": {
"stock_quote": "alpha_vantage",
"company_overview": "seeking_alpha",
"market_movers": "webull",
"market_news": "seeking_alpha"
},
"data_priority": ["财务报表", "估值指标", "盈利预测"],
"api_weight": 0.14
},
"汉钟离": {
"title": "量化专家",
"specialty": "数据挖掘与算法交易",
"description": "运用数学模型和算法进行量化分析",
"preferred_apis": {
"stock_quote": "yahoo_finance_15",
"company_overview": "alpha_vantage",
"market_movers": "yahoo_finance_15",
"market_news": "yahoo_finance_15"
},
"data_priority": ["历史数据", "统计指标", "相关性分析"],
"api_weight": 0.13
},
"蓝采和": {
"title": "情绪分析师",
"specialty": "市场情绪与舆情监控",
"description": "分析市场情绪和投资者行为模式",
"preferred_apis": {
"stock_quote": "webull",
"company_overview": "seeking_alpha",
"market_movers": "webull",
"market_news": "seeking_alpha"
},
"data_priority": ["新闻情绪", "社交媒体", "投资者情绪"],
"api_weight": 0.11
},
"曹国舅": {
"title": "宏观分析师",
"specialty": "宏观经济与政策分析",
"description": "关注宏观经济环境和政策影响",
"preferred_apis": {
"stock_quote": "seeking_alpha",
"company_overview": "seeking_alpha",
"market_movers": "yahoo_finance_15",
"market_news": "seeking_alpha"
},
"data_priority": ["宏观数据", "政策解读", "行业趋势"],
"api_weight": 0.12
},
"铁拐李": {
"title": "逆向投资专家",
"specialty": "价值发现与逆向思维",
"description": "寻找被低估的投资机会,逆向思考市场",
"preferred_apis": {
"stock_quote": "alpha_vantage",
"company_overview": "alpha_vantage",
"market_movers": "webull",
"market_news": "yahoo_finance_15"
},
"data_priority": ["估值偏差", "市场异常", "价值机会"],
"api_weight": 0.10
}
},
"api_configurations": {
"alpha_vantage": {
"name": "Alpha Vantage",
"tier": "premium",
"strengths": ["实时数据", "财务数据", "技术指标"],
"rate_limits": {
"per_minute": 500,
"per_month": 500000
},
"reliability_score": 0.95,
"response_time_avg": 0.8,
"data_quality": "high",
"cost_per_call": 0.001
},
"yahoo_finance_15": {
"name": "Yahoo Finance 15",
"tier": "standard",
"strengths": ["市场数据", "新闻资讯", "实时报价"],
"rate_limits": {
"per_minute": 500,
"per_month": 500000
},
"reliability_score": 0.90,
"response_time_avg": 1.2,
"data_quality": "medium",
"cost_per_call": 0.0005
},
"webull": {
"name": "Webull",
"tier": "premium",
"strengths": ["搜索功能", "活跃数据", "技术分析"],
"rate_limits": {
"per_minute": 500,
"per_month": 500000
},
"reliability_score": 0.88,
"response_time_avg": 1.0,
"data_quality": "high",
"cost_per_call": 0.0008
},
"seeking_alpha": {
"name": "Seeking Alpha",
"tier": "standard",
"strengths": ["分析报告", "新闻资讯", "专业观点"],
"rate_limits": {
"per_minute": 500,
"per_month": 500000
},
"reliability_score": 0.85,
"response_time_avg": 1.5,
"data_quality": "medium",
"cost_per_call": 0.0006
}
},
"load_balancing_strategies": {
"round_robin": {
"description": "轮询分配,确保负载均匀分布",
"enabled": true,
"weight_based": true
},
"health_aware": {
"description": "基于API健康状态的智能分配",
"enabled": true,
"health_check_interval": 300
},
"performance_based": {
"description": "基于响应时间的动态分配",
"enabled": true,
"response_time_threshold": 2.0
},
"cost_optimization": {
"description": "成本优化策略优先使用低成本API",
"enabled": false,
"cost_threshold": 0.001
}
},
"failover_matrix": {
"alpha_vantage": ["webull", "yahoo_finance_15", "seeking_alpha"],
"yahoo_finance_15": ["webull", "alpha_vantage", "seeking_alpha"],
"webull": ["alpha_vantage", "yahoo_finance_15", "seeking_alpha"],
"seeking_alpha": ["yahoo_finance_15", "alpha_vantage", "webull"]
},
"cache_settings": {
"enabled": true,
"ttl_seconds": 300,
"max_entries": 1000,
"cache_strategies": {
"stock_quote": 60,
"company_overview": 3600,
"market_movers": 300,
"market_news": 1800
}
},
"monitoring": {
"enabled": true,
"metrics": [
"api_call_count",
"response_time",
"error_rate",
"cache_hit_rate",
"load_distribution"
],
"alerts": {
"high_error_rate": 0.1,
"slow_response_time": 3.0,
"api_unavailable": true
}
}
}