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
↓ 1 callers
Function
current_short_margin
Margin the open short legs would post right now, re-marked daily.
agent/backtest/engines/options_portfolio.py:307
↓ 1 callers
Method
daily_basic
(self, ts_code, start_date, end_date, fields)
agent/tests/test_loader_retry_helpers.py:414
↓ 1 callers
Function
dataSourceSettings
(overrides: Record<string, string[]> = {})
frontend/src/components/settings/__tests__/SourcePrioritySettings.test.tsx:47
↓ 1 callers
Function
dataSourceSettings
()
frontend/src/pages/__tests__/SettingsChannels.test.tsx:62
↓ 1 callers
Function
dateMs
(value: string)
frontend/src/pages/Reports.tsx:305
↓ 1 callers
Function
day
(offset: int)
agent/src/tools/institutional_holdings_tool.py:415
↓ 1 callers
Function
dayKey
(value: string)
frontend/src/pages/Portfolio.tsx:123
↓ 1 callers
Function
daySpan
(fromTime: string, toTime: string)
frontend/src/lib/tearsheet.ts:175
↓ 1 callers
Function
day_matches
(dt: date, doms: set[int] | None, months: set[int] | None, dows: set[int] | None)
agent/src/scheduling/triggers.py:263
↓ 1 callers
Function
decay_warning
Stable decay warning for a row, or ``None`` for fresh rows. Prefixes are fixed tokens (``stale-evidence:``, ``aged-evidence:``) with the day
agent/src/strategy_discovery/models.py:353
↓ 1 callers
Function
decide
(commit: boolean)
frontend/src/components/chat/ScheduledResearchProposalCard.tsx:28
↓ 1 callers
Function
declared_currency_required
Return whether ``code``'s suffix names a venue that quotes in several currencies. A loader must read the source's declared currency for such a sy
agent/backtest/loaders/base.py:88
↓ 1 callers
Function
default_ch_client
CH bar client from the existing ``CLICKHOUSE_*`` env config, or None when unreachable — the cn_a path then degrades to the network leg alone.
agent/src/tools/paper_trade/data.py:245
↓ 1 callers
Method
default_config
Return default config for onboard. Override in plugins to auto-populate config.
agent/src/channels/base.py:305
↓ 1 callers
Function
default_lexicon_scorer
Score text in ``[-1, 1]`` by net positive/negative term frequency. A deterministic, dependency-free baseline. It is intentionally simple — the
agent/backtest/loaders/rsshub_events.py:252
↓ 1 callers
Function
default_spot_grid
Build a symmetric non-negative display grid around an entry spot. Args: center: Positive central spot. half_width_pct: Fraction o
agent/backtest/options_payoff.py:358
↓ 1 callers
Function
deferred
()
frontend/src/pages/__tests__/AgentRuntimeIdentity.test.tsx:65
↓ 1 callers
Function
deferred
()
frontend/src/pages/__tests__/Runtime.test.tsx:129
↓ 1 callers
Function
deferred
()
frontend/src/pages/__tests__/Compare.test.tsx:14
↓ 1 callers
Function
deferred
()
frontend/src/pages/__tests__/RunDetail.test.tsx:30
↓ 1 callers
Function
delay
(milliseconds: number)
desktop/electron/src/backend-watchdog.ts:167
↓ 1 callers
Function
deleteSession
(sid: string)
frontend/src/components/layout/Layout.tsx:114
↓ 1 callers
Method
delete_password
(self, service_name: str, username: str)
agent/src/trading/credentials.py:20
↓ 1 callers
Function
deny_code
Reject and discard a pending pairing code. Args: code: The pairing code to deny. restrict_channel: When set, only deny the code i
agent/src/channels/pairing/store.py:138
↓ 1 callers
Function
deriveRiskState
(broker: LiveBrokerStatus, globalHalted: boolean, t: TFunction)
frontend/src/pages/Runtime.tsx:564
↓ 1 callers
Method
describe_feed
Return the spec for a registered feed. Raises: UnknownFeedError: If ``feed`` is not registered.
agent/backtest/loaders/rsshub_events.py:349
↓ 1 callers
Function
describe_regime_definition
Canonical JSON naming the regime-labeling parameters of a compute run. Stored on every evidence row so the definition travels with the data i
agent/src/strategy_discovery/evidence_harness.py:195
↓ 1 callers
Function
detect_install_kind
Classify how ``vibe-trading-ai`` is installed, cheapest signals first. Returns one of the ``KIND_*`` constants: - ``KIND_CHECKOUT``: not ins
agent/cli/commands/update.py:74
↓ 1 callers
Function
detect_symbol
Pure per-symbol detector over the served frame (lookback included). Scans only boundaries whose AFTER-date is a simulated day (note 2); the B
agent/src/tools/paper_trade/corporate_actions.py:220
↓ 1 callers
Function
dfs
DFS traversal to detect back edges. Args: node: Current node ID. Raises: ValueError: If a cycle is detected.
agent/src/swarm/task_store.py:177
↓ 1 callers
Function
dhan_available
()
agent/src/trading/connectors/dhan/sdk.py:184
↓ 1 callers
Function
diff
(upper: number[], lower: number[])
frontend/src/components/charts/MonteCarloPathsChart.tsx:31
↓ 1 callers
Function
diffClass
(a: unknown, b: unknown, higherIsBetter: boolean)
frontend/src/pages/Compare.tsx:35
↓ 1 callers
Function
diffStr
(a: unknown, b: unknown, type: "pct" | "num" | "int" | "days")
frontend/src/pages/Compare.tsx:51
↓ 1 callers
Function
discover_enabled
Return channels whose module names are in *enabled_names*. Uses cheap ``pkgutil.iter_modules`` to list names, then imports only those that ma
agent/src/channels/registry.py:314
↓ 1 callers
Method
discover_tools
(self)
agent/tests/test_portfolio_service.py:877
↓ 1 callers
Function
dispose
()
frontend/src/hooks/useChartLifecycle.ts:25
↓ 1 callers
Function
downloadCsv
(filename: string, csvContent: string)
frontend/src/pages/RunDetail.tsx:69
↓ 1 callers
Function
downloadResearchSnapshot
()
frontend/src/pages/Portfolio.tsx:272
↓ 1 callers
Method
download_to_drive
(self, path)
agent/tests/test_voice_note_attachment_passthrough.py:45
↓ 1 callers
Function
downsample
Stride-sample long series for rendering, keeping the LAST point pinned.
frontend/src/components/charts/FactorResearchPanel.tsx:44
↓ 1 callers
Function
dr
(cells: list[str])
agent/src/channels/signal.py:127
↓ 1 callers
Function
dr
(cells: list[str])
agent/src/channels/telegram.py:218
↓ 1 callers
Function
draft
(ref: str)
agent/tests/test_grounding_unknown_call_id_refs.py:266
↓ 1 callers
Function
dragon_tiger_seats
打印指定个股在某交易日的龙虎榜买卖席位排名。
agent/src/skills/eastmoney/scripts/disclosure_example.py:16
↓ 1 callers
Function
drawdown_distribution_analysis
Decompose an equity curve into discrete drawdown episodes and aggregate risk metrics. Args: equity: Net-value / equity series, strictly p
agent/src/quantlib/risk.py:326
↓ 1 callers
Function
edit_position_stops
Modify SL/TP on an open position (eToro connector).
agent/src/trading/service.py:1040
↓ 1 callers
Function
effective_date
(requested: Date | None)
agent/src/api/shannon_routes.py:57
↓ 1 callers
Function
effortOptions
()
frontend/src/pages/__tests__/SettingsClaudeCliModels.test.tsx:94
↓ 1 callers
Function
emailEntry
(overrides: Record<string, unknown> = {})
frontend/src/components/settings/__tests__/ChannelSettings.test.tsx:115
↓ 1 callers
Function
encode
()
agent/src/tools/backtest_tool.py:314
↓ 1 callers
Method
end_state
(self)
agent/src/tools/paper_trade/engine.py:505
↓ 1 callers
Function
englishOnly
English strings a locale translated differently; any of them on screen is an English fallback.
frontend/src/components/charts/__tests__/ShannonPortfolio.test.tsx:152
↓ 1 callers
Function
ensure_authorable_job_id
Reject a caller-supplied job id the address-based routes could not serve. A job whose id the delete/patch routes would refuse (anything outside
agent/src/api/scheduled_guards.py:20
↓ 1 callers
Function
enterprise_value
(convention: str)
agent/tests/quantlib/valuation/test_dcf.py:548
↓ 1 callers
Function
entryElapsedSeconds
(entry: ToolCallEntry)
frontend/src/components/chat/ToolProgressIndicator.tsx:74
↓ 1 callers
Function
envelope
(frame)
agent/tests/quantlib/test_neutralization.py:370
↓ 1 callers
Function
equity_has_non_finite
Scan ``artifacts/equity.csv`` equity column for NaN/Inf values. Returns ``True`` when any data row's equity cell is missing, malformed, or no
agent/src/strategy_discovery/run_artifacts.py:371
↓ 1 callers
Function
errorFromResponse
(res: Response)
frontend/src/lib/api.ts:401
↓ 1 callers
Function
errorText
(error: unknown)
desktop/electron/src/backend-manager.ts:539
↓ 1 callers
Function
errorText
(error: unknown)
desktop/electron/src/update-recovery.ts:224
↓ 1 callers
Method
error_payload
Render a blocked tool call as a normal structured error result.
agent/src/agent/grounding/identity.py:429
↓ 1 callers
Function
esc
(s)
wiki/scripts/gen_sitemap.mjs:44
↓ 1 callers
Function
etoro_copy_close
( mirror_id: int, profile_id: str | None = None, *, unregister_type: str = "Close", reques
agent/src/trading/service.py:1225
↓ 1 callers
Function
etoro_copy_poll
( reference_id: str, profile_id: str | None = None, *, request_id: str | None = None, **ov
agent/src/trading/service.py:1207
↓ 1 callers
Function
etoro_copy_precheck
( parent_cid: int, amount: float, profile_id: str | None = None, *, request_id: str | None
agent/src/trading/service.py:1096
↓ 1 callers
Function
etoro_copy_start
( parent_cid: int, amount: float, profile_id: str | None = None, *, reference_id: str,
agent/src/trading/service.py:1123
↓ 1 callers
Function
ev_function_call
(call_id: str, name: str, arguments: str)
agent/tests/test_openai_codex_replay.py:47
↓ 1 callers
Function
ev_reasoning_item
(item_id: str, summary: list[str], raw: str)
agent/tests/test_openai_codex_replay.py:35
↓ 1 callers
Function
evaluate_assertions
Evaluate every supported contract section in a stable order.
agent/evals/harness/assertions.py:22
↓ 1 callers
Function
eventAgentKey
(event: AnyRecord)
frontend/src/lib/swarmStatus.ts:113
↓ 1 callers
Function
eventCallId
(data: Record<string, unknown>)
frontend/src/pages/Agent.tsx:93
↓ 1 callers
Function
event_generator
()
agent/src/api/sessions_routes.py:904
↓ 1 callers
Function
event_stream
()
agent/src/openbb_bridge/routes.py:142
↓ 1 callers
Function
event_stream
()
agent/src/api/swarm_routes.py:199
↓ 1 callers
Function
event_stream
()
agent/src/api/alpha_routes.py:766
↓ 1 callers
Function
evidenceFromText
(text: string)
frontend/src/pages/ResearchArtifacts.tsx:62
↓ 1 callers
Function
evidence_window_end
Last calendar day of the latest evidence window, or ``None``. Each entry is parsed as ``"YYYY-MM to YYYY-MM"``; the window end is the last da
agent/src/strategy_discovery/models.py:268
↓ 1 callers
Function
evolutionSeriesNames
()
frontend/src/components/run/__tests__/PositionsTab.test.tsx:92
↓ 1 callers
Method
execute
(self, **kwargs: Any)
agent/src/tools/backtest_runs_tool.py:238
↓ 1 callers
Method
execute
Dispatch to ``extract`` or ``verdict`` and return a JSON envelope. Args: **kwargs: ``command`` plus the inputs for that phase.
agent/src/tools/report_audit_tool.py:561
↓ 1 callers
Method
execute
Execute the lockup-expiry query and return a JSON envelope.
agent/src/tools/lockup_expiry_tool.py:339
↓ 1 callers
Method
execute
Execute the remote MCP tool and return normalized JSON. Args: **kwargs: Tool arguments from the agent loop. Returns:
agent/src/tools/mcp.py:859
↓ 1 callers
Method
execute
(self, **kwargs: Any)
agent/src/tools/research_artifact_tool.py:55
↓ 1 callers
Method
execute
Dispatch to the requested 13F mode and return a JSON envelope. Args: **kwargs: ``mode`` (default ``"manager_holdings"``) plus tha
agent/src/tools/institutional_holdings_tool.py:1827
↓ 1 callers
Method
execute
Update the current research goal status. Args: **kwargs: Tool arguments from the model. Returns: JSON envelo
agent/src/tools/goal_tool.py:278
↓ 1 callers
Method
execute
Return the current goal snapshot. Args: **kwargs: Optional session_id. Returns: JSON envelope with the curre
agent/src/tools/goal_tool.py:402
↓ 1 callers
Method
execute
Return the sanitized portfolio context as a JSON envelope. Returns: A JSON string with ``status`` ``ok`` and the context, ``empty
agent/src/tools/portfolio_tool.py:50
↓ 1 callers
Method
execute
Create or overwrite a user skill. Args: **kwargs: Must include name and content. Returns: JSON result string
agent/src/tools/skill_writer_tool.py:110
↓ 1 callers
Method
execute
Apply a find-and-replace patch to a skill. Searches user skills first, then bundled skills (copies to user dir before patching). Arg
agent/src/tools/skill_writer_tool.py:179
↓ 1 callers
Method
execute
Delete a user skill directory. Args: **kwargs: Must include name. Returns: JSON result string.
agent/src/tools/skill_writer_tool.py:246
↓ 1 callers
Method
execute
Manage skill auxiliary files. Args: **kwargs: action, skill_name, and optionally path/content. Returns: JSON
agent/src/tools/skill_writer_tool.py:306
↓ 1 callers
Method
execute
Fan out across providers and return a merged candidate envelope. Args: **kwargs: ``query`` (str, required free-text name/ticker)
agent/src/tools/symbol_search_tool.py:254
↓ 1 callers
Method
execute
Execute the artifact read (see :func:`read_run_artifact`).
agent/src/tools/run_artifact_tool.py:628
↓ 1 callers
Method
execute
(self, **kwargs: Any)
agent/src/tools/gildata_fin_query_tool.py:128
↓ 1 callers
Method
execute
(self, **kwargs: Any)
agent/src/tools/autopilot_tool.py:100
↓ 1 callers
Method
execute
(self, **kwargs: Any)
agent/src/tools/shadow_account_tool.py:356
↓ 1 callers
Method
execute
Validate inputs, dispatch by market, and return a JSON envelope. Args: **kwargs: ``code`` (str, required), ``statement`` (one of
agent/src/tools/financial_statements_tool.py:843
↓ 1 callers
Method
execute
(self, **kwargs)
agent/tests/test_result_artifacts.py:113
↓ 1 callers
Method
execute
(self, sql, params)
agent/tests/test_session_search_distinct_limit.py:62
← previous
next →
8,101–8,200 of 26,887, ranked by callers