MCPcopy Create free account

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

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

↓ 1 callersMethod_init_db
(self)
agent/src/research_artifacts/store.py:83
↓ 1 callersMethod_init_media_root
Choose a directory for saving inbound attachments (side-effect free). Ephemeral validation instances (web-config Test/Save) construct the
agent/src/channels/qq.py:180
↓ 1 callersFunction_init_registration
Verify the environment supports client_secret auth. Raises RuntimeError if not.
agent/src/channels/feishu.py:436
↓ 1 callersMethod_init_schema
(self)
agent/src/portfolio/store.py:54
↓ 1 callersFunction_initial_detail
(tool: str, args: Any)
agent/cli/ui/rail.py:107
↓ 1 callersMethod_initialize
(self)
agent/src/tools/mcp.py:159
↓ 1 callersFunction_inject_fundamental_panel
Inject required fundamental fields into a factor panel. Args: panel: Existing factor panel keyed by column name. symbols: Symbols
agent/backtest/runner.py:1097
↓ 1 callersMethod_inject_tool_call_thought_signatures
(cls, outbound: Any, source_message: Any)
agent/src/providers/llm.py:523
↓ 1 callersFunction_inject_valuation_panel
Inject required ``val:*`` daily valuation fields into a factor panel. Source is tushare ``daily_basic`` (CN A-share only): daily market data
agent/backtest/runner.py:1168
↓ 1 callersFunction_inline_contribution
Return the matching client contribution, holder-perspective.
agent/tests/test_cashflow_analytics_tool.py:22
↓ 1 callersFunction_install_panel
(monkeypatch: pytest.MonkeyPatch, closes: dict[str, np.ndarray])
agent/tests/test_regime.py:181
↓ 1 callersFunction_install_strategy
(name: str, source: str)
agent/tests/test_paper_trade_multiday.py:209
↓ 1 callersFunction_instrument_to_dict
(item: Any)
agent/src/trading/connectors/trading212/sdk.py:573
↓ 1 callersFunction_instrument_type_id_from_query
(query: str, cfg: EtoroConfig)
agent/src/trading/connectors/etoro/instruments.py:413
↓ 1 callersFunction_int_or_none
(value: Any)
agent/src/trading/service.py:1735
↓ 1 callersFunction_int_or_none
Cast *value* to a plain Python int (handles numpy scalars). Return None for None.
agent/src/trading/connectors/mt5/reads.py:307
↓ 1 callersFunction_integer
(value: Any, name: str)
agent/src/trading/connectors/binance/usdm.py:335
↓ 1 callersFunction_interactive_loop
Drive the new interactive REPL. Args: max_iter: Maximum ReAct iterations per turn. resume_session_id: If set, load this specific
agent/cli/main.py:1303
↓ 1 callersFunction_internal_roots_for_cwd
Compute the internal root prefixes for one working directory. Args: cwd: Working directory to include among the roots (the cache key).
agent/src/tools/redaction.py:183
↓ 1 callersFunction_intraday_csv
Write 8 hourly bars on 2026-01-01 (00:00..07:00).
agent/tests/test_local_loader.py:67
↓ 1 callersFunction_intraday_source
(csv_path: Path)
agent/tests/test_local_loader.py:86
↓ 1 callersFunction_intrinsic
Return vectorized intrinsic values for one option leg.
agent/backtest/options_payoff.py:70
↓ 1 callersFunction_intrinsic
Undiscounted exercise value of an option. Args: S: Underlying spot price. K: Strike price. option_type: Normalised ``"cal
agent/src/quantlib/options.py:168
↓ 1 callersFunction_intro_header
(console: Console)
agent/cli/onboard.py:392
↓ 1 callersFunction_invalidate_proposal
Delete a proposal so it can never be committed twice (idempotency).
agent/src/live/mandate/commit.py:252
↓ 1 callersFunction_inverted
Encode plain text the way OpenAlex serves abstracts. Args: text: Whitespace-separated abstract text. Returns: A ``{word: [po
agent/tests/test_research_papers_tool.py:114
↓ 1 callersMethod_invoke_and_audit
Invoke the agent with the pinned mandate, then audit the outcome. Args: mandate: The active, unexpired mandate to pin inline.
agent/src/live/runtime/runner.py:511
↓ 1 callersFunction_is_a_share
(code: str)
agent/backtest/loaders/eastmoney_loader.py:218
↓ 1 callersFunction_is_additive_unit
Whether a fact in ``unit`` sums across quarters to the full year. Currency flows do. A weighted-average share count (``shares``) is an averag
agent/src/tools/financial_statements_tool.py:556
↓ 1 callersMethod_is_addressed_to_bot
(self, message: Any)
agent/src/channels/whatsapp.py:606
↓ 1 callersFunction_is_allowed_loopback_host
Return whether *host* is allowed for loopback-trusted API requests.
agent/src/api/security.py:133
↓ 1 callersFunction_is_allowed_loopback_target
Check that *hostname* is a literal loopback host and every addr is loopback.
agent/src/channels/utils.py:193
↓ 1 callersMethod_is_borderline
True when a passing row sits inside the #969 adversarial buffer bands.
agent/src/strategy_discovery/facade.py:707
↓ 1 callersMethod_is_bot_mentioned
Check m.mentions payload for bot mention.
agent/src/channels/matrix.py:754
↓ 1 callersMethod_is_bot_mentioned
Check if the bot is @mentioned in the message.
agent/src/channels/feishu.py:979
↓ 1 callersFunction_is_classvar
True for ``ClassVar[...]`` under any of its usual spellings. Aliased imports (``from typing import ClassVar as CV``) are not resolved; the tr
agent/tests/test_dataclass_field_name_collisions.py:97
↓ 1 callersFunction_is_clob_token_id
Decide whether an identifier is a CLOB outcome token id. The two id spaces are disjoint by construction rather than by convention: a CLOB tok
agent/src/tools/prediction_market_tool.py:324
↓ 1 callersFunction_is_cn_equity
Detect A-share equity symbols served by ``daily_basic``. ``daily_basic`` is stock-only: indices and listed funds are excluded even though the
agent/backtest/loaders/valuation_loader.py:71
↓ 1 callersFunction_is_compound_modifier
Check whether the alias is modifying a following noun instead of heading. ``the IC engine`` / ``the alpha channel`` use the alias as an adjective
agent/src/tools/research_papers_tool.py:505
↓ 1 callersFunction_is_confirmed
Return whether a recorded order was durably confirmed before any crash. A recorded order is "confirmed" once we audited the broker's acceptance a
agent/src/live/runtime/reconcile.py:240
↓ 1 callersFunction_is_container
(node: dict)
agent/tests/test_mcp_json_string_args.py:65
↓ 1 callersFunction_is_copy_complete
(payload: dict[str, Any])
agent/src/trading/connectors/etoro/copy_trading.py:236
↓ 1 callersFunction_is_currency_mark
Whether a declared value's decoration is empty or one currency mark. Accepts an ISO code ("USD"), a CJK currency word ("港元"), or money charac
agent/src/agent/grounding/figures.py:696
↓ 1 callersFunction_is_dark_terminal
Heuristically decide whether the terminal is rendering on a dark theme. Rich does not expose a foolproof "dark mode?" probe, so we use a best-eff
agent/cli/theme.py:43
↓ 1 callersFunction_is_dataclass
True when the class carries a ``@dataclass`` decorator (any spelling).
agent/tests/test_dataclass_field_name_collisions.py:61
↓ 1 callersFunction_is_dead_feed
True when the Eastmoney payload carries no live northbound signal. HKEX stopped publishing northbound daily net buy on 2024-08-30; the Eastmo
agent/src/tools/northbound_tool.py:156
↓ 1 callersFunction_is_decay_enabled
Check if importance decay is enabled via VT_MEMORY_DECAY env var.
agent/src/memory/persistent.py:95
↓ 1 callersMethod_is_encrypted_media_event
(event: MatrixMediaEvent)
agent/src/channels/matrix.py:836
↓ 1 callersMethod_is_encrypted_room
(self, room_id: str)
agent/src/channels/matrix.py:414
↓ 1 callersMethod_is_error_envelope
Whether the forwarded result is an error envelope (H2). ``MCPServerAdapter.call_tool`` returns ``{"status": "error", ...}`` on broker
agent/src/live/order_guard.py:822
↓ 1 callersFunction_is_etf_class
Report whether an index row looks like an exchange-traded share class. The SEC series/class file has no ETF flag, so the only available signal is
agent/src/tools/etf_holdings_tool.py:451
↓ 1 callersMethod_is_expired
Return whether the mandate is past its ``expires_at`` (fail-closed). An unparseable ``expires_at`` is treated as expired (fail-closed): a
agent/src/live/order_guard.py:797
↓ 1 callersFunction_is_expired_token
Recognize the broker's explicit token-expiry rejection.
agent/src/trading/connectors/kis/sdk.py:870
↓ 1 callersFunction_is_finite
Return True when *value* is a finite number (not NaN, not inf).
agent/src/swarm/grounding.py:65
↓ 1 callersFunction_is_flow_concept_series
(concepts: Iterable[str])
agent/backtest/loaders/fundamentals_loader.py:306
↓ 1 callersMethod_is_forwarded
(message: Any)
agent/src/channels/whatsapp.py:639
↓ 1 callersMethod_is_group_message_for_bot
Allow group messages when policy is open or bot is @mentioned.
agent/src/channels/feishu.py:990
↓ 1 callersMethod_is_group_message_for_bot
Allow group messages when policy is open, @mentioned, or replying to the bot.
agent/src/channels/telegram.py:1312
↓ 1 callersFunction_is_header_or_rule
Whether a block line is a ``value | role`` header or a Markdown separator row.
agent/src/agent/grounding/figures.py:783
↓ 1 callersFunction_is_hk
(code: str)
agent/backtest/loaders/akshare_loader.py:47
↓ 1 callersFunction_is_hk_equity
(code: str)
agent/backtest/loaders/tencent_loader.py:56
↓ 1 callersFunction_is_hk_equity
Detect HK equity symbols (e.g. ``00700.HK``).
agent/backtest/loaders/gildata_loader.py:95
↓ 1 callersFunction_is_image_name
(name: str)
agent/src/channels/qq.py:94
↓ 1 callersFunction_is_intentionally_absent
Return True for gitignored secret files the guide cites as do-not-write targets.
agent/tests/test_agent_guide_paths.py:30
↓ 1 callersFunction_is_leap
Report whether a Gregorian year is a leap year. Args: year: Four-digit calendar year. Returns: True when the year has 366 da
agent/src/quantlib/fixedincome.py:136
↓ 1 callersFunction_is_loopback_bind_host
Return whether *host* resolves to a loopback interface.
agent/src/api/security.py:139
↓ 1 callersFunction_is_loopback_origin
Return whether a browser Origin header names a loopback web UI.
agent/src/api/security.py:383
↓ 1 callersMethod_is_manager_running
Return whether the outbound dispatcher (``start_all``) is active.
agent/src/channels/manager.py:425
↓ 1 callersMethod_is_mention
(self, event_type: str, text: str)
agent/src/channels/slack.py:685
↓ 1 callersFunction_is_mirror_text_block
Return whether ``block`` is a bare text block that only restates ``data``.
agent/src/tools/mcp.py:1309
↓ 1 callersMethod_is_missing_mailbox_error
(cls, exc: Exception)
agent/src/channels/email.py:882
↓ 1 callersFunction_is_namedtuple
True for ``class X(NamedTuple)`` under its usual import spellings.
agent/tests/test_dataclass_field_name_collisions.py:72
↓ 1 callersMethod_is_new_session_command
Check if the message is a session reset command (/new, /reset, /newsession).
agent/src/channels/runtime.py:477
↓ 1 callersFunction_is_no_stream_chunk_error
True when a provider accepted the request but streamed zero chunks. LangChain raises ``ValueError("No generation chunks were returned")`` when
agent/src/providers/chat.py:237
↓ 1 callersFunction_is_non_negative_int
(value: Any)
agent/evals/harness/schema.py:177
↓ 1 callersFunction_is_null_schema
Return whether a schema branch represents only ``null``. Args: schema: Candidate schema branch. Returns: ``True`` when the b
agent/src/tools/mcp.py:1152
↓ 1 callersFunction_is_number
(value: Any)
agent/tests/test_paper_trade_fixtures.py:107
↓ 1 callersFunction_is_open_order
Return whether a mapped order row is still live (not in a terminal state).
agent/src/trading/connectors/longbridge/sdk.py:386
↓ 1 callersMethod_is_os_getenv
Return True when *node* is ``os.getenv``.
tools/ci_env_var_gate.py:107
↓ 1 callersMethod_is_pairing_command
(content: str)
agent/src/channels/runtime.py:467
↓ 1 callersFunction_is_percent_field
Whether a field name says its value is already in percentage points.
agent/src/agent/grounding/policies.py:171
↓ 1 callersFunction_is_plain_count
Whether a figure can be a count or a parameter the model chose. A weight, threshold, window, probability or multiplier is unchecked; a figure
agent/src/agent/grounding/policies.py:177
↓ 1 callersFunction_is_possible_dsml_tool_call_prefix
Return True while buffered stream text could still be a DSML call.
agent/src/providers/chat.py:278
↓ 1 callersMethod_is_private_company_skill
Return whether this call selects a private-company skill.
agent/src/agent/grounding/identity.py:986
↓ 1 callersFunction_is_quality_enabled
Check if quality scoring is enabled via VT_MEMORY_QUALITY env var.
agent/src/memory/persistent.py:102
↓ 1 callersFunction_is_relative_to
(path: Path, root: Path)
agent/src/channelsui/gateway_services.py:294
↓ 1 callersMethod_is_remote_media_url
(path: str)
agent/src/channels/telegram.py:682
↓ 1 callersFunction_is_retryable_error
Determine whether a failure should receive a single retry. Args: exc: Exception raised by an MCP operation. Returns: ``True`
agent/src/tools/mcp.py:1363
↓ 1 callersMethod_is_retryable_media_download_error
(err: Exception)
agent/src/channels/weixin.py:265
↓ 1 callersMethod_is_retryable_qr_poll_error
(err: Exception)
agent/src/channels/weixin.py:420
↓ 1 callersMethod_is_rich_capability_error
True when the error indicates sendRichMessage is unavailable.
agent/src/channels/telegram.py:686
↓ 1 callersFunction_is_runtime_env_key_allowed
Return whether an environment key is safe for generated backtest code.
agent/src/core/runner.py:346
↓ 1 callersMethod_is_sas_sender_allowed
(self, sender: str)
agent/src/channels/matrix.py:613
↓ 1 callersMethod_is_self_address
Return True when an inbound sender belongs to the bot itself.
agent/src/channels/email.py:747
↓ 1 callersFunction_is_separator_row
Whether every cell is a Markdown alignment run (``---``, ``:--:``).
agent/src/agent/grounding/figures.py:905
↓ 1 callersFunction_is_small_exponent
Whether a power's exponent is a literal 2 or 3.
agent/src/agent/grounding/policies.py:411
↓ 1 callersMethod_is_stale_imap_error
(cls, exc: Exception)
agent/src/channels/email.py:877
↓ 1 callersFunction_is_string_list
(value: Any)
agent/evals/harness/schema.py:173
↓ 1 callersFunction_is_supported_chat_invocation
Return True for chat invocations handled by the interactive front door.
agent/cli/main.py:254
↓ 1 callersFunction_is_suspended
Suspension verdict from ``stk_suspend`` rows. tushare-lineage semantics: ``suspend_type`` ``S`` = suspended, ``R`` = resumed. A resumption r
agent/src/tools/paper_trade/limits_cn_a.py:137
← previousnext →6,301–6,400 of 26,887, ranked by callers