MCPcopy Create free account

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

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

↓ 4 callersFunction_chat_llm
(fake_llm: _ScriptedStreamingLLM)
agent/tests/test_agent_loop_dsml_tool_calls.py:69
↓ 4 callersFunction_clean_list
Strip empty list values from MCP payloads.
agent/mcp_server.py:482
↓ 4 callersFunction_clean_returns
Coerce a return series to a finite 1-D float array. Args: returns: Return observations as a pandas Series, numpy array or any
agent/src/quantlib/risk.py:78
↓ 4 callersFunction_client
( tmp_path: Path, monkeypatch, *, channels_config: dict[str, object] | None = None, )
agent/tests/test_channels_api.py:17
↓ 4 callersFunction_client
()
agent/tests/test_swarm_route_contracts.py:27
↓ 4 callersFunction_client
()
agent/tests/test_swarm_routes_usage.py:42
↓ 4 callersFunction_client
(tmp_path, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_robinhood_portfolio_source.py:296
↓ 4 callersFunction_cn_a_data
(**overrides)
agent/tests/test_paper_trade_5m_engine.py:159
↓ 4 callersFunction_coerce_csv_number
Coerce a CSV text cell (``"0.375"``) to a finite number, or None.
agent/evals/grounding/evidence.py:401
↓ 4 callersFunction_coerce_opt_str
Coerce an optional string parameter; blank/None become ``None``.
agent/src/tools/strategy_discovery_tool.py:99
↓ 4 callersFunction_commit
(root: Path)
tools/test_ci_readme.py:20
↓ 4 callersFunction_commit_client
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch, broker: _CommitBroker)
agent/tests/test_robinhood_live_account_binding.py:294
↓ 4 callersFunction_completed_seqs
(received: List[SSEEvent])
agent/tests/test_session_thread_events.py:101
↓ 4 callersFunction_composite
(**overrides)
agent/tests/test_composite_market_rules.py:24
↓ 4 callersFunction_compute_behavior
Run all 4 behavior diagnostics. Args: df: Standardized DataFrame (datetime-sorted). Diagnostics run on the buy/sell rows only
agent/src/tools/trade_journal_tool.py:559
↓ 4 callersFunction_compute_ema
Exponential moving average over the full series.
agent/src/tools/technical_indicator_tool.py:170
↓ 4 callersFunction_compute_multiple
Compute one peer's multiple, or explain why it is excluded. **Both sides are checked, and that is deliberate.** A non-positive DENOMINATOR (
agent/src/quantlib/valuation/comps.py:747
↓ 4 callersFunction_compute_single_alpha
Picklable worker for parallel bench. Normal parallel execution passes only an alpha id after ``_init_bench_worker`` has stored the large pane
agent/src/factors/bench_runner.py:61
↓ 4 callersFunction_configure_local
Point the local loader at a temp config serving ``symbols`` from CSV.
agent/tests/test_local_prefix_routing.py:34
↓ 4 callersMethod_connection_profile
Resolve one configured source to its connection and profile. Args: source: The configured portfolio source. Returns:
agent/src/portfolio/service.py:289
↓ 4 callersFunction_connector
(last: float)
agent/tests/test_limit_price_notional.py:27
↓ 4 callersFunction_ctx
(meta=None)
agent/tests/test_alpha_bench_meta_survivorship.py:180
↓ 4 callersFunction_dashed_date
(value: Any)
agent/src/tools/tushare_fallbacks.py:54
↓ 4 callersFunction_delivery_error
Detect missing output or unparsed provider protocol, not report quality.
agent/src/swarm/node.py:268
↓ 4 callersFunction_describe_roots
Render allowed roots as an indented list for a rejection message.
agent/src/tools/path_utils.py:71
↓ 4 callersFunction_direct
(**kwargs)
agent/tests/test_market_data_raw_adjustment.py:468
↓ 4 callersFunction_discount_factors
Compute discount factors for period indices under discrete or continuous compounding.
agent/src/quantlib/fixedincome.py:255
↓ 4 callersFunction_dividend_amount
Return a dividend row's cash, trying the cash-movement headings. Args: row: One export row (mapping-like, from ``DataFrame.iterrows``).
agent/src/tools/trade_journal_parsers.py:249
↓ 4 callersFunction_drive
Run a sequence of tool calls through the loop's tool-call path.
agent/tests/test_agent_loop_dedup_arguments.py:58
↓ 4 callersFunction_em_news_payload
An Eastmoney search payload carrying two CMS articles.
agent/tests/test_stock_news_tool.py:26
↓ 4 callersFunction_ensure_font
Register a CJK-capable TTF once and return the family name to use.
agent/src/shadow_account/pdf_fallback.py:31
↓ 4 callersFunction_epoch
UTC-midnight epoch seconds for a date, used to build fake chart rows.
agent/tests/test_yahoo_loader.py:25
↓ 4 callersMethod_equal_weight
Equal weights for n assets.
agent/backtest/optimizers/base.py:169
↓ 4 callersFunction_err
(message: str, **extra: Any)
agent/src/tools/shadow_account_tool.py:36
↓ 4 callersFunction_error
(exc: Exception)
agent/src/tools/hypothesis_tool.py:16
↓ 4 callersFunction_error
(exc: Exception)
agent/src/tools/autopilot_tool.py:28
↓ 4 callersMethod_error
Build a uniform failure envelope.
agent/src/tools/quantlib_tool.py:501
↓ 4 callersFunction_etoro_copy_unavailable_on_paper
(profile: TradingProfile)
agent/src/trading/service.py:883
↓ 4 callersMethod_event_callback
(event: SwarmEvent)
agent/src/swarm/runtime.py:929
↓ 4 callersMethod_event_source_content
(event: RoomMessage)
agent/src/channels/matrix.py:796
↓ 4 callersFunction_events
Attach a capturing event callback and return the list it fills.
agent/tests/test_agent_loop_stall_watchdog.py:52
↓ 4 callersFunction_events_from_lines
(lines: Iterable[str])
agent/src/providers/openai_codex.py:579
↓ 4 callersFunction_evidence
Build the citation stub attached to every extracted value. Args: section: ``"title"`` or ``"abstract"``. index: Zero-based senten
agent/src/tools/research_papers_tool.py:620
↓ 4 callersFunction_evidence
One evidence row for the parent, adequate and fresh unless told otherwise.
agent/tests/test_strategy_store_adaptation.py:44
↓ 4 callersMethod_execute
Run the command, optionally leaving snapshots to the node's workspace wrapper.
agent/src/tools/bash_tool.py:193
↓ 4 callersFunction_export
(store: ResearchArtifactStore, first, revised, format: str)
agent/tests/test_research_artifact_comparison_export.py:40
↓ 4 callersFunction_extract_items
(payload: Any)
agent/src/trading/connectors/toss/sdk.py:603
↓ 4 callersFunction_facts
(concept_rows: dict[str, list[dict[str, object]]])
agent/tests/test_fundamentals_shares_diluted_alias.py:11
↓ 4 callersFunction_fetch
(symbols: list[str], frames: dict[str, pd.DataFrame] | None = None)
agent/tests/test_paper_trade_golden_hk.py:56
↓ 4 callersMethod_fetch
(self, codes: list[str])
agent/tests/test_tushare_loader.py:387
↓ 4 callersFunction_fetch_price_history
Fetch daily OHLCV for one symbol via the backtest loader registry. Uses the same access path as the backtest runner (``resolve_loader`` + the
agent/src/shadow_account/extractor.py:150
↓ 4 callersFunction_fetch_with_interval
(interval: str)
agent/tests/test_okx_loader_interval_case.py:10
↓ 4 callersFunction_ffill_1d
In-place forward-fill a 1D array with limit.
agent/backtest/engines/base.py:152
↓ 4 callersFunction_filings_for_period
Return every filing a filer made for one quarter, original and amendments alike.
agent/src/tools/institutional_holdings_tool.py:652
↓ 4 callersFunction_fill
(symbol, action, bar_idx, day, qty, price=100.0, fee=0.0)
agent/tests/test_argentina_equity_engine.py:49
↓ 4 callersFunction_final_response
(content: str = "Done.")
agent/tests/test_swarm_m4_e2e.py:209
↓ 4 callersFunction_finite_float
Convert a supplied numeric argument to a finite float. Args: value: Raw argument value (already known to be present). field: Argu
agent/src/tools/trading_connector_tool.py:84
↓ 4 callersFunction_first
(obj: Any, names: tuple[str, ...], default: Any = None)
agent/src/trading/connectors/toss/sdk.py:628
↓ 4 callersFunction_fixture_loader
(tmp_path: Path)
agent/tests/test_load_skill_allowlist.py:39
↓ 4 callersFunction_flat
(text: str)
agent/tests/test_cli_strategy_evidence.py:38
↓ 4 callersFunction_flatten
Recursively walk a value into flat ``path -> leaf`` dictionaries. Handles the exact shapes that appear in this package's inputs and result ob
agent/src/quantlib/valuation/artifact.py:399
↓ 4 callersFunction_fmp_symbol
Translate a project symbol into FMP's bare-ticker convention. FMP carries US tickers bare, so a trailing ``.US`` suffix (the project's US-equ
agent/backtest/loaders/fmp_loader.py:59
↓ 4 callersFunction_fold_key
Fold a key to its alphanumeric core (lower-case, separators stripped). Collapses snake_case, camelCase, kebab-case and spaced variants to one for
agent/src/tools/redaction.py:150
↓ 4 callersMethod_forex_intent
(self, notional: float = 500.0)
agent/tests/test_mandate_forex.py:180
↓ 4 callersFunction_fractional_fixture
(weights: list[float])
agent/tests/test_base_engine.py:603
↓ 4 callersFunction_frame
(rows: list[tuple[str, float]])
agent/tests/test_paper_trade_validation.py:52
↓ 4 callersFunction_frame
(rows: list[tuple[str, float]])
agent/tests/test_paper_trade_readiness.py:92
↓ 4 callersFunction_free_port
Return a loopback port the OS just handed out (free at bind time).
agent/tests/test_websocket_connection_test.py:26
↓ 4 callersFunction_from_call_prices
(strikes, prices, *, spot=100.0, rate=0.0)
agent/tests/quantlib/test_surface_diagnostics.py:23
↓ 4 callersFunction_from_yahoo_symbol
Translate a Yahoo symbol into the project convention + market label. Args: raw_symbol: The Yahoo-side symbol (e.g. ``AAPL``, ``0700.HK``,
agent/src/tools/symbol_search_tool.py:903
↓ 4 callersFunction_fts
Run one EDGAR full-text search and return its ``hits`` block. Args: params: Query parameters (``q`` / ``forms`` / ``ciks`` / ``entityName
agent/src/tools/institutional_holdings_tool.py:263
↓ 4 callersFunction_fused_block
One common factor dominating — pairwise correlations near one.
agent/tests/test_regime.py:38
↓ 4 callersFunction_fused_episodes
Contiguous FUSED intervals within the returned window. ``end`` is the last date observed FUSED, or None while the final bar is still FUSED (e
agent/backtest/regime.py:133
↓ 4 callersFunction_gc_pending
Remove expired pending entries in-place.
agent/src/channels/pairing/store.py:71
↓ 4 callersFunction_get_emitter
Return the active emitter on the current thread, if any.
agent/src/kernel/progress.py:56
↓ 4 callersFunction_get_ocr
Return the configured OCR engine (cached), or None.
agent/src/tools/doc_reader_tool.py:55
↓ 4 callersMethod_get_request_payload
Re-inject reasoning_content and normalize assistant content.
agent/src/providers/adapters/openai.py:431
↓ 4 callersMethod_governed_artifact
(self, **overrides)
agent/tests/test_strategy_store.py:1089
↓ 4 callersFunction_guard
(adapter: _MockAdapter)
agent/tests/test_advisory.py:147
↓ 4 callersFunction_handwritten_payload
(operation: str, **extra: object)
agent/tests/scheduling/test_system_job_protection.py:145
↓ 4 callersFunction_has_unbalanced_brackets
Return True if ``text`` contains unbalanced ``()``/``[]``/``{}`` pairs.
agent/cli/input.py:95
↓ 4 callersFunction_hash_leaves
Hash a completed ``path -> canonical string`` leaf set. Args: hash_leaves: Output of one or more :func:`_flatten` calls. Returns:
agent/src/quantlib/valuation/artifact.py:500
↓ 4 callersFunction_hash_prefixed
Return a self-describing ``sha256:<hex>`` digest of ``text``.
agent/src/governance/manifest.py:123
↓ 4 callersFunction_host_validate_path_param
(value: str, kind: str)
agent/src/api/swarm_routes.py:73
↓ 4 callersFunction_hourly_frame
Eight sequential 1-hour OHLCV bars starting at midnight.
agent/tests/test_yfinance_lowercase_4h_resample.py:18
↓ 4 callersMethod_id
(self, value)
agent/src/data_gateway/history_store.py:207
↓ 4 callersFunction_index_rows
(index: SessionSearchIndex, session_id: str)
agent/tests/test_session_delete_clears_search_index.py:60
↓ 4 callersFunction_infer_instrument_type
Normalize provider types into the identity contract.
agent/src/product/identity/normalize.py:219
↓ 4 callersFunction_install_golden
()
agent/tests/test_paper_trade_strategy_path.py:93
↓ 4 callersFunction_install_loader
(monkeypatch: pytest.MonkeyPatch, func)
agent/tests/test_get_fundamentals_tool.py:16
↓ 4 callersMethod_instrument
(self, symbol: str)
agent/backtest/engines/argentina_equity.py:463
↓ 4 callersFunction_intent
(limit_price: float | None, side: str = "buy")
agent/tests/test_limit_price_notional.py:31
↓ 4 callersFunction_interval_span_hours
Bar span in hours for a runner interval token, ``None`` when unknown. ``1M`` is a month and ``1m`` a minute; the period tokens are looked up
agent/backtest/engines/_market_hooks.py:543
↓ 4 callersFunction_invalid
()
agent/src/research_lab/exports.py:37
↓ 4 callersFunction_is_cjk_char
Check if character is a CJK ideograph.
agent/src/memory/search_index.py:38
↓ 4 callersFunction_is_halt_turn
Return True if ``text`` is a bare kill-switch turn.
agent/cli/main.py:578
↓ 4 callersFunction_is_int
(value: Any)
agent/src/session/thread_schema.py:18
↓ 4 callersFunction_is_price_kind
Whether a record is money-denominated: a quote, a registered level or an amount. Args: record: One evidence record, with its raw or canon
agent/evals/grounding/evidence.py:717
↓ 4 callersFunction_is_skippable_side
True for known non-trade corporate-action rows; callers drop the row.
agent/src/tools/trade_journal_parsers.py:269
↓ 4 callersFunction_ist
(y: int, m: int, d: int, hh: int = 0, mm: int = 0)
agent/tests/test_zerodha_sdk.py:20
← previousnext →2,501–2,600 of 30,405, ranked by callers