MCPcopy Create free account

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

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

↓ 2 callersFunction_df
()
agent/tests/test_get_market_data_unresolved.py:28
↓ 2 callersFunction_digit_run
The run of digits starting at ``index``.
agent/src/agent/grounding/figures.py:425
↓ 2 callersFunction_dingtalk_section
()
agent/tests/test_channel_reset_notice.py:134
↓ 2 callersFunction_discounted_forward_values
Return discounted spot and strike values for deterministic pricing.
agent/src/quantlib/options.py:197
↓ 2 callersFunction_discovery_windows
Return the full-text-search windows for a quarter, densest first. Full-text search sorts newest-first, so one flat 120-day window spends its
agent/src/tools/institutional_holdings_tool.py:395
↓ 2 callersFunction_dispatch_data
Show the optional data partner and the features selected for this process.
agent/cli/_legacy.py:3357
↓ 2 callersMethod_dispatch_entries
(self, target_id: str, target_kind: str, entries: list[MochatBufferedEntry], was_mentioned: bool)
agent/src/channels/mochat.py:797
↓ 2 callersFunction_dispersed_5m
(day: str = _DAY)
agent/tests/test_paper_trade_5m_engine.py:87
↓ 2 callersFunction_dividend_scenario_run
Run the shadow backtest over a dividend journal with a stub runner. With ``with_frame`` the CNY pool also emits an ohlcv artifact for 600519.
agent/tests/test_shadow_account.py:786
↓ 2 callersFunction_dominant
Most frequent value in a series, or the first if tied.
agent/src/shadow_account/extractor.py:573
↓ 2 callersFunction_dotenv_key
Return the canonical env key, stripping an optional ``export `` prefix. python-dotenv accepts ``export KEY=value``; Settings must too so reads an
agent/src/api/helpers.py:155
↓ 2 callersMethod_download_dingtalk_file
Download a DingTalk file to the media directory, return local path.
agent/src/channels/dingtalk.py:738
↓ 2 callersFunction_download_frame
()
agent/tests/test_yfinance_crypto.py:74
↓ 2 callersFunction_download_frame
()
agent/tests/test_yfinance_uk_scale.py:15
↓ 2 callersMethod_download_media_item
Download + AES-decrypt a media item. Returns local path or None.
agent/src/channels/weixin.py:831
↓ 2 callersMethod_download_message_media
Download media from a message (current or reply). Returns (media_paths, content_parts).
agent/src/channels/telegram.py:1225
↓ 2 callersFunction_drive_run
(tmp_path: Path)
agent/tests/test_error_path_redaction.py:64
↓ 2 callersFunction_drop_echoed_url_rewrites
Return *patch* without values that only echo a stripped stored URL. ``GET /channels/config`` hands out non-secret URL values with the userinfo
agent/src/api/channels_config_routes.py:174
↓ 2 callersFunction_duckdb_sql_string
(path: Path)
agent/backtest/loaders/base.py:930
↓ 2 callersFunction_dump
Serialize an already JSON-safe response envelope. Args: payload: Envelope whose values passed through ``_json_safe``. Returns:
agent/src/tools/taiwan_stock_data_tool.py:116
↓ 2 callersMethod_effective_media_limit_bytes
min(local config, server advertised) — 0 blocks all uploads.
agent/src/channels/matrix.py:450
↓ 2 callersFunction_effective_section
Return the stored section backfilled with adapter defaults. A never-configured channel has no on-disk section; without defaults the generic f
agent/src/api/channels_config_routes.py:136
↓ 2 callersFunction_em_get_text
GET an Eastmoney URL as text through the shared ``"eastmoney"`` throttle. Args: url: Fully-qualified Eastmoney URL. params: Query
agent/src/tools/etf_holdings_tool.py:334
↓ 2 callersFunction_em_push_json
Call an Eastmoney quote endpoint, trying each edge host in turn. Args: path: Endpoint path such as ``"/api/qt/stock/get"``. param
agent/src/tools/etf_holdings_tool.py:1151
↓ 2 callersFunction_em_rows
Build one datacenter payload for a channel's million-HKD values.
agent/tests/test_southbound_tool.py:18
↓ 2 callersFunction_empty_field_frame
(index: pd.DatetimeIndex, fields: list[str])
agent/backtest/loaders/fundamentals_loader.py:528
↓ 2 callersFunction_empty_frame
()
agent/src/tools/paper_trade/data.py:142
↓ 2 callersFunction_empty_intraday
()
agent/tests/paper_trade_5m_fixtures.py:81
↓ 2 callersMethod_end_reasoning
(self)
agent/src/channels/attempt_progress.py:86
↓ 2 callersFunction_engine_count
Count market backtest engines. ``options_portfolio`` is counted separately by the README ("9 engines + options portfolio"), and the shared ba
agent/tests/test_readme_counts.py:125
↓ 2 callersMethod_engine_diagnostics
Carry sub-engine assumptions into the shared run's metrics. Returns: Per-market diagnostics, plus combined list-valued assumption
agent/backtest/engines/composite.py:185
↓ 2 callersFunction_engle_granger_code
()
agent/tests/test_correlation_analysis_skill.py:19
↓ 2 callersMethod_enqueue_ordered_update
Stage a Telegram update behind a short per-session reorder window.
agent/src/channels/telegram.py:1362
↓ 2 callersMethod_ensure_bot_identity
Load bot identity once and reuse it for mention/reply checks.
agent/src/channels/telegram.py:1275
↓ 2 callersFunction_ensure_calendar_market
(market: str)
agent/src/tools/paper_trade/calendar.py:237
↓ 2 callersMethod_ensure_category_dir
Create category subdirectory if it does not exist. Args: category: One of CATEGORIES or any string. Returns:
agent/src/memory/hierarchy.py:57
↓ 2 callersFunction_ensure_initialized
Attach to the terminal once per process (result cached, even negative).
agent/backtest/loaders/mt5_loader.py:76
↓ 2 callersMethod_ensure_media_root
Create the media root; called from ``start()``, never ``__init__``.
agent/src/channels/qq.py:201
↓ 2 callersFunction_entry_costs
Return gross premium, commission, and total signed entry cost.
agent/backtest/options_payoff.py:170
↓ 2 callersFunction_entry_row
(trade_date: date, code: str)
agent/tests/test_strategy_discovery_harness.py:181
↓ 2 callersFunction_entrypoint
Thin wrapper so the console script and ``python -m cli.main`` agree.
agent/cli/main.py:1554
↓ 2 callersFunction_envelope
Build the shared success envelope from a call_srv_tool payload.
agent/src/tools/gildata_research_tools.py:48
↓ 2 callersFunction_environment_values
()
agent/src/trading/connectors/etoro/client.py:124
↓ 2 callersFunction_ephemeral_kwargs
Return adapter-specific constructor kwargs for ephemeral instances. Mirrors ``ChannelManager._build_channel_kwargs``: ``WebSocketChannel`` re
agent/src/api/channels_config_routes.py:329
↓ 2 callersFunction_equity
(returns)
agent/tests/test_metrics_tracking_error.py:24
↓ 2 callersFunction_error
(message: str)
agent/src/tools/gildata_research_tools.py:44
↓ 2 callersFunction_error_message
(response: requests.Response)
agent/src/trading/connectors/toss/sdk.py:544
↓ 2 callersFunction_error_message
(response: requests.Response)
agent/src/trading/connectors/kis/sdk.py:884
↓ 2 callersFunction_error_message
(result: object)
agent/src/live/sdk_order_gate.py:1097
↓ 2 callersFunction_esc
(value: Any)
agent/src/tools/alpha_bench_tool.py:1158
↓ 2 callersFunction_escape_telegram_html
Escape text for Telegram HTML parse mode.
agent/src/channels/telegram.py:135
↓ 2 callersFunction_etoro_error
Return a connector-shaped fail-closed error before any broker write.
agent/src/trading/service.py:854
↓ 2 callersFunction_event_data
(store: SwarmStore, run_id: str, event_type: str)
agent/tests/test_error_path_redaction.py:81
↓ 2 callersMethod_evidence_from_row
(row: sqlite3.Row)
agent/src/goal/store.py:992
↓ 2 callersFunction_exact_position_qty
(positions, symbol)
agent/src/live/sdk_order_gate.py:726
↓ 2 callersMethod_execute
(self, task_id: str, command: str)
agent/src/tools/background_tools.py:295
↓ 2 callersMethod_execute_bars
(self, dates, data_map, close_df, target_pos, codes, close_val_df=None)
agent/backtest/engines/crypto.py:478
↓ 2 callersMethod_execute_layer
Execute all tasks in a single layer in parallel, with retry on failure. Each task is retried up to agent_spec.max_retries times if the worker
agent/src/swarm/runtime.py:972
↓ 2 callersMethod_execute_target_rebalance
Plan every target delta, preflight capital, then commit the basket.
agent/backtest/engines/base.py:1747
↓ 2 callersFunction_exit_row
( trade_date: date, code: str, *, pnl: float = 50.0, reason: str = "signal" )
agent/tests/test_strategy_discovery_harness.py:195
↓ 2 callersFunction_expand_formula_units
Expand supported numeric suffixes before parsing or label removal.
agent/src/agent/grounding/policies.py:403
↓ 2 callersMethod_expired_result
Trip a stop, clear authority, audit, and return on proactive expiry. This is the §7.5 component-7 proactive path: expiry is acted on in the
agent/src/live/runtime/runner.py:808
↓ 2 callersMethod_expiry
First trading date at least ``dte`` calendar days after bar ``i``.
agent/src/skills/options-strategy/example_signal_engine.py:73
↓ 2 callersFunction_explicit_horizon
Return the exact stated duration rather than a broader default bucket.
agent/src/tools/swarm_variables.py:281
↓ 2 callersFunction_extract_code
Reduce a user-supplied symbol to the bare A-share numeric code. Accepts ``"600519"``, ``"600519.SH"``, ``"sh600519"`` or ``"000001.SZ"`` and
agent/src/tools/margin_trading_tool.py:49
↓ 2 callersFunction_extract_items
(payload: Any)
agent/src/trading/connectors/etoro/instruments.py:567
↓ 2 callersFunction_extract_metadata_items
(payload: Any)
agent/src/trading/connectors/etoro/instruments.py:578
↓ 2 callersFunction_extract_order_id
(payload: Any)
agent/src/trading/connectors/etoro/trading.py:296
↓ 2 callersFunction_extract_rows
Pull the answer rows out of the iWenCai robot-data response. The service nests the structured result several levels deep under ``data.answer[
agent/src/tools/iwencai_tool.py:71
↓ 2 callersFunction_extract_series
Extract one numeric column from a loader payload, on its dates. Loader results can be a ``DataFrame``, a plain column mapping, or the ``list[
agent/src/tools/technical_indicator_tool.py:47
↓ 2 callersFunction_extract_token
(payload: Any)
agent/src/trading/connectors/etoro/copy_trading.py:220
↓ 2 callersMethod_extract_tool_call_thought_signature
(tool_call: Any)
agent/src/providers/llm.py:384
↓ 2 callersFunction_extract_tool_result
Pull the structured payload out of a ``tools/call`` JSON-RPC response. FastMCP wraps tool return values as ``result.content[0].text`` (a JSON
agent/tests/test_mcp_server_smoke.py:109
↓ 2 callersMethod_fail_pending
(self, err: BaseException)
agent/src/channels/napcat.py:174
↓ 2 callersFunction_fake_mcp_factory
(tool_names: tuple[str, ...])
agent/tests/test_agent_config.py:55
↓ 2 callersFunction_fcf_yield_panel
()
agent/tests/factors/test_fundamental_expansion_price_samples.py:52
↓ 2 callersFunction_fenced_blocks
Return ``(start, end, info, body)`` for every fenced block (CommonMark). A backtick opener's info string holds no backtick; a closer repeats the
agent/src/agent/grounding/figures.py:649
↓ 2 callersFunction_fetch
(day: str, close: float)
agent/tests/test_paper_trade_1d_fingerprint.py:64
↓ 2 callersMethod_fetch_bars_paginated
Walk backward through ``bars()`` pages until the requested window is covered, then clip and concatenate. Mootdx ``bars()`` returns th
agent/backtest/loaders/mootdx_loader.py:180
↓ 2 callersFunction_fetch_benchmark
Fetch benchmark OHLCV data. Tries the configured source's loader first (when given). Falls back to yfinance (single symbol, no auth) when no
agent/backtest/benchmark.py:167
↓ 2 callersFunction_fetch_cn_a
(frames: dict[str, pd.DataFrame] | None = None, symbols: list[str] | None = None, from_date: s
agent/tests/test_paper_trade_rejections.py:74
↓ 2 callersFunction_fetch_eastmoney_news
Fetch China-market news headlines for a query from Eastmoney. Args: query: Free-text search term (bare code or keyword). limit: M
agent/src/tools/stock_news_tool.py:151
↓ 2 callersFunction_fetch_holdings
Fetch and shape one filing's holdings. Never raises. Args: cik: Padded CIK of the filer. filing: A filing dict from :func:`_list_
agent/src/tools/institutional_holdings_tool.py:863
↓ 2 callersFunction_fetch_leg
( loader: Any, symbols: tuple[str, ...], start_date: str, end_date: str, warnings: list[str], *, produ
agent/src/tools/paper_trade/data.py:300
↓ 2 callersMethod_fetch_messages
( self, search_criteria: tuple[str, ...], mark_seen: bool, dedupe: bool,
agent/src/channels/email.py:507
↓ 2 callersMethod_fetch_one
Paginated OHLCV fetch for one symbol.
agent/backtest/loaders/ccxt_loader.py:443
↓ 2 callersMethod_fetch_one
Resolve one fund's 内码 and fetch its NAV rows.
agent/src/tools/fund_nav_tool.py:221
↓ 2 callersFunction_fetch_summary
Read a filing's ``primary_doc.xml`` cover and summary page. Never raises. The cover page is the only place the amendment semantics are recorded,
agent/src/tools/institutional_holdings_tool.py:920
↓ 2 callersFunction_field_problems
Validate declared fields; with *require*, also report missing essentials.
agent/backtest/engines/argentina_equity.py:872
↓ 2 callersFunction_file_stem
A file's name up to its first dot, casefolded: ``target_positions`` for any spelling.
agent/src/agent/grounding/policies.py:2596
↓ 2 callersMethod_fill
(self, day: str, order: Order, close: float)
agent/src/tools/paper_trade/engine.py:421
↓ 2 callersMethod_fill
(self, engine: VietnamEquityEngine, action: str, bar_idx: int)
agent/tests/test_vietnam_equity_engine.py:141
↓ 2 callersMethod_fill_gate
(self, day: DayPlan, order: Order, price: float | Decimal)
agent/src/tools/paper_trade/engine.py:316
↓ 2 callersFunction_fill_price
(day: pd.Timestamp, iv: float)
agent/tests/test_options_next_bar_fill.py:60
↓ 2 callersFunction_filling_mode
Negotiate a filling mode from the symbol's allowed-modes bitmask.
agent/src/trading/connectors/mt5/orders.py:327
↓ 2 callersFunction_fills
(engine: VietnamEquityEngine)
agent/tests/test_vietnam_backtest_smoke.py:70
↓ 2 callersMethod_filter_arguments
Drop local-only arguments before forwarding to the remote tool. Args: arguments: Raw arguments from the local agent loop.
agent/src/tools/mcp.py:876
↓ 2 callersFunction_filter_is_new
(frame: pd.DataFrame, kwargs: dict[str, Any])
agent/tests/test_industry_loader.py:75
↓ 2 callersFunction_filter_registry
Project a full registry down to a whitelist with consistent drop logging.
agent/src/tools/__init__.py:453
↓ 2 callersMethod_finalize
Emit any closing summary / error after the attempt terminates. Args: event_type: The terminal event type. data: The t
agent/src/openbb_bridge/adapter.py:168
← previousnext →3,801–3,900 of 26,887, ranked by callers