MCPcopy Create free account

hub / github.com/HuaYaoAI/FinGenius / types & classes

Types & classes93 in github.com/HuaYaoAI/FinGenius

↓ 35 callersClassToolResult
Represents the result of a tool execution.
src/tool/base.py:39
↓ 25 callersClassTerminate
src/tool/terminate.py:8
↓ 10 callersClassSearchItem
Represents a single search result item
src/tool/search/base.py:6
↓ 9 callersClassToolCollection
A collection of defined tools.
src/tool/tool_collection.py:9
↓ 6 callersClassToolFailure
A ToolResult that represents a failure.
src/tool/base.py:83
↓ 4 callersClassTTSResponse
Response model for TTS operation
src/tool/tts_tool.py:49
↓ 3 callersClassHotMoneyTool
Tool for retrieving hot money and market data for stocks.
src/tool/hot_money.py:31
↓ 3 callersClassRiskControlTool
Tool for retrieving risk control data for stocks.
src/tool/risk_control.py:8
↓ 3 callersClassSentimentTool
Tool for retrieving market sentiment data including hot sectors and index capital flow.
src/tool/sentiment.py:12
↓ 3 callersClassTechnicalAnalysisTool
Tool for retrieving technical data for stocks.
src/tool/technical_analysis.py:14
↓ 3 callersClassTokenLimitExceeded
Exception raised when the token limit is exceeded
src/exceptions.py:8
↓ 3 callersClassWebSearch
Search the web for information using various search engines.
src/tool/web_search.py:156
↓ 2 callersClassBattle
Tool for agents to interact in the battle environment.
src/tool/battle.py:8
↓ 2 callersClassBigDealAnalysisTool
Tool for analysing big order fund flows using akshare interfaces.
src/tool/big_deal_analysis.py:14
↓ 2 callersClassChipAnalysisTool
筹码分析工具,用于分析股票的筹码分布和相关技术指标
src/tool/chip_analysis.py:15
↓ 2 callersClassMCPServer
MCP Server implementation with tool registration and management.
src/mcp/server.py:26
↓ 2 callersClassMCPSettings
Configuration for MCP (Model Context Protocol)
src/config.py:118
↓ 2 callersClassSearchResponse
Structured response from the web search tool, inheriting ToolResult.
src/tool/web_search.py:53
↓ 2 callersClassSearchResult
Represents a single search result returned by a search engine.
src/tool/web_search.py:22
↓ 2 callersClassStockInfoRequest
Tool to fetch basic information about a stock with the current trading date.
src/tool/stock_info_request.py:28
↓ 2 callersClassStockInfoResponse
Response model for stock information, extending ToolResult.
src/tool/stock_info_request.py:12
↓ 2 callersClassTTSSettings
配置文本转语音工具
src/config.py:94
↓ 1 callersClassAppConfig
src/config.py:154
↓ 1 callersClassBaiduSearchEngine
src/tool/search/baidu_search.py:8
↓ 1 callersClassBattleState
Battle state tracking
src/environment/battle.py:24
↓ 1 callersClassBingSearchEngine
src/tool/search/bing_search.py:38
↓ 1 callersClassBrowserSettings
src/config.py:69
↓ 1 callersClassChatCompletions
Chat completions接口适配器
src/ollama_client.py:52
↓ 1 callersClassCompletions
Completions接口实现 - OpenAI到Ollama原生API的核心适配器
src/ollama_client.py:64
↓ 1 callersClassConfig
src/config.py:169
↓ 1 callersClassCreateHtmlTool
HTML generation tool that creates beautiful and functional HTML pages with complex layouts, styling, and interactive features based on user requir
src/tool/create_html.py:195
↓ 1 callersClassDataCacheManager
数据缓存管理器
src/tool/create_html.py:37
↓ 1 callersClassDuckDuckGoSearchEngine
src/tool/search/duckduckgo_search.py:8
↓ 1 callersClassEnhancedFinGeniusAnalyzer
Enhanced FinGenius analyzer with beautiful visualization
main.py:23
↓ 1 callersClassFinGeniusVisualizer
Enhanced visualizer for FinGenius analysis process
src/console.py:20
↓ 1 callersClassGoogleSearchEngine
src/tool/search/google_search.py:8
↓ 1 callersClassLLM
src/llm.py:196
↓ 1 callersClassMCPClientTool
Represents a tool proxy that can be called on the MCP server from the client side.
src/tool/mcp_client.py:13
↓ 1 callersClassMCPClients
A collection of tools that connects to multiple MCP servers and manages available tools through the Model Context Protocol.
src/tool/mcp_client.py:38
↓ 1 callersClassMCPServerConfig
Configuration for a single MCP server
src/config.py:107
↓ 1 callersClassMemory
src/schema.py:167
↓ 1 callersClassOllamaAsyncOpenAI
Ollama原生API适配器 将OpenAI SDK格式的请求转换为Ollama原生/api/generate接口调用 即使Ollama只部署了原生API,也能通过OpenAI SDK访问
src/ollama_client.py:17
↓ 1 callersClassProxySettings
src/config.py:39
↓ 1 callersClassSearchMetadata
Metadata about the search operation.
src/tool/web_search.py:43
↓ 1 callersClassSearchSettings
src/config.py:45
↓ 1 callersClassSimpleReportManager
简化的报告管理器
src/utils/report_manager.py:18
↓ 1 callersClassTTS
Client for volcengine Text-to-Speech API.
src/tool/tts_tool.py:58
↓ 1 callersClassTTSRequest
Request model for TTS API
src/tool/tts_tool.py:20
↓ 1 callersClassTTSTool
src/tool/tts_tool.py:160
↓ 1 callersClassTokenCounter
src/llm.py:60
↓ 1 callersClassWebContentFetcher
Utility class for fetching web content.
src/tool/web_search.py:106
ClassAgentState
Agent execution states
src/schema.py:32
ClassBaseAgent
Abstract base class for managing agent state and execution. Provides foundational functionality for state transitions, memory management, and
src/agent/base.py:12
ClassBaseEnvironment
Base environment class for all environments
src/environment/base.py:11
ClassBaseTool
src/tool/base.py:11
ClassBattleEnvironment
Environment for agents to battle and vote on stock sentiment
src/environment/battle.py:167
ClassBattleServer
src/mcp/battle_server.py:5
ClassBigDealAnalysisAgent
大单异动分析 Agent
src/agent/big_deal_analysis.py:12
ClassBigDealAnalysisServer
src/mcp/big_deal_analysis_server.py:6
ClassCLIResult
A ToolResult that can be rendered as a CLI output.
src/tool/base.py:79
ClassChipAnalysisAgent
筹码分析agent,专注于股票筹码分布和技术分析
src/agent/chip_analysis.py:13
ClassChipAnalysisServer
src/mcp/chip_analysis_server.py:6
ClassConfig
src/config.py:165
ClassConfig
src/environment/base.py:19
ClassConfig
src/agent/base.py:44
ClassConfig
src/tool/tool_collection.py:12
ClassConfig
src/tool/base.py:16
ClassConfig
src/tool/base.py:47
ClassCreateChatCompletion
src/tool/create_chat_completion.py:8
ClassEnvironmentFactory
Factory for creating different types of environments with support for multiple agents
src/environment/base.py:64
ClassEnvironmentType
Enum of available environment types
src/environment/base.py:57
ClassFunction
src/schema.py:41
ClassHotMoneyAgent
Hot money analysis agent focused on institutional trading patterns.
src/agent/hot_money.py:13
ClassHotMoneyServer
src/mcp/hot_money_srver.py:12
ClassLLMSettings
src/config.py:25
ClassMCPAgent
Agent for interacting with MCP (Model Context Protocol) servers. This agent connects to one or more MCP servers using either SSE or stdio transpo
src/agent/mcp.py:13
ClassMessage
Represents a chat message in the conversation
src/schema.py:54
ClassReActAgent
src/agent/react.py:11
ClassReportAgent
Report generation agent that synthesizes insights from other agents.
src/agent/report.py:10
ClassResearchEnvironment
Environment for stock research using multiple specialized agents.
src/environment/research.py:19
ClassRiskControlAgent
Risk analysis agent focused on identifying and quantifying investment risks.
src/agent/risk_control.py:13
ClassRiskControlServer
src/mcp/risk_control_server.py:6
ClassRole
Message role options
src/schema.py:7
ClassSentimentAgent
Sentiment analysis agent focused on market sentiment and news.
src/agent/sentiment.py:17
ClassSentimentServer
src/mcp/sentiment_server.py:7
ClassTechnicalAnalysisAgent
Technical analysis agent applying technical indicators to stock analysis.
src/agent/technical_analysis.py:13
ClassTechnicalAnalysisServer
src/mcp/technical_analysis_server.py:6
ClassToolCall
Represents a tool/function call in a message
src/schema.py:46
ClassToolCallAgent
Base agent class for handling tool/function calls with enhanced abstraction
src/agent/toolcall.py:26
ClassToolChoice
Tool choice options
src/schema.py:20
ClassToolError
Raised when a tool encounters an error.
src/exceptions.py:1
ClassVoiceType
Voice types available for TTS
src/tool/tts_tool.py:40
ClassWebSearchEngine
Base class for web search engines.
src/tool/search/base.py:20