MCPcopy Create free account

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

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

↓ 1 callersFunction_load_live_action_record
Reload a redacted live-action record from the ledger by audit_id.
agent/src/api/sessions_routes.py:332
↓ 1 callersFunction_load_llm_providers
Load provider metadata from JSON so additions stay data-driven.
agent/src/api/settings_routes.py:177
↓ 1 callersFunction_load_metrics
Pull a numeric metrics dict from the run_dir. Looks for ``metrics.json`` first (preferred), then ``metrics.csv``. Unknown shape → empty dict
agent/src/shadow_account/backtester.py:447
↓ 1 callersFunction_load_module
(stem: str)
agent/tests/factors/test_fundamental_expansion_samples.py:113
↓ 1 callersMethod_load_module
(self, alpha: Alpha)
agent/src/factors/registry.py:381
↓ 1 callersFunction_load_ohlcv_artifacts
Read individual ohlcv_*.csv files saved by the backtest engine. The engine writes ``ohlcv_{code}.csv`` per symbol with columns ``trade_date,o
agent/src/ui_services.py:357
↓ 1 callersMethod_load_one
(self, path: Path)
agent/src/tools/background_store.py:135
↓ 1 callersFunction_load_panel_long
Parse a long-layout (entity, date, metric, value) panel file. Args: path: File path, used only for error messages. header: Column
agent/src/entities/ingest.py:928
↓ 1 callersFunction_load_panel_wide
Parse a wide-layout panel file. ``layout="wide_dates_rows"``: the first column is the observation date and every other column is an entity id
agent/src/entities/ingest.py:1099
↓ 1 callersFunction_load_proposal
Load a persisted proposal, or ``None`` when absent/unreadable.
agent/src/live/mandate/commit.py:235
↓ 1 callersFunction_load_public_markets
Return one venue's public market catalog via ccxt (no credentials). Isolated as its own function so tests monkeypatch exactly this name and n
agent/src/tools/symbol_search_tool.py:486
↓ 1 callersMethod_load_refs
Load stored conversation references.
agent/src/channels/msteams.py:674
↓ 1 callersMethod_load_refs_raw
Load raw refs/main+meta JSON payloads.
agent/src/channels/msteams.py:618
↓ 1 callersFunction_load_run_card
Read and validate ``run_card.json`` at the run directory root.
agent/src/tools/backtest_summary.py:160
↓ 1 callersFunction_load_schema
()
agent/backtest/loaders/fundamentals_loader.py:335
↓ 1 callersMethod_load_session_cursors
(self)
agent/src/channels/mochat.py:882
↓ 1 callersMethod_load_session_map
(self)
agent/src/channels/runtime.py:392
↓ 1 callersFunction_load_signal_engine
()
agent/tests/test_multi_factor_strategy_template.py:17
↓ 1 callersFunction_load_signal_engine
()
agent/tests/test_strategy_dev_manager_template.py:18
↓ 1 callersFunction_load_signal_engine
()
agent/tests/test_cross_market_strategy_template.py:18
↓ 1 callersMethod_load_snapshot
Load index as frozen snapshot. Called once at init.
agent/src/memory/persistent.py:215
↓ 1 callersFunction_load_sp500_panel
SP500 panel via the shared per-symbol loader fallback. Adds vwap = (O+H+L+C)/4 fallback for alpha101. Survivorship-bias warning: ``_fetch_sp500_c
agent/src/tools/alpha_bench_tool.py:484
↓ 1 callersFunction_load_state
Load the durable last-known runtime state for ``broker``. A missing file means a first/cold start (``None``). An existing unreadable or malfo
agent/src/live/runtime/reconcile.py:537
↓ 1 callersFunction_load_summary
()
agent/scripts/w4a_patch_blog.py:46
↓ 1 callersFunction_load_symbol_raw_frame
( *, symbol: str, cik: str | None, raw_fields: list[str], schema: Any, start: str,
agent/backtest/loaders/fundamentals_loader.py:452
↓ 1 callersFunction_load_trace
( trace_root: Path, present: set[str], errors: dict[str, str], )
agent/evals/harness/artifacts.py:107
↓ 1 callersFunction_load_validated_source
(source: str, filename: str)
agent/src/tools/paper_trade/strategy_exec.py:306
↓ 1 callersFunction_load_vectors
()
agent/tests/test_paper_trade_jcs.py:41
↓ 1 callersFunction_loader_cache_payload
( *, source: str, symbol: str, timeframe: str, start_date: str, end_date: str, fie
agent/backtest/loaders/base.py:683
↓ 1 callersFunction_loader_with_rows
(n: int)
agent/tests/test_get_market_data_size.py:25
↓ 1 callersFunction_local_isolated
()
agent/tests/test_binance_shadow_evidence.py:51
↓ 1 callersFunction_lock_exclusive
Acquire a blocking, cross-process exclusive advisory lock on ``handle``.
agent/src/governance/ledger.py:328
↓ 1 callersFunction_lock_token_file
Acquire a cross-process lock on an opened token lock file.
agent/src/providers/openai_codex.py:130
↓ 1 callersFunction_login_claude_cli
Report the local Claude Code CLI login used by the claude-cli provider.
agent/cli/_legacy.py:3084
↓ 1 callersFunction_login_copilot
Report supported GitHub Copilot SDK authentication options.
agent/cli/_legacy.py:3065
↓ 1 callersFunction_long_skill_text
A document that cannot fit one tool result, with real heading structure.
agent/tests/test_agent_output_discipline.py:761
↓ 1 callersFunction_looks_like_challenge_page
(body: str)
agent/backtest/loaders/stooq_loader.py:75
↓ 1 callersFunction_looks_like_cik
Return ``True`` when ``text`` is a bare (optionally ``CIK``-prefixed) number.
agent/src/tools/institutional_holdings_tool.py:532
↓ 1 callersFunction_looks_like_continuation_prompt
Detect prompts that refer to prior work instead of a fresh swarm task.
agent/src/tools/swarm_tool.py:433
↓ 1 callersFunction_looks_like_date
Best-effort probe for whether a header cell parses as a date. Used only during layout inference, by reusing ``_parse_date`` itself rather tha
agent/src/entities/ingest.py:800
↓ 1 callersMethod_looks_like_html_download
(response: httpx.Response)
agent/src/channels/slack.py:528
↓ 1 callersFunction_looks_like_path
(value: str)
agent/cli/ui/rail.py:612
↓ 1 callersMethod_lookup
Resolve stock identity and analysis eligibility. Args: connection: Open snapshot connection. stock_ids: Validated Tai
agent/src/tools/taiwan_stock_data_tool.py:649
↓ 1 callersFunction_lookup_cn
Search A-share ETFs by code or name and render the envelope.
agent/src/tools/etf_holdings_tool.py:1308
↓ 1 callersMethod_lookup_imap_id_by_uid
(client: Any, uid: str)
agent/src/channels/email.py:831
↓ 1 callersMethod_lookup_member_name
Lookup group member nickname. Fallback to user id.
agent/src/channels/napcat.py:415
↓ 1 callersFunction_lookup_order_branch
Resolve ``KRX_FWDG_ORD_ORGNO`` for ``order_id`` from today's order list. ``place_order`` returns the branch code directly, but a caller that only
agent/src/trading/connectors/kis/sdk.py:643
↓ 1 callersFunction_lookup_us
Search US fund share classes by ticker or name and render the envelope.
agent/src/tools/etf_holdings_tool.py:1280
↓ 1 callersFunction_lookup_variants
(token: str, canonical: str)
agent/src/trading/connectors/etoro/instruments.py:368
↓ 1 callersMethod_macro
(self, conn: sqlite3.Connection | None, kwargs: dict)
agent/src/tools/br_market_data_tool.py:237
↓ 1 callersFunction_make_bot_class
Create a botpy Client subclass bound to the given channel.
agent/src/channels/qq.py:107
↓ 1 callersFunction_make_channel
()
agent/tests/test_feishu_stop.py:57
↓ 1 callersFunction_make_config
()
agent/tests/test_default_deny_unknown_robinhood_tool.py:113
↓ 1 callersFunction_make_console
Create the shared Rich console. ``force_terminal`` is *not* set: Rich's own ``isatty`` detection is correct and forcing it leaks ANSI escapes
agent/cli/theme.py:165
↓ 1 callersFunction_make_ddgs_module
Build a fake ``ddgs`` module whose DDGS().text delegates to text_impl.
agent/tests/test_web_search_tool.py:17
↓ 1 callersFunction_make_hypothesis
()
agent/tests/test_autopilot_backtest_validation_evidence.py:29
↓ 1 callersFunction_make_ohlcv
Generate a synthetic OHLCV DataFrame with random walk close prices. Args: n_bars: Number of bars. seed: RNG seed offset (combined
agent/tests/test_signal_alignment_perf.py:31
↓ 1 callersFunction_make_panel
(n_symbols: int = 10, n_days: int = 120)
agent/tests/test_bench_multiple_testing.py:20
↓ 1 callersFunction_make_run
Create a run directory carrying a programmatically generated equity.csv.
agent/tests/test_run_artifact_tool.py:45
↓ 1 callersFunction_make_signal
Generate random signal in {-1, 0, 1}.
agent/tests/test_signal_alignment_perf.py:61
↓ 1 callersFunction_make_synced_legacy_wrapper
Wrap ``legacy_fn`` so the package-level monkeypatch sync fires first.
agent/cli/__init__.py:82
↓ 1 callersFunction_make_temperature_safe_anthropic
Build (and cache) a ChatAnthropic subclass that self-heals temperature. Certain Claude models reject the `temperature` field entirely. This subcl
agent/src/providers/llm.py:1075
↓ 1 callersFunction_make_voice_note_event
()
agent/tests/test_whatsapp_voice_note_handling.py:13
↓ 1 callersFunction_malicious_profile
Build a profile whose dynamic strings look like Python code.
agent/tests/test_shadow_codegen_security.py:17
↓ 1 callersMethod_manager_row
Value one discovered filer, following its amendment chain when there is one. The filer's full 13F index is only pulled when this quarter is a
agent/src/tools/institutional_holdings_tool.py:2245
↓ 1 callersFunction_mandate_proposal_frame_from_tool_result
Build a mandate.proposal SSE frame from a propose-tool tool_result.
agent/src/api/sessions_routes.py:279
↓ 1 callersFunction_mandate_proposal_from_tool_result
Recover a full ``mandate.proposal`` payload from a propose-tool result. Detection mirrors api_server's ``_mandate_proposal_frame_from_tool_result
agent/cli/_legacy.py:998
↓ 1 callersFunction_manifest_path_allowed
Whether a resolved manifest path sits inside a trusted root. Defense-in-depth (the run_dir entries inside are containment-checked again by :f
agent/src/tools/strategy_discovery_tool.py:415
↓ 1 callersFunction_manifest_signature
Fingerprint the manifest set so unchanged directories skip re-parsing. Args: manifests: Manifest paths found under one plugin root.
agent/src/trading/local_plugins.py:205
↓ 1 callersFunction_map_finish_reason
(status: str | None)
agent/src/providers/openai_codex.py:583
↓ 1 callersFunction_map_interval
(period: str)
agent/src/trading/connectors/etoro/sdk.py:301
↓ 1 callersFunction_mapping
(value: Mapping[str, Any] | None, *, name: str)
agent/src/factors/research_contract.py:79
↓ 1 callersMethod_mark_delivery_failed
Record a delivery failure without losing which firing it belonged to. Args: job: The job whose outbox row failed. exc
agent/src/scheduled_research/executor.py:734
↓ 1 callersFunction_mark_price
( position: PositionState, frame: MarketRiskFrame, price_field: str )
agent/backtest/perpetual_risk.py:274
↓ 1 callersMethod_mark_session_cursor
(self, session_id: str, cursor: int)
agent/src/channels/mochat.py:871
↓ 1 callersFunction_markdown_to_signal
Convert markdown text to Signal plain text + textStyle ranges. Returns ``(plain_text, text_styles)`` where ``text_styles`` are ``"start:lengt
agent/src/channels/signal.py:137
↓ 1 callersMethod_marker_for
Pick the omission marker in the script of the line being cut. A line with neither script (a numeric table row) uses the user's language.
agent/src/agent/grounding/release.py:774
↓ 1 callersFunction_market_data
(daily: dict[str, pd.DataFrame], five: dict[str, pd.DataFrame], *, symbols: tuple[str, ...] = (_SYM,))
agent/tests/test_paper_trade_5m_engine.py:143
↓ 1 callersFunction_market_payload
(symbol: str = "562500.SS")
agent/tests/test_grounding_recovery.py:66
↓ 1 callersFunction_market_payload
A sparse two-bar ledger: 0.567–1.053, so a probe value is unambiguous.
agent/tests/test_grounding_shape_hardening.py:36
↓ 1 callersFunction_market_payload
A sparse two-bar ledger: 0.567–1.053, so a probe value is unambiguous.
agent/tests/test_grounding_figures_contract.py:42
↓ 1 callersFunction_market_resolution
Derive a market's settlement state from resolution evidence only. Trading closure is never treated as settlement. See the module docstring fo
agent/src/tools/prediction_market_tool.py:350
↓ 1 callersMethod_market_signal
(self, df: pd.DataFrame, params: dict)
agent/src/skills/cross-market-strategy/example_signal_engine.py:54
↓ 1 callersFunction_mask
Return the ``{set, masked}`` descriptor for one secret value.
agent/src/channels/config_meta.py:469
↓ 1 callersFunction_match_quote_row
Pick the quote row for ``symbol`` from a list, or the sole entry.
agent/src/live/order_guard.py:926
↓ 1 callersFunction_max_concurrent_positions
Peak number of overlapping ``(entry, exit)`` holding intervals. Entries are processed before exits on the same date, so a same-day round trip
agent/src/strategy_discovery/run_artifacts.py:103
↓ 1 callersFunction_max_drawdown
Peak-to-trough drawdown of strategy equity across the regime bars.
agent/src/strategy_discovery/evidence_harness.py:365
↓ 1 callersFunction_max_relative_delta
(samples: Sequence[CalibrationSample])
agent/backtest/binance_tolerance_calibration.py:73
↓ 1 callersFunction_maybe_enrich_events
Attach a point-in-time-safe ``event_score`` column before signal generation.
agent/backtest/engines/base.py:479
↓ 1 callersFunction_maybe_enrich_fundamentals
Attach configured Tushare statement fields before signal generation.
agent/backtest/engines/base.py:427
↓ 1 callersFunction_maybe_inject_fundamentals_for_factor_panel
Inject ``fund:*``/``val:*`` factor dependencies when selected factors request them.
agent/backtest/runner.py:1266
↓ 1 callersMethod_maybe_push_active_goal_state
Replay an active sustained goal from session metadata after *chat_id* is subscribed. Goal metadata lives on the session JSONL and survives ga
agent/src/channels/websocket.py:324
↓ 1 callersMethod_maybe_push_turn_run_wall_clock
Replay ``goal_status: running`` when a turn is still active (same-process refresh).
agent/src/channels/websocket.py:342
↓ 1 callersFunction_maybe_resume_last_session
Prompt to resume the most recent session, if any exist. Returns: A dict ``{"session_id": str, "history": list[dict], "title": str}``
agent/cli/main.py:477
↓ 1 callersFunction_maybe_run_onboarding
Run the first-launch wizard when every provider ``.env`` candidate is missing. Returns: ``True`` if startup should proceed, ``False`` if
agent/cli/main.py:275
↓ 1 callersFunction_mcp_spec
()
agent/tests/test_limit_price_notional.py:106
↓ 1 callersFunction_mean_rank_correlation
Average per-date Spearman correlation between factor panels.
agent/src/quantlib/combination.py:183
↓ 1 callersMethod_media_dir
(self)
agent/src/channels/matrix.py:792
↓ 1 callersFunction_media_message
(message: Any)
agent/src/channels/whatsapp.py:215
↓ 1 callersMethod_media_path
(self, message_id: str, media: _MediaInfo)
agent/src/channels/whatsapp.py:654
← previousnext →6,501–6,600 of 26,887, ranked by callers