Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HKUDS/Vibe-Trading
/ functions
Functions
26,887 in github.com/HKUDS/Vibe-Trading
⨍
Functions
26,887
◇
Types & classes
2,943
↳
Endpoints
204
↓ 3 callers
Function
default_benchmark
Select a default only when all evaluated instruments identify one market.
agent/backtest/benchmark.py:145
↓ 3 callers
Function
default_store
Return the API singleton when available so every surface shares state.
agent/src/scheduled_research/service.py:252
↓ 3 callers
Method
delete
Remove a job by id. Args: job_id: Identifier of the job to remove. Returns: ``True`` when the job was found
agent/src/scheduled_research/store.py:220
↓ 3 callers
Function
deriveActivityVerb
(tool: string | undefined)
frontend/src/stores/agent.ts:37
↓ 3 callers
Function
derive_daily
A daily frame assembled from the fixture's session bars (lots, T1 units).
agent/tests/paper_trade_5m_fixtures.py:127
↓ 3 callers
Method
describe
The check catalog for run cards and docs, in registration order.
agent/src/agent/grounding/registry.py:104
↓ 3 callers
Function
describeApiFailure
Read a failed request into status/code/message without trusting its shape.
frontend/src/components/settings/ChannelConfigPanel.tsx:42
↓ 3 callers
Function
describeCadence
(schedule: string)
frontend/src/lib/cadence.ts:34
↓ 3 callers
Function
displayZone
(run: ScheduledRun)
frontend/src/pages/Scheduled.tsx:58
↓ 3 callers
Function
drawdown_series
Compute continuous percentage drawdown from running peak as a positive loss fraction. Args: equity: Net-value / equity series, strictly p
agent/src/quantlib/risk.py:254
↓ 3 callers
Function
effective_duration
Duration by symmetric repricing, valid for bonds with embedded options. Re-evaluates a custom pricing model at perturbed yields to compute durati
agent/src/quantlib/fixedincome.py:560
↓ 3 callers
Function
eligible_profiles
Return profiles that are structurally safe for portfolio reads. Eligibility is decided by :func:`src.trading.connections.is_portfolio_connect
agent/src/portfolio/config.py:77
↓ 3 callers
Function
emit
(event_type: str, data: dict)
agent/tests/test_goal_tools.py:96
↓ 3 callers
Function
env_flags
Drive the real config path: set env vars, reset the cached config. Starts from a known flag-off baseline (master scheduler, both system-job s
agent/tests/test_scheduling_lifespan_owner.py:65
↓ 3 callers
Function
equity_tick
Minimum price change at *price* under an explicitly selected table.
agent/backtest/engines/argentina_equity.py:148
↓ 3 callers
Function
equity_value_from_enterprise_value
Walk the EV bridge backward: a known EV to an implied equity value. This is the exact inverse of :func:`enterprise_value` -- same signs, same
agent/src/quantlib/valuation/comps.py:524
↓ 3 callers
Function
exact_calc
Evaluate an arithmetic expression with exact decimal arithmetic. Args: expr: Arithmetic expression string (numbers and ``+ - * /`` only).
agent/src/tools/financial_rigor_tool.py:370
↓ 3 callers
Method
execute
Edit the current research goal's objective or summary. Args: **kwargs: Tool arguments from the model. Returns:
agent/src/tools/goal_tool.py:345
↓ 3 callers
Method
execute
Execute an iWenCai semantic search and return a JSON envelope. Args: **kwargs: ``query`` (required, str) and optional ``limit`` (
agent/src/tools/iwencai_tool.py:195
↓ 3 callers
Method
execute
Start a swarm run: auto-match preset, extract variables, wait for completion. Args: **kwargs: Must include prompt (str). Optional
agent/src/tools/swarm_tool.py:536
↓ 3 callers
Method
execute
Build an Artifact from kwargs, register it, and return the record.
agent/src/tools/sdm_register_tool.py:198
↓ 3 callers
Method
execute
(self, **kwargs: Any)
agent/src/tools/autopilot_tool.py:460
↓ 3 callers
Method
execute
Execute the tool and return a JSON string.
agent/src/agent/tools.py:53
↓ 3 callers
Method
execute
(self, sql, *args)
agent/tests/test_session_search_concurrent_consumers.py:83
↓ 3 callers
Method
execute
(self, name: str, args: dict)
agent/tests/test_load_skill_allowlist.py:122
↓ 3 callers
Method
execution_open
Return the normal market-fill price for a bar.
agent/backtest/engines/base.py:889
↓ 3 callers
Function
execution_root
(cfg: EtoroConfig)
agent/src/trading/connectors/etoro/client.py:225
↓ 3 callers
Function
execution_v1_root
(cfg: EtoroConfig)
agent/src/trading/connectors/etoro/client.py:229
↓ 3 callers
Function
expected_loss
Compute regulatory Expected Loss (EL = EAD * PD * LGD). Args: ead: Exposure at Default in currency units >= 0. pd: Probability of
agent/src/quantlib/credit.py:879
↓ 3 callers
Method
export_manifest
Return a JSON-serialisable snapshot for wiki rendering.
agent/src/factors/registry.py:428
↓ 3 callers
Function
feed_specs_from_config
Build :class:`FeedSpec` objects from backtest-config dicts. Each entry must carry ``name``, ``route_template`` and ``event_type``; an optiona
agent/backtest/loaders/rsshub_events.py:147
↓ 3 callers
Function
fetch
(path: Path)
agent/tests/test_local_loader_cache_identity.py:42
↓ 3 callers
Function
find_sections
Locate every section matching a heading address. ``wanted`` may be a bare title (``"Workflow"``) or a path that names one or more enclosing h
agent/src/agent/skills.py:324
↓ 3 callers
Function
fixed
(value: unknown, digits = 2)
frontend/src/components/charts/StrategyResearchDashboard.tsx:22
↓ 3 callers
Function
fixture_first_bar_reference
The first continuous 5m bar's reference price (per-bar Phase 2).
agent/tests/paper_trade_5m_fixtures.py:163
↓ 3 callers
Function
formatMetricVal
(k: string, v: number)
frontend/src/lib/formatters.ts:54
↓ 3 callers
Function
formatPercent
(value: number, digits = 1)
frontend/src/components/run/PositionsTab.tsx:42
↓ 3 callers
Function
formatWallTime
(hour: number, minute: number)
frontend/src/lib/cadence.ts:63
↓ 3 callers
Function
format_code_for_route
Convert a backtest code (e.g. ``"600519.SH"``) to a route's expected form. RSSHub routes disagree on instrument formatting: some take the exchang
agent/backtest/loaders/rsshub_events.py:76
↓ 3 callers
Function
format_run_date
Normalize supported date strings into ``YYYY-MM-DD``. Args: date_str: Raw date string from request or planner artifacts. Returns:
agent/src/ui_services.py:24
↓ 3 callers
Method
format_tool_result
Format a tool execution result as a message.
agent/src/agent/context.py:441
↓ 3 callers
Method
from_dict
(cls, data: Dict[str, Any])
agent/src/scheduled_research/verdict.py:45
↓ 3 callers
Method
from_loader_columns
Build a schedule from the loader's ``maintenance_brackets`` / ``maintenance_bracket_version`` DataFrame columns. The JSON payload is
agent/backtest/perpetual_risk.py:103
↓ 3 callers
Method
from_mapping
Build a config from a JSON-like mapping, normalizing the profile.
agent/src/trading/connectors/binance/sdk.py:75
↓ 3 callers
Method
from_mapping
Build a config from a JSON-like mapping.
agent/src/trading/connectors/dhan/sdk.py:95
↓ 3 callers
Method
from_mapping
Build a config from a JSON-like mapping, normalizing profile/URL.
agent/src/trading/connectors/trading212/sdk.py:73
↓ 3 callers
Method
from_mapping
(cls, data: Mapping[str, Any] | None = None)
agent/src/trading/connectors/shoonya/sdk.py:90
↓ 3 callers
Method
from_mapping
Build a config from a JSON-like mapping.
agent/src/trading/connectors/upbit/sdk.py:89
↓ 3 callers
Method
from_mapping
Build a config from a JSON-like mapping, normalizing the profile.
agent/src/trading/connectors/etoro/client.py:79
↓ 3 callers
Method
from_mapping
Build a config from a JSON-like mapping, normalizing the profile.
agent/src/trading/connectors/tiger/sdk.py:84
↓ 3 callers
Method
from_mapping
Build a config from a JSON-like mapping, normalizing the profile.
agent/src/trading/connectors/longbridge/sdk.py:87
↓ 3 callers
Method
from_mapping
Build a config from a JSON-like mapping, normalizing the profile.
agent/src/trading/connectors/alpaca/sdk.py:90
↓ 3 callers
Method
from_mapping
Build a config from a JSON-like mapping, normalizing profile/URL.
agent/src/trading/connectors/toss/sdk.py:86
↓ 3 callers
Method
from_mapping
Build a config from a JSON-like mapping, normalizing the profile. Args: data: Mapping with any subset of config fields.
agent/src/trading/connectors/futu/sdk.py:107
↓ 3 callers
Method
from_mapping
Build a config from a JSON-like mapping, normalizing the profile.
agent/src/trading/connectors/mt5/_client.py:90
↓ 3 callers
Method
from_mapping
Build a config from a JSON-like mapping, normalizing the profile.
agent/src/trading/connectors/okx/sdk.py:78
↓ 3 callers
Method
from_mapping
(cls, data: Mapping[str, Any] | None = None)
agent/src/trading/connectors/zerodha/sdk.py:92
↓ 3 callers
Method
from_messages
Build context from user-authored text while preserving that text verbatim.
agent/src/agent/resolution_context.py:94
↓ 3 callers
Function
fund_multiples
Compute DPI, RVPI, TVPI and MOIC in one pass over a series. Args: series: The cash flows. invested_capital: Denominator for MOIC;
agent/src/quantlib/fundmath.py:869
↓ 3 callers
Method
get_capital_flow
(self, code, period_type=None)
agent/tests/test_futu_extended_reads.py:53
↓ 3 callers
Function
get_claude_cli_auth_status
Report the local Claude Code login, as a turn would see it; never raises. Runs with the same environment as a turn: an ``ANTHROPIC_API_KEY`` mean
agent/src/providers/claude_cli.py:115
↓ 3 callers
Function
get_company_facts
Fetch the XBRL ``companyfacts`` JSON for a CIK. Args: cik: A CIK as int or string; padded to 10 digits internally. Returns:
agent/backtest/loaders/sec_edgar_client.py:217
↓ 3 callers
Method
get_contract_multiplier
Contract multiplier for the instrument. Args: symbol: Futures symbol (e.g. 'IF2406.CFFEX', 'ESZ4'). Returns:
agent/backtest/engines/futures_base.py:27
↓ 3 callers
Function
get_copilot_auth_status
Return the official SDK's authentication status.
agent/src/providers/copilot_auth.py:73
↓ 3 callers
Method
get_latest
Return the newest revision in one series.
agent/src/research_artifacts/store.py:322
↓ 3 callers
Function
get_openai_codex_login_status
Return a usable Vibe-owned OAuth token, if available.
agent/src/providers/openai_codex.py:275
↓ 3 callers
Method
get_partial_response
Read a streamed assistant response checkpoint. Args: session_id: Session ID. attempt_id: Attempt ID. Returns
agent/src/session/store.py:308
↓ 3 callers
Method
get_session
Return a session by ID.
agent/src/session/service.py:302
↓ 3 callers
Function
get_submissions
Fetch the filing-index ("submissions") JSON for a CIK. Args: cik: A CIK as int or string; padded to 10 digits internally. Returns:
agent/backtest/loaders/sec_edgar_client.py:201
↓ 3 callers
Function
get_swarm_runs_dir
Return the user-level directory holding swarm run records.
agent/src/config/paths.py:47
↓ 3 callers
Function
get_workspace_path
Return the workspace path for channel state data. For channel adapters that need to persist state (e.g. conversation references, auth tokens)
agent/src/config/paths.py:105
↓ 3 callers
Function
gumbel_copula_cdf
Evaluate bivariate Gumbel copula CDF: C(u, v) = exp(-((-ln u)^theta + (-ln v)^theta)^{1/theta}). Args: u: Uniform marginal in (0, 1].
agent/src/quantlib/copula.py:103
↓ 3 callers
Function
halt_snapshot
One coherent read of every tripped sentinel. Returns ``(active_episodes, newest_episode)`` from a single pass over both sentinels. The runner
agent/src/live/runtime/sweep_latch.py:162
↓ 3 callers
Method
handle_event
(self, event_type: str, data: dict[str, Any])
agent/cli/ui/rail.py:320
↓ 3 callers
Function
handle_pairing_command
Execute a pairing subcommand and return the reply text. This is a pure function (no side effects other than store mutations) so it can be use
agent/src/channels/pairing/store.py:233
↓ 3 callers
Function
hazard_rate_to_survival_probability
Convert a constant hazard rate lambda to cumulative survival probability Q(T) = exp(-lambda * T). Args: hazard_rate: Annualised default i
agent/src/quantlib/credit.py:713
↓ 3 callers
Function
heartbeat_path
Return the heartbeat file path for a runner. Args: runner_id: Stable runner identifier. Returns: ``live_root()/runtime/heart
agent/src/live/runtime/liveness.py:58
↓ 3 callers
Function
heartbeats_dir
Return the directory holding per-runner heartbeat files. Returns: ``live_root()/runtime/heartbeats``. Not created here; written lazily by
agent/src/live/runtime/liveness.py:48
↓ 3 callers
Function
heston_feller_condition
Check Feller condition (2 * kappa * theta > sigma_v**2). When satisfied, variance process V_t strictly stays positive (never reaches zero).
agent/src/quantlib/volatility.py:44
↓ 3 callers
Function
heteroscedasticity_test
Test regression residuals for heteroskedasticity (White and Breusch-Pagan). H0 = homoskedasticity. Financial residuals are almost always hete
agent/src/quantlib/timeseries.py:616
↓ 3 callers
Method
hydrate_run
Return a copy of ``run`` with live ``tasks/*.json`` merged in. ``run.json`` only gets the full snapshot at start and finalize; the pe
agent/src/swarm/store.py:307
↓ 3 callers
Method
increment
Increment a counter and return the new value. Args: key: Counter key (typically tool name). Returns: Updated
agent/src/agent/memory.py:25
↓ 3 callers
Function
init_db
Create the database file and tables when missing; return its path.
agent/src/br_data/store.py:128
↓ 3 callers
Function
install_fake_cli
Put a fake turn-answering ``claude`` on ``CLAUDE_CLI_PATH``. Args: tmp_path: Directory for the script, its replies and its call log.
agent/tests/claude_cli_helpers.py:89
↓ 3 callers
Function
install_slack_stubs
Make ``src.channels.slack`` importable without the Slack extras.
agent/tests/slack_stubs.py:24
↓ 3 callers
Function
instrument_asset_class
Map an :class:`InstrumentType` to its universe :class:`AssetClass` bucket. Returns ``None`` for instruments with no equity-style universe bucket
agent/src/live/enforcement.py:95
↓ 3 callers
Function
invalidate_mcp_specs_cache
Clear the MCP tool discovery cache. Called by SwarmRuntime at the start of each run to ensure fresh discovery when operator config may have c
agent/src/tools/mcp.py:246
↓ 3 callers
Function
invoke
(arguments: dict)
agent/src/api/shannon_routes.py:48
↓ 3 callers
Method
invoke
Run one decision and return it as a single message. Args: messages: Conversation so far, as LangChain messages or dicts.
agent/src/providers/claude_cli.py:554
↓ 3 callers
Function
isCompleteShutdownEvidence
(evidence: BackendShutdownEvidence)
desktop/electron/src/backend-manager.ts:476
↓ 3 callers
Function
isReadOnlyCompatible
(auth: LiveBrokerStatus["auth"])
frontend/src/pages/Runtime.tsx:471
↓ 3 callers
Function
isRunning
(child: ChildProcess)
desktop/electron/src/backend-manager.ts:431
↓ 3 callers
Function
isSdkBroker
(auth: LiveBrokerAuthStatus)
frontend/src/components/chat/RunnerStatus.tsx:85
↓ 3 callers
Method
is_allowed
Override base check to normalize and split pipe-joined identifiers. ``sender_id`` from Signal is the pipe-joined composite produced by
agent/src/channels/signal.py:399
↓ 3 callers
Function
is_approved
Check whether *sender_id* has been approved on *channel*.
agent/src/channels/pairing/store.py:164
↓ 3 callers
Method
is_available
Check if this engine's dependencies are satisfied.
agent/src/tools/ocr/engine.py:46
↓ 3 callers
Function
is_done
Whether ``source/item`` was already ingested.
agent/src/br_data/store.py:175
↓ 3 callers
Function
is_forex_pair
True when ``token`` (optionally broker-suffixed) is a currency pair.
agent/src/trading/connectors/mt5/symbols.py:59
↓ 3 callers
Function
is_gc_enabled
Check if garbage collection is enabled via VT_MEMORY_GC env var.
agent/src/memory/lifecycle.py:42
↓ 3 callers
Function
is_iso_currency
Return whether code is a current ISO-4217 alphabetic code.
agent/src/portfolio/iso4217.py:169
← previous
next →
3,301–3,400 of 26,887, ranked by callers