MCPcopy Create free account

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

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

↓ 4 callersMethod_attach_text_field
Attach text inline or as a sidecar path. The sidecar is written atomically and durably here, BEFORE the caller writes (and fsyncs) th
agent/src/agent/trace.py:185
↓ 4 callersMethod_attempt_file
(self, session_id: str, attempt_id: str)
agent/src/session/store.py:55
↓ 4 callersFunction_bar_date
Extract date from bar, handling various column names.
agent/backtest/engines/china_a.py:86
↓ 4 callersFunction_bar_df
(open_px: float, ts: str = "2025-10-04")
agent/tests/test_nonpositive_prices.py:144
↓ 4 callersFunction_bars
()
agent/tests/test_market_data_serving_source.py:10
↓ 4 callersFunction_base_payload
(cfg: EtoroConfig)
agent/src/trading/connectors/etoro/instruments.py:53
↓ 4 callersFunction_blocked_by_limit
Whether a price-limit band blocks a fill on this bar. Shared by every engine with a daily band (A-share, India, China futures, global futures
agent/backtest/engines/china_a.py:103
↓ 4 callersFunction_bounded
Change units before centering/squaring to avoid float overflow/underflow.
agent/src/quantlib/neutralization.py:88
↓ 4 callersFunction_build_store
()
agent/src/api/custom_provider_routes.py:27
↓ 4 callersFunction_build_three_statement_artifact
(*, generated_at: datetime = FIXED_TIME)
agent/tests/quantlib/valuation/test_artifact.py:247
↓ 4 callersFunction_build_transport
(server_config: MCPServerConfig)
agent/tests/test_mcp_oauth_schema.py:235
↓ 4 callersMethod_calc_raw_size
Convert target notional exposure to number of units/contracts. Size is a positive magnitude — direction carries the sign elsewhere —
agent/backtest/engines/base.py:917
↓ 4 callersFunction_call
(fn, *args, **kwargs)
agent/src/api/paper_trade_routes.py:27
↓ 4 callersFunction_call
(agent: AgentLoop, name: str, arguments: dict, tmp_path)
agent/tests/test_provider_agnostic_tool_policy.py:137
↓ 4 callersFunction_call_build_warnings
Call ``build_warnings`` tolerantly across plausible signatures. The contract pins behavior (tuple with stable prefixes), not the exact parame
agent/tests/test_strategy_discovery_models.py:283
↓ 4 callersFunction_cap_periods
Cap each period's field count, keeping every period. The record count is no longer clipped here: ``execute`` pages whole periods against the
agent/src/tools/financial_statements_tool.py:143
↓ 4 callersFunction_capture_handle_message
(channel)
agent/tests/test_voice_note_attachment_passthrough.py:25
↓ 4 callersFunction_capture_session_ids
Replace ``_run_agent`` with a spy recording the session id it receives.
agent/tests/test_cli_session_id.py:31
↓ 4 callersMethod_capture_temperature
(self, model: str, configured_temp: str)
agent/tests/test_llm.py:831
↓ 4 callersFunction_cfg
()
agent/tests/test_shoonya_interval_map.py:22
↓ 4 callersFunction_chat
(llm: _RecordingLLM)
agent/tests/test_provider_agnostic_tool_policy.py:73
↓ 4 callersFunction_clean_list
Strip empty list values from MCP payloads.
agent/mcp_server.py:441
↓ 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:77
↓ 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:155
↓ 4 callersFunction_coerce_csv_number
Coerce a CSV text cell (``"0.375"``) to a finite number, or None.
agent/src/agent/grounding/evidence.py:397
↓ 4 callersFunction_coerce_opt_str
Coerce an optional string parameter; blank/None become ``None``.
agent/src/tools/strategy_discovery_tool.py:97
↓ 4 callersFunction_collect_artifacts
Collect regular artifacts as deterministic run-relative paths. Args: run_dir: Root directory for the swarm run. artifact_dir: Pat
agent/src/swarm/worker.py:1529
↓ 4 callersFunction_commit_client
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch, broker: _CommitBroker)
agent/tests/test_robinhood_live_account_binding.py:294
↓ 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:557
↓ 4 callersFunction_compute_ema
Exponential moving average over the full series.
agent/src/tools/technical_indicator_tool.py:167
↓ 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:741
↓ 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:30
↓ 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:287
↓ 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_describe_roots
Render allowed roots as an indented list for a rejection message.
agent/src/tools/path_utils.py:43
↓ 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:54
↓ 4 callersFunction_em_news_payload
An Eastmoney search payload carrying two CMS articles.
agent/tests/test_stock_news_tool.py:26
↓ 4 callersFunction_emit
(payload: object)
agent/src/research_artifacts/cli_handlers.py:19
↓ 4 callersMethod_emit
Best-effort host event emission for goal mutations.
agent/src/tools/goal_tool.py:138
↓ 4 callersFunction_ensure_cli_env
Load dotenv values before a CLI path reads configuration.
agent/cli/_legacy.py:424
↓ 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_env_dir
()
agent/cli/onboard.py:119
↓ 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:34
↓ 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:474
↓ 4 callersFunction_etoro_copy_unavailable_on_paper
(profile: TradingProfile)
agent/src/trading/service.py:859
↓ 4 callersMethod_event_callback
(event: SwarmEvent)
agent/src/swarm/runtime.py:1005
↓ 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:48
↓ 4 callersFunction_events_from_lines
(lines: Iterable[str])
agent/src/providers/openai_codex.py:593
↓ 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:619
↓ 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_single
Execute a single tool call. Args: tc: Tool call object. context: ContextBuilder. messages: Conversation m
agent/src/agent/tool_lifecycle.py:499
↓ 4 callersFunction_extract_items
(payload: Any)
agent/src/trading/connectors/toss/sdk.py:603
↓ 4 callersFunction_extract_max_iter
Pull ``--max-iter <N>`` (or ``--max-iter=N``) out of ``argv``. The legacy argparse setup accepts ``--max-iter`` both at the top level and as
agent/cli/main.py:1531
↓ 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:150
↓ 4 callersFunction_fields
(contract: dict)
agent/tests/test_data_availability.py:30
↓ 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:651
↓ 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:205
↓ 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:35
↓ 4 callersFunction_flat
(text: str)
agent/tests/test_cli_strategy_evidence.py:50
↓ 4 callersFunction_flat_5m
(day: str, price: float)
agent/tests/test_paper_trade_5m_engine.py:83
↓ 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
Build an OHLCV frame from (open, high, low, close, volume) rows.
agent/tests/test_ohlc_validation.py:15
↓ 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_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:262
↓ 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:132
↓ 4 callersFunction_gc_pending
Remove expired pending entries in-place.
agent/src/channels/pairing/store.py:71
↓ 4 callersFunction_get_ocr
Return the configured OCR engine (cached), or None.
agent/src/tools/doc_reader_tool.py:53
↓ 4 callersMethod_get_request_payload
Re-inject reasoning_content and normalize assistant content. LangChain strips ``reasoning_content`` when serializing AIMessages
agent/src/providers/llm.py:738
↓ 4 callersMethod_governed_artifact
(self, **overrides)
agent/tests/test_strategy_store.py:1054
↓ 4 callersFunction_guard
(adapter: _MockAdapter)
agent/tests/test_advisory.py:147
← previousnext →2,101–2,200 of 26,887, ranked by callers