MCPcopy Create free account

hub / github.com/HKUDS/Vibe-Trading / types & classes

Types & classes3,299 in github.com/HKUDS/Vibe-Trading

↓ 172 callersClassGroundingLedger
Run-scoped identity state machine and evidence ledger.
agent/evals/grounding/ledger.py:50
↓ 149 callersClassPersistentMemory
File-based persistent memory that survives across sessions.
agent/src/memory/persistent.py:206
↓ 129 callersClassLLMResponse
Carry provider-reported usage and identity, with opaque items reserved for verbatim replay.
agent/src/kernel/contracts.py:38
↓ 124 callersClassToolRegistry
Store tools and enforce policy at dispatch. Args: policy: Explicit tool policy used to validate execution arguments. Raises:
agent/src/agent/tools.py:122
↓ 101 callersClassSwarmStore
Store run snapshots and append-only event journals on disk. Args: base_dir: Storage root under which each run gets its own directory.
agent/src/swarm/store.py:100
↓ 92 callersClassAgentRuntime
Compose and run a research turn with its host resources. Args: registry: Registry of tools permitted for the host. llm: Model ada
agent/src/agent/runtime.py:63
↓ 90 callersClassThreadLog
Append and fsync thread items with sequence numbers coordinated across processes. Args: path: Path to the append-only thread JSONL file.
agent/src/session/thread.py:57
↓ 83 callersClassRegistry
In-memory registry of all discoverable alphas across zoo subdirectories.
agent/src/factors/registry.py:205
↓ 83 callersClassSwarmTask
A task node in the Swarm DAG. ``input_from`` maps an alias to an upstream task id (its report and full evidence index), or to a selection ``{
agent/src/swarm/models.py:198
↓ 74 callersClassPosition
An open position in a single instrument. Args: symbol: Instrument identifier. direction: 1 for long, -1 for short. entry_
agent/backtest/models.py:14
↓ 74 callersClassScheduledResearchJobStore
Durable, crash-safe persistence for scheduled research jobs. The store is a thin envelope around a dict of :class:`~src.scheduled_research.mo
agent/src/scheduled_research/store.py:78
↓ 69 callersClassSwarmAgentSpec
Role definition for a single agent in a Swarm.
agent/src/swarm/models.py:154
↓ 64 callersClassConfig
Limits are per process; the disk budget is shared by cache-directory users.
agent/src/data_gateway/config.py:18
↓ 62 callersClassSessionStore
Filesystem-backed persistent storage. Args: base_dir: Root directory containing the session subdirectories. Created if absent.
agent/src/session/store.py:20
↓ 60 callersClassToolCallRequest
Carry a tool call and opaque provider metadata for replay.
agent/src/kernel/contracts.py:17
↓ 52 callersClassGoalStore
SQLite-backed store for finance research goals.
agent/src/goal/store.py:107
↓ 52 callersClassInstitutionalHoldingsTool
Query SEC Form 13F-HR institutional holdings three ways.
agent/src/tools/institutional_holdings_tool.py:1712
↓ 51 callersClassResearchArtifactStore
Persist research revisions without modifying GoalStore or SDM records.
agent/src/research_artifacts/store.py:85
↓ 49 callersClassTaskStore
Store task records under the current run's tasks directory. Args: run_dir: Root directory of the current run.
agent/src/swarm/task_store.py:13
↓ 45 callersClassMarketDataGateway
Serve capability requests without blocking an application's event loop. Sources run in a separate bounded pool. A timeout stops waiting, not an
agent/src/data_gateway/service.py:26
↓ 43 callersClassMessageBus
Async message bus that decouples chat channels from the agent core. Channels push messages to the inbound queue, and the agent processes them
agent/src/channels/bus/queue.py:8
↓ 42 callersClassEtfHoldingsTool
Look through an ETF to its constituents, or search the ETF universe.
agent/src/tools/etf_holdings_tool.py:1681
↓ 40 callersClassEtoroConfig
eToro connector connection settings. Args: api_key: eToro Public API key (shared across demo and real paths). user_key: eToro use
agent/src/trading/connectors/etoro/client.py:59
↓ 40 callersClassEventBus
Session-scoped live bus with subscribers and transient item events. Args: max_buffer_size: Per-session retention limit for transient item
agent/src/session/events.py:128
↓ 39 callersClassSession
A multi-turn conversation session.
agent/src/session/models.py:110
↓ 38 callersClassChinaAEngine
A-share market engine. Config keys: - commission_rate: default 0.00025 (万2.5) - commission_min: default 5.0 (RMB) - stamp_tax:
agent/backtest/engines/china_a.py:23
↓ 37 callersClassConnectionStore
Owner-only metadata store; secret values live in the OS credential vault. Args: path: Registry file path. Defaults to ``connections.json`
agent/src/trading/connections.py:152
↓ 37 callersClassTurnoverAwareOptimizer
Mean-variance weights penalized for turnover against prior weights. Attributes: risk_aversion: Weight on the variance term (lambda).
agent/backtest/optimizers/turnover_aware.py:38
↓ 36 callersClassCashFlow
A single dated cash amount in one currency. Attributes: date: Settlement date. ``datetime`` and ISO-8601 strings are accepted
agent/src/entities/cashflow.py:127
↓ 36 callersClassEnvConfig
Root configuration model composing all environment variable groups. Instantiating with no arguments reads every recognised env var from ``os.
agent/src/config/env_schema.py:794
↓ 36 callersClassSkillsLoader
Load skills from the bundled and user skills directories. Args: skills_dir: Bundled skills directory to scan, if overriding the package d
agent/src/product/resources/skills.py:50
↓ 34 callersClassCashFlowSeries
An ordered, immutable collection of ``CashFlow`` in one currency. Flows are sorted by date at construction with a stable sort, so several flo
agent/src/entities/cashflow.py:202
↓ 34 callersClassSwarmRun
Complete state of a single Swarm preset execution.
agent/src/swarm/models.py:301
↓ 33 callersClassWorkspaceMemory
Shared workspace state between tools during a single agent run.
agent/src/product/resources/memory.py:10
↓ 32 callersClassEtoroClient
Thin REST client for eToro Public API.
agent/src/trading/connectors/etoro/client.py:273
↓ 32 callersClassReadFileTool
Read file contents or one selected JSON value, with optional paging.
agent/src/tools/read_file_tool.py:172
↓ 30 callersClassScheduledResearchJob
Mutable persisted state for a scheduled research / backtest job. Attributes: id: Unique job identifier (caller-supplied UUID or slug).
agent/src/scheduled_research/models.py:196
↓ 30 callersClassTechnicalIndicatorTool
Compute common technical indicators for a symbol. Fetches OHLCV data through the existing loader pipeline, then computes RSI, MACD, Bollinger
agent/src/tools/technical_indicator_tool.py:274
↓ 29 callersClassBacktestConfigSchema
Validates backtest config.json before execution.
agent/backtest/runner.py:88
↓ 29 callersClassCompositeEngine
Cross-market engine with shared capital pool. Sub-engines are stateless rule providers. All positions, capital, and trades live here (inherit
agent/backtest/engines/composite.py:127
↓ 29 callersClassHistoryStore
One bounded worker per service; OS job leases protect cross-process resume. Only one bounded chunk of one symbol is materialized. Each compressed
agent/src/data_gateway/history_store.py:27
↓ 28 callersClassOutboundMessage
Message to send to a chat channel. ``metadata`` can carry routing (``message_id``, …), trace flags (``_progress``), and optional ``OUTBOUND_M
agent/src/channels/bus/events.py:40
↓ 28 callersClassTradingProfile
A user-selectable trading connector profile. Args: id: Stable profile id used by CLI/tools. connector: Broker/connector key, e.g.
agent/src/trading/types.py:38
↓ 28 callersClass_Broker
In-memory broker stub recording the order of injected calls.
agent/tests/test_runtime_flatten.py:20
↓ 27 callersClassBenchResult
Backtest result for an artifact.
agent/src/strategy_store/models.py:142
↓ 27 callersClassInMemoryStrategyStore
Dict/list-backed reference implementation of ``StrategyStoreProtocol``. Thread-safe via ``threading.RLock``. Intended for tests and as a templat
agent/src/strategy_store/store.py:173
↓ 27 callersClassMemoryLifecycle
Lifecycle management for persistent memory: quality scoring, decay, GC. Wraps a PersistentMemory instance and provides reinforcement, garbage
agent/src/memory/lifecycle.py:94
↓ 26 callersClassBackgroundManager
Background thread execution + notification queue, addressed by owner. One instance is a *handle*: it carries the scope its methods read and write
agent/src/tools/background_tools.py:159
↓ 26 callersClassOrderBook
The bar-agnostic lifecycle: orders in, statuses and fills out. The book never reads the clock and never touches money floats; fill quantities
agent/src/tools/paper_trade/order_lifecycle.py:123
↓ 26 callersClassWorkerResult
Return value after worker execution completes.
agent/src/swarm/models.py:327
↓ 25 callersClassArtifact
Artifact file metadata.
agent/src/api/models.py:10
↓ 25 callersClassPortfolioService
Aggregate every enabled read-only source into one immutable snapshot. The service reads; it never places or cancels an order. A source that c
agent/src/portfolio/service.py:198
↓ 25 callersClassSessionService
Own the active attempts and durable input queue for a session store. Args: store: Store for session metadata, attempts, and durable threa
agent/src/session/service.py:48
↓ 25 callersClass_OrderTracker
Records the order in which the runner reaches each tick stage.
agent/tests/test_runtime_runner.py:106
↓ 24 callersClassAttempt
A strategy execution attempt corresponding to one pipeline run.
agent/src/session/models.py:192
↓ 24 callersClassDataLoader
AKShare universal OHLCV loader (free, no auth).
agent/backtest/loaders/akshare_loader.py:110
↓ 24 callersClassGlobalEquityEngine
US / HK / Canada / UK equity engine selected by *market*. Config keys: - slippage_us: default 0.0005 - slippage_hk: default 0.001
agent/backtest/engines/global_equity.py:60
↓ 24 callersClassPortfolioStore
SQLite-backed history of immutable portfolio snapshots plus an FX cache.
agent/src/portfolio/store.py:34
↓ 24 callersClassQuantlibCallTool
Call any public function of the tested finance-math layer.
agent/src/tools/quantlib_tool.py:282
↓ 24 callersClassSemanticLinker
Manages BM25-based semantic links between memory entries. Responsible for discovering related memories via BM25 similarity scoring, persistin
agent/src/memory/semantic_links.py:158
↓ 23 callersClassFinancialStatementsTool
Fetch a stock's three financial statements or key per-period indicators.
agent/src/tools/financial_statements_tool.py:787
↓ 23 callersClassHypothesisRegistry
File-backed registry for research hypotheses.
agent/src/hypotheses/registry.py:145
↓ 23 callersClassScriptedLLM
Offline LLM: each request consumes the next scripted step.
agent/tests/test_spawn_agent_tool.py:45
↓ 23 callersClassShadowRule
One human-readable if-then rule distilled from profitable roundtrips. Attributes: rule_id: Stable ID like "R1", "R2". human_text:
agent/src/shadow_account/models.py:60
↓ 23 callersClassValuationError
Base class for every refusal a valuation model makes.
agent/src/quantlib/valuation/contracts.py:47
↓ 22 callersClassBackgroundTaskStore
One JSON record per task, written atomically under a fixed root.
agent/src/tools/background_store.py:98
↓ 22 callersClassDataLoader
Yahoo Finance global-equity OHLCV loader (free, direct HTTP, no auth).
agent/backtest/loaders/yahoo_loader.py:199
↓ 22 callersClassLiveActionEvent
One immutable live-action audit record (SPEC.md Consent §5). Attributes: kind: The live-action kind (``order_placed`` | ``order_rejected`
agent/src/live/audit.py:171
↓ 22 callersClassProviderStreamError
Raised when provider streaming fails before a complete response. Args: provider: Provider label for the failing request. model: M
agent/src/providers/response.py:129
↓ 22 callersClassScheduledResearchExecutor
Background poller that dispatches due scheduled research jobs. The tick loop, wakeup, start/stop lifecycle and retry backoff live in a :class
agent/src/scheduled_research/executor.py:145
↓ 21 callersClassBackgroundScope
Which conversation or worker owns a background task. The host that builds the tool registry supplies this. It never appears in a model-visibl
agent/src/tools/background_tools.py:35
↓ 21 callersClassChatLLM
LLM chat client with function calling support. Args: model_name: Optional model name override. policy: Tool policy used when cons
agent/src/providers/chat.py:23
↓ 21 callersClassFundFlowTool
Fetch order-bucket net capital inflow (main/large/medium/small) for stocks.
agent/src/tools/fund_flow_tool.py:174
↓ 21 callersClassMemorySearchIndex
SQLite FTS5 index for memory full-text search. Supports: - Indexing individual memory entries as they are created/updated - Full-
agent/src/memory/search_index.py:219
↓ 21 callersClassShadowProfile
User's extracted trading shadow. Attributes: shadow_id: "shadow_<8-hex>" unique ID. created_at: ISO8601 UTC timestamp. jo
agent/src/shadow_account/models.py:93
↓ 21 callersClassSwarmRuntime
Orchestrate swarm task DAGs in a background thread per run. Args: store: Swarm run persistence store. max_workers: Maximum number
agent/src/swarm/runtime.py:361
↓ 20 callersClassChatOpenAIWithReasoning
ChatOpenAI that preserves provider reasoning across invoke + stream. Args: *args: Positional arguments forwarded to ChatOpenAI.
agent/src/providers/adapters/openai.py:77
↓ 20 callersClassDataLoader
Forex/metals OHLCV from the local MT5 terminal (Windows, opt-in extra).
agent/backtest/loaders/mt5_loader.py:192
↓ 20 callersClassDataLoader
Gildata A-share/HK/CN-index OHLCV loader (token-gated, MCP-over-HTTP).
agent/backtest/loaders/gildata_loader.py:325
↓ 20 callersClassMemoryHierarchy
Manages hierarchical directory structure for memory entries. Provides O(category_size) routed access to memory files organized by memory_type
agent/src/memory/hierarchy.py:34
↓ 20 callersClassResearchPapersTool
Search academic finance papers and convert them into factor briefs.
agent/src/tools/research_papers_tool.py:1462
↓ 19 callersClassCompressionPipeline
Three-level compression pipeline for memory entries.
agent/src/memory/compression.py:194
↓ 19 callersClassCredentialStore
Store secrets in Keychain/Credential Manager/Secret Service via keyring. The ``keyring`` package is an optional extra: it is imported the first t
agent/src/trading/credentials.py:23
↓ 19 callersClassOptionsPayoffTool
Analyze expiry payoff and spot/IV scenarios for an option strategy.
agent/src/tools/options_payoff_tool.py:48
↓ 19 callersClass_AdjustmentEngine
agent/tests/test_base_engine.py:23
↓ 18 callersClassFixtureLoader
The network leg's structural shape, served entirely from CSV fixtures. ``calls`` records every request so a test can prove a step issued exactly
agent/tests/paper_trade_5m_fixtures.py:183
↓ 18 callersClassPositionState
Exchange-independent open-position accounting state.
agent/backtest/perpetual_risk.py:133
↓ 18 callersClassStockNewsTool
Read-only per-stock and global financial news headlines.
agent/src/tools/stock_news_tool.py:265
↓ 18 callersClassSwarmEvent
Swarm event log entry.
agent/src/swarm/models.py:291
↓ 17 callersClassDecisionSettings
Operator settings shared by the REST, CLI and Web control surfaces.
agent/src/live/runtime/decision_budget.py:25
↓ 17 callersClassMCPServerAdapter
Synchronous wrapper around the async FastMCP client.
agent/src/tools/mcp.py:541
↓ 17 callersClassMarketDataTool
Fetch normalized OHLCV data through repository loaders.
agent/src/tools/market_data_tool.py:79
↓ 17 callersClassMessage
A session message such as user input or system output.
agent/src/session/models.py:158
↓ 17 callersClassPortfolioSettingsStore
Owner-only JSON store containing no broker credentials.
agent/src/portfolio/config.py:241
↓ 17 callersClassTushareFundamentalProvider
Small DataProvider contract for Tushare financial statement tables.
agent/backtest/loaders/tushare_fundamentals.py:118
↓ 17 callersClass_StubLLMResponse
Minimal stand-in for ChatLLM's response object.
agent/tests/test_agent_loop_terminal_state.py:29
↓ 16 callersClassAccountState
Single-asset USDT account state without open-order margin.
agent/backtest/perpetual_risk.py:195
↓ 16 callersClassAccountState
RM-injected ledger snapshot. The engine trusts but echoes its hash (R7).
agent/src/tools/paper_trade/schema.py:230
↓ 16 callersClassAssumption
A caller-supplied judgement, carried through to the result. Attributes: name: What is being assumed, e.g. ``"terminal_growth"``.
agent/src/quantlib/valuation/contracts.py:75
↓ 16 callersClassChannelManager
Manages chat channels and coordinates message routing. Responsibilities: - Initialize enabled channels (Telegram, Discord, Slack, etc.) -
agent/src/channels/manager.py:63
next →1–100 of 3,299, ranked by callers