MCPcopy Create free account

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

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

↓ 12 callersFunction_parse_daily_rows
Convert vendor quote rows into an ascending OHLCV frame. Field names come from the tools' own ``columns`` maps, which differ by market: A-sha
agent/backtest/loaders/gildata_loader.py:252
↓ 12 callersFunction_parseable_payload
()
agent/tests/test_paper_trade_schema.py:345
↓ 12 callersFunction_records
Normalize a Futu data payload to a list of row dicts. Handles a pandas DataFrame (via ``to_dict('records')``), an existing list of dicts, a s
agent/src/trading/connectors/futu/sdk.py:1159
↓ 12 callersFunction_rendered_prompt
()
agent/tests/test_agent_output_discipline.py:46
↓ 12 callersFunction_require
Import an optional backend module or raise an actionable ImportError. Args: module_path: Dotted module to import, e.g. ``"statsmodels.tsa
agent/src/quantlib/timeseries.py:68
↓ 12 callersFunction_require_finite
Check a value is a finite number, refusing NaN and infinity. Args: value: The candidate value. name: Field name for the error mes
agent/src/quantlib/credit.py:109
↓ 12 callersFunction_require_futu
()
agent/src/trading/connectors/futu/sdk.py:1018
↓ 12 callersFunction_rich_payload
(**overrides)
agent/tests/test_paper_trade_schema.py:116
↓ 12 callersFunction_rows_to_frame
Convert Tiingo's per-day records into the normalized OHLCV frame. Prefers Tiingo's adjusted OHLC (``adjOpen``/``adjHigh``/``adjLow``/ ``adjCl
agent/backtest/loaders/tiingo_loader.py:164
↓ 12 callersFunction_run
(coro: Any)
agent/tests/test_feishu_connection_test.py:82
↓ 12 callersFunction_run_tool
(run_dir: Path, result: _FakeRunResult)
agent/tests/test_backtest_summary.py:133
↓ 12 callersFunction_service
(tmp_path, *, account_ref: str = ACCOUNT)
agent/tests/test_robinhood_portfolio_source.py:86
↓ 12 callersFunction_settings_store
(tmp_path)
agent/tests/test_portfolio_service.py:17
↓ 12 callersFunction_store
(tmp_path)
agent/tests/test_live_decision_budget.py:14
↓ 12 callersFunction_store
(tmp_path: Path)
agent/tests/test_scheduled_delivery_outbox.py:38
↓ 12 callersFunction_strategy
( *, artifact_id: str = "art_parent", name: str = "momentum", universe: str = "CSI300", ar
agent/tests/test_strategy_store_adaptation.py:68
↓ 12 callersFunction_to_float
Safely cast to float; return default on failure.
agent/src/tools/trade_journal_parsers.py:315
↓ 12 callersFunction_tokenize
Split text into searchable tokens (ASCII >=2 chars + non-Latin chars).
agent/src/memory/persistent.py:150
↓ 12 callersFunction_tolerance
()
agent/tests/test_binance_shadow_evidence.py:119
↓ 12 callersMethodacquire
(self, config: IBKRLocalConfig)
agent/src/trading/connectors/ibkr/local.py:548
↓ 12 callersMethodallow
Record a hit for ``key`` and report whether it stays within budget.
agent/src/api/system_routes.py:93
↓ 12 callersFunctionar1
Generate a mean-zero AR(1) series, the discrete analogue of an OU process. Args: phi: Persistence coefficient; |phi| < 1 gives a stationa
agent/tests/quantlib/test_timeseries.py:47
↓ 12 callersMethodbind_tools
(self, tools)
agent/tests/test_swarm_output_contract.py:523
↓ 12 callersFunctionbuild_binance_drift_evidence
Build one comparison or fail-closed rejection record. The returned record is evidence only. It never updates local accounting or implies that
agent/backtest/binance_shadow_evidence.py:65
↓ 12 callersFunctioncategorise_strict
Bucket a strict bench row into one of four ``StrictCategory`` values. Required keys on ``row``: - ``alpha_t_full`` (float) - ``al
agent/src/factors/bench_runner_strict.py:244
↓ 12 callersFunctionenterprise_value
Bridge a known equity market value to enterprise value. EV = market_cap + total_debt - cash_and_equivalents + minority_interest
agent/src/quantlib/valuation/comps.py:422
↓ 12 callersFunctionevaluate_case
Evaluate one case without invoking an LLM, tool, or network client.
agent/evals/harness/runner.py:21
↓ 12 callersFunctionfind_peaks_valleys
Detect peaks and valleys in a price series. Args: close: Closing price series. window: Half-window size; effective window is 2*wi
agent/src/tools/pattern_tool.py:24
↓ 12 callersMethodfind_spec
(self, fullname, path=None, target=None)
agent/tests/test_openbb_bridge/test_registration_guard.py:25
↓ 12 callersMethodget
(self, alpha_id)
agent/tests/test_strategy_discovery_facade.py:116
↓ 12 callersMethodindex_message
(self, session_id: str, role: str, content: str)
agent/tests/test_session_tool_trail.py:25
↓ 12 callersFunctionload_constraints
Build the constraint list from ``config['constraints']`` (empty if unset).
agent/backtest/constraints.py:173
↓ 12 callersFunctionmax_drawdown_analysis
Locate the worst peak-to-trough decline of an equity curve and its recovery. Args: equity: Net-value / equity series, strictly positive.
agent/src/quantlib/risk.py:441
↓ 12 callersFunctionnelson_siegel
Compute Nelson-Siegel zero rates for given maturities and parameters.
agent/src/quantlib/fixedincome.py:613
↓ 12 callersMethodpoll
(self)
agent/tests/test_bash_tool.py:33
↓ 12 callersMethodrecover_on_start
Reconcile records left by a previous process, once and without reruns. A task id this interpreter is already running is left alone: a second
agent/src/tools/background_tools.py:205
↓ 12 callersFunctionresample_bars
Aggregate daily bars into ``interval`` bars. Each bar is stamped with the last trading day inside its period, which is when its close becomes
agent/backtest/loaders/base.py:296
↓ 12 callersFunctionresidual_value
Unrealised NAV of the fund at its most recent mark. Only the latest valuation record counts. Earlier marks are stale by definition, and summi
agent/src/quantlib/fundmath.py:661
↓ 12 callersFunctionresolve
()
agent/tests/test_copilot_provider.py:168
↓ 12 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:587
↓ 12 callersFunctionrotate_if_needed
Seal the active ledger into an archive segment when it grows too large. **Nothing is ever deleted.** This project is not a regulated entity and h
agent/src/governance/ledger.py:624
↓ 12 callersMethodrun
Start a background task and return its task_id. Args: command: Shell command to execute. Returns: JSON strin
agent/src/tools/background_tools.py:255
↓ 12 callersFunctionscenario
()
agent/tests/test_api_live_runtime.py:406
↓ 12 callersFunctionscenario
()
agent/tests/test_channel_manager_reload.py:131
↓ 12 callersMethodsend_delta
Deliver a streaming text chunk. Override in subclasses to enable streaming. Implementations should raise on delivery failure so the c
agent/src/channels/base.py:160
↓ 12 callersFunctiontrip_halt
Trip the kill switch by writing a sentinel file. Writing is atomic (same-directory temp file + ``os.replace``) so a partial write can never l
agent/src/live/halt.py:72
↓ 12 callersMethodupdate_status
Update task status and additional fields. Args: task_id: Task ID. status: New status. **kwargs: Optional
agent/src/swarm/task_store.py:93
↓ 12 callersFunctionuseThemeDark
()
frontend/src/lib/theme-store.ts:25
↓ 11 callersFunction_args
(**kw: Any)
agent/tests/factors/test_alpha_compare.py:158
↓ 11 callersFunction_bold_row
Bold every cell in one worksheet row (typically a header row).
agent/src/quantlib/valuation/artifact.py:1021
↓ 11 callersMethod_build_client
Create the default FastMCP client from MCP transport config. Returns: Configured async FastMCP client.
agent/src/tools/mcp.py:661
↓ 11 callersFunction_build_runner
A runner whose only observable behavior is recording sweep invocations.
agent/tests/test_sweep_latch.py:118
↓ 11 callersMethod_check_authentication_results
Parse the trusted Authentication-Results header for SPF/DKIM verdicts. A ``pass`` result alone is not enough: it only says the named
agent/src/channels/email.py:1095
↓ 11 callersFunction_collisions_in
Run the detector over an in-memory snippet (no repository involved).
agent/tests/test_dataclass_field_name_collisions.py:175
↓ 11 callersFunction_composite
(**overrides)
agent/tests/test_composite_vietnam_rules.py:34
↓ 11 callersMethod_connect
(self)
agent/src/portfolio/store.py:49
↓ 11 callersFunction_daily
(start: str, end: str, *, freq: str = "B")
agent/tests/test_weekly_monthly_bars.py:21
↓ 11 callersFunction_df
(records: list[TradeRecord])
agent/tests/test_trade_journal_currency_pools.py:34
↓ 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_figures
(text: str)
agent/tests/test_grounding_shape_hardening.py:71
↓ 11 callersFunction_host_get_session_service
()
agent/src/api/sessions_routes.py:417
↓ 11 callersFunction_infer_currency
Infer quote currency without performing an implicit conversion.
agent/src/agent/grounding/identity.py:302
↓ 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:478
↓ 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:82
↓ 11 callersFunction_is_interactive_invocation
Decide whether this invocation should drive the interactive loop. Interactive entry requires: * Both stdin and stdout are TTYs (no piped / r
agent/cli/main.py:223
↓ 11 callersFunction_is_supported
Return whether *code* is a symbol this loader handles. Covers US/HK/India/Korea/Canada/Vietnam/UK equities plus Yahoo's own futures (``GC=F``
agent/backtest/loaders/yahoo_loader.py:51
↓ 11 callersFunction_iso
(dt: datetime)
agent/tests/test_swarm_status_hydration.py:44
↓ 11 callersFunction_ledger
(tmp_path: Path, values: dict[str, float])
agent/tests/test_grounding_unknown_call_id_refs.py:22
↓ 11 callersFunction_load_trades
Load trades from artifacts/trades.csv and convert to TradeRecord list.
agent/backtest/validation.py:424
↓ 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:36
↓ 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_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 callersFunction_override
Return a monkeypatched module-level override if present.
agent/src/agent/tuning.py:15
↓ 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_route
Build a throttled_get_json side_effect routing by endpoint.
agent/tests/test_tickerall_loader.py:53
↓ 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:123
↓ 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:49
↓ 11 callersFunction_save
(store: ResearchArtifactStore, **overrides)
agent/tests/test_research_artifact_store.py:13
← previousnext →601–700 of 26,887, ranked by callers