MCPcopy Create free account

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

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

↓ 2 callersFunction_resolve_network_loader
(chain_key: str, exclude: frozenset[str] = frozenset())
agent/src/tools/paper_trade/data.py:269
↓ 2 callersFunction_resolve_node_and_npm
Return ``(node_path, npm_path)`` if both are on PATH, else ``(None, None)``. Used by ``cmd_setup`` to fail fast with a clear message instead of
agent/cli/_legacy.py:6354
↓ 2 callersFunction_resolve_sandbox_credentials
Return ``(user, group)`` for the privilege-dropped subprocess, else None. None (run without a UID drop) is returned whenever the ``vibe-sandbox``
agent/src/core/runner.py:56
↓ 2 callersFunction_resolve_strategy_source
(strategy_path: str)
agent/src/tools/paper_trade/strategy_exec.py:199
↓ 2 callersFunction_result
()
agent/tests/test_shadow_result_cache.py:48
↓ 2 callersFunction_result_exit_code
Map run results to stable exit codes.
agent/cli/_legacy.py:279
↓ 2 callersMethod_result_matches
Whether a formula's result is the value the prose figure states. The band is half a unit of the last digit the PROSE was written with
agent/src/agent/grounding/policies.py:2163
↓ 2 callersFunction_retry
Call ``fn`` up to ``tries`` times with exponential backoff.
agent/src/tools/alpha_bench_tool.py:671
↓ 2 callersFunction_risk_snapshot
( account: AccountState, risks: tuple[PositionRisk, ...], fidelity_flags: tuple[str, ...], sta
agent/backtest/perpetual_risk.py:335
↓ 2 callersFunction_rlimit_bootstrap_argv
Return the ``-c`` bootstrap argv prefix that caps address space + fds. Returns None on Windows (no ``resource`` module), where the caller runs th
agent/src/core/runner.py:120
↓ 2 callersFunction_rotation_run
(*, last_close_a: float = 100.0, code_order=None)
agent/tests/test_execution_causality.py:33
↓ 2 callersFunction_rounded
Round a finite scalar for stable, compact JSON. Args: value: Number to round. Returns: The value rounded to :data:`_ROUNDING
agent/src/tools/cashflow_analytics_tool.py:455
↓ 2 callersFunction_rounded
(symbol: str, raw: float)
agent/tests/test_china_a_board_order_grid.py:17
↓ 2 callersFunction_routing_frame
()
agent/tests/test_equity_crypto_suffix_regressions.py:134
↓ 2 callersMethod_row_pool
Numbers a market-data row carried (volume, amount, turnover, …). Only ``get_market_data`` and run-dir CSV rows count, so a generic tool's
agent/src/agent/grounding/policies.py:1474
↓ 2 callersMethod_row_to_artifact
Convert a database row to an ``Artifact`` dataclass.
agent/src/strategy_store/sqlite_store.py:289
↓ 2 callersFunction_rows
Iterate a ``;``-separated CVM CSV with upper-cased header keys.
agent/src/br_data/cvm_funds.py:51
↓ 2 callersFunction_rows
()
agent/tests/test_capability_matrix.py:33
↓ 2 callersFunction_run
Build an AgentLoop, wire up a scratch run_dir, and execute.
agent/tests/test_content_filter_e2e.py:126
↓ 2 callersFunction_run
(engine, code: str, run_dir: Path)
agent/tests/test_india_backtest_smoke.py:59
↓ 2 callersFunction_run
(weights: list[float], run_dir: Path)
agent/tests/test_uk_backtest_smoke.py:55
↓ 2 callersFunction_run
(runtime: SwarmRuntime, tmp_path: Path, cancel_event=None)
agent/tests/test_swarm_worker_retry_backoff.py:39
↓ 2 callersFunction_run
(monkeypatch, rows: list[dict[str, object]], limit: int)
agent/tests/test_connector_history_display.py:19
↓ 2 callersFunction_run
(parser, capsys, *args)
agent/tests/test_cli_research_artifact.py:17
↓ 2 callersMethod_run
(self, code: str, close: pd.Series, hv: pd.Series, capital: float)
agent/src/skills/options-strategy/example_signal_engine.py:89
↓ 2 callersMethod_run
(self, tmp_path, extra, bench_close)
agent/tests/test_warmup_window.py:276
↓ 2 callersFunction_run_card_manifest
``{relative path: sha256}`` from a backtest's run card, or empty.
agent/src/agent/grounding/evidence.py:290
↓ 2 callersFunction_run_copilot
( *, model: str, messages: list[Any], tools: list[dict[str, Any]], timeout: float, emi
agent/src/providers/copilot_auth.py:193
↓ 2 callersFunction_run_due_internal_job
Seed with the flag on, make the row due, tick once, drain, return store.
agent/tests/test_br_data.py:476
↓ 2 callersFunction_run_liquidation_case
(margin_mode: str)
agent/tests/test_crypto_engine.py:157
↓ 2 callersFunction_run_one_call
Open one ATM 30-day call and return (recorded price, spot, sigma at fill).
agent/tests/test_options_hv_bars_per_year.py:139
↓ 2 callersMethod_run_small_backtest
Run a minimal backtest with 200 bars x 3 symbols.
agent/tests/test_signal_alignment_perf.py:498
↓ 2 callersFunction_run_strategy_form
()
agent/tests/test_paper_trade_multiday.py:219
↓ 2 callersFunction_run_sync
Run an async operation from sync code. Args: operation: Async callable to execute. Returns: Result returned by the async cal
agent/src/tools/mcp.py:905
↓ 2 callersFunction_run_with_result
(run_dir: Path, result: _FakeRunResult)
agent/tests/test_backtest_tool_state.py:42
↓ 2 callersFunction_run_worker_with
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, tool: BaseTool, arguments: dict )
agent/tests/test_swarm_tool_run_dir.py:141
↓ 2 callersFunction_runner
()
agent/src/api/alpha_routes.py:607
↓ 2 callersFunction_running_run
(run_id: str = "r-cancel")
agent/tests/test_swarm_cancel_cascade.py:40
↓ 2 callersFunction_runtime
(tmp_path: Path)
agent/tests/test_swarm_worker_retry_backoff.py:22
↓ 2 callersFunction_runtime_root_children
Map each name joined directly onto the runtime root to its module. The filename-constant scan above misses ``get_runtime_root() / "x.db"`` wr
agent/tests/test_gitignore_runtime_files.py:59
↓ 2 callersFunction_runtime_root_filenames
Map each root-level filename constant to the module that defines it.
agent/tests/test_gitignore_runtime_files.py:25
↓ 2 callersFunction_safe_call
(obj: Any, name: str, *args: Any)
agent/src/trading/connectors/longbridge/sdk.py:950
↓ 2 callersFunction_safe_dict
Return *value* if it's a dict, else empty dict.
agent/src/channels/mochat.py:74
↓ 2 callersFunction_safe_get
Safely traverse nested dicts.
agent/src/trading/connectors/dhan/sdk.py:619
↓ 2 callersMethod_safe_handle
Swallow and log any exception from a top-level handler block. Logs `self.logger.error` with the action name, the exception, and a bou
agent/src/channels/signal.py:677
↓ 2 callersFunction_safe_import_path
Validate a user-supplied path against explicit import roots. Args: p: User-supplied path. `~` expansion is supported. purpose: Hu
agent/src/tools/path_utils.py:322
↓ 2 callersFunction_same_json
Compare JSON values strictly (``1`` is not ``True``, key order ignored).
agent/src/tools/mcp.py:1301
↓ 2 callersMethod_same_record
Return whether *current* is the same scheduled run we started. ``created_at`` is assigned once at creation, so a replacement POST for
agent/src/scheduled_research/executor.py:763
↓ 2 callersFunction_sample
(rows=40, seed=7)
agent/tests/quantlib/test_combination_equal_fallback_weights.py:14
↓ 2 callersFunction_sample_payload
()
agent/tests/test_block_trades_tool.py:15
↓ 2 callersFunction_sample_pdf
(text: str)
agent/tests/test_email_rich_delivery.py:31
↓ 2 callersFunction_samples
()
agent/tests/test_binance_tolerance_calibration.py:30
↓ 2 callersFunction_sanitize
(text: str)
agent/tests/test_msteams_reply_quote_normalization.py:10
↓ 2 callersMethod_sanitize_inbound_text
Extract the user-authored text from a Teams activity.
agent/src/channels/msteams.py:406
↓ 2 callersFunction_sanitize_name_segment
Normalize a server or tool name segment for stable local naming. Args: value: Raw server or tool name. Returns: Lowercase AS
agent/src/tools/mcp.py:940
↓ 2 callersFunction_sanitize_snapshot_errors
Clean error strings from stored snapshots before returning them to APIs.
agent/src/portfolio/service.py:120
↓ 2 callersMethod_save_session_cursors
(self)
agent/src/channels/mochat.py:896
↓ 2 callersMethod_save_session_map
(self)
agent/src/channels/runtime.py:404
↓ 2 callersFunction_scalar_metrics
Scalar metrics, minus any whose value has a dedicated top-level key.
agent/backtest/run_card.py:285
↓ 2 callersFunction_scalar_oracle
Evaluate exact rational returns, then a scalar sample deviation.
agent/tests/factors/test_qlib158_wvma_abs_numerator.py:82
↓ 2 callersFunction_scan
(pattern: re.Pattern[str], paths: list[Path])
agent/tests/test_paper_trade_purity.py:240
↓ 2 callersFunction_schedule_note
Return the one-line caveat printed after a job is stored.
agent/cli/commands/research_playbook.py:257
↓ 2 callersFunction_scheduled_proposal_from_tool_result
Recover the full scheduled-research proposal from a tool preview.
agent/cli/_legacy.py:1023
↓ 2 callersFunction_scheduled_research_scheduler_enabled
Return whether scheduled research execution is enabled.
agent/src/api/scheduled_routes.py:43
↓ 2 callersFunction_schema_problems
List the ways a snapshot fails the schema this tool queries. Args: connection: Open SQLite connection to a candidate snapshot. Retur
agent/src/tools/taiwan_stock_data_tool.py:133
↓ 2 callersMethod_sdm_artifact_status
Read-only SDM artifact status lookup for lifecycle mirroring. Degrades gracefully (plan D8): a missing store, a missing ``get_artifac
agent/src/strategy_discovery/facade.py:196
↓ 2 callersFunction_search_by_symbol
(cfg: EtoroConfig, symbol: str, *, limit: int)
agent/src/trading/connectors/etoro/instruments.py:379
↓ 2 callersFunction_search_by_text
(cfg: EtoroConfig, query: str, *, limit: int)
agent/src/trading/connectors/etoro/instruments.py:390
↓ 2 callersFunction_search_session_ids
(query: str)
agent/tests/test_session_delete_clears_search_index.py:49
↓ 2 callersFunction_seat_payload
A live Eastmoney buy- or sell-side seat payload.
agent/tests/test_dragon_tiger_tool.py:52
↓ 2 callersFunction_sec_facts
(period_count: int)
agent/tests/test_tool_result_paging.py:112
↓ 2 callersFunction_sec_router
Serve the SEC fixtures by URL, mirroring the live endpoint layout.
agent/tests/test_etf_holdings_tool.py:320
↓ 2 callersFunction_seed
(store: SessionStore, session_id: str)
agent/tests/test_session_store_messages_corrupt.py:12
↓ 2 callersMethod_seed
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:524
↓ 2 callersMethod_seed
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:1111
↓ 2 callersMethod_seed_entries
(self, tmp_path)
agent/tests/memory/test_tier2_integration.py:337
↓ 2 callersFunction_send
(proc: subprocess.Popen, obj: dict)
agent/tests/test_mcp_server_smoke.py:78
↓ 2 callersMethod_send_batch_message
( self, token: str, chat_id: str, msg_key: str, msg_param: dict[str, A
agent/src/channels/dingtalk.py:558
↓ 2 callersMethod_send_event
Send a control event (attached, error, ...) to a single connection.
agent/src/channels/websocket.py:354
↓ 2 callersMethod_send_message_sync
Send a single message and return the message_id on success.
agent/src/channels/feishu.py:1690
↓ 2 callersMethod_send_once
Send one outbound message without retry policy.
agent/src/channels/manager.py:526
↓ 2 callersMethod_send_text
Send a text message matching the exact protocol from send.ts.
agent/src/channels/weixin.py:1290
↓ 2 callersMethod_send_text
Send a plain text message with HTML fallback.
agent/src/channels/telegram.py:899
↓ 2 callersMethod_send_text_only
Send a plain/markdown text message.
agent/src/channels/qq.py:318
↓ 2 callersMethod_send_with_retry
Send a message with retry on failure using exponential backoff.
agent/src/channels/manager.py:596
↓ 2 callersMethod_sender_matches_allowlist
Return True if any normalized variant of sender_id is on allow_list. Both ``sender_id`` and each allow_list entry can be a single ide
agent/src/channels/signal.py:1076
↓ 2 callersFunction_sentiment_rows
(date_order: list[int])
agent/tests/test_social_media_intelligence_skill.py:30
↓ 2 callersFunction_serialised_size
UTF-8 bytes this value occupies in the card's own JSON formatting. Measured on the normalised value (``_json_safe``, as the writer applies) a
agent/backtest/run_card.py:346
↓ 2 callersFunction_series
(values)
agent/tests/test_metrics_tracking_error.py:20
↓ 2 callersFunction_service
(tmp_path, broker, reader, progress=None)
agent/tests/test_portfolio_cash_and_error_details.py:13
↓ 2 callersFunction_service
(tmp_path, account: dict, position: dict)
agent/tests/test_futu_portfolio_currency.py:40
↓ 2 callersFunction_service
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_session_events_replay_start.py:33
↓ 2 callersFunction_session
()
agent/backtest/loaders/wallex.py:83
↓ 2 callersFunction_session
()
agent/backtest/loaders/nobitex.py:86
↓ 2 callersFunction_session_for
(bucket: str)
agent/backtest/loaders/_http.py:120
↓ 2 callersMethod_session_pause_remaining_s
(self)
agent/src/channels/weixin.py:525
↓ 2 callersFunction_set_reconnect_state
(**updates)
agent/src/api/portfolio_routes.py:82
↓ 2 callersMethod_set_source
(self, source: str)
tools/ci_env_var_gate.py:89
↓ 2 callersMethod_set_streaming_mode_sync
Set CardKit streaming_mode using a strictly increasing sequence.
agent/src/channels/feishu.py:1825
↓ 2 callersFunction_settings_payload
Return a valid LLM settings body carrying the given reasoning effort.
agent/tests/test_llm_reasoning_effort.py:77
← previousnext →4,401–4,500 of 26,887, ranked by callers