MCPcopy Create free account

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

Functions30,405 in github.com/HKUDS/Vibe-Trading

↓ 6 callersFunction_fts_payload
Wrap hits in the full-text-search envelope shape.
agent/tests/test_institutional_holdings_tool.py:162
↓ 6 callersMethod_generate
(self, *args: object, **kwargs: object)
agent/tests/test_llm.py:407
↓ 6 callersFunction_get
( cfg: TossConfig, path: str, *, authed: bool, account_scoped: bool, params: Mapping[s
agent/src/trading/connectors/toss/sdk.py:504
↓ 6 callersFunction_get_codex_token
Return a usable Vibe-owned token, refreshing once when required.
agent/src/providers/openai_codex.py:319
↓ 6 callersFunction_get_goal_store
Return the shared finance goal store.
agent/src/api/goal_routes.py:119
↓ 6 callersFunction_get_json
Throttled GET returning decoded JSON. Args: url: Fully-qualified endpoint URL. host_key: Throttle bucket, one of the module's two
agent/src/tools/prediction_market_tool.py:242
↓ 6 callersFunction_get_swarm_runtime
Lazy-init SwarmRuntime singleton.
agent/src/api/swarm_routes.py:25
↓ 6 callersFunction_get_swarm_store
()
agent/mcp_server.py:3117
↓ 6 callersFunction_gildata_symbol
Translate a project symbol into Gildata's A-share convention. Gildata A-share tools accept ``代码.交易所后缀`` with the SH/SZ/BJ suffixes. The proje
agent/backtest/loaders/gildata_loader.py:119
↓ 6 callersFunction_grid
Return a compact display grid for tests.
agent/tests/test_options_payoff.py:24
↓ 6 callersFunction_guard
(adapter)
agent/tests/test_enforcement_l6.py:247
↓ 6 callersFunction_host_validate_path_param
(value: str, kind: str)
agent/src/api/runs_routes.py:869
↓ 6 callersFunction_hourly_index
(start: str = "2026-01-02", periods: int = 24)
agent/tests/test_shadow_account.py:2310
↓ 6 callersFunction_infer_market_from_symbol
Best-effort market inference from a symbol string.
agent/src/tools/trade_journal_parsers.py:694
↓ 6 callersFunction_install_urlopen
Route ``urllib.request.urlopen`` to ``handler(req)`` and record calls. Returns the call log: a list of ``(method, url, header_names)`` tuples.
agent/tests/test_tap_forward.py:50
↓ 6 callersFunction_intent_with_quantity
(quantity: float)
agent/tests/test_mandate_forex.py:269
↓ 6 callersFunction_intraday
(day: str, prices: dict[str, float], auction: float | None = None)
agent/tests/test_paper_trade_5m_session.py:44
↓ 6 callersFunction_is_index
Detect A-share index symbols (000xxx.SH, 000300.SH, 399xxx.SZ).
agent/backtest/loaders/tushare.py:96
↓ 6 callersFunction_is_local_client
Return whether the request originates from a loopback client.
agent/src/api/security.py:509
↓ 6 callersMethod_is_tool_readonly
Return whether a tool is known to be side-effect free.
agent/src/product/tool_replay.py:62
↓ 6 callersFunction_kinds
(report: ReconcileReport)
agent/tests/test_runtime_reconcile.py:74
↓ 6 callersFunction_limit
(value: Any)
agent/src/tools/br_market_data_tool.py:42
↓ 6 callersFunction_load_optimizer
Dynamically load an optimizer function from config. Args: config: Backtest configuration. Returns: Optimizer callable, or No
agent/backtest/engines/base.py:408
↓ 6 callersFunction_local_client
Return a TestClient that simulates a loopback caller.
agent/tests/test_sse_ticket_and_headers.py:19
↓ 6 callersFunction_local_plugin_call
Call a read operation on a user-installed local connector adapter.
agent/src/trading/service.py:155
↓ 6 callersMethod_lock
(self, session_id: str)
agent/src/session/pending_inputs.py:302
↓ 6 callersFunction_looks_like_tool_call_syntax
Detect unparsed provider tool-call markup in an answer. The one recognizer for the main agent's final answer and a swarm node's delivery. Ar
agent/src/product/tool_results.py:78
↓ 6 callersFunction_maintenance_rate
Look up tiered maintenance margin rate.
agent/backtest/engines/_market_hooks.py:558
↓ 6 callersFunction_make_agent_json
Write a minimal agent.json config pointing at the fake stdio server. Args: tmp_path: Temporary directory to place the config file in.
agent/tests/test_mcp_stdio_integration.py:54
↓ 6 callersFunction_make_bar
(close: float = 180.0)
agent/tests/test_global_equity_engine.py:24
↓ 6 callersMethod_make_event
Create a SwarmEvent with current timestamp.
agent/src/swarm/runtime.py:555
↓ 6 callersFunction_make_fake_wrappers
Build lightweight MCPRemoteTool stubs without a live adapter.
agent/tests/test_registry_mcp_integration.py:32
↓ 6 callersFunction_mandate
( *, instruments: tuple[InstrumentType, ...], asset_classes: tuple[AssetClass, ...], min_marke
agent/tests/test_mandate_forex.py:49
↓ 6 callersFunction_min_interval
Resolve the per-call minimum spacing, honoring the env override.
agent/backtest/loaders/yahoo_client.py:69
↓ 6 callersMethod_minimal
(self, tmp_path: Path)
agent/tests/test_research_playbooks.py:308
↓ 6 callersFunction_mock_quote
(monkeypatch, last: float)
agent/tests/test_sdk_connectors_upbit.py:56
↓ 6 callersFunction_node
(tmp_path: Path, **overrides)
agent/tests/test_landlock_sandbox.py:30
↓ 6 callersFunction_norm_text
文本归一化:NFKC 折叠全角/半角 + 去除内部空白。 应用场景(CR P2):新浪页面会出现“5%以上股东”、“控股 股东”等变体, 原吝始“kw in text”会漏命中。归一化后“5%”→“5%”,中文间空格被吃掉。
agent/src/skills/ashare-pre-st-filter/scripts/fetch_sina_penalties.py:102
↓ 6 callersMethod_normalize
Normalize AKShare DataFrame to standard OHLCV schema. AKShare Chinese column names: 日期, 开盘, 最高, 最低, 收盘, 成交量 AKShare English column na
agent/backtest/loaders/akshare_loader.py:470
↓ 6 callersFunction_normalize_codes
Normalize symbol strings for a source. Args: codes: Raw code list. source: Data source. Returns: Normalized codes.
agent/backtest/runner.py:1005
↓ 6 callersFunction_normalize_date
Normalize a calendar date to ``YYYY-MM-DD``. The connector documents ``YYYY-MM-DD`` parameters, but the stored ``cal_date`` spelling is unver
agent/src/tools/paper_trade/calendar.py:202
↓ 6 callersFunction_normalize_frame
Normalize raw yfinance data into the backtest OHLCV schema. Args: frame: Raw or symbol-scoped yfinance dataframe. requested_inter
agent/backtest/loaders/yfinance_loader.py:196
↓ 6 callersMethod_normalize_signal_id
Normalize Signal identifiers (phone/uuid/service-id) for matching.
agent/src/channels/signal.py:1090
↓ 6 callersFunction_obj_get
(obj: Any, name: str, default: Any = None)
agent/src/trading/connectors/okx/sdk.py:658
↓ 6 callersFunction_open
(date, legs, underlying="SPY")
agent/tests/test_options_margin.py:47
↓ 6 callersFunction_order
(guard: order_guard.LiveOrderGuardTool, **extra: Any)
agent/tests/test_robinhood_live_account_binding.py:77
↓ 6 callersFunction_packaged_version
()
agent/tests/test_release_version_consistency.py:34
↓ 6 callersFunction_panel
(high_age=0, low_age=0, rows=N)
agent/tests/factors/test_gtja191_highday_lowday_recency.py:31
↓ 6 callersFunction_passthrough_cache
(monkeypatch, module, seen: list)
agent/tests/test_market_data_raw_adjustment.py:74
↓ 6 callersMethod_patch_transport
(self, monkeypatch, side_effect)
agent/tests/test_fund_nav_tool.py:100
↓ 6 callersFunction_payload
(**overrides)
agent/tests/test_research_artifact_api.py:19
↓ 6 callersFunction_payload
Build a TIME_SERIES_DAILY-shaped payload from (date, o, h, l, c, v) tuples.
agent/tests/test_alphavantage_loader.py:16
↓ 6 callersFunction_pending_delivery
(job_id: str, session_id: str)
agent/tests/test_scheduled_delivery_stale_snapshot.py:27
↓ 6 callersMethod_pin
(self, monkeypatch, module)
agent/tests/test_strategy_store.py:1448
↓ 6 callersFunction_pos
(direction: int, leverage: float = 1.0, entry: float = 100.0, size: float = 10.0)
agent/tests/test_market_hooks_liquidation.py:21
↓ 6 callersFunction_post
POST one read endpoint and return the validated success envelope.
agent/src/trading/connectors/openalgo/sdk.py:193
↓ 6 callersFunction_price_features_as_of
Compute price-context features as-of *buy_dt* from a price frame. Every value is read from completed daily bars strictly before the buy date;
agent/src/shadow_account/extractor.py:218
↓ 6 callersFunction_price_field_for_path
Map a generic evidence JSON path to a canonical price field. Args: path: Recorded evidence field, e.g. ``"data.quote[0].last_price"``.
agent/evals/grounding/evidence.py:485
↓ 6 callersFunction_profile
()
agent/tests/test_shadow_attribution.py:19
↓ 6 callersFunction_profile_id
Normalize an optional connector profile id.
agent/cli/commands/connectors.py:8
↓ 6 callersFunction_provider
(name="minimax")
agent/tests/test_minimax_flash.py:27
↓ 6 callersFunction_query_body
()
agent/tests/test_openbb_bridge/test_routes.py:26
↓ 6 callersMethod_read
(self)
agent/src/providers/custom_profiles.py:156
↓ 6 callersMethod_read
(self, session_id: str)
agent/src/session/pending_inputs.py:309
↓ 6 callersFunction_read_ledger
()
agent/tests/test_audit_redact.py:27
↓ 6 callersFunction_read_via_tap
GET ``target`` through the TAP proxy and return the parsed JSON body. Reads are GET, which TAP auto-approves (no human step): this path is for
agent/src/trading/connectors/alpaca/sdk.py:212
↓ 6 callersMethod_readonly_replay_allowed
Require compaction replay opt-in for repeatable reads and honor explicit freshness.
agent/src/product/tool_replay.py:73
↓ 6 callersFunction_recorded_validations
(tmp_path: Path)
agent/tests/test_grounding_registry.py:100
↓ 6 callersFunction_recording_stub
Build a run_backtest_fn stub keyed by the run_dir's pool name.
agent/tests/test_shadow_account.py:516
↓ 6 callersFunction_rejects_unc
Raise ValueError if `p` starts with a UNC share prefix.
agent/src/tools/path_utils.py:76
↓ 6 callersFunction_render
(renderable)
agent/tests/test_cli_ui_redesign.py:10
↓ 6 callersFunction_request
(from_date: str, to_date: str, orders: list[dict] | None, market: str = "cn_a")
agent/tests/test_paper_trade_validation.py:68
↓ 6 callersFunction_request
(cash: float, positions: list[dict], orders: list[dict], day: str = _DAY)
agent/tests/test_paper_trade_golden_cn_a.py:84
↓ 6 callersMethod_require
(self, order_id: str)
agent/src/tools/paper_trade/order_lifecycle.py:298
↓ 6 callersFunction_require_finite
(name: str, value: float, *, positive: bool = False)
agent/backtest/perpetual_risk.py:29
↓ 6 callersFunction_require_finite
Check a value is a finite number, refusing NaN and infinity. Args: value: The candidate value. name: Field name for the error mes
agent/src/quantlib/valuation/dcf.py:254
↓ 6 callersFunction_row
(dt, side="buy", symbol="AAPL")
agent/tests/test_trade_journal_invalid_datetime.py:29
↓ 6 callersFunction_rt
(symbol: str, pnl: float, hold_days: float)
agent/tests/test_shadow_attribution.py:45
↓ 6 callersFunction_run
(tmp_path: Path, signals, initial_cash=100_000, options_config=None)
agent/tests/test_options_margin.py:55
↓ 6 callersFunction_run
(root, monkeypatch, spec, task, *responses, upstream=None, seen=None, user_vars=None)
agent/tests/test_swarm_selected_inputs.py:96
↓ 6 callersFunction_run
( tmp_path, monkeypatch, *, benchmark=None, warmup=True, frames=None, codes=("AAPL.US",), allow_nonpos
agent/tests/test_benchmark_warmup_basis.py:40
↓ 6 callersFunction_run
(tmp_path: Path, monkeypatch, *, provider: str, model: str, payload_chars: int = 24_000, env_window:
agent/tests/test_context_budget.py:259
↓ 6 callersFunction_run
Run one tool-enabled worker against the scripted LLM and registry.
agent/tests/test_swarm_worker_cancel.py:107
↓ 6 callersFunction_run_node_to_terminal
Run the real worker on a scripted model until it stops.
agent/tests/test_swarm_worker_message_log.py:107
↓ 6 callersFunction_run_serve
Invoke serve_main with uvicorn stubbed; return the host it bound to. The frontend mount / static-file branches are short-circuited because uv
agent/tests/test_serve_bind.py:47
↓ 6 callersFunction_safe
Return ``obj.attr`` (attribute) or ``obj[attr]`` (mapping) if present. Args: obj: Object or mapping to read from. attr: Attribute
agent/src/openbb_bridge/context_injector.py:43
↓ 6 callersFunction_safe_call
Call ``obj.name(*args, **kwargs)`` if it exists, retrying without kwargs. python-okx signatures vary across versions (some read methods accept ex
agent/src/trading/connectors/okx/sdk.py:793
↓ 6 callersFunction_sample_data
Return (ret, pos, dates) for a small long-only universe.
agent/tests/test_turnover_aware_optimizer.py:12
↓ 6 callersFunction_sanitize_body
Strip C0/C1 control bytes from `content` while keeping ``\\n`` and ``\\t``.
agent/src/memory/persistent.py:161
↓ 6 callersMethod_save_state
(self)
agent/src/channels/weixin.py:223
↓ 6 callersFunction_sec_get
GET ``url`` through the shared SEC throttle bucket. Args: url: Fully-qualified SEC endpoint. params: Optional query parameters.
agent/src/tools/institutional_holdings_tool.py:238
↓ 6 callersFunction_seed_session
(tmp_path: Path, monkeypatch)
agent/tests/test_session_thread_events.py:528
↓ 6 callersFunction_sell
(symbol=_SYM, qty=100, limit=None)
agent/tests/test_paper_trade_rejections.py:101
↓ 6 callersFunction_send
(service: SessionService, session_id: str, text: str)
agent/tests/test_session_conversation_kernel.py:168
↓ 6 callersMethod_session_dir
(self, session_id: str)
agent/src/session/store.py:32
↓ 6 callersFunction_session_store
Return a process-wide :class:`SessionStore` rooted at the user-level sessions dir.
agent/cli/main.py:258
↓ 6 callersFunction_set_emitter
Install the active progress emitter for the current thread.
agent/src/kernel/progress.py:47
↓ 6 callersFunction_shapes
(text: str)
agent/tests/test_grounding_figures_contract.py:246
↓ 6 callersFunction_sharpe
(returns: np.ndarray, bars_per_year: int = 252)
agent/backtest/validation.py:238
↓ 6 callersMethod_size
(self, symbol: str, lots: float)
agent/tests/test_mt5_connector.py:491
← previousnext →1,701–1,800 of 30,405, ranked by callers