MCPcopy Create free account

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

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

↓ 11 callersFunction_daily
(start: str, end: str, *, freq: str = "B")
agent/tests/test_weekly_monthly_bars.py:25
↓ 11 callersFunction_df
(records: list[TradeRecord])
agent/tests/test_trade_journal_currency_pools.py:34
↓ 11 callersFunction_echo_command
(text: str)
agent/tests/test_background_scope_isolation.py:26
↓ 11 callersFunction_events
(tmp_path: Path, *, buffer: int = 500, heartbeat: float = 0.05)
agent/tests/test_session_thread_events.py:52
↓ 11 callersFunction_exchange_cross
(**changes: object)
agent/tests/test_binance_shadow_evidence.py:83
↓ 11 callersFunction_executor
(store, *, reader=None, sender=None, dispatch=None, now=1_000)
agent/tests/test_scheduled_delivery_outbox.py:48
↓ 11 callersFunction_fake_run_bench
Build a ``run_bench`` double returning canned rows for the ``only`` ids.
agent/tests/factors/test_alpha_compare.py:137
↓ 11 callersFunction_fake_subprocess
Install a fake ``subprocess.run`` and return (calls, original_run). The pip call is identified by the ``-m pip`` marker, the verification call
agent/tests/test_cli_update.py:42
↓ 11 callersFunction_figures
(text: str)
agent/tests/test_grounding_shape_hardening.py:75
↓ 11 callersFunction_history
A synthetic daily history of `n_days` consecutive calendar days.
agent/tests/test_tencent_loader.py:140
↓ 11 callersFunction_infer_venue
Infer a coarse venue from a project symbol.
agent/src/product/identity/normalize.py:183
↓ 11 callersFunction_inject_mock_transport
Route the probe's fresh ``httpx.AsyncClient`` through a MockTransport. The probe owns its client, so the only seam is the client class itself. Th
agent/tests/test_slack_connection_test.py:55
↓ 11 callersMethod_instance
(self, model: str = "kimi-k2-0905-preview")
agent/tests/test_kimi_reasoning_content.py:480
↓ 11 callersMethod_invoke_tool
Screen effective arguments, run hooks and invoke with the bound wait policy.
agent/src/product/tool_invocation.py:125
↓ 11 callersFunction_is_forex
Detect forex pairs by matching against AKShare's symbol map. Issue #54 — forex symbols (EURUSD, GBPUSD, etc.) have no exchange suffix and pre
agent/backtest/loaders/akshare_loader.py:89
↓ 11 callersFunction_is_interactive_invocation
Decide whether this invocation should drive the interactive loop.
agent/cli/main.py:168
↓ 11 callersFunction_iso
(dt: datetime)
agent/tests/test_swarm_status_hydration.py:48
↓ 11 callersFunction_ledger
(tmp_path: Path)
agent/tests/test_grounding_shape_hardening.py:59
↓ 11 callersFunction_local_cross
()
agent/tests/test_binance_shadow_evidence.py:35
↓ 11 callersFunction_make_channel
(**overrides: Any)
agent/tests/test_websocket_connection_test.py:48
↓ 11 callersFunction_make_channel
Build a Slack channel that has NOT been started (no sdk clients).
agent/tests/test_slack_connection_test.py:43
↓ 11 callersFunction_make_channel
Build a QQ channel that has NOT been started (no ``self._http``). ``media_dir`` is pinned under ``tmp_path`` so any media-root creation (``_e
agent/tests/test_qq_connection_test.py:37
↓ 11 callersFunction_make_factory
(state: dict[str, Any])
agent/tests/test_mcp_client_adapter.py:73
↓ 11 callersFunction_make_hypothesis
(**overrides)
agent/tests/test_autopilot_phase3.py:40
↓ 11 callersFunction_make_kline_df
Build a minimal Futu kline DataFrame mirroring request_history_kline output.
agent/tests/test_futu_loader.py:62
↓ 11 callersMethod_make_loader
(self)
agent/tests/test_tushare_loader.py:155
↓ 11 callersFunction_message_chunks_from_events
(events: Iterable[dict[str, Any]])
agent/src/providers/openai_codex.py:623
↓ 11 callersFunction_metrics
(ic_mean: float, ic_std: float, ir: float, pos: float = 0.5, n: int = 200)
agent/tests/factors/test_alpha_compare.py:154
↓ 11 callersFunction_mutate_row
Simulate a manual store-file edit (bypasses upsert validation).
agent/tests/scheduling/test_system_jobs.py:78
↓ 11 callersFunction_oracle_resolved_market
A market the oracle finalized, with the payout price pinned on "No".
agent/tests/test_prediction_market_tool.py:107
↓ 11 callersMethod_place
(self, fake: FakeMT5, **kwargs: Any)
agent/tests/test_mt5_connector.py:626
↓ 11 callersFunction_provider
(payload: str = _RSS)
agent/tests/test_rsshub_events_provider.py:68
↓ 11 callersFunction_register
(reg, **kwargs)
agent/tests/test_sdm_governance_wiring.py:32
↓ 11 callersFunction_require_finite
Raise when a named numeric input holds NaN or an infinity. Every range check in this module is a comparison (``face <= 0``) and a comparison
agent/src/quantlib/fixedincome.py:121
↓ 11 callersFunction_require_series
Reject anything that is not a ``CashFlowSeries``. Args: series: Candidate value supplied by the caller. name: Parameter name to q
agent/src/quantlib/fundmath.py:173
↓ 11 callersFunction_resolve_provider_config
Resolve base_url, api_key, model from the configured LLM provider. Provider credentials use dynamically-named env vars from :func:`provider_e
agent/src/tools/ocr/llm_vision_ocr.py:109
↓ 11 callersFunction_row
( ts_code: str, l1_name: str, in_date: str, out_date: str | None = None, *, l2_name: s
agent/tests/test_industry_loader.py:29
↓ 11 callersFunction_row
(strategy_id="alpha_zoo:a1", regime="bear_market", trades=12, **overrides)
agent/tests/test_strategy_discovery_store.py:49
↓ 11 callersFunction_row
(**overrides: Any)
agent/tests/factors/test_bench_strict.py:124
↓ 11 callersFunction_run
(coro: Any)
agent/tests/test_websocket_connection_test.py:54
↓ 11 callersFunction_run
(coro: Any)
agent/tests/test_slack_connection_test.py:82
↓ 11 callersFunction_run
(coro: Any)
agent/tests/test_discord_connection_test.py:74
↓ 11 callersFunction_run
(coro: Any)
agent/tests/test_dingtalk_connection_test.py:82
↓ 11 callersFunction_run_dir
(base: Path)
agent/tests/test_autopilot_phase3.py:53
↓ 11 callersFunction_run_to_completion
( manager: BackgroundManager, command: str, *, timeout: float = 15.0 )
agent/tests/test_background_scope_isolation.py:30
↓ 11 callersFunction_seed
Seed three hypotheses spanning multiple statuses; return their ids.
agent/tests/test_cli_hypothesis.py:23
↓ 11 callersFunction_setting
(override_name: str, config_name: str, *, nonnegative: bool = False)
agent/src/agent/tuning.py:15
↓ 11 callersFunction_tool_messages
(messages: list, name: str)
agent/tests/test_cli_conversation.py:111
↓ 11 callersFunction_transactions_export
(*rows: dict[str, str])
agent/tests/test_extraetf_reader.py:141
↓ 11 callersMethod_unblock_lost_readonly_results
Recover only lost exact queries; context loss cannot replay writes.
agent/src/product/tool_replay.py:120
↓ 11 callersFunction_unwrap
Return the data payload from a Futu ``(ret_code, data[, page_key])`` tuple. Futu read calls return ``(ret_code, data)``; ``request_history_kline`
agent/src/trading/connectors/futu/sdk.py:1136
↓ 11 callersFunction_us_engine
(**overrides)
agent/tests/test_global_equity_engine.py:28
↓ 11 callersFunction_warnings
(caplog)
agent/tests/test_user_instructions.py:58
↓ 11 callersFunction_wire
(monkeypatch: pytest.MonkeyPatch, id_to_zoo: dict[str, str], fake_bench: Any)
agent/tests/factors/test_alpha_compare.py:167
↓ 11 callersFunction_write
(run_dir: Path, text: str)
agent/tests/test_edit_file_tool.py:29
↓ 11 callersFunction_yahoo_quotes
()
agent/tests/test_symbol_search_tool.py:64
↓ 11 callersFunctionaltman_z_score
Score a firm's distress risk with one of the three Altman variants. Every argument is keyword-only, deliberately. Six interchangeable float p
agent/src/quantlib/credit.py:129
↓ 11 callersFunctionapply_adv_capacity
Cap each name's trade at a fraction of its average daily traded value. Args: target_weights: Desired weights by symbol, shorts negative.
agent/backtest/factor_costs.py:160
↓ 11 callersFunctioncalendarise_metric
Align one company's flow metric onto a comparable twelve-month footing. See the module docstring, section 2, for why this step exists and why
agent/src/quantlib/valuation/comps.py:231
↓ 11 callersMethodcheck
(self, task_id: Optional[str] = None)
agent/src/tools/background_tools.py:534
↓ 11 callersMethodclose
(self)
agent/src/data_gateway/scans.py:188
↓ 11 callersMethodclose
Stop recording; later writes are dropped.
agent/src/session/runtime.py:303
↓ 11 callersMethodclose
Close the database connection.
agent/src/session/search.py:357
↓ 11 callersMethodcreate
Create and persist a new hypothesis. Args: title: Short hypothesis title. thesis: Research thesis or rationale.
agent/src/hypotheses/registry.py:158
↓ 11 callersMethoddisconnect
()
frontend/src/tests/setup.ts:13
↓ 11 callersFunctiondue_now
Pure core: is ``trigger`` due at ``now_ms``. Deterministic — reads no clock; all inputs are arguments. * INTERVAL: due when ``(now_ms - epoc
agent/src/live/runtime/triggers.py:311
↓ 11 callersMethodemit
Emit a stream event, starting the live assistant item on its first delta. Args: event_type: Event type passed to the sink.
agent/src/agent/loop_streaming.py:39
↓ 11 callersFunctionemit_progress
Publish a structured progress event from a tool. Silently no-ops when called outside an active tool context. Args: stage: Short stag
agent/src/kernel/progress.py:61
↓ 11 callersMethodexecute
Start a research goal. Args: **kwargs: Tool arguments from the model. Returns: JSON envelope with the goal s
agent/src/tools/goal_tool.py:194
↓ 11 callersMethodexecute
Run the pre-trade gate, then ALLOW / DENY / PAUSE the order. Args: **kwargs: Order-tool arguments from the agent loop. R
agent/src/live/order_guard.py:134
↓ 11 callersMethodfind_spec
(self, fullname, path, target=None)
agent/tests/test_kernel_boundary.py:84
↓ 11 callersMethodfinish_iteration
Update the streak of no-progress iterations and clear this iteration's tracking state. Returns: True when the consecutive no-prog
agent/src/product/tool_progress.py:131
↓ 11 callersFunctionfit_gpd_tail
Fit the loss tail with a generalised Pareto distribution (POT method). Extreme value theory says the exceedances over a high enough threshold
agent/src/quantlib/risk.py:679
↓ 11 callersFunctionfit_markov_regime
Fit a Markov regime-switching model and label the current regime. A GARCH model says how volatile tomorrow is. This says *which state the mar
agent/src/quantlib/timeseries.py:485
↓ 11 callersFunctionfit_yield_curve
Fit a Nelson-Siegel or Svensson curve to observed zero rates. Beta coefficients are solved via OLS; decay parameters are searched over a geom
agent/src/quantlib/fixedincome.py:733
↓ 11 callersMethodget
Retrieve a tool by name. Args: name: Registered tool name to look up. Returns: The corresponding tool, or No
agent/src/agent/tools.py:177
↓ 11 callersFunctionget_background_manager
Return a private handle over this runtime root's durable task table.
agent/src/tools/background_tools.py:639
↓ 11 callersMethodget_session
Read a session. Args: session_id: Session ID. Returns: The deserialized session, or None when its metadata c
agent/src/session/store.py:103
↓ 11 callersFunctionget_shared_index
Return a process-wide singleton MemorySearchIndex. Thread-safe via double-checked locking. Shared by memory indexing and search callers so th
agent/src/memory/search_index.py:619
↓ 11 callersFunctiongroup_purged_kfold_splits
Purged and embargoed K-fold cross-validation for panel and multi-asset datasets. Groups all observations sharing a time group identifier (e.g. da
agent/src/quantlib/crossvalidation.py:292
↓ 11 callersFunctionhistorical_volatility
Calculate annualised historical volatility from a close price series. Args: close: Close price Series. window: Rolling window in
agent/backtest/engines/options_portfolio.py:39
↓ 11 callersMethodinject
Return ``user_message`` prefixed with a formatted context block. Args: request: The parsed ``openbb_ai.models.QueryRequest`` inst
agent/src/openbb_bridge/context_injector.py:81
↓ 11 callersMethodinterval
Build an interval trigger firing every ``interval_ms`` ms. Args: interval_ms: Cadence in milliseconds; must be strictly positive.
agent/src/live/runtime/triggers.py:176
↓ 11 callersFunctionks_pme
Kaplan-Schoar public market equivalent. Every contribution and distribution is grown to a single common date (``as_of``) using the *public in
agent/src/quantlib/fundmath.py:1468
↓ 11 callersMethodlist_tools
(self)
agent/tests/test_swarm_m4_e2e.py:64
↓ 11 callersMethodload
Read persisted settings, creating an empty file on first use. Returns: The validated settings currently on disk. Raises:
agent/src/portfolio/config.py:264
↓ 11 callersMethodload_all
Return readable records and the paths that could not be read. A corrupt or unknown-version file is reported, never overwritten and ne
agent/src/tools/background_store.py:116
↓ 11 callersFunctionload_channel_class
Import *module_name* and return the first BaseChannel subclass found.
agent/src/channels/registry.py:161
↓ 11 callersFunctionreconcile
Reconcile broker truth against the durable last-known state. Pulls the broker's positions, balance, and open orders through the injected READ
agent/src/live/runtime/reconcile.py:275
↓ 11 callersMethodrecord_bench
Record a bench result. Returns the result ID.
agent/src/strategy_store/store.py:113
↓ 11 callersFunctionrefresh_source_order_overrides
Apply ``MARKET_DATA_ORDER_*`` env values onto :data:`FALLBACK_CHAINS`. Snapshot-gated: when the relevant env vars are unchanged since the last
agent/backtest/loaders/registry.py:545
↓ 11 callersMethodrequest_cancel
Ask to cancel by order id. A terminal order (``held``/``canceled``/``rejected``) cannot be canceled — the refusal is an error, not a
agent/src/tools/paper_trade/order_lifecycle.py:205
↓ 11 callersFunctionresolve_loader
Return the first *available* loader instance for *market*. Walks the fallback chain and returns the first loader whose ``is_available()`` ret
agent/backtest/loaders/registry.py:603
↓ 11 callersFunctionscan_today_signals
Return a list of {symbol, market, rule_id, reason} matches. Args: profile: ShadowProfile holding the rules. target_date: ISO "YYY
agent/src/shadow_account/scanner.py:26
↓ 11 callersFunctionscenario
()
agent/tests/scheduling/test_kernel.py:38
↓ 11 callersFunctionscenario
()
agent/tests/scheduling/test_internal_dispatch.py:111
↓ 11 callersFunctionselected_inputs
Read a consumer's selected upstream values, bounded by the tool-result budget. Args: destination: Consumer workspace whose handoff has al
agent/src/swarm/evidence_handoff.py:622
↓ 11 callersMethodsend
Send attachments first, then text.
agent/src/channels/qq.py:272
↓ 11 callersMethodsnapshot
Frozen memory index for system prompt injection.
agent/src/memory/persistent.py:229
↓ 11 callersFunctionsource_interval
Return the bar size to request from a loader when serving ``interval``. Args: interval: The bar size the caller asked for. Returns:
agent/backtest/loaders/base.py:385
← previousnext →801–900 of 30,405, ranked by callers