MCPcopy Create free account

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

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

↓ 1 callersFunction_fetch_closed_orders
Fetch every CLOSED order, following ``cursor``/``hasNext`` to completion. ``limit``/``cursor`` apply only to ``CLOSED`` -- ``OPEN`` returns e
agent/src/trading/connectors/toss/sdk.py:255
↓ 1 callersFunction_fetch_cn_a
( symbols: tuple[str, ...], window_start: str, to_date: str, *, loader: Any, ch_client
agent/src/tools/paper_trade/data.py:647
↓ 1 callersFunction_fetch_consensus_eps
Fetch THS consensus (mean) EPS forecast per forward fiscal year. Best-effort: any network/parse failure is logged and degraded to an empty li
agent/src/tools/research_reports_tool.py:297
↓ 1 callersFunction_fetch_cvm_statement
Read a B3 company's filed statement from the local CVM store. The store is filled by ``python -m src.br_data sync`` (DFP annual, ITR quarterl
agent/src/tools/financial_statements_tool.py:396
↓ 1 callersFunction_fetch_eastmoney_channel
Fetch one 港股通 channel's daily rows, newest first. Args: mutual_type: Eastmoney ``MUTUAL_TYPE`` code ("002" or "004"). days: Numbe
agent/src/tools/southbound_tool.py:98
↓ 1 callersFunction_fetch_eastmoney_statement
Fetch one A-share/HK statement from Eastmoney, shaped into a result dict. Args: code: Symbol (e.g. ``"600519.SH"`` or ``"00700.HK"``).
agent/src/tools/financial_statements_tool.py:250
↓ 1 callersMethod_fetch_etf
Fetch exchange-listed ETF / LOF via fund_etf_hist_sina. Sina symbol format is ``sh518880`` / ``sz159915``. The endpoint returns the f
agent/backtest/loaders/akshare_loader.py:304
↓ 1 callersFunction_fetch_event
Fetch one event by numeric id or by exact slug. Args: identifier: Gamma event id (digits) or the event's exact slug. Returns:
agent/src/tools/prediction_market_tool.py:637
↓ 1 callersFunction_fetch_fear_greed
Fetch the latest crypto Fear & Greed Index from alternative.me.
agent/src/tools/sentiment_tool.py:74
↓ 1 callersMethod_fetch_feed
Fetch raw RSS XML for one feed/code, bounded by a wall-clock budget. Returns the response body on success, or ``""`` when the fetch could not
agent/backtest/loaders/rsshub_events.py:424
↓ 1 callersMethod_fetch_forex
Fetch forex pair via forex_hist_em. Columns returned are 日期 / 代码 / 名称 / 今开 / 最新价 / 最高 / 最低 / 振幅 — note ``最新价`` (latest) plays the rol
agent/backtest/loaders/akshare_loader.py:319
↓ 1 callersMethod_fetch_funding_history
Fetch bounded historical funding settlements for one USD-M swap.
agent/backtest/loaders/ccxt_loader.py:391
↓ 1 callersFunction_fetch_history
Fetch one outcome's implied-probability time series. Args: identifier: CLOB token id, condition id, or gamma market id. interval:
agent/src/tools/prediction_market_tool.py:828
↓ 1 callersMethod_fetch_hk
Fetch HK stock via stock_hk_hist.
agent/backtest/loaders/akshare_loader.py:347
↓ 1 callersFunction_fetch_hkex_latest
Walk back up to a week for the latest HKEX daily-statistics report. Returns: The parsed southbound snapshot row, or ``None`` when no trad
agent/src/tools/southbound_tool.py:230
↓ 1 callersFunction_fetch_latest_row
Fetch the latest-only report's single row for ``code``. Used for the average-holding / market-cap columns the detail report does not carry, a
agent/src/tools/shareholder_count_tool.py:246
↓ 1 callersFunction_fetch_lockups
Fetch and normalize lockup-expiry records from Eastmoney. Args: code: Bare 6-digit code, or ``None`` for a market-wide calendar.
agent/src/tools/lockup_expiry_tool.py:191
↓ 1 callersFunction_fetch_market
Fetch one market's current quote, optionally with book depth. Args: identifier: Gamma market id (digits) or a ``0x``-prefixed condition i
agent/src/tools/prediction_market_tool.py:709
↓ 1 callersMethod_fetch_media_attachment
Download, decrypt if needed, and persist a Matrix attachment.
agent/src/channels/matrix.py:928
↓ 1 callersFunction_fetch_membership
Fetch the full PIT membership snapshot (current "Y" + historical "N"). Args: api: Tushare pro API (real or injected fake). src: C
agent/backtest/loaders/industry_loader.py:137
↓ 1 callersFunction_fetch_membership
Fetch the industry / concept boards one stock belongs to. Args: code: Vibe-Trading A-share symbol (e.g. ``"600519.SH"``). Returns:
agent/src/tools/sector_tool.py:160
↓ 1 callersFunction_fetch_membership_part
Fetch one ``is_new`` half of the snapshot, refetching per L1 if truncated.
agent/backtest/loaders/industry_loader.py:111
↓ 1 callersMethod_fetch_messages_once
Fetch messages by arbitrary IMAP search criteria.
agent/src/channels/email.py:537
↓ 1 callersFunction_fetch_okx
从 OKX API 获取 K 线数据。 Args: inst_id: 交易对标识,如 "BTC-USDT"。 bar: K 线周期。 limit: 获取根数。 Returns:
agent/src/skills/volatility/example_signal_engine.py:118
↓ 1 callersFunction_fetch_okx
从 OKX API 获取 K 线数据。 Args: inst_id: 交易对标识,如 "BTC-USDT"。 bar: K 线周期,默认 "1D"。 limit: 获取数量,默认 300。 Returns: OHLC
agent/src/skills/elliott-wave/example_signal_engine.py:411
↓ 1 callersFunction_fetch_okx
从 OKX API 获取 K 线数据。 Args: inst_id: 交易对标识,如 "BTC-USDT"。 bar: K 线周期。 limit: 获取根数。 Returns:
agent/src/skills/seasonal/example_signal_engine.py:103
↓ 1 callersFunction_fetch_okx
从 OKX API 获取K线数据。 Args: inst_id: 交易对标识,如 "BTC-USDT"。 bar: K线周期,默认 "1D"。 limit: 获取数量,默认 300。 Returns: OHLCV D
agent/src/skills/ichimoku/example_signal_engine.py:132
↓ 1 callersFunction_fetch_okx
从 OKX API 获取 K 线数据。 Args: inst_id: 交易对标识,如 "BTC-USDT"。 bar: K 线周期。 limit: 获取根数。 Returns:
agent/src/skills/pair-trading/example_signal_engine.py:113
↓ 1 callersFunction_fetch_okx
从 OKX 获取K线数据。 Args: inst_id: 交易对,如 "BTC-USDT"。 bar: K线周期,默认 "1D"。 limit: 获取数量,默认 300。 Returns: 包含 open/high/
agent/src/skills/candlestick/example_signal_engine.py:535
↓ 1 callersFunction_fetch_okx
从 OKX API 获取 K 线数据。 Args: inst_id: 交易对标识,如 "BTC-USDT"。 bar: K 线周期。 limit: 获取根数。 Returns:
agent/src/skills/multi-factor/example_signal_engine.py:174
↓ 1 callersFunction_fetch_okx
从 OKX API 获取 K 线数据。 Args: inst_id: 交易对标识,如 "BTC-USDT"。 bar: K 线周期,默认 "1D"。 limit: 获取根数,默认 300。 Returns: OHLC
agent/src/skills/technical-basic/example_signal_engine.py:249
↓ 1 callersFunction_fetch_okx
从 OKX API 获取K线数据。 Args: inst_id: 交易对标识,如 "BTC-USDT"。 bar: K线周期,默认 "1D"。 limit: 获取数量,默认 300。 Returns: OHLCV D
agent/src/skills/harmonic/example_signal_engine.py:428
↓ 1 callersFunction_fetch_okx
从 OKX 获取K线数据。 Args: inst_id: 交易对,如 "BTC-USDT"。 bar: K线周期,默认日线。 limit: 获取K线数量。 Returns: 包含 open/high/low/clos
agent/src/skills/smc/example_signal_engine.py:25
↓ 1 callersMethod_fetch_one
Fetch and normalize one symbol's daily candles. Args: code: Project-side symbol. start_date: Inclusive start date (``
agent/backtest/loaders/finnhub_loader.py:235
↓ 1 callersMethod_fetch_one
Resolve one symbol and build its OHLCV frame, or ``None`` on a miss. Args: code: A single Vibe-Trading symbol. start_
agent/backtest/loaders/eastmoney_loader.py:151
↓ 1 callersMethod_fetch_one
Paginate [start_date, end_date] in `_PAGE_SIZE`-bar windows. The Tencent API returns at most 500 bars per request regardless of the r
agent/backtest/loaders/tencent_loader.py:230
↓ 1 callersMethod_fetch_one
Fetch and normalize one symbol; ``None`` when KRX has no data. ``adjusted=True`` is passed explicitly: it is pykrx's own default, but
agent/backtest/loaders/pykrx_loader.py:146
↓ 1 callersMethod_fetch_one
Fetch and parse one symbol's daily bars, or ``None`` if non-US/empty.
agent/backtest/loaders/sina_loader.py:183
↓ 1 callersMethod_fetch_one
( self, code: str, start_date: str, end_date: str, interval: str, )
agent/backtest/loaders/mootdx_loader.py:163
↓ 1 callersMethod_fetch_one
Fetch one symbol from the terminal (``None`` on any failure).
agent/backtest/loaders/mt5_loader.py:241
↓ 1 callersMethod_fetch_one
Fetch and slice one symbol's daily bars into an OHLCV DataFrame. Args: code: US-equity ticker. start_date: Inclusive
agent/backtest/loaders/alphavantage_loader.py:170
↓ 1 callersMethod_fetch_one
Fetch and parse one A-share's daily bars; ``None`` on no data. Args: symbol: Normalized Gildata symbol (e.g. ``600519.SH``).
agent/backtest/loaders/gildata_loader.py:421
↓ 1 callersMethod_fetch_one
( self, symbol: str, start_date: str, end_date: str, interval: str = "1D", )
agent/backtest/loaders/local_loader.py:355
↓ 1 callersMethod_fetch_one
Fetch and normalize one symbol's chart, or ``None`` when unusable. Args: code: A single project symbol. start_date: I
agent/backtest/loaders/yahoo_loader.py:259
↓ 1 callersMethod_fetch_one
Fetch a single symbol.
agent/backtest/loaders/akshare_loader.py:196
↓ 1 callersMethod_fetch_one
Fetch and parse one symbol's CSV; ``None`` when Stooq has no data.
agent/backtest/loaders/stooq_loader.py:233
↓ 1 callersMethod_fetch_one
Paginated UDF download; pages walk older batches of <=500 bars.
agent/backtest/loaders/nobitex.py:186
↓ 1 callersMethod_fetch_one
Fetch and parse one symbol's daily bars; ``None`` on no data. Args: code: Project symbol to fetch. start_date: Inclus
agent/backtest/loaders/fmp_loader.py:150
↓ 1 callersMethod_fetch_one
Fetch a single A-share symbol.
agent/backtest/loaders/baostock_loader.py:251
↓ 1 callersMethod_fetch_one
Fetch and parse one symbol's bars over HTTP; ``None`` on no data. Uses the endpoint's exact date-range mode (``from``/``to``) and honors its
agent/backtest/loaders/tickerall_loader.py:301
↓ 1 callersMethod_fetch_one
Fetch and normalize a single symbol's daily bars. Args: code: Original project symbol. start_date: Inclusive start da
agent/backtest/loaders/tiingo_loader.py:348
↓ 1 callersMethod_fetch_one_hk
Fetch one HK equity's raw daily bars via its resolved 内码. Unresolvable symbols return ``None`` (no recall match), so the symbol drops
agent/backtest/loaders/gildata_loader.py:453
↓ 1 callersMethod_fetch_one_index
Fetch one CN index's daily bars via its resolved 内码. Args: code: Project index symbol, e.g. ``000300.SH`` / ``399006.SZ``.
agent/backtest/loaders/gildata_loader.py:486
↓ 1 callersMethod_fetch_perpetual
Fetch aligned trade-price and mark-price candles for one USD-M swap. Maintenance brackets are never fetched live (see ``_validate_bra
agent/backtest/loaders/ccxt_loader.py:327
↓ 1 callersMethod_fetch_qr_code
Fetch a fresh QR code. Returns (qrcode_id, scan_url).
agent/src/channels/weixin.py:329
↓ 1 callersFunction_fetch_ranking
Fetch the industry-board ranking by intraday percent change. Args: limit: Number of top boards to keep (already validated and capped).
agent/src/tools/sector_tool.py:257
↓ 1 callersFunction_fetch_raw_book
Fetch one L2 order-book snapshot via ccxt's public REST API. Isolated as its own function so tests can monkeypatch exactly this name and neve
agent/src/tools/orderbook_depth_tool.py:121
↓ 1 callersMethod_fetch_remote_media_bytes
Fetch a remote media URL with SSRF, redirect, and size checks.
agent/src/channels/dingtalk.py:384
↓ 1 callersFunction_fetch_report
Pull one page of datacenter rows for a report. Args: report_name: Eastmoney ``reportName``. filter_expr: The datacenter ``filter`
agent/src/tools/dragon_tiger_tool.py:70
↓ 1 callersFunction_fetch_sec_statement
Fetch one US statement from SEC companyfacts, shaped as flat periods. Args: code: US symbol with ``.US`` suffix, e.g. ``"AAPL.US"``.
agent/src/tools/financial_statements_tool.py:683
↓ 1 callersFunction_fetch_single_leg
( market: str, symbols: tuple[str, ...], window_start: str, to_date: str, *, loader: A
agent/src/tools/paper_trade/data.py:718
↓ 1 callersFunction_fetch_sp500_constituents
Pull current S&P 500 tickers and GICS sectors from Wikipedia. The sector labels ride along in the table we already request, so the 19 industr
agent/src/tools/alpha_bench_tool.py:575
↓ 1 callersFunction_fetch_symbol_flow
Fetch one symbol's capital-flow series and shape it into a result dict. Args: symbol: Vibe-Trading symbol (e.g. ``"600519.SH"``, ``"AAPL.
agent/src/tools/fund_flow_tool.py:117
↓ 1 callersFunction_fetch_symbol_raw_frame
( *, symbol: str, cik: str, raw_fields: list[str], schema: Any, freq: str, pit: bo
agent/backtest/loaders/fundamentals_loader.py:492
↓ 1 callersMethod_fetch_us
Fetch US stock via stock_us_hist.
agent/backtest/loaders/akshare_loader.py:284
↓ 1 callersFunction_fetch_via_chain
Run the ordered source chain for one group, per symbol. Returns ``(data_map, used_source, provider_cls, symbol_sources)`` — ``data_ma
agent/src/market_data.py:284
↓ 1 callersFunction_fetch_yahoo_news
Fetch US/HK news articles for a query via Yahoo search. Args: query: Free-text search term (bare ticker or keyword). limit: Maxim
agent/src/tools/stock_news_tool.py:245
↓ 1 callersFunction_fetch_yahoo_statement
Fetch one UK (.L) statement/indicators from Yahoo quoteSummary. Args: code: UK symbol (e.g. ``"VOD.L"``). statement: One of :data
agent/src/tools/financial_statements_tool.py:332
↓ 1 callersFunction_ffill_2d
Forward-fill NaN values column-wise with limit.
agent/backtest/engines/base.py:164
↓ 1 callersFunction_ffill_pit
Forward-fill sparse values onto ``index`` using ``filed`` as the anchor. Args: series: DataFrame containing ``filed`` and ``value`` colum
agent/backtest/loaders/fundamentals_loader.py:170
↓ 1 callersFunction_field
( name: str, label: str, *, secret: bool = True, required: bool = True, )
agent/src/trading/onboarding.py:42
↓ 1 callersFunction_field_status
( field: str, *, present: bool, source: str | None, policy: Mapping[str, Any], field_m
agent/src/factors/data_availability.py:192
↓ 1 callersMethod_figure_symbol
Resolve which instrument a figure is about (spec §4). Order: the declaration's ``ref``/``note``, the table row's symbol column, the f
agent/src/agent/grounding/policies.py:758
↓ 1 callersFunction_file_item
(encrypt_query_param: str, full_url: str)
agent/tests/test_weixin_media_filename_collision.py:41
↓ 1 callersFunction_file_uri_to_path
Convert a file:// URI back to a local path, or None if not a file URI.
agent/src/shadow_account/pdf_fallback.py:55
↓ 1 callersFunction_fill
(symbol: str, bar_idx: int, margin: float, reason: str = "target_rebalance")
agent/tests/test_rebalance_execution_evidence.py:39
↓ 1 callersFunction_fill_to_dict
(item: Any)
agent/src/trading/connectors/okx/sdk.py:740
↓ 1 callersFunction_filter_by_period
Best-effort client-side period selection by report date. Eastmoney returns a mixed newest-first series (annual + interim reports). For ``annu
agent/src/tools/financial_statements_tool.py:222
↓ 1 callersFunction_filter_skill_descriptions
Return skill descriptions filtered to the given whitelist. Args: loader: SkillsLoader instance with all skills loaded. skill_name
agent/src/swarm/worker.py:155
↓ 1 callersFunction_finalize
Atomically write ``.env``. Returns the final path.
agent/cli/onboard.py:155
↓ 1 callersFunction_finalize_run
Persist a worker's terminal summary and message log together. Both files are written through one call, so a terminal path that reports a summ
agent/src/swarm/worker.py:1485
↓ 1 callersMethod_finalize_stream
Commit the final streamed content and flush overflow chunks.
agent/src/channels/discord.py:664
↓ 1 callersMethod_find_abc
在 Swing 序列中寻找 ABC 调整结构。 看跌调整(上升趋势后):H-L-H-L(A 下 B 反弹 C 下) 看涨调整(下降趋势后):L-H-L-H(A 上 B 回落 C 上) Args: swings: 交替排列的
agent/src/skills/elliott-wave/example_signal_engine.py:285
↓ 1 callersMethod_find_font
(cls)
agent/tests/test_ocr_integration.py:49
↓ 1 callersMethod_find_impulse
在 Swing 序列中寻找 5 浪推动结构。 看涨推动浪:L-H-L-H-L-H(6个点,5段浪) 看跌推动浪:H-L-H-L-H-L(6个点,5段浪) 三大铁律验证: 1. 浪2 不破浪1 起点 2. 浪3 不是最
agent/src/skills/elliott-wave/example_signal_engine.py:188
↓ 1 callersFunction_find_swings
检测摆动高低点。 使用滚动窗口方法:当某根K线的高点等于前后 window 根K线的最大值时, 判定为摆动高点;低点同理。 Args: high: 最高价序列。 low: 最低价序列。 window: 半窗口大小,实际窗口为
agent/src/skills/harmonic/example_signal_engine.py:66
↓ 1 callersMethod_find_swings
用滚动窗口找局部高低点(原始 Swing 点,未做 Zigzag 过滤)。 中心窗口的极值要等右侧 ``swing_window`` 根 K 线收盘后才能确认, 因此每个点带 ``confirmed``:该点实际可被观察到的那根 K 线。 Args
agent/src/skills/elliott-wave/example_signal_engine.py:53
↓ 1 callersFunction_fingerprint_auth
Fingerprint an MCP server's OAuth config, never storing it raw. ``MCPOAuthConfig.client_secret`` is a real credential, so the whole config is
agent/src/tools/mcp.py:77
↓ 1 callersMethod_fingerprint_content
(content: str)
agent/src/channels/manager.py:432
↓ 1 callersFunction_finish_error
(msg: str)
agent/src/factors/bench_runner_strict.py:449
↓ 1 callersMethod_finish_failed_resolution
Mark transport/business failure as invalidated, never not-found.
agent/src/agent/grounding/identity.py:686
↓ 1 callersMethod_finish_line
(self, summary: str)
agent/cli/ui/rail.py:604
↓ 1 callersFunction_finite
(value: Any, default: float = 0.0)
agent/src/tools/paper_trade/data_5m.py:308
↓ 1 callersFunction_finite_float
(value: Any)
agent/src/tools/paper_trade/data.py:571
↓ 1 callersFunction_finite_number
Coerce a verification value to a finite float, or None when unusable. Args: value: Raw ``reported_value``/``fetched_value`` from a result
agent/src/tools/report_audit_tool.py:330
↓ 1 callersFunction_fire_progress
(idx: int, aid: str)
agent/src/factors/bench_runner_strict.py:501
↓ 1 callersFunction_first
(row: Dict[str, Any], *keys: str)
agent/backtest/loaders/gildata_loader.py:285
↓ 1 callersFunction_first
Return the first present, non-empty value among ``keys`` in ``row``.
agent/src/tools/research_reports_tool.py:364
↓ 1 callersFunction_first
(path: str, method: str | None = None)
agent/tests/scheduling/test_system_job_protection.py:196
↓ 1 callersFunction_first_entry
Index of the first non-zero signal, or ``None`` if the engine never enters.
agent/tests/test_shadow_codegen_condition_bounds.py:95
← previousnext →6,001–6,100 of 26,887, ranked by callers