Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HKUDS/Vibe-Trading
/ functions
Functions
30,405 in github.com/HKUDS/Vibe-Trading
⨍
Functions
30,405
◇
Types & classes
3,299
↳
Endpoints
266
↓ 5 callers
Method
fill
(prompt: string)
frontend/src/components/chat/Composer.tsx:59
↓ 5 callers
Function
find_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 callers
Function
fit_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 callers
Method
for_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 callers
Function
frame
(age=0)
agent/tests/test_loader_health.py:31
↓ 5 callers
Function
frame_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 callers
Function
frank_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 callers
Method
from_mapping
Build a config from a JSON-like mapping.
agent/src/trading/connectors/kis/sdk.py:138
↓ 5 callers
Method
get
(self, name)
agent/tests/test_readonly_replay_after_microcompact.py:43
↓ 5 callers
Function
getApiAuthKey
()
frontend/src/lib/apiAuth.ts:5
↓ 5 callers
Function
get_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 callers
Function
get_store
Return the process-wide strategy store singleton.
agent/src/strategy_store/_shared.py:16
↓ 5 callers
Function
gp_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 callers
Function
history
()
agent/tests/test_data_gateway_scheduling.py:68
↓ 5 callers
Function
history_directory
Resolve the shared on-disk store independently of the application's cwd.
agent/src/data_gateway/history_store.py:816
↓ 5 callers
Method
identity_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 callers
Method
identity_summary
(self)
agent/tests/test_agent_loop_deterministic_cache.py:219
↓ 5 callers
Method
input_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 callers
Function
inspect_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 callers
Function
inspect_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 callers
Function
inverse_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 callers
Method
is_allowed
Preserve Telegram's legacy id|username allowlist matching.
agent/src/channels/telegram.py:497
↓ 5 callers
Method
is_available
Check if this engine's dependencies are satisfied.
agent/src/tools/ocr/engine.py:46
↓ 5 callers
Function
is_quality_enabled
Check if quality scoring is enabled via VT_MEMORY_QUALITY env var.
agent/src/memory/lifecycle.py:58
↓ 5 callers
Function
is_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 callers
Method
is_set
(self)
agent/src/swarm/runtime.py:179
↓ 5 callers
Method
jobs
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 callers
Function
krx_round_up
Round *price* up onto the tick grid (KRX ``절상``), never below one tick.
agent/backtest/engines/korea_equity.py:105
↓ 5 callers
Function
krx_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 callers
Function
kyles_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 callers
Function
large_result
()
agent/tests/test_result_artifacts.py:33
↓ 5 callers
Method
list
(self, zoo=None)
agent/tests/test_alpha_cli_dotenv.py:16
↓ 5 callers
Method
list_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 callers
Function
load
()
frontend/src/components/portfolio/ConnectionCenter.tsx:32
↓ 5 callers
Function
load_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 callers
Method
load_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 callers
Function
localizeToolName
(tool: string, fallback?: string)
frontend/src/lib/tools.ts:43
↓ 5 callers
Function
macaulay_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 callers
Method
mark_context_restored
Give the model one run-scoped grace iteration to read restored evidence.
agent/src/product/tool_progress.py:112
↓ 5 callers
Method
mark_failure
Mark the run as failed. Args: run_dir: Run directory. reason: Failure reason.
agent/src/core/state.py:57
↓ 5 callers
Function
merton_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 callers
Function
modified_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 callers
Function
money
(value: number | null | undefined, currency: string = "USD")
frontend/src/pages/Portfolio.tsx:61
↓ 5 callers
Function
money_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 callers
Function
navigate
(path)
wiki/docs/main.js:187
↓ 5 callers
Function
normalize
Validate identity/expiry, select nearby strikes and preserve missing fields.
agent/src/data_gateway/sources.py:25
↓ 5 callers
Function
normalize_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 callers
Function
normalize_symbol
Normalize a symbol to ccxt unified ``BASE/QUOTE`` format.
agent/src/trading/connectors/binance/shaping.py:11
↓ 5 callers
Method
note
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 callers
Function
num
(value: unknown)
frontend/src/components/charts/FactorResearchPanel.tsx:16
↓ 5 callers
Function
num
(value: unknown)
frontend/src/components/charts/StrategyResearchDashboard.tsx:17
↓ 5 callers
Method
open_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 callers
Method
order
Reorder only the supplied compatible candidates, never add a venue.
agent/src/data_gateway/routing.py:47
↓ 5 callers
Function
output_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 callers
Function
panel
(values, times=None)
agent/tests/quantlib/test_neutralization.py:19
↓ 5 callers
Function
parent_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 callers
Function
parse_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 callers
Function
payload
()
agent/tests/test_bar_summary.py:18
↓ 5 callers
Method
persist
(self, *, final: bool = False)
agent/src/swarm/runtime.py:243
↓ 5 callers
Method
poll
(self, timeout: float)
agent/src/tools/paper_trade/strategy_process.py:42
↓ 5 callers
Function
positive_env_float
Read a positive float env var, warning and falling back on invalid values.
agent/backtest/loaders/base.py:466
↓ 5 callers
Method
prepare_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 callers
Function
probe_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 callers
Function
provider_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 callers
Function
public_job
Return the user-facing job shape without raw channel destination ids.
agent/src/scheduled_research/service.py:26
↓ 5 callers
Method
publish_outbound
Publish a response from the agent to channels.
agent/src/channels/bus/queue.py:27
↓ 5 callers
Method
query_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 callers
Method
query_history_k_data_plus
(self, code: str, fields: str, **kwargs: Any)
agent/tests/factors/test_valuation_baostock_fallback.py:67
↓ 5 callers
Function
read_benchmark_prices
(raw: bytes, timezone: str | None)
agent/backtest/frozen.py:214
↓ 5 callers
Function
read_deck
(tmp_path, monkeypatch, presentation, expected_tokens=())
agent/tests/test_doc_reader_pptx_containers.py:23
↓ 5 callers
Function
read_pdf
(tmp_path, texts, **kwargs)
agent/tests/test_doc_reader_native_fallback.py:29
↓ 5 callers
Function
readonly_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 callers
Method
rebalance
Return value-only allocation changes against one explicitly pinned snapshot.
agent/src/portfolio/service.py:816
↓ 5 callers
Method
rebuild
(self)
tools/github_traffic/test_archive.py:27
↓ 5 callers
Method
record_bench
Record a bench result, assigning an auto-increment ID. Returns: The assigned result ID.
agent/src/strategy_store/store.py:314
↓ 5 callers
Method
record_decay_snapshot
Record a decay monitoring snapshot. Returns the snapshot ID.
agent/src/strategy_store/store.py:157
↓ 5 callers
Method
record_press_and_check_window
Record the current press, return True iff inside the window.
agent/cli/input.py:134
↓ 5 callers
Method
recover_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 callers
Method
redirect_handler
(self, authorization_url: str)
agent/src/tools/mcp.py:199
↓ 5 callers
Function
reference
(path, **kwargs)
agent/tests/test_research_data_flow.py:36
↓ 5 callers
Method
register
(self, check: GroundingCheck)
agent/evals/grounding/registry.py:63
↓ 5 callers
Function
register_gateway_routes
Mount capability and local-storage APIs using the host application's auth.
agent/src/data_gateway/api.py:41
↓ 5 callers
Method
release
(self)
agent/src/trading/connectors/ibkr/local.py:581
↓ 5 callers
Method
remove_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 callers
Function
render_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 callers
Method
replace_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 callers
Method
replay_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 callers
Function
require_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 callers
Function
resolve_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 callers
Method
resolve_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 callers
Method
resolved_schedule
Return the effective default schedule (static or lazily derived).
agent/src/scheduling/system_jobs.py:234
↓ 5 callers
Method
retry_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 callers
Method
reusable_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 callers
Function
roll_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 callers
Method
run_phase
Flatten findings without changing predicate or issue order.
agent/evals/grounding/registry.py:92
↓ 5 callers
Function
runner_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 callers
Function
runner_tool_name
Map a runner operation to a connector-specific remote MCP tool name.
agent/src/trading/service.py:1325
↓ 5 callers
Function
runtime_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 callers
Function
safeGet
(key: string)
frontend/src/lib/storage.ts:7
↓ 5 callers
Function
safe_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
← previous
next →
2,301–2,400 of 30,405, ranked by callers