MCPcopy Create free account

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

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

↓ 3 callersFunction_usage_events
(events)
agent/tests/test_llm_cost_accounting.py:303
↓ 3 callersFunction_v11_result_payload
()
agent/tests/test_paper_trade_v12_schema.py:374
↓ 3 callersFunction_valid_panel
(module)
agent/tests/factors/test_fundamental_expansion_price_samples.py:68
↓ 3 callersMethod_validate
Run the gate, optionally without recording the attempt. ``validation_count`` is the run's checked-DRAFT count: the degraded-run reaso
agent/src/agent/grounding/ledger.py:389
↓ 3 callersFunction_validate_bench_data_requirements
Validate known universe constraints before making data requests. Args: registry: Registry holding the selected factors. alpha_ids
agent/src/tools/alpha_bench_tool.py:696
↓ 3 callersFunction_validate_horizon
Validate the bench ``horizon`` parameter (integer, 1.._MAX_HORIZON). ``None`` is treated as "not supplied" and defaults to 1, matching how ``
agent/src/tools/alpha_bench_tool.py:938
↓ 3 callersFunction_validate_horizon
Check that a holding period is a positive whole number of periods. Args: horizon: Holding period in periods (days for a daily return seri
agent/src/quantlib/risk.py:113
↓ 3 callersFunction_valuation
(interval: str, rows: list[tuple[str, float]])
agent/tests/test_paper_trade_5m_readiness.py:59
↓ 3 callersFunction_varied_panel
Mixed signs/magnitudes, ties and zero volume, without price drift.
agent/tests/factors/test_qlib158_wvma_abs_numerator.py:63
↓ 3 callersFunction_wait_for_task_status
( manager: BackgroundManager, task_id: str, expected: set[str], timeout: float = 5.0, )
agent/tests/test_background_tools.py:221
↓ 3 callersFunction_walk
(**kwargs)
agent/tests/test_backtest_runs_tool.py:119
↓ 3 callersMethod_warn_fsync_failure
Log the first fsync failure for this writer, then stay quiet. Args: exc: The fsync error. target: File or directory w
agent/src/agent/trace.py:286
↓ 3 callersFunction_websocket_section
(**overrides: Any)
agent/tests/test_channels_config_api.py:1482
↓ 3 callersFunction_wide_from_fetched
Stack per-code OHLCV frames into wide panels keyed by field.
agent/src/tools/alpha_bench_tool.py:641
↓ 3 callersFunction_wide_ledger
A ledger whose two observed endpoints are 1.053 (high) and 0.666 (close). The fall is −36.75%; the same pair read the other way is +58.11%. A den
agent/tests/test_grounding_release.py:958
↓ 3 callersFunction_widget
(name: str, description: str = "", origin: str = "openbb", params=None)
agent/tests/test_openbb_bridge/test_context_injector.py:62
↓ 3 callersFunction_with_aux
(prose: str, comma: bool)
agent/tests/test_grounding_numeric_locale_rounding.py:226
↓ 3 callersFunction_with_messages
(monkeypatch: pytest.MonkeyPatch, messages: list[SimpleNamespace])
agent/tests/test_scheduled_delivery_wiring.py:44
↓ 3 callersMethod_write
Atomically rewrite the registry file with owner-only permissions. Args: connections: Full set of connections to persist.
agent/src/trading/connections.py:428
↓ 3 callersFunction_write_assumptions_and_gaps_sheet
Write the "Assumptions & Data Quality" sheet shared by every xlsx export. Layout (rows, 1-indexed): 1: ``["Provenance"]`` 2-6: ``
agent/src/quantlib/valuation/artifact.py:1027
↓ 3 callersFunction_write_chart_artifacts
(run_dir: Path)
agent/tests/test_run_card.py:153
↓ 3 callersFunction_write_json_atomically
Write ``payload`` as pretty JSON via a private temp file + replace. Args: path: Destination config file. payload: Raw config dict
agent/src/config/writer.py:117
↓ 3 callersMethod_write_json_atomically
(path: Path, payload: dict[str, Any])
agent/src/tools/background_store.py:166
↓ 3 callersFunction_write_mandate
(live_runtime: Path)
agent/tests/test_killswitch_blocks_orders.py:73
↓ 3 callersFunction_write_nan_equity
(run_dir: Path)
agent/tests/test_strategy_discovery_hard_gates.py:78
↓ 3 callersFunction_write_run_card
(run_dir: Path, metrics: dict | None)
agent/tests/test_autopilot_phase3.py:219
↓ 3 callersFunction_write_then_poll
First call: 202 with a txn_id. Subsequent calls: pop from poll_bodies.
agent/tests/test_tap_forward.py:116
↓ 3 callersFunction_written_half_unit
Half a unit of the last digit a figure was written with ("37%" -> 0.5).
agent/src/agent/grounding/policies.py:158
↓ 3 callersMethodaccount_info
(self)
agent/tests/test_mt5_connector.py:152
↓ 3 callersFunctionaccount_total_usd
Extract a connector-reported net liquidation value. Args: broker: The connector key selecting the account payload shape. account:
agent/src/portfolio/normalization.py:248
↓ 3 callersFunctionadd_subparser
Register ``alpha`` and its five sub-sub-commands on the given subparsers. Args: subparsers: The object returned by ``ArgumentParser.add_s
agent/src/factors/cli_handlers.py:1022
↓ 3 callersFunctionancestor_titles
Return the enclosing heading titles of ``sections[index]``, outermost first. Ancestry is derived from heading depth: walking backwards, each head
agent/src/agent/skills.py:295
↓ 3 callersMethodapply
(self, w: np.ndarray, codes: Sequence[str])
agent/backtest/constraints.py:123
↓ 3 callersMethodapply_compression
Execute compression: archive original, compute compressed content. Args: entry_path: Path to the memory .md file. con
agent/src/memory/compression.py:295
↓ 3 callersMethodapply_slippage
Delegate to active symbol's sub-engine.
agent/backtest/engines/composite.py:313
↓ 3 callersFunctionargentina_available_cash
Cash for a purchase now: capital less sales settling after its session.
agent/backtest/engines/argentina_equity.py:653
↓ 3 callersFunctionargentina_diagnostics
Run facts: what the figures rest on and what terminal equity contains.
agent/backtest/engines/argentina_equity.py:741
↓ 3 callersFunctionassertArtifactFileName
(value: unknown)
desktop/electron/src/update-recovery.ts:206
↓ 3 callersMethodassign_task
Assign/reassign one unfinished task without changing any other task.
agent/src/pixel_agents/office.py:149
↓ 3 callersFunctionaudit_ledger_path
Return the path to the dedicated live-action ledger. Returns: ``<runtime_root>/live/audit.jsonl``. The file/parent is NOT created here;
agent/src/live/audit.py:149
↓ 3 callersFunctionauth_metadata
Return public profile metadata without inferring broker-side key permissions. Args: profile: The connector profile backing a portfolio so
agent/src/portfolio/normalization.py:401
↓ 3 callersFunctionaware_time
Parse an explicit timezone-bearing timestamp, refusing naive dates.
agent/src/portfolio/imports.py:21
↓ 3 callersFunctionboot
()
desktop/electron/src/main.ts:159
↓ 3 callersFunctionbroker_data
Return the broker's inner ``data`` object from an adapter envelope. Args: envelope: ``MCPServerAdapter.call_tool`` result. tool:
agent/src/trading/connectors/robinhood/mcp.py:144
↓ 3 callersFunctionbrowserTimezone
()
frontend/src/pages/Scheduled.tsx:31
↓ 3 callersFunctionbuildChatPrompt
(prompt: string, attachments: UploadedAttachment[], swarm: boolean)
frontend/src/lib/chatPrompt.ts:9
↓ 3 callersFunctionbuildDocMetadata
(page, language)
wiki/docs/metadata.js:4
↓ 3 callersFunctionbuildPayoffRequest
( legs: OptionLeg[], p: OptionsLabParams, )
frontend/src/lib/options.ts:181
↓ 3 callersFunctionbuildPresetLegs
(presetId: string, spot: number)
frontend/src/lib/options.ts:355
↓ 3 callersFunctionbuild_bench_research_contract
Build the shared research summary used by alpha-bench entry points. Keeping bench-specific defaults here prevents the CLI, MCP wrapper and bo
agent/src/factors/research_contract.py:145
↓ 3 callersFunctionbuild_comps_artifact
Wrap a completed :func:`~.comps.run_comps` call into a versioned artifact. :mod:`comps` takes no :class:`~.contracts.Assumption` objects anywhere
agent/src/quantlib/valuation/artifact.py:772
↓ 3 callersFunctionbuild_end_event
The ``end`` trace event for a finished run.
agent/src/agent/run_outcome.py:179
↓ 3 callersFunctionbuild_job_from_draft
Validate the public draft and build a persisted-model job.
agent/src/scheduled_research/service.py:136
↓ 3 callersFunctionbuild_sdk_config
Build the SDK ``Config`` on any SDK in the supported range. From 4.0 the SDK refuses direct ``Config(...)`` construction and only offers ``Co
agent/src/trading/connectors/longbridge/sdk.py:673
↓ 3 callersFunctionbuilder_factory
Build ContextBuilders over empty skill dirs (hermetic, offline).
agent/tests/test_strategy_discovery_routing.py:90
↓ 3 callersFunctioncalcEMA
(data: number[], period: number)
frontend/src/lib/indicators.ts:12
↓ 3 callersFunctioncalcMA
(data: number[], period: number)
frontend/src/lib/indicators.ts:3
↓ 3 callersMethodcalc_commission
Delegate to active symbol's sub-engine.
agent/backtest/engines/composite.py:305
↓ 3 callersFunctioncalc_fill_turnover_series
Per-bar turnover from immutable execution-fill evidence.
agent/backtest/metrics.py:522
↓ 3 callersFunctioncall_srv_tool_results
Invoke one srv-tool query, preserving each result table and its metadata. Args: name: Tool name, e.g. ``"MacroIndustryData"``. qu
agent/src/tools/gildata_srv.py:44
↓ 3 callersMethodcan_execute
Whether market rules allow this trade. Args: symbol: Instrument identifier. direction: 1 (long), -1 (short), 0 (close
agent/backtest/engines/base.py:630
↓ 3 callersFunctioncanonicalPath
(id, lang)
wiki/scripts/prerender_docs.mjs:26
↓ 3 callersFunctioncanonical_fx_pair
Return a Yahoo FX pair in canonical ``XXXYYY=X`` form, or ``None``. Recognizes ``GBP/USD``, ``GBPUSD`` and ``GBPUSD=X`` (both legs must be fi
agent/src/market_data.py:123
↓ 3 callersMethodcatalog
List every available name with a short discovery hint, never a top-k.
agent/src/agent/tool_loading.py:49
↓ 3 callersFunctioncategoryColors
(t: ReturnType<typeof getChartTheme>)
frontend/src/components/run/PositionsTab.tsx:72
↓ 3 callersFunctionchild_env
()
agent/src/providers/claude_cli.py:68
↓ 3 callersFunctionchoose_account
Return the chosen account after checking it is usable. Args: choices: Picker rows from the broker's account list. account_ref: Th
agent/src/trading/accounts.py:57
↓ 3 callersFunctioncik_for
Resolve a ticker symbol to its zero-padded 10-digit CIK. Args: ticker: A U.S. equity ticker (case-insensitive), e.g. ``"AAPL"``. Ret
agent/backtest/loaders/sec_edgar_client.py:169
↓ 3 callersFunctioncjk_font_path
Resolve a CJK font file path. Resolution order: 1. Cached copy in ``fonts_dir()``. 2. First available system font from ``_system_
agent/src/shadow_account/fonts.py:63
↓ 3 callersFunctionclassifyAssetClass
(symbol: string)
frontend/src/lib/positions.ts:129
↓ 3 callersFunctionclassify_quality
Map (trade count, coverage span) onto the quality ladder.
agent/src/strategy_discovery/models.py:259
↓ 3 callersFunctionclayton_copula_cdf
Evaluate bivariate Clayton copula CDF: C(u, v) = (u^{-theta} + v^{-theta} - 1)^{-1/theta}. Args: u: Uniform marginal in (0, 1]. v
agent/src/quantlib/copula.py:62
↓ 3 callersFunctionclear_advisory_providers
Remove all registered advisory providers.
agent/src/live/advisory/__init__.py:253
↓ 3 callersFunctionclear_agent_artifacts
Remove *artifact_dir* and everything in it, before a retry attempt. A retry re-invokes :func:`run_worker` against the same ``artifact_dir``.
agent/src/swarm/worker.py:514
↓ 3 callersFunctionclose_enough
(left: float, right: float)
agent/src/trading/connectors/binance/usdm.py:66
↓ 3 callersFunctioncmd_connector_check
Check selected or explicit trading connector profile.
agent/cli/_legacy.py:4374
↓ 3 callersFunctioncmd_connector_start
Start a live remote MCP connector runner.
agent/cli/_legacy.py:5255
↓ 3 callersFunctioncmd_connector_status
Show connector status.
agent/cli/_legacy.py:5240
↓ 3 callersFunctioncmd_interactive
Interactive mode with welcome screen, slash commands, and agent conversation.
agent/cli/_legacy.py:2059
↓ 3 callersFunctioncmd_live_resume
Clear a tripped kill switch (privileged, explicit re-enable). Args: broker: Broker key, or ``None`` for the global switch. Each scope is
agent/cli/_legacy.py:3758
↓ 3 callersFunctioncmd_live_revoke
Revoke the OAuth token and delete the mandate — full channel off. Deletes the broker's OAuth token cache directory and its ``mandate.json`` s
agent/cli/_legacy.py:3780
↓ 3 callersFunctioncmd_live_start
Start the persistent live runner in the background (SPEC §7.5). Relays a start request to the R6 surface endpoint (``POST /live/runner/start`
agent/cli/_legacy.py:3847
↓ 3 callersFunctioncmd_sessions
List chat sessions.
agent/cli/_legacy.py:2894
↓ 3 callersFunctioncmd_skills
List available skills.
agent/cli/_legacy.py:2592
↓ 3 callersFunctioncmd_swarm_run_live
Run a swarm preset with Rich Live dashboard.
agent/cli/_legacy.py:2386
↓ 3 callersFunctioncompare_alphas
Bench a hand-picked set of alphas head-to-head and rank them. Args: alpha_ids: The alpha ids to compare (>= 2 after de-duplication). Ids
agent/src/factors/compare_runner.py:88
↓ 3 callersFunctioncompute_bm25_score
Compute BM25 score for a single document against query tokens. Formula per term t: score += IDF(t) * (tf(t) * (k1 + 1)) / (tf(t) + k1 * (
agent/src/memory/semantic_links.py:104
↓ 3 callersFunctioncompute_received_state_hash
Hash the AM-4-1 coverage object plus any non-default pt-v1.2 field. ``fee_model`` must be the EFFECTIVE value (see :func:`effective_fee_model`)
agent/src/tools/paper_trade/state_hash.py:170
↓ 3 callersFunctionconfig_path
Return the user-level eToro config path.
agent/src/trading/connectors/etoro/client.py:146
↓ 3 callersFunctionconnectCharts
()
frontend/src/lib/echarts.ts:31
↓ 3 callersFunctionconnection_accounts
Read the accounts a connection's login can reach. Args: connection: A connection whose profile requires an account. get_accounts:
agent/src/trading/accounts.py:20
↓ 3 callersFunctionconsolidation_enabled
Whether the scheduled consolidation system job is enabled. Reads ``VT_MEMORY_CONSOLIDATION`` via the cached ``EnvConfig`` singleton (default
agent/src/memory/consolidation.py:52
↓ 3 callersMethodconsume_outbound
Consume the next outbound message (blocks until available).
agent/src/channels/bus/queue.py:31
↓ 3 callersMethodcopy_close
(self, config, **kwargs)
agent/tests/test_etoro_live_actions.py:43
↓ 3 callersMethodcopy_start_or_adjust
(self, config, **kwargs)
agent/tests/test_etoro_live_actions.py:39
↓ 3 callersFunctioncreate
(store, **overrides)
agent/tests/test_extraetf_integration.py:25
↓ 3 callersMethodcreate
Create a ledger eligible today or at the next observed trading session. Args: label: Human-readable account name. mar
agent/src/tools/paper_trade/accounts.py:74
↓ 3 callersFunctioncredit_spread_dv01
Calculate Credit Spread DV01 (CS01 / Spread DV01) - dollar value of a 1 bp widening in credit spread. CS01 = Spread Duration * (Price / Face) * 0
agent/src/quantlib/credit.py:976
↓ 3 callersFunctiondecode_jsonp_body
Decode a body that may be bare JSON or a JSONP ``callback(...)`` envelope. Free provider surfaces sometimes answer with a JSONP envelope rather t
agent/backtest/loaders/_http.py:188
↓ 3 callersMethoddecrypt
(name: string)
desktop/electron/src/secure-credentials.ts:121
← previousnext →3,201–3,300 of 26,887, ranked by callers