MCPcopy Create free account

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

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

↓ 5 callersMethodfill
(prompt: string)
frontend/src/components/chat/Composer.tsx:59
↓ 5 callersFunctionfind_hedge_ratio
Fit the pair-trading hedge ratio ``y = α + β·x + ε``. The tradeable spread is ``y - β·x``; its mean and standard deviation define the z-score
agent/src/quantlib/timeseries.py:331
↓ 5 callersFunctionfit_ornstein_uhlenbeck
Fit an Ornstein-Uhlenbeck (OU) mean-reverting process by exact discrete MLE. The continuous-time OU process is: dX_t = θ(μ - X_t)dt + σ d
agent/src/quantlib/timeseries.py:234
↓ 5 callersMethodfor_workspace
Derive the settings for one swarm node's shell commands. ``off`` keeps these settings. ``auto`` confines commands to the workspace when a bac
agent/src/tools/sandbox.py:310
↓ 5 callersFunctionframe
(age=0)
agent/tests/test_loader_health.py:31
↓ 5 callersFunctionframe_caliber
Caliber of one served frame, honoring what the loader actually served. A loader that converted its series (e.g. the additive-to-multiplicative
agent/backtest/loaders/registry.py:375
↓ 5 callersFunctionfrank_copula_cdf
Evaluate bivariate Frank copula CDF: C(u, v) = -1/theta * ln(1 + (exp(-theta*u) - 1)*(exp(-theta*v) - 1)/(exp(-theta) - 1)).
agent/src/quantlib/copula.py:142
↓ 5 callersMethodfrom_mapping
Build a config from a JSON-like mapping.
agent/src/trading/connectors/kis/sdk.py:138
↓ 5 callersMethodget
(self, name)
agent/tests/test_readonly_replay_after_microcompact.py:43
↓ 5 callersFunctiongetApiAuthKey
()
frontend/src/lib/apiAuth.ts:5
↓ 5 callersFunctionget_env_or
Read an env var with a backward-compatible alias fallback. Several env vars were renamed during the centralization effort (e.g. ``VIBE_TRADIN
agent/src/config/accessor.py:116
↓ 5 callersFunctionget_store
Return the process-wide strategy store singleton.
agent/src/strategy_store/_shared.py:16
↓ 5 callersFunctiongp_clawback
Test whether a deal-by-deal GP owes money back at fund termination. Compares carry actually received (summed deal by deal, each deal's carry
agent/src/quantlib/fundmath.py:2208
↓ 5 callersFunctionhistory
()
agent/tests/test_data_gateway_scheduling.py:68
↓ 5 callersFunctionhistory_directory
Resolve the shared on-disk store independently of the application's cwd.
agent/src/data_gateway/history_store.py:816
↓ 5 callersMethodidentity_summary
Summarize instrument state for tool errors and persisted traces. Returns: The aggregate status, sorted authorized symbols, and se
agent/src/product/identity/ledger.py:452
↓ 5 callersMethodidentity_summary
(self)
agent/tests/test_agent_loop_deterministic_cache.py:219
↓ 5 callersMethodinput_tasks
Map every input alias to its upstream task id, for plain and selected bindings. Returns: Alias to upstream task id.
agent/src/swarm/models.py:260
↓ 5 callersFunctioninspect_channel
Inspect one channel module without raising dependency errors. Args: name: Built-in or plugin channel name. Returns: Availabi
agent/src/channels/registry.py:167
↓ 5 callersFunctioninspect_channels
Inspect all built-in channels and annotate configured/enabled state. Args: config: Optional channels config map or model. Extra keys are
agent/src/channels/registry.py:264
↓ 5 callersFunctioninverse_variance_weights
Calculate inverse-variance weights w_i = (1/sigma_i^2) / sum(1/sigma_k^2). Args: cov: Covariance matrix. Returns: Normalized
agent/src/quantlib/portfolio.py:72
↓ 5 callersMethodis_allowed
Preserve Telegram's legacy id|username allowlist matching.
agent/src/channels/telegram.py:497
↓ 5 callersMethodis_available
Check if this engine's dependencies are satisfied.
agent/src/tools/ocr/engine.py:46
↓ 5 callersFunctionis_quality_enabled
Check if quality scoring is enabled via VT_MEMORY_QUALITY env var.
agent/src/memory/lifecycle.py:58
↓ 5 callersFunctionis_secret_key
Return whether *key* holds a credential for channel *name*. A hand-written hint's ``secret`` flag is authoritative for the keys it covers (an
agent/src/channels/config_meta.py:451
↓ 5 callersMethodis_set
(self)
agent/src/swarm/runtime.py:179
↓ 5 callersMethodjobs
Return a snapshot list of the current jobs. Returns: A new list of the live :class:`Job` objects (the list is a copy;
agent/src/live/runtime/scheduler.py:250
↓ 5 callersFunctionkrx_round_up
Round *price* up onto the tick grid (KRX ``절상``), never below one tick.
agent/backtest/engines/korea_equity.py:105
↓ 5 callersFunctionkrx_tick_size
Return the KRX tick unit applicable at *price*. Args: price: Price in KRW. Non-positive input returns the finest tick. Returns:
agent/backtest/engines/korea_equity.py:80
↓ 5 callersFunctionkyles_lambda
Estimate Kyle's (1985) price impact coefficient lambda from linear regression. ΔP_t = alpha + lambda * OrderFlow_t + epsilon_t Fits with an
agent/src/quantlib/microstructure.py:90
↓ 5 callersFunctionlarge_result
()
agent/tests/test_result_artifacts.py:33
↓ 5 callersMethodlist
(self, zoo=None)
agent/tests/test_alpha_cli_dotenv.py:16
↓ 5 callersMethodlist_sessions
List readable sessions in descending update-time order. Args: limit: Maximum number of sessions to return. Returns:
agent/src/session/store.py:144
↓ 5 callersFunctionload
()
frontend/src/components/portfolio/ConnectionCenter.tsx:32
↓ 5 callersFunctionload_channels_config
Load the operator IM channel config from the structured agent config. Args: config_path: Optional explicit config path. Returns:
agent/src/channels/config.py:11
↓ 5 callersMethodload_relations
Read relations from .relations.json sidecar. Args: entry_path: Path to the source memory file. Returns: List
agent/src/memory/semantic_links.py:282
↓ 5 callersFunctionlocalizeToolName
(tool: string, fallback?: string)
frontend/src/lib/tools.ts:43
↓ 5 callersFunctionmacaulay_duration
Present-value-weighted average time to the bond's cash flows. Args: face: Par/redemption amount. coupon_rate: Annual coupon rate
agent/src/quantlib/fixedincome.py:353
↓ 5 callersMethodmark_context_restored
Give the model one run-scoped grace iteration to read restored evidence.
agent/src/product/tool_progress.py:112
↓ 5 callersMethodmark_failure
Mark the run as failed. Args: run_dir: Run directory. reason: Failure reason.
agent/src/core/state.py:57
↓ 5 callersFunctionmerton_asset_solve
Back out asset value and asset volatility from observable equity. Solves the standard pair of equations simultaneously:: E = V*N(d
agent/src/quantlib/credit.py:288
↓ 5 callersFunctionmodified_dietz_return
Compute the day-weighted Modified Dietz return over one period. ``R = (V1 - V0 - F) / (V0 + sum(w_i * F_i))`` with ``w_i = (CD - D_i) / CD``,
agent/src/quantlib/performance.py:621
↓ 5 callersFunctionmoney
(value: number | null | undefined, currency: string = "USD")
frontend/src/pages/Portfolio.tsx:61
↓ 5 callersFunctionmoney_weighted_return
Compute the client's money-weighted return (XIRR) over the window. The client's cash stream is the opening value paid in, every external flow
agent/src/quantlib/performance.py:887
↓ 5 callersFunctionnavigate
(path)
wiki/docs/main.js:187
↓ 5 callersFunctionnormalize
Validate identity/expiry, select nearby strikes and preserve missing fields.
agent/src/data_gateway/sources.py:25
↓ 5 callersFunctionnormalize_kind
Normalize a cash-flow kind label to its canonical snake_case form. Real files spell the same concept as ``"Capital Call"``, ``"capital-call"``,
agent/src/entities/cashflow.py:99
↓ 5 callersFunctionnormalize_symbol
Normalize a symbol to ccxt unified ``BASE/QUOTE`` format.
agent/src/trading/connectors/binance/shaping.py:11
↓ 5 callersMethodnote
Record why a call in this iteration produced nothing new. Args: kind: Outcome category used to label the note in the recovery mes
agent/src/product/tool_progress.py:59
↓ 5 callersFunctionnum
(value: unknown)
frontend/src/components/charts/FactorResearchPanel.tsx:16
↓ 5 callersFunctionnum
(value: unknown)
frontend/src/components/charts/StrategyResearchDashboard.tsx:17
↓ 5 callersMethodopen_turns
Return turns that started but have no ``turn_end``. Returns: Turn IDs in the order they started.
agent/src/session/thread.py:198
↓ 5 callersMethodorder
Reorder only the supplied compatible candidates, never add a venue.
agent/src/data_gateway/routing.py:47
↓ 5 callersFunctionoutput_delays
Find positive shifts forwarded to outputs of SignalEngine.generate. Args: source: Python strategy source, already subject to the runner s
agent/backtest/signal_timing.py:27
↓ 5 callersFunctionpanel
(values, times=None)
agent/tests/quantlib/test_neutralization.py:19
↓ 5 callersFunctionparent_adaptation_blockers
Return stable refusal reasons, or empty when adaptation may proceed. Allowed when at least one row is adequate and not stale. Reasons use ``s
agent/src/strategy_discovery/adaptation.py:16
↓ 5 callersFunctionparse_account_state
Parse ``account_state`` alone (public: the AM-4-4 error-path hash in ``wire.py`` gates on state parseability without a full request parse).
agent/src/tools/paper_trade/schema.py:398
↓ 5 callersFunctionpayload
()
agent/tests/test_bar_summary.py:18
↓ 5 callersMethodpersist
(self, *, final: bool = False)
agent/src/swarm/runtime.py:243
↓ 5 callersMethodpoll
(self, timeout: float)
agent/src/tools/paper_trade/strategy_process.py:42
↓ 5 callersFunctionpositive_env_float
Read a positive float env var, warning and falling back on invalid values.
agent/backtest/loaders/base.py:466
↓ 5 callersMethodprepare_market_data
Validate or normalize loaded bars before signals see them. Default returns the frames untouched, so every market keeps its loader out
agent/backtest/engines/base.py:640
↓ 5 callersFunctionprobe_token_endpoint
Validate credentials with a standalone token-endpoint request. Uses a fresh ``httpx.AsyncClient`` rather than any channel's shared client, so
agent/src/channels/token_probe.py:70
↓ 5 callersFunctionprovider_names
Public identifiers, including legacy aliases, safe for runtime metadata. Returns: The set of catalog provider names, aliases, and runtime
agent/src/providers/registry.py:79
↓ 5 callersFunctionpublic_job
Return the user-facing job shape without raw channel destination ids.
agent/src/scheduled_research/service.py:26
↓ 5 callersMethodpublish_outbound
Publish a response from the agent to channels.
agent/src/channels/bus/queue.py:27
↓ 5 callersMethodquery_fundamentals
Query a fundamental table and filter out rows unpublished by ``as_of``. After the PIT cut, rows are deduplicated so that each ``(ts_code,
agent/backtest/loaders/tushare_fundamentals.py:144
↓ 5 callersMethodquery_history_k_data_plus
(self, code: str, fields: str, **kwargs: Any)
agent/tests/factors/test_valuation_baostock_fallback.py:67
↓ 5 callersFunctionread_benchmark_prices
(raw: bytes, timezone: str | None)
agent/backtest/frozen.py:214
↓ 5 callersFunctionread_deck
(tmp_path, monkeypatch, presentation, expected_tokens=())
agent/tests/test_doc_reader_pptx_containers.py:23
↓ 5 callersFunctionread_pdf
(tmp_path, texts, **kwargs)
agent/tests/test_doc_reader_native_fallback.py:29
↓ 5 callersFunctionreadonly_profile_catalog
Return profiles with a usable read surface and their portfolio eligibility. Returns: One row per eligible profile, sorted by connector, e
agent/src/trading/connections.py:496
↓ 5 callersMethodrebalance
Return value-only allocation changes against one explicitly pinned snapshot.
agent/src/portfolio/service.py:816
↓ 5 callersMethodrebuild
(self)
tools/github_traffic/test_archive.py:27
↓ 5 callersMethodrecord_bench
Record a bench result, assigning an auto-increment ID. Returns: The assigned result ID.
agent/src/strategy_store/store.py:314
↓ 5 callersMethodrecord_decay_snapshot
Record a decay monitoring snapshot. Returns the snapshot ID.
agent/src/strategy_store/store.py:157
↓ 5 callersMethodrecord_press_and_check_window
Record the current press, return True iff inside the window.
agent/cli/input.py:134
↓ 5 callersMethodrecover_extensionless_entries
Rename category entries that were written without the ``.md`` suffix. ``route_entry`` documents its second argument as "the .md filename",
agent/src/memory/hierarchy.py:92
↓ 5 callersMethodredirect_handler
(self, authorization_url: str)
agent/src/tools/mcp.py:199
↓ 5 callersFunctionreference
(path, **kwargs)
agent/tests/test_research_data_flow.py:36
↓ 5 callersMethodregister
(self, check: GroundingCheck)
agent/evals/grounding/registry.py:63
↓ 5 callersFunctionregister_gateway_routes
Mount capability and local-storage APIs using the host application's auth.
agent/src/data_gateway/api.py:41
↓ 5 callersMethodrelease
(self)
agent/src/trading/connectors/ibkr/local.py:581
↓ 5 callersMethodremove_relations
Delete the .relations.json sidecar if it exists. Args: entry_path: Path to the memory file whose relations to remove.
agent/src/memory/semantic_links.py:360
↓ 5 callersFunctionrender_tool_event
Render a terminal row describing a single tool call. Args: name: Raw tool name, formatted for display. args: Optional argument ma
agent/cli/components/tool_event.py:108
↓ 5 callersMethodreplace_rows
Atomically replace ALL evidence rows with ``rows``. With strategy_ids, delete only those complete regime sets and reject rows outside
agent/src/strategy_discovery/evidence_store.py:270
↓ 5 callersMethodreplay_history
Return replayed messages, source seqs, and earlier user messages. Args: provider: Target provider for filtering provider-native a
agent/src/session/runtime.py:389
↓ 5 callersFunctionrequire_inputs
Refuse to run unless every required input is present and usable. A key that is absent, ``None``, or an empty string counts as missing. Zero a
agent/src/quantlib/valuation/contracts.py:107
↓ 5 callersFunctionresolve_mcp_server_tool_name_segments
Resolve unique local server-name segments for MCP tool names. The first release keeps MCP tool names ASCII-safe by sanitizing server names. D
agent/src/tools/mcp.py:410
↓ 5 callersMethodresolve_wikilinks
Parse [[6-char-hex-id]] references from body text. Wikilinks provide explicit cross-references between memories. Format: [[abcdef]] w
agent/src/memory/semantic_links.py:321
↓ 5 callersMethodresolved_schedule
Return the effective default schedule (static or lazily derived).
agent/src/scheduling/system_jobs.py:234
↓ 5 callersMethodretry_after
Return time to the earliest normal or permitted half-open attempt. Merely observing an existing cooldown must not start a new cooldown
agent/src/data_gateway/routing.py:137
↓ 5 callersMethodreusable_resolution
Reuse settled exact identities without changing their source of authority. Args: arguments: Resolver arguments containing an exac
agent/src/product/identity/ledger.py:184
↓ 5 callersFunctionroll_effective_spread
Calculate Roll's (1984) effective spread estimator from serial price changes. Roll's model: s = 2 * sqrt(-cov(ΔP_t, ΔP_{t-1})) if cov < 0, else 0
agent/src/quantlib/microstructure.py:26
↓ 5 callersMethodrun_phase
Flatten findings without changing predicate or issue order.
agent/evals/grounding/registry.py:92
↓ 5 callersFunctionrunner_arguments
Return the wire arguments for a live-path read, bound to one account. Args: connector: Broker key. operation: Generic operation (
agent/src/trading/service.py:1351
↓ 5 callersFunctionrunner_tool_name
Map a runner operation to a connector-specific remote MCP tool name.
agent/src/trading/service.py:1325
↓ 5 callersFunctionruntime_dir
Return the runtime state directory (``live_root()/runtime``). Returns: The directory path. Not created here; :meth:`JobStore.save` create
agent/src/live/runtime/jobstore.py:69
↓ 5 callersFunctionsafeGet
(key: string)
frontend/src/lib/storage.ts:7
↓ 5 callersFunctionsafe_run_id
Resolve a bare run id to an existing allowed run directory. Args: run_id: Bare run directory name, not a path. Returns: Exis
agent/src/tools/path_utils.py:490
← previousnext →2,301–2,400 of 30,405, ranked by callers