MCPcopy Create free account

hub / github.com/HKUDS/Vibe-Trading / functions

Functions26,887 in github.com/HKUDS/Vibe-Trading

Method__init__
(self, memory_dir: Optional[Path] = None)
agent/src/memory/persistent.py:207
Method__init__
Initialize with the memory base directory. Args: base_dir: Root directory for memory storage (e.g. ~/.vibe-
agent/src/memory/hierarchy.py:42
Method__init__
Initialize with memory directory for archive storage.
agent/src/memory/compression.py:166
Method__init__
(self, text: str, gap_after: int)
agent/src/memory/search_index.py:129
Method__init__
Initialize the search index. Args: db_path: Path to SQLite DB (default: ~/.vibe-trading/memory_index.db).
agent/src/memory/search_index.py:215
Method__init__
Initialize the goal store. Args: db_path: SQLite database path. When omitted, ``VIBE_TRADING_GOAL_DB_PATH`` can o
agent/src/goal/store.py:109
Method__init__
Bind the store to a settings file and its connection registry. Args: path: Settings file path. Defaults to ``portfolio.json`` und
agent/src/portfolio/config.py:244
Method__init__
(self, path: Path | None = None)
agent/src/portfolio/imports.py:35
Method__init__
Wire the service to its stores and connector read functions. Args: store: Snapshot/FX database. Defaults to the runtime-root stor
agent/src/portfolio/service.py:203
Method__init__
Open (and create when missing) the snapshot database. Args: path: Database file path. Defaults to ``portfolio/por
agent/src/portfolio/store.py:37
Method__init__
Initialize runner. Args: timeout: Max subprocess runtime in seconds. artifacts_spec: Artifact spec from config.
agent/src/core/runner.py:466
Method__init__
(self, *, model: str, artifact_dir: Path, can_read_files: bool)
agent/src/swarm/context.py:29
Method__init__
Initialize SwarmRuntime. Args: store: SwarmStore instance for run persistence. max_workers: Maximum concurrent worker
agent/src/swarm/runtime.py:355
Method__init__
Initialize TaskStore. Args: run_dir: Path to .swarm/runs/{run_id}/ directory.
agent/src/swarm/task_store.py:26
Method__init__
Initialize SwarmStore. Args: base_dir: Storage root directory path.
agent/src/swarm/store.py:130
Method__init__
Bind the adapter to a session service. Args: session_service: The ``SessionService`` instance driving the agent. cont
agent/src/openbb_bridge/adapter.py:60
Method__init__
(self, thresholds: DecayThresholds | None = None)
agent/src/strategy_store/decay.py:85
Method__init__
Initialize the strategy store. Args: db_path: SQLite database path. When omitted, ``VIBE_TRADING_STRATEGY_STORE_
agent/src/strategy_store/sqlite_store.py:134
Method__init__
(self)
agent/src/strategy_store/store.py:180
Method__init__
(self, channel: "DingTalkChannel")
agent/src/channels/dingtalk.py:53
Method__init__
( self, config: Any, bus: MessageBus, *, restrict_to_workspace: bool =
agent/src/channels/matrix.py:228
Method__init__
(self, config: SignalConfig, bus: MessageBus)
agent/src/channels/signal.py:382
Method__init__
( self, *, bus: MessageBus, session_service: Any, manager: ChannelMana
agent/src/channels/runtime.py:38
Method__init__
(self, config: Any, bus: MessageBus)
agent/src/channels/msteams.py:145
Method__init__
(self, config: Any, bus: MessageBus)
agent/src/channels/weixin.py:152
Method__init__
(self, bus: Any, event_bus: Any, msg: InboundMessage, session_id: str, attempt_id: str,
agent/src/channels/attempt_progress.py:12
Method__init__
(self, config: Any, bus: MessageBus)
agent/src/channels/email.py:160
Method__init__
(self, config: Any, bus: MessageBus)
agent/src/channels/napcat.py:67
Method__init__
(self, config: Any, bus: MessageBus)
agent/src/channels/feishu.py:628
Method__init__
(self, config: Any, bus: MessageBus)
agent/src/channels/mochat.py:270
Method__init__
Initialize the channel. Args: config: Channel-specific configuration. bus: The message bus for communication.
agent/src/channels/base.py:54
Method__init__
(self, config: Any, bus: MessageBus)
agent/src/channels/qq.py:161
Method__init__
(self, config: Any, bus: MessageBus)
agent/src/channels/telegram.py:479
Method__init__
(self, config: Any, bus: MessageBus)
agent/src/channels/wecom.py:91
Method__init__
(self, config: Any, bus: MessageBus)
agent/src/channels/slack.py:92
Method__init__
( self, channel: DiscordChannel, *, intents: discord.Intents,
agent/src/channels/discord.py:74
Method__init__
(self, config: Any, bus: MessageBus)
agent/src/channels/whatsapp.py:280
Method__init__
( self, config: Any, bus: MessageBus, *, gateway: GatewayServices,
agent/src/channels/websocket.py:273
Method__init__
( self, config: Any, # ChannelsConfig or dict bus: MessageBus, *, ses
agent/src/channels/manager.py:72
Method__init__
(self)
agent/src/channels/bus/queue.py:15
Method__init__
(self, zoo_root: Path | None = None)
agent/src/factors/registry.py:208
Method__init__
Initialize the event bus. Args: max_buffer_size: Maximum number of buffered events per session. heartbeat_interval_s:
agent/src/session/events.py:67
Method__init__
Create a response checkpoint. Args: store: Session persistence store. attempt: Attempt whose response is being stream
agent/src/session/checkpoint.py:21
Method__init__
Initialize the search index. Args: db_path: Path to SQLite database file.
agent/src/session/search.py:160
Method__init__
Initialize the session service. Args: store: Session persistence store. event_bus: SSE event bus. runs_di
agent/src/session/service.py:86
Method__init__
Initialize session storage. Args: base_dir: Root directory for session storage.
agent/src/session/store.py:34
Method__init__
(self, db_path: Path | str | None = None)
agent/src/research_artifacts/store.py:71
Method__init__
(self, backend: CredentialBackend | None = None)
agent/src/trading/credentials.py:36
Method__init__
( self, path: Path | None = None, *, credential_store: CredentialStore | None
agent/src/trading/connections.py:162
Method__init__
(self)
agent/src/trading/connectors/shoonya/sdk.py:590
Method__init__
(self)
agent/src/trading/connectors/ibkr/local.py:540
Method__init__
(self, cfg: EtoroConfig, transport: Transport | None = None)
agent/src/trading/connectors/etoro/client.py:276
Method__init__
(self, code: str, fields: tuple[str, ...])
agent/src/trading/connectors/longbridge/credentials.py:43
Method__init__
Initialize the gate wrapper. Args: adapter: Adapter used to invoke the remote server (read + write). spec: Resolved l
agent/src/live/order_guard.py:107
Method__init__
( self, verdict: Verdict = Verdict.APPROVE, concerns: tuple[str, ...] = (), su
agent/src/live/advisory/mock.py:37
Method__init__
(self, providers: list[PreTradeAdvisoryInterface])
agent/src/live/advisory/__init__.py:187
Method__init__
Resolve the broker's private runtime store without creating it.
agent/src/live/runtime/decision_budget.py:60
Method__init__
Initialize the scheduler. Args: on_fire: Async callback invoked with each due :class:`Job`. An exception it raise
agent/src/live/runtime/scheduler.py:212
Method__init__
Initialize the error. Args: original: Path of the store that failed to parse. quarantined: Path the corrupt file was
agent/src/live/runtime/jobstore.py:52
Method__init__
Initialize the runner. Args: broker: Broker key this runner drives. agent_caller: Async ``(session_id, prompt) -> res
agent/src/live/runtime/runner.py:308
Method__init__
Open (and initialize) the evidence database. Args: db_path: Explicit database file. When ``None``, an env override
agent/src/strategy_discovery/evidence_store.py:168
Method__init__
Wire the facade. Every dependency is injectable for tests. Args: evidence_store: Evidence backend. Default constructed lazily on
agent/src/strategy_discovery/facade.py:138
Method__init__
(self, service: Any)
agent/src/channelsui/gateway_services.py:230
Method__init__
(self, max_requests: int, window_seconds: float)
agent/src/api/system_routes.py:72
Method__init__
(self, ttl: float = _CACHE_TTL_SECONDS)
agent/src/api/live_routes.py:197
Method__init__
(self)
agent/src/skills/ashare-pre-st-filter/scripts/fetch_sina_penalties.py:280
Method__init__
Initialise the engine. Args: score_threshold: Minimum decayed sentiment to qualify (``[-1, 1]``). top_n: Max names to
agent/src/skills/event-driven/example_signal_engine.py:29
Method__init__
初始化波动率引擎。 Args: hv_window: HV 计算窗口。 lookback: 百分位排名回看期。 low_pct: 低波阈值(百分位)。 high_pct: 高波阈值(百分
agent/src/skills/volatility/example_signal_engine.py:59
Method__init__
初始化艾略特波浪信号引擎。 Args: swing_window: Swing 点检测滚动窗口半径,默认 10。 fib_tolerance: Fibonacci 比率容差,默认 0.15。 min_wave_
agent/src/skills/elliott-wave/example_signal_engine.py:36
Method__init__
初始化季节性引擎。 Args: bullish_months: 看多月份(1-12),默认 [1,2,3,11,12]。 bearish_months: 看空月份(1-12),默认 [5,6,7,8,9]。 u
agent/src/skills/seasonal/example_signal_engine.py:30
Method__init__
( self, lookback: int = 20, neutralize: bool = True, )
agent/src/skills/strategy-dev-manager/templates/factor_signal_engine.py:24
Method__init__
( self, entry_threshold: float = 0.3, exit_threshold: float = -0.1, max_positi
agent/src/skills/strategy-dev-manager/templates/strategy_signal_engine.py:25
Method__init__
初始化一目均衡表信号引擎。 Args: tenkan_period: 转换线周期,默认9。 kijun_period: 基准线周期,默认26。 senkou_b_period: 先行带B周期,默认52。
agent/src/skills/ichimoku/example_signal_engine.py:32
Method__init__
(self, cta_engine, strategy_name, vt_symbol, setting)
agent/src/skills/vnpy-export/scripts/cta_template.py:58
Method__init__
初始化基本面过滤引擎。 Args: pe_min: PE 下限(排除亏损股,默认 0)。 pe_max: PE 上限(排除高估值)。 pb_max: PB 上限。 roe_min: RO
agent/src/skills/fundamental-filter/example_signal_engine.py:30
Method__init__
初始化配对交易引擎。 Args: lookback: 均值和标准差回看窗口。 entry_z: 开仓 Z-score 阈值。 exit_z: 平仓 Z-score 阈值。
agent/src/skills/pair-trading/example_signal_engine.py:29
Method__init__
(self, delta: float = 0.30, dte: int = 35, **kw: Any)
agent/src/skills/options-strategy/example_signal_engine.py:176
Method__init__
(self, short_delta: float = 0.16, wing_delta: float = 0.05, risk_fraction: float = 0.10, **kw
agent/src/skills/options-strategy/example_signal_engine.py:190
Method__init__
(self, delta: float = 0.16, gate: str = "contracting", notional_fraction: float = 1.0, **kw:
agent/src/skills/options-strategy/example_signal_engine.py:222
Method__init__
(self, delta: float, dte: int, roll_dte: Optional[int] = None, stock_fraction: float = 1.0, *
agent/src/skills/options-strategy/example_signal_engine.py:262
Method__init__
(self, delta: float = 0.30, dte: int = 35, **kw: Any)
agent/src/skills/options-strategy/example_signal_engine.py:331
Method__init__
(self, delta: float = 0.20, dte: int = 60, roll_dte: int = 21, **kw: Any)
agent/src/skills/options-strategy/example_signal_engine.py:342
Method__init__
初始化K线形态信号引擎。 Args: body_pct: 十字星实体/振幅比阈值,默认 0.1。 shadow_ratio: 影线与实体长度比,默认 2.0。
agent/src/skills/candlestick/example_signal_engine.py:91
Method__init__
初始化多因子引擎。 Args: momentum_window: 动量回看窗口。 vol_window: 波动率回看窗口。 top_n: 选股数量。 rebalance_freq: 调仓
agent/src/skills/multi-factor/example_signal_engine.py:49
Method__init__
初始化技术面信号引擎。 Args: ema_fast: 快线 EMA 周期。 ema_slow: 慢线 EMA 周期。 adx_period: ADX 计算周期。 adx_thresho
agent/src/skills/technical-basic/example_signal_engine.py:147
Method__init__
初始化谐波形态信号引擎。 Args: is_stock: 是否为股票(影响 pyharmonics 参数)。 swing_window: 摆动点检测半窗口大小。 tol: Fibonacci 比率匹配容差。
agent/src/skills/harmonic/example_signal_engine.py:335
Method__init__
初始化 SMC 信号引擎。 Args: swing_length: Swing 高低点检测窗口,值越大检测到的结构越少但越可靠。 close_break: 是否要求收盘价突破才算有效 BOS/ChoCH。
agent/src/skills/smc/example_signal_engine.py:71
Method__init__
初始化缠论信号引擎。 Args: freq: K线分析频率,默认日线。
agent/src/skills/chanlun/example_signal_engine.py:96
Method__init__
(self, chain_break: ChainBreak)
agent/src/governance/ledger.py:217
Method__init__
(self, missing: Iterable[str], model: str)
agent/src/quantlib/valuation/contracts.py:63
Method__init__
(self, period: int, assets: float, liabilities: float, equity: float, tolerance: float)
agent/src/quantlib/valuation/threestatement.py:178
Method__init__
Initialize ContextBuilder. Args: registry: Tool registry. memory: Workspace memory. skills_loader: Skills
agent/src/agent/context.py:297
Method__init__
Initialize the heartbeat timer (not started until ``__enter__``). Args: tool_name: Tool name surfaced in each tick payload.
agent/src/agent/progress.py:136
Method__init__
(self)
agent/src/agent/tool_progress.py:58
Method__init__
Initialize SkillsLoader. Args: skills_dir: Bundled skills directory path; defaults to agent/skills/. user_skills_dir:
agent/src/agent/skills.py:107
Method__init__
( self, *, grounding: GroundingLedger | None, emit: Callable[[str, dict[str, Any]], None], ite
agent/src/agent/loop_streaming.py:17
Method__init__
(self)
agent/src/agent/tools.py:71
Method__init__
(self, estimator: Callable[[Any], int] = estimate_tokens)
agent/src/agent/context_budget.py:175
Method__init__
Initialize TraceWriter. Args: dir_path: Directory where trace files are written.
agent/src/agent/trace.py:72
Method__init__
Initialize AgentLoop. Args: registry: Tool registry. llm: ChatLLM client. memory: Workspace memory (creat
agent/src/agent/loop.py:180
← previousnext →9,601–9,700 of 26,887, ranked by callers