MCPcopy Create free account

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

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

↓ 2 callersFunctionscenario_grid
Calculate pre-expiry mark-to-market P&L over spot and volatility. The entry cost is pinned once using the entry spot/IV and includes entry co
agent/backtest/options_payoff.py:390
↓ 2 callersFunctionscheduler_enabled_from_env
Return whether the scheduled-research executor should run. The feature is disabled by default. Pass *value* in tests to avoid mutating proces
agent/src/scheduled_research/executor.py:97
↓ 2 callersFunctionseal_fixture
(result)
agent/tests/test_strategy_adaptation_workflow.py:48
↓ 2 callersMethodsearch
Search hypotheses by text and/or status. Args: query: Text query over title, thesis, universe, signal, sources, s
agent/src/hypotheses/registry.py:329
↓ 2 callersFunctionselect
(model: string)
frontend/src/components/settings/ModelPicker.tsx:40
↓ 2 callersMethodsend
(self, msg: OutboundMessage)
agent/src/channels/napcat.py:433
↓ 2 callersMethodsend
Send a message through this channel. Args: msg: The message to send. Implementations should raise on delivery failure so
agent/src/channels/base.py:136
↓ 2 callersFunctionsendToParent
(message: unknown)
desktop/electron/src/backend-watchdog.ts:119
↓ 2 callersMethodsend_goal_state
Push persisted goal-state snapshot for *chat_id* (multi-chat isolation).
agent/src/channels/websocket.py:1152
↓ 2 callersMethodsend_goal_status
Notify subscribed clients that a turn started or finished (wall-clock hint).
agent/src/channels/websocket.py:1162
↓ 2 callersMethodsend_reasoning_delta
Stream a chunk of model reasoning/thinking content. Default implementation emits no extra event. Channels with a native low-emphasis primitiv
agent/src/channels/base.py:173
↓ 2 callersMethodsend_reasoning_end
Mark the end of a reasoning stream segment. Default implementation emits no extra event. Channels that buffer ``send_reasoning_delta``
agent/src/channels/base.py:189
↓ 2 callersFunctionserve
Start the API server from CLI-style arguments.
agent/src/api/server_cli.py:11
↓ 2 callersFunctionset
(id, value)
wiki/alpha-library/alpha.js:12
↓ 2 callersFunctionsetApiAuthKey
(value: string)
frontend/src/lib/apiAuth.ts:9
↓ 2 callersFunctionsetPageLang
(lang)
wiki/site.js:157
↓ 2 callersFunctionsetPeriod
(period: string)
frontend/src/pages/AlphaZoo.tsx:659
↓ 2 callersFunctionsetUniverse
(universe: string)
frontend/src/pages/AlphaZoo.tsx:658
↓ 2 callersFunctionsetVisibleCount
(update: number | ((n: number) => number))
frontend/src/pages/AlphaZoo.tsx:153
↓ 2 callersMethodsettings
(self)
agent/tests/test_portfolio_routes.py:21
↓ 2 callersFunctionsetup
()
agent/tests/test_channel_reset_notice.py:94
↓ 2 callersFunctionsha256
(file: string)
desktop/electron/src/update-verification.ts:303
↓ 2 callersFunctionsha256
(file)
desktop/electron/scripts/prepare-electron.mjs:182
↓ 2 callersFunctionshort_margin_per_unit
CBOE-style short margin per unit: premium plus the larger of ``margin_rate`` of spot minus the out-of-the-money amount and a ``margin_
agent/backtest/engines/options_portfolio.py:296
↓ 2 callersFunctionshould_cancel
()
agent/tests/test_chat_llm_streaming.py:184
↓ 2 callersFunctionshowApplied
(result: ChannelPutResult, fallback: string)
frontend/src/components/settings/ChannelConfigPanel.tsx:428
↓ 2 callersMethodshutdown
(self)
agent/tests/test_mt5_connector.py:145
↓ 2 callersFunctionshutdownAndQuit
()
desktop/electron/src/main.ts:249
↓ 2 callersFunctionsignedAxisBounds
* Signed axis range: `[0, nice(max)]` when every value is non-negative, * otherwise a symmetric `[-nice, +nice]` so short exposure is never clipped
frontend/src/components/run/PositionsTab.tsx:60
↓ 2 callersFunctionslackEntry
(overrides: Record<string, unknown> = {})
frontend/src/components/settings/__tests__/ChannelSettings.test.tsx:293
↓ 2 callersFunctionslugify
(s)
wiki/scripts/prerender_docs.mjs:22
↓ 2 callersFunctionslugify
(text)
wiki/docs/main.js:34
↓ 2 callersMethodsma
(self, close: pd.Series, period: int)
agent/src/tools/paper_trade/strategy_exec.py:151
↓ 2 callersMethodsnapshot_by_id
Return one stored snapshot exactly as persisted, never recomputed. Args: snapshot_id: Exact persisted snapshot identifier.
agent/src/portfolio/service.py:606
↓ 2 callersMethodsnapshot_by_id
(self, snapshot_id)
agent/tests/test_cli_portfolio.py:33
↓ 2 callersMethodsources
Return local read-only connections eligible for this portfolio. Returns: One catalog row per registered connection, flagged as se
agent/src/portfolio/service.py:274
↓ 2 callersMethodsources
Return the scripted source catalog rows.
agent/tests/test_cli_portfolio.py:43
↓ 2 callersMethodstart
()
desktop/electron/src/backend-manager.ts:78
↓ 2 callersFunctionstartUnrelatedPythonSentinel
()
desktop/electron/scripts/process-sentinel.mjs:3
↓ 2 callersMethodstatus
()
desktop/electron/src/secure-credentials.ts:93
↓ 2 callersMethodstop
(self)
agent/src/channels/whatsapp.py:360
↓ 2 callersMethodstop
Stop the scheduler loop and await its teardown. Idempotent: calling :meth:`stop` when not running is a no-op. Safe to call from withi
agent/src/live/runtime/scheduler.py:293
↓ 2 callersMethodstopForUpdate
()
desktop/electron/src/backend-manager.ts:221
↓ 2 callersFunctionstopTimer
()
frontend/src/components/chat/ActivityLine.tsx:87
↓ 2 callersMethodstop_loop
Stop and await an injected scheduler (idempotent). Callers must await this method so the scheduler has stopped before they restart th
agent/src/live/runtime/runner.py:1022
↓ 2 callersFunctionstoreLang
(lang)
wiki/site.js:41
↓ 2 callersFunctionstream
()
agent/tests/test_chat_stream_interruption.py:203
↓ 2 callersMethodstream
Run one decision, yielding an empty chunk every second until it lands. Args: messages: Conversation so far, as LangChain messages
agent/src/providers/claude_cli.py:577
↓ 2 callersMethodstream_chat
Stream the LLM and optionally forward text deltas (e.g. thinking). Iterates AIMessageChunk; text deltas invoke ``on_text_chunk`` and
agent/src/providers/chat.py:480
↓ 2 callersFunctionsubmit
(request: dict[str, Any])
agent/tests/test_runtime_flatten.py:390
↓ 2 callersMethodsubmit
Accept a new order; the id must not collide with a live or dead one.
agent/src/tools/paper_trade/order_lifecycle.py:150
↓ 2 callersMethodsubscribe
Subscribe to a session event stream asynchronously. Args: session_id: Session ID. last_event_id: Last event ID receiv
agent/src/session/events.py:239
↓ 2 callersMethodsymbol_select
(self, name: str, enable: bool = True)
agent/tests/test_mt5_connector.py:176
↓ 2 callersMethodsymbols_get
(self, group: str | None = None)
agent/tests/test_mt5_connector.py:179
↓ 2 callersFunctionsyncTheme
(nextDark: boolean)
frontend/src/hooks/useDarkMode.ts:35
↓ 2 callersFunctionsync_job_enabled
Whether the br-data daily-sync system job is enabled. Reads ``VIBE_BR_SYNC_ENABLED`` via the cached ``EnvConfig`` singleton (default ``False`
agent/src/br_data/scheduling.py:56
↓ 2 callersFunctionsync_translated_overview
Refresh the broker rows while preserving the translated four-column header.
agent/src/trading/capability_matrix.py:126
↓ 2 callersFunctiontail_risk_identity
The tail-risk identity an evidence field names, e.g. ``var_95``. Read off the FIELD NAME a tool returned — never off answer prose, which the
agent/src/agent/grounding/evidence.py:564
↓ 2 callersFunctiontcp_port_open
Return whether a TCP socket accepts connections.
agent/src/trading/connectors/futu/sdk.py:1026
↓ 2 callersFunctionthrottled_post_json
Throttled POST of a JSON body that decodes the response as JSON. POST twin of :func:`throttled_get_json` for JSON-RPC style providers (e.g. M
agent/backtest/loaders/_http.py:289
↓ 2 callersMethodtime_to_expiry
Calculate time remaining to expiry in years. Args: current_date: Current date. Returns: Time to expiry in ye
agent/backtest/engines/options_portfolio.py:159
↓ 2 callersFunctiontoDrawdownZones
(episodes: DrawdownEpisode[], lastTime: string)
frontend/src/lib/tearsheet.ts:240
↓ 2 callersFunctiontoForm
(settings: LLMSettings)
frontend/src/pages/Settings.tsx:28
↓ 2 callersMethodto_dict
(self)
agent/src/pixel_agents/office.py:39
↓ 2 callersMethodto_dict
Serialize to a plain JSON-serializable dict. Returns: A dict containing all job fields, with ``status`` as its string
agent/src/scheduled_research/models.py:270
↓ 2 callersMethodto_dict
Return a JSON-serializable copy of this source. Returns: A plain dict with the same fields as the dataclass.
agent/src/portfolio/config.py:49
↓ 2 callersMethodto_dict
Return a JSON-serializable availability payload.
agent/src/channels/registry.py:107
↓ 2 callersMethodto_dict
Return a JSON-serializable representation.
agent/src/governance/ledger.py:173
↓ 2 callersMethodto_dict
Return a JSON-safe representation.
agent/evals/harness/schema.py:192
↓ 2 callersMethodto_record
Return the redacted, JSON-serializable record for this event. Sensitive keys anywhere in the structure (notably inside ``broker_reque
agent/src/live/audit.py:217
↓ 2 callersMethodto_summary
Generate a state summary for the LLM. Includes run_dir and tool counters. This summary survives context compression and helps the LLM
agent/src/agent/memory.py:37
↓ 2 callersFunctiontool_name
(definition: dict[str, Any])
agent/src/providers/tool_policy.py:62
↓ 2 callersFunctiontopological_layers
Kahn's algorithm topological layering; tasks in the same layer can run in parallel. Args: tasks: List of SwarmTask (must be a valid acycl
agent/src/swarm/task_store.py:207
↓ 2 callersMethodtotal
Return the sector's total contribution to the active return. Returns: Sum of the allocation, selection and interaction effects.
agent/src/quantlib/attribution.py:97
↓ 2 callersFunctiontradeTime
(tr: Record<string, string>)
frontend/src/pages/RunDetail.tsx:969
↓ 2 callersFunctiontriangle
Detect triangle patterns. Args: close: Closing price series. window: Detection window size. Returns: Series with 1 (
agent/src/tools/pattern_tool.py:235
↓ 2 callersFunctiontruncatePrompt
(prompt: string | undefined, maxLen = 40)
frontend/src/pages/Compare.tsx:58
↓ 2 callersMethodunit_scale
Adjusted units per real certificate on *timestamp* (``new/old`` before a change).
agent/backtest/engines/argentina_equity.py:555
↓ 2 callersMethodupdate_attempt
Update an execution attempt. Args: attempt: Modified Attempt.
agent/src/session/store.py:246
↓ 2 callersFunctionuseDarkMode
()
frontend/src/hooks/useDarkMode.ts:23
↓ 2 callersFunctionuseReadiness
()
frontend/src/pages/AlphaZoo.tsx:1261
↓ 2 callersFunctionuseSSE
(config?: SSEConfig)
frontend/src/hooks/useSSE.ts:27
↓ 2 callersFunctionvalidate_account_ref
Return a stripped opaque account reference, or raise. Args: value: Untrusted account reference; ``None`` means no account. Returns:
agent/src/trading/connections.py:73
↓ 2 callersFunctionvalidate_dag
DFS cycle detection to ensure the task DAG is acyclic. Args: tasks: List of SwarmTask. Raises: ValueError: If a cycle is det
agent/src/swarm/task_store.py:154
↓ 2 callersFunctionvalidate_valuation_fields
Validate and de-duplicate requested ``val:`` field names. Args: fields: Field names with the ``val:`` prefix already stripped. Retur
agent/backtest/loaders/valuation_loader.py:50
↓ 2 callersMethodvalidated
Reject a malformed USD base or a non-finite/non-positive rate.
agent/src/portfolio/fx.py:72
↓ 2 callersFunctionverifyWindowsUpdateCandidate
( candidate: UpdateCandidate, policy: UpdateVerificationPolicy, inspectSignature: SignatureInspector = i
desktop/electron/src/update-verification.ts:51
↓ 2 callersFunctionvisit
(node: ast.AST, factor: bool)
agent/src/agent/grounding/policies.py:276
↓ 2 callersFunctionwebui_transcription_event
Return a structured response when transcription is not configured.
agent/src/channelsui/transcription_ws.py:8
↓ 2 callersFunctionwithCashSlice
(weights: Record<string, number>)
frontend/src/lib/positions.ts:198
↓ 2 callersMethodwith_overrides
Return a copy with CLI/tool overrides applied.
agent/src/trading/connectors/kis/sdk.py:154
↓ 2 callersFunctionwith_price_loader
Override the offline default with a fixture loader the test controls.
agent/tests/test_shadow_account.py:1286
↓ 2 callersMethodwrap
(self, availWidth, availHeight)
agent/src/tools/pdf_report.py:126
↓ 2 callersFunctionwrite_byma_artifacts
``artifacts/cash_ledger.csv`` and ``artifacts/byma_preparation.json``.
agent/backtest/engines/argentina_equity.py:806
↓ 2 callersMethodwrite_pdf
(self, target: str)
agent/tests/test_shadow_account.py:1004
↓ 2 callersFunctionwrite_rebalance_notes
Write notes to ``path`` as strict, RFC-8259 JSON. Mirrors :func:`backtest.validation.write_validation_json`: sanitize with ``_json_safe`` (no
agent/backtest/rebalance_notes.py:190
↓ 2 callersFunctionwrite_risk_xray
Write the report to ``path`` as strict, RFC-8259 JSON. Same contract as ``write_rebalance_notes``: sanitize with ``_json_safe`` and serialize
agent/backtest/risk_xray.py:414
↓ 2 callersFunctionwrite_run_dir
Materialize a full run_dir with ``code/signal_engine.py`` + ``config.json``. Raises: ValueError: Generated signal_engine fails static val
agent/src/shadow_account/codegen.py:280
↓ 2 callersFunctionz
(frame)
agent/tests/quantlib/test_combination.py:34
↓ 1 callersFunctionLayout
()
frontend/src/components/layout/Layout.tsx:21
← previousnext →5,101–5,200 of 26,887, ranked by callers