MCPcopy Create free account

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

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

↓ 3 callersFunctionsafeSet
(key: string, value: string)
frontend/src/lib/storage.ts:15
↓ 3 callersMethodscan_category
Scan only one category subdir for *.md files. Args: category: The category name to scan. Returns: Sorted lis
agent/src/memory/hierarchy.py:178
↓ 3 callersFunctionscan_prompt_injection
Return prompt-injection findings for untrusted external text. Args: text: External text to scan. field: Optional JSON field path
agent/src/security/scanner.py:145
↓ 3 callersFunctionscenario
()
agent/tests/test_runtime_scheduler_kernel.py:57
↓ 3 callersFunctionscenario
()
agent/tests/test_feishu_stop.py:105
↓ 3 callersFunctionselect_multi_market_codes
Pick representative tickers for each target market. Priority: 1. If the profile's source_market is in the target set and is in the
agent/src/shadow_account/backtester.py:53
↓ 3 callersMethodsend
(self, message: Any)
agent/src/tools/paper_trade/strategy_process.py:38
↓ 3 callersMethodsend
(self, msg: OutboundMessage)
agent/src/channels/websocket.py:884
↓ 3 callersFunctionserializeStructuredData
(data)
wiki/docs/metadata.js:25
↓ 3 callersFunctionserialize_task
Project a SwarmTask into its public per-task dict. ``error`` and ``iterations`` are always included so a failed or degraded task is diagnosab
agent/src/swarm/serialization.py:20
↓ 3 callersFunctionserverRunTimes
(record: AnyRecord)
frontend/src/lib/swarmStatus.ts:64
↓ 3 callersMethodset_loop
Set the asyncio event loop, usually during api_server startup. Args: loop: asyncio event loop.
agent/src/session/events.py:85
↓ 3 callersMethodsettings
Return credential-free editable settings. Returns: The persisted display currency and source selection.
agent/src/portfolio/service.py:252
↓ 3 callersMethodsettings
Read validated settings; a corrupt store never resets to defaults.
agent/src/live/runtime/decision_budget.py:85
↓ 3 callersFunctionshould_register_live_channel
Decide whether to register a live channel given session interactivity. SPEC Transport §4 (headless / no-token-yet): a non-interactive ``serve
agent/src/live/registry.py:159
↓ 3 callersFunctionshowError
(message: string, detail?: string | null)
frontend/src/components/settings/ChannelConfigPanel.tsx:416
↓ 3 callersFunctionshowLoadingPage
()
desktop/electron/src/main.ts:148
↓ 3 callersMethodshutdown
Close this host's shared table, not other managers in the process.
agent/src/tools/background_tools.py:394
↓ 3 callersMethodshutdown
Stop accepting work, cancel owned background work, and wait for reaping. Does not tear down the event bus or thread pools this service may sh
agent/src/session/service.py:238
↓ 3 callersFunctionsource_catalog
Describe configured local connections without exposing secret values. Args: settings: The currently persisted portfolio settings.
agent/src/portfolio/config.py:97
↓ 3 callersMethodstart
Start the background loop. Idempotent. When disabled, this is a no-op.
agent/src/scheduled_research/executor.py:259
↓ 3 callersMethodstart
Start the scheduler loop on the running event loop. Idempotent: calling :meth:`start` while already running is a no-op. Raises:
agent/src/live/runtime/scheduler.py:283
↓ 3 callersMethodstart
(self)
agent/tests/test_api_live_runtime.py:332
↓ 3 callersMethodstatic
Static prompt size: measured once usage arrives, else estimated.
agent/src/agent/context_budget.py:207
↓ 3 callersMethodstop
Stop and erase the spinner line.
agent/cli/stream.py:133
↓ 3 callersMethodstop
Stop the background loop and wait for it to finish. Idempotent. When disabled or not started, this is a no-op. Bounded even when a ti
agent/src/scheduling/kernel.py:220
↓ 3 callersMethodstop
(self)
agent/tests/test_runtime_runner.py:369
↓ 3 callersMethodsubscribe
(self, session_id, last_event_id=None, *, replay_all=False)
agent/tests/test_openbb_bridge/test_adapter.py:26
↓ 3 callersFunctionsupport_resistance
Compute support and resistance levels via peak/valley clustering. Args: close: Closing price series. window: Peak/valley detectio
agent/src/tools/pattern_tool.py:104
↓ 3 callersFunctionsurvival_probability_to_hazard_rate
Convert a survival probability Q(T) to implied constant hazard rate lambda = -ln(Q(T)) / T. Args: survival_prob: Survival probability in
agent/src/quantlib/credit.py:733
↓ 3 callersFunctionsync_readme
(readme: str, *, detailed: bool = False)
agent/src/trading/capability_matrix.py:118
↓ 3 callersFunctiont_stat
One-sample t-stat against zero (returns 0.0 if undefined).
agent/src/factors/bench_runner_strict.py:189
↓ 3 callersFunctiontable_rows
Return every Markdown table row with its header's column roles. A table is a maximal run of lines with at least two pipes; its first line is
agent/src/agent/grounding/figures.py:915
↓ 3 callersFunctiontcp_port_open
Return whether a TCP socket accepts connections.
agent/src/trading/connectors/ibkr/local.py:255
↓ 3 callersFunctiontest
(connection: LocalConnection)
frontend/src/components/portfolio/ConnectionCenter.tsx:82
↓ 3 callersFunctiontextbox
(shapes, text)
agent/tests/test_doc_reader_pptx_containers.py:13
↓ 3 callersFunctiontimestampMs
(value: unknown)
frontend/src/lib/swarmStatus.ts:58
↓ 3 callersMethodto_dict
Serialize to JSON-safe dict.
agent/src/shadow_account/models.py:122
↓ 3 callersMethodto_dict
(self)
agent/src/scheduled_research/verdict.py:41
↓ 3 callersMethodto_json
Serialize to a JSON string. Args: indent: Optional pretty-print indent; compact when ``None``. Returns: JSON
agent/src/governance/manifest.py:335
↓ 3 callersMethodtokens
Real-token size the next request would have.
agent/src/agent/context_budget.py:199
↓ 3 callersFunctiontranslate
(lang, root = document)
wiki/site.js:98
↓ 3 callersFunctiontrigger_interval_ms
Return the recurrence interval in ms for a live-style trigger spec. Single home of the semantics ``Job.interval_ms()`` in ``agent/src/live/ru
agent/src/scheduling/triggers.py:305
↓ 3 callersFunctionupdate
(enabled: boolean)
frontend/src/pages/Correlation.tsx:22
↓ 3 callersMethodupdate_goal
Edit mutable goal metadata without superseding the active goal. Args: session_id: Owning session id. goal_id: Goal be
agent/src/goal/store.py:390
↓ 3 callersMethodupdate_session
Update a session. Args: session: Modified Session instance.
agent/src/session/store.py:98
↓ 3 callersFunctionuseAlphaJob
(kind: "bench" | "compare", context = "default")
frontend/src/hooks/useAlphaJob.ts:9
↓ 3 callersFunctionuseLlmUsageCounter
()
frontend/src/hooks/useLlmUsageCounter.ts:36
↓ 3 callersFunctionuses_responses_api
Return whether the configured provider uses ChatOpenAI's Responses route.
agent/src/providers/llm.py:1507
↓ 3 callersFunctionvalidate_adapted_run
Refuse evidence from another run or changed/unsealed child artifacts. Hash checks bind the evidence to persisted backtest output. They do not
agent/src/strategy_discovery/adaptation_workflow.py:111
↓ 3 callersFunctionvalidate_codex_base_url
Validate the only supported ChatGPT Codex OAuth endpoint. ChatGPT OAuth tokens must not be sent to arbitrary OpenAI-compatible base URLs. The
agent/src/providers/openai_codex.py:394
↓ 3 callersFunctionvalidate_connector
Validate a local connector directory without importing its Python code. Args: directory: Directory holding a ``connector.json`` manifest.
agent/src/trading/plugin_scaffold.py:116
↓ 3 callersFunctionvalidate_industry_params
Validate the requested classification level and source. Args: level: Shenwan level, one of :data:`INDUSTRY_LEVELS`. src: Classifi
agent/backtest/loaders/industry_loader.py:71
↓ 3 callersFunctionvalidate_rebalance_mask
Validate the configured schedule without consulting a trading calendar.
agent/backtest/rebalance_mask.py:15
↓ 3 callersFunctionvasicek_credit_var
Vasicek single-factor asymptotic credit risk portfolio model (Basel II/III capital framework). Under the Asymptotic Single Risk Factor (ASRF) mod
agent/src/quantlib/credit.py:905
↓ 3 callersMethodvisit
( item: Any, path: str, *, metric_map: str | None = None,
agent/src/agent/grounding/evidence.py:834
↓ 3 callersFunctionwebsocket_turn_wall_started_at
Return the wall-clock time when the current turn started, or None.
agent/src/session/webui_turns.py:23
↓ 3 callersFunctionwithAuthTicket
(url: string)
frontend/src/lib/apiAuth.ts:36
↓ 3 callersMethodwrite
(attempt: UpdateAttempt, exclusive = false)
desktop/electron/src/update-recovery.ts:132
↓ 3 callersFunctionxirr_all
Every irregular-date IRR of a series inside the scanned rate window. A schedule whose signs change more than once (recallable distributions, a
agent/src/quantlib/fundmath.py:424
↓ 3 callersFunctionytm_solve
Invert :func:`bond_price` for the yield that reproduces a market price. Args: price: Observed price, on the same clean basis as :func:`bo
agent/src/quantlib/fixedincome.py:308
↓ 2 callersMethod__enter__
(self)
agent/cli/components/working_indicator.py:129
↓ 2 callersMethod__exit__
(self, exc_type, exc, tb)
agent/cli/components/working_indicator.py:137
↓ 2 callersMethod__init__
(self, path: Path, source: str)
agent/src/tools/paper_trade/strategy_exec.py:185
↓ 2 callersMethod__post_init__
Validate the base fields plus fund-specific ranges. Raises: ValueError: If ``structure`` is unknown, ``commitment`` is
agent/src/entities/models.py:291
↓ 2 callersFunction_account
Resolve the mandate's account on every broker call. Re-reading it per call means a mandate re-committed to another account is followe
agent/src/api/live_routes.py:692
↓ 2 callersFunction_account_currency
(payload: dict[str, Any])
agent/src/portfolio/compatibility.py:246
↓ 2 callersMethod_account_state
(self)
agent/backtest/engines/crypto.py:303
↓ 2 callersFunction_account_to_dict
Normalize one ``accinfo_query`` row. A multi-currency account reports ``"N/A"`` as its currency while its amounts are denominated in the curr
agent/src/trading/connectors/futu/sdk.py:1211
↓ 2 callersFunction_accounts
(cfg: UpbitConfig)
agent/src/trading/connectors/upbit/sdk.py:554
↓ 2 callersFunction_accumulate
(lines: list[str])
agent/tests/test_openai_codex_replay.py:69
↓ 2 callersFunction_active_block
(ledger: Any)
agent/src/agent/grounding/figures_checks.py:19
↓ 2 callersMethod_add_reaction
Add a reaction emoji to a message. Returns the reaction_id on success, None on failure. When called via a tracked background task, th
agent/src/channels/feishu.py:1030
↓ 2 callersMethod_adopt_prior_backtest
Ground figures read from a backtest an earlier turn finished. The ledger only watches backtests launched under the active run. A run
agent/src/agent/grounding/evidence.py:1039
↓ 2 callersFunction_agent_prompt_text
All prompt text a given agent will actually see. An agent's instructions arrive from two places: its own ``system_prompt`` and the ``prompt_t
agent/tests/test_preset_claim_backing.py:83
↓ 2 callersFunction_ai
(text)
agent/tests/test_openbb_bridge/test_adapter.py:69
↓ 2 callersFunction_align
Pair each return with the VaR forecast that was made for it. Args: returns: Realised returns, signed (a loss is negative). var: V
agent/src/quantlib/var_backtest.py:236
↓ 2 callersFunction_all_links
Collect (skill, link) pairs across all skills under test.
agent/tests/test_skill_reference_links.py:95
↓ 2 callersFunction_allowed_override_keys
Return the keys ``module`` permits a caller-supplied override to set. Args: module: A ``src.trading.connectors.<name>.sdk`` module.
agent/src/trading/service.py:55
↓ 2 callersFunction_allowed_refresh_run_roots
Roots a refresh run_dir may live inside (plan D7). The runtime runs root (``get_runtime_root()/"runs"``, honouring ``VIBE_TRADING_HOME``) plu
agent/src/tools/strategy_discovery_tool.py:376
↓ 2 callersFunction_allowed_run_roots
Return all roots allowed for run_dir-based tools.
agent/src/tools/path_utils.py:282
↓ 2 callersFunction_alpha_summary
(registry: Any, alpha_id: str)
agent/src/tools/alpha_zoo_tool.py:58
↓ 2 callersMethod_ambiguous_field_sources
The ``call::path`` sources a field-only ref cannot choose between. Ambiguous means more than one source AND more than one value among
agent/src/agent/grounding/policies.py:996
↓ 2 callersFunction_amendment_digest
Compress a chain walk to the few fields a per-row listing can afford.
agent/src/tools/institutional_holdings_tool.py:1523
↓ 2 callersFunction_annualize
Annualise a holding-period return, or decline to when the window is short. Args: total_return: Return over the whole window, as a decimal
agent/src/quantlib/performance.py:425
↓ 2 callersMethod_answer_symbol_spelling
Return the spelling ``content`` uses for a canonical symbol.
agent/src/agent/grounding/release.py:463
↓ 2 callersFunction_api_auth_headers
Return Bearer auth headers for CLI-to-API control calls.
agent/cli/_legacy.py:3150
↓ 2 callersMethod_api_get
( self, endpoint: str, params: dict | None = None, *, auth: bool = Tru
agent/src/channels/weixin.py:273
↓ 2 callersFunction_api_key
Return the FMP API key from the environment, stripped (``""`` if unset).
agent/backtest/loaders/fmp_loader.py:47
↓ 2 callersFunction_api_key
Return the TickerAll API key from config, stripped (``""`` if unset).
agent/backtest/loaders/tickerall_loader.py:104
↓ 2 callersMethod_apply_cuts
Replace each figure and its glued marks with the marker in its line's script. Args: text: The document to rewrite. fi
agent/src/agent/grounding/release.py:735
↓ 2 callersFunction_apply_market_data_type
Select the TWS market-data tier before requesting prices. TWS defaults to live data (type 1). An account without a market-data subscription f
agent/src/trading/connectors/ibkr/local.py:352
↓ 2 callersFunction_apply_purge_and_embargo
Build a training mask that is purged of overlap and embargoed after. Args: label_ends: Last positional index each observation's label cov
agent/src/quantlib/crossvalidation.py:175
↓ 2 callersFunction_arabic_font
Register the Arabic-capable font already shipped by Matplotlib.
agent/src/tools/pdf_report.py:17
↓ 2 callersFunction_artifact_names
Return file names directly under ``artifacts/``; empty if unreadable.
agent/src/api/run_artifacts.py:79
↓ 2 callersFunction_arxiv_get
Call the arXiv API and return the parsed feed root. Args: params: Query parameters for the classic API. Returns: The parsed
agent/src/tools/research_papers_tool.py:968
↓ 2 callersFunction_arxiv_paper
Normalize one arXiv Atom ``<entry>`` into a paper record. The entry id looks like ``http://arxiv.org/abs/2607.27461v1``; the bare id and the
agent/src/tools/research_papers_tool.py:1016
↓ 2 callersFunction_as_aligned
Put two weight vectors on one index, filling absent names with zero. A name in the target but not the current book is a new position; a name in
agent/backtest/factor_costs.py:136
↓ 2 callersFunction_as_float
Coerce an Eastmoney numeric cell to ``float``, or ``None`` if unusable. Eastmoney emits ``"-"`` for missing numerics; those map to ``None``.
agent/src/tools/sector_tool.py:68
↓ 2 callersFunction_as_iter
(value: Any)
agent/src/trading/connectors/toss/sdk.py:588
← previousnext →3,501–3,600 of 26,887, ranked by callers