MCPcopy Create free account

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

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

↓ 2 callersFunctionhas_decay_inputs
Return True if at least one evaluate_decay input metric is available. With all inputs ``None``, ``DecayEvaluator.evaluate_decay`` defaults to
agent/src/strategy_store/metrics.py:20
↓ 2 callersMethodhas_five_minute_rows
(self, day: str)
agent/src/tools/paper_trade/data.py:359
↓ 2 callersFunctionheston_characteristic_function
Evaluate the Heston characteristic function phi(u) for log(S_T). Uses the Albrecher et al. (2007) formulation (Little Heston Trap stable branch).
agent/src/quantlib/volatility.py:74
↓ 2 callersFunctionhk_us_candidate_days
Weekdays (Mon-Fri) within the inclusive range, ascending. Zero-calendar day enumeration for hk/us: weekends are non-trading by Gregorian fact
agent/src/tools/paper_trade/calendar.py:274
↓ 2 callersFunctionhose_base_price
Resolve the reference price (giá tham chiếu) for *symbol* on this bar. Both sources are strictly historical, so neither leaks the decision bar's
agent/backtest/engines/vietnam_equity.py:221
↓ 2 callersFunctionhose_can_execute
Apply the HOSE execution rules, reading state and rules separately. A single-market run passes the same engine as both arguments. A composite
agent/backtest/engines/vietnam_equity.py:262
↓ 2 callersFunctionhose_price_limits
Return the (ceiling, floor) prices for *base_price* under *band*. Args: base_price: Reference price (giá tham chiếu) in VND. band
agent/backtest/engines/vietnam_equity.py:126
↓ 2 callersFunctionhose_settlement_ok
Return whether *symbol* may be sold, warning once if unenforceable. Args: state: Engine owning positions, fill ledger and bar cursor.
agent/backtest/engines/vietnam_equity.py:329
↓ 2 callersFunctionindia_can_execute
India delivery rules read against ``state`` with params from ``rules``. Composite runs pass the composite engine as ``state`` (shared positions
agent/backtest/engines/india_equity.py:128
↓ 2 callersFunctioninfer_indicator_periods
Infer moving-average periods from planner or design artifacts. Args: run_dir: The run directory under ``runs/``. Returns: So
agent/src/ui_services.py:151
↓ 2 callersFunctioninitSite
({ onToggle } = {})
wiki/site.js:254
↓ 2 callersMethodinitialize
()
desktop/electron/src/secure-credentials.ts:85
↓ 2 callersFunctioninspect_preset
Validate a swarm preset and return a dry-run execution plan. This does not start workers or call an LLM. It catches common YAML/DAG mistakes
agent/src/swarm/presets.py:171
↓ 2 callersFunctioninstall_metadata
(tmp_path, monkeypatch)
agent/tests/test_cli_update_vcs_install.py:15
↓ 2 callersMethodintrinsic_value
Calculate intrinsic value. Args: spot: Underlying spot price. Returns: Intrinsic value.
agent/backtest/engines/options_portfolio.py:182
↓ 2 callersFunctioninvalidate
()
frontend/src/components/charts/ShannonPortfolio.tsx:59
↓ 2 callersFunctioniron_condor
Build a defined-risk short iron condor.
agent/backtest/options_payoff.py:479
↓ 2 callersFunctionisAuthRequiredError
(error: unknown)
frontend/src/lib/api.ts:86
↓ 2 callersFunctionisCriterionStatusMet
(status: string)
frontend/src/components/chat/GoalPanel.tsx:7
↓ 2 callersFunctionisDateColumn
(key: string)
frontend/src/lib/positions.ts:37
↓ 2 callersFunctionisNavigationActive
(to: string, pathname: string)
frontend/src/components/layout/navigation.ts:26
↓ 2 callersFunctionisProcessAlive
(pid)
desktop/electron/scripts/process-sentinel.mjs:22
↓ 2 callersFunctionisRtl
(code: string)
frontend/src/i18n/index.ts:81
↓ 2 callersFunctionisSdkConnectionReady
(auth: LiveBrokerAuthStatus)
frontend/src/components/chat/RunnerStatus.tsx:93
↓ 2 callersFunctionisUpdateAttempt
(value: unknown)
desktop/electron/src/update-recovery.ts:172
↓ 2 callersFunctionis_context_overflow
Whether a provider error says the prompt exceeded the context window.
agent/src/agent/context_budget.py:112
↓ 2 callersFunctionis_decay_enabled
Check if importance decay is enabled via VT_MEMORY_DECAY env var.
agent/src/memory/lifecycle.py:49
↓ 2 callersFunctionis_executor_kind
Return whether *value* is a member of :data:`EXECUTOR_KINDS`.
agent/src/scheduling/types.py:31
↓ 2 callersFunctionis_live_broker_entry
Return whether a configured MCP server is a live broker. Detection is by config key (``LIVE_BROKER_SERVER_KEYS``) OR by URL host (``is_live_b
agent/src/config/schema.py:129
↓ 2 callersFunctionis_live_broker_url
Return whether a URL points at a known live-broker host. A live broker is detected by host so an aliased config key cannot bypass the wildcar
agent/src/config/schema.py:73
↓ 2 callersFunctionis_supported_token
Return whether ``token`` is accepted by the Copilot SDK.
agent/src/providers/copilot_auth.py:27
↓ 2 callersMethoditer_lines
(self)
agent/tests/test_openai_codex.py:485
↓ 2 callersFunctionivLabel
(iv: number)
frontend/src/lib/options.ts:416
↓ 2 callersFunctioniv_smile_adjustment
Adjust IV for moneyness using a quadratic smile model. IV(K) = base_iv + skew * log(K/S) + curvature * log(K/S)^2 Args: S: Spot pric
agent/backtest/engines/options_portfolio.py:79
↓ 2 callersMethodlast_error
(self)
agent/tests/test_mt5_connector.py:148
↓ 2 callersFunctionlast_price_usd
Last traded price (USD) for ``symbol`` via the data loaders, fail-closed. The fallback path the gate uses when the broker's own quote read tool i
agent/src/live/enforcement.py:246
↓ 2 callersFunctionlatch_path
Return the per-broker, per-episode sweep latch path (not created here). One file per halt episode (``FLATTEN_FIRED-<sha16>(episode)``): the sweep
agent/src/live/runtime/sweep_latch.py:38
↓ 2 callersFunctionlatestHandlers
()
frontend/src/pages/__tests__/AgentGroundingStatus.test.tsx:36
↓ 2 callersFunctionlatestHoldingDate
(panel: PositionsPanel)
frontend/src/lib/positions.ts:110
↓ 2 callersFunctionlatest_pending_for_session
Return the newest pending proposal bound to one conversation.
agent/src/scheduled_research/proposals.py:147
↓ 2 callersFunctionlaunch
(manager, ready: Path)
agent/tests/test_background_host_lifecycle.py:46
↓ 2 callersFunctionleaves
(value)
agent/tests/test_quantlib_result_budget.py:18
↓ 2 callersMethodlist
List import metadata; expired imports remain visible for replacement.
agent/src/portfolio/imports.py:126
↓ 2 callersMethodlist_attempts
Read every valid persisted attempt. Returns: Attempts found below the session storage root.
agent/src/session/store.py:257
↓ 2 callersFunctionlive_runner_profile_for_broker
Return the live-runner profile for a broker, if one exists.
agent/src/trading/service.py:1298
↓ 2 callersFunctionloadArtifacts
(search = "")
frontend/src/pages/ResearchArtifacts.tsx:77
↓ 2 callersFunctionload_5m_all
All of one symbol's fixture bars in ascending label order.
agent/tests/paper_trade_5m_fixtures.py:97
↓ 2 callersFunctionload_backtest_metrics
Parse ``artifacts/metrics.csv`` into backtest metrics. Args: run_dir: Run directory. Returns: Parsed metrics, or ``None`` wh
agent/src/api/run_artifacts.py:23
↓ 2 callersMethodload_markets
(self)
agent/tests/test_sdk_connectors.py:647
↓ 2 callersFunctionload_proposal
(proposal_id: str)
agent/src/scheduled_research/proposals.py:143
↓ 2 callersFunctionloader_cache_enabled
Return whether the local market-data cache is explicitly enabled. Returns: True only when the config yields a real ``True``. Any other va
agent/backtest/loaders/base.py:487
↓ 2 callersFunctionloader_contract_errors
Return contract violations for a normalized OHLCV frame. Mirrors the structural half of ``backtest.loader_health.check_frame`` (freshness del
agent/tests/loader_contract.py:47
↓ 2 callersFunctionlogin_openai_codex
Force interactive ChatGPT/Codex OAuth login into Vibe-owned storage.
agent/src/providers/openai_codex.py:256
↓ 2 callersMethodlot_violation
Whether ``qty`` violates the market lot rule (→ ``lot_size``). Non-positive qty is always a violation (the frozen vocabulary has no d
agent/src/tools/paper_trade/rules.py:149
↓ 2 callersFunctionmain
(argv: list[str] | None = None)
tools/ci_env_var_gate.py:247
↓ 2 callersFunctionmain
Load config, fetch data, run the selected backtest engine. With ``source="auto"``, routes each code through the appropriate loader. Args:
agent/backtest/runner.py:1433
↓ 2 callersFunctionmain
(argv: list[str] | None = None)
agent/src/br_data/__main__.py:33
↓ 2 callersFunctionmakeFactor
(overrides: Partial<FactorResult> = {})
frontend/src/components/charts/__tests__/FactorResearchPanel.test.tsx:25
↓ 2 callersFunctionmakeMessage
(overrides: Partial<AgentMessage> = {})
frontend/src/tests/helpers/factories.ts:5
↓ 2 callersFunctionmakeMsg
(overrides: Partial<StoredAgentMessage> = {})
frontend/src/components/chat/__tests__/ThinkingTimeline.test.tsx:26
↓ 2 callersFunctionmake_mcp_tool_name
Create the stable local tool name for a remote MCP tool. Args: server_name: Logical MCP server name. tool_name: Remote tool name
agent/src/tools/mcp.py:378
↓ 2 callersFunctionmake_session
Construct a configured :class:`PromptSession`. Args: history_path: Override for the persistent history file. ``None`` uses ``
agent/cli/input.py:258
↓ 2 callersFunctionmapTaskStatus
(value: unknown)
frontend/src/lib/swarmStatus.ts:95
↓ 2 callersFunctionmap_symbol
``PETR4.SA`` -> (``PETR4``, 10); ``PETR4F.SA`` -> (``PETR4F``, 20).
agent/backtest/loaders/b3_cotahist_loader.py:29
↓ 2 callersMethodmark_cancelled
Mark the attempt as user-cancelled. Cancelled is a distinct terminal status from FAILED so the UI does not misreport a cooperative ca
agent/src/session/models.py:334
↓ 2 callersMethodmark_failed
Mark the attempt as failed. Args: error: Error message.
agent/src/session/models.py:324
↓ 2 callersMethodmark_success
Mark the run as successful. Args: run_dir: Run directory.
agent/src/core/state.py:49
↓ 2 callersFunctionmarkerStyle
(value: number, min: number, max: number)
frontend/src/components/charts/ValidationPanel.tsx:213
↓ 2 callersFunctionmatched_market
Return the market matched by a routing rule, or None for unknown symbols.
agent/backtest/engines/_market_hooks.py:378
↓ 2 callersFunctionmean
(values: list[float])
agent/tests/memory/benchmarks/runner.py:393
↓ 2 callersFunctionmean_reciprocal_rank
MRR: reciprocal of the rank of the first relevant result. Args: retrieved: Ranked list of retrieved memory IDs. expected: Set of
agent/tests/memory/benchmarks/metrics.py:33
↓ 2 callersMethodmeasurement_start
Where the first measurement-shaped number in ``text`` starts, or None.
agent/src/agent/grounding/ledger.py:253
↓ 2 callersFunctionmergeSwarmRunUsage
( status: SwarmRunStatus, payload: Record<string, unknown>, )
frontend/src/lib/swarmStatus.ts:518
↓ 2 callersMethodmetadata
Return source metadata without underlying account identifiers.
agent/src/portfolio/imports.py:111
↓ 2 callersFunctionmetricSentiment
(k: string, v: number)
frontend/src/lib/formatters.ts:69
↓ 2 callersFunctionmoic
Multiple on invested capital: total value over the capital put to work. At fund level with paid-in as the denominator this equals :func:`tvpi`. T
agent/src/quantlib/fundmath.py:802
↓ 2 callersFunctionndcg_at_k
NDCG@K: Normalized Discounted Cumulative Gain at rank K. Uses binary relevance (1 if in ground truth, 0 otherwise). Position-aware: rewards r
agent/tests/memory/benchmarks/metrics.py:50
↓ 2 callersFunctionnewest_opening_bar_idx
Bar index of the most recent opening fill for *symbol* on *engine*. ``Position.entry_bar_idx`` alone is not a sound settlement clock. :meth:`
agent/backtest/engines/vietnam_equity.py:143
↓ 2 callersFunctionnext_once_due
Return the next run epoch-ms for a ``once``/``interval:<ms>`` trigger. ``None`` means the trigger is one-shot (``"once"``): it fires exactly once
agent/src/scheduling/triggers.py:336
↓ 2 callersFunctionniceStrikeStep
(price: number)
frontend/src/lib/options.ts:229
↓ 2 callersFunctionnormalizeBrokerScope
(broker: string | null | undefined)
frontend/src/components/chat/LiveRuntimePanel.tsx:28
↓ 2 callersFunctionnormalizeEquitySeries
( input: Array<Record<string, string>> | EquityPoint[] | undefined | null, )
frontend/src/lib/tearsheet.ts:69
↓ 2 callersFunctionnormalizeMathDelimiters
(content: string)
frontend/src/lib/markdown.ts:18
↓ 2 callersFunctionnormalizeRefreshState
* Coerce a refresh payload into the shape the progress panel renders. * * Older backends reported per-source progress under `brokers`, and a source
frontend/src/pages/Portfolio.tsx:503
↓ 2 callersFunctionnormalizeSha256
(value: string | undefined)
desktop/electron/src/update-verification.ts:274
↓ 2 callersFunctionnormalize_cli_app_mentions
Normalize CLI app mentions into a stable list of names.
agent/src/channelsui/cli_apps_api.py:8
↓ 2 callersFunctionnormalize_lse_quote_currency
Normalize a declared LSE quote into the engine's GBP-only contract. Args: frame: Normalized OHLCV frame. currency: Quote currency
agent/backtest/loaders/base.py:130
↓ 2 callersFunctionnormalize_mcp_preset_mentions
Normalize MCP preset mentions into a stable list of names.
agent/src/channelsui/mcp_presets_api.py:8
↓ 2 callersFunctionobj_get
(obj: Any, name: str, default: Any = None)
agent/src/trading/connectors/binance/shaping.py:30
↓ 2 callersFunctionoffered_tools
(tools: list[dict[str, Any]], *, legacy_defaults: bool = False)
agent/src/providers/tool_policy.py:66
↓ 2 callersFunctionoffice_action
Dispatch the bounded action vocabulary used on every surface.
agent/src/pixel_agents/office.py:219
↓ 2 callersFunctionopenArtifact
(artifactId: string)
frontend/src/pages/ResearchArtifacts.tsx:94
↓ 2 callersFunctionopenList
()
frontend/src/components/settings/ModelPicker.tsx:35
↓ 2 callersMethodorders_get
(self, ticket: int | None = None, **_: Any)
agent/tests/test_mt5_connector.py:161
↓ 2 callersFunctionpanel
(values, columns=ASSETS, start="2024-01-01")
agent/tests/quantlib/test_combination.py:17
↓ 2 callersFunctionpara
(text: str, st: ParagraphStyle = cell)
agent/src/shadow_account/pdf_fallback.py:124
↓ 2 callersFunctionparse
Yield ``tesouro_prices`` tuples from the published CSV.
agent/src/br_data/tesouro.py:25
↓ 2 callersFunctionparseHoldings
(text: string)
frontend/src/lib/shannon.ts:37
↓ 2 callersFunctionparseSemanticVersion
(value: string)
desktop/electron/src/update-verification.ts:259
↓ 2 callersFunctionparse_context_limit
Read the context limit a provider states in its overflow error, if any.
agent/src/agent/context_budget.py:118
← previousnext →4,901–5,000 of 26,887, ranked by callers