MCPcopy Create free account

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

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

↓ 3 callersFunctionis_lse_symbol
Return whether a project symbol uses the supported LSE ``.L`` form. The suffix identifies the venue, not the quote currency. Every caller must
agent/backtest/loaders/base.py:55
↓ 3 callersFunctionis_no_network_fallback_source
Whether an explicit request for *source* must never silently degrade. The set itself stays module-private; callers outside the registry ask t
agent/backtest/loaders/registry.py:160
↓ 3 callersFunctionis_non_public_address
Return whether an endpoint address is outside the public internet. ``is_private`` misses the shared address space 100.64.0.0/10, which holds
agent/src/providers/endpoint_guard.py:34
↓ 3 callersFunctionis_readonly_connection_profile
Allow credential management for a verified read surface, even without valuation. Portfolio eligibility is stricter and remains controlled separat
agent/src/trading/connections.py:28
↓ 3 callersMethodis_ready
(self)
agent/tests/test_discord_stream_initial_chunking.py:17
↓ 3 callersMethodis_running
Return whether the background loop task is active.
agent/src/scheduling/kernel.py:187
↓ 3 callersMethodis_running
Check if the channel is running.
agent/src/channels/base.py:310
↓ 3 callersFunctionis_valid_source_order
True when ``order`` is a permutation of ``market``'s default chain. Multiset equality — every default member exactly once, nothing extra — so
agent/backtest/loaders/registry.py:509
↓ 3 callersFunctionkey_rate_duration
Decompose bond yield sensitivity into Key Rate Durations (KRD) across benchmark tenors. Distributes cash flow sensitivities to adjacent key rates
agent/src/quantlib/fixedincome.py:413
↓ 3 callersFunctionkmv_default_point
KMV default point: all short-term debt plus part of the long-term book. Args: short_term_debt: Debt maturing inside one year. lon
agent/src/quantlib/credit.py:453
↓ 3 callersFunctionkrx_price_limits
Return the (upper, lower) KRX limit prices for a base price. Implements the published three-step procedure: the band amount is ``base * limit
agent/backtest/engines/korea_equity.py:114
↓ 3 callersMethodlatest
Return the newest snapshot, but only if it covers today's selection. Returns: The snapshot envelope, or ``None`` when no snapshot
agent/src/portfolio/service.py:564
↓ 3 callersMethodlink_backtest
Link a run card or backtest artifact to a hypothesis. Args: hypothesis_id: Registry identifier. run_card_path: Option
agent/src/hypotheses/registry.py:282
↓ 3 callersMethodlist_artifacts
List artifacts with optional filters.
agent/src/strategy_store/store.py:86
↓ 3 callersFunctionlist_backtest_runs
List earlier runs, newest first, as a JSON envelope. Args: current_run_dir: The active turn's run directory (injected by the
agent/src/tools/backtest_runs_tool.py:133
↓ 3 callersMethodlist_claims
Return claims for a goal.
agent/src/goal/store.py:500
↓ 3 callersFunctionlist_delivery_targets
Load enabled operator targets without exposing raw provider ids.
agent/src/channels/targets.py:24
↓ 3 callersMethodlist_tasks
(self)
agent/src/pixel_agents/office.py:215
↓ 3 callersFunctionload_fundamental_panel
Load SEC fundamental fields as dense date-by-symbol panels. Args: symbols: Tickers to load. fields: Unified schema field names, r
agent/backtest/loaders/fundamentals_loader.py:197
↓ 3 callersFunctionload_industry_frame
Load PIT industry labels as a wide ``dates x symbols`` frame. Thin wrapper over :func:`load_industry_frame_with_coverage` for callers that do
agent/backtest/loaders/industry_loader.py:274
↓ 3 callersFunctionload_selected_profile_id
Load the selected trading profile id.
agent/src/trading/profiles.py:99
↓ 3 callersMethodload_support_file
Load a supporting file on demand. Args: filename: File name (e.g. examples.md). Returns: File content or Non
agent/src/agent/skills.py:42
↓ 3 callersFunctionloader_cache_range_is_final
Return whether ``end_date`` is settled enough to cache. The key is content-addressed on ``end_date`` but not on wall-clock fetch time, so cac
agent/backtest/loaders/base.py:564
↓ 3 callersFunctionloading_policy
Read the shipped tool-loading policy.
agent/src/agent/tool_loading.py:15
↓ 3 callersFunctionlocalizeStatus
( status: keyof typeof STATUS_TRANSLATION_KEYS, t: ManifestTranslation, )
frontend/src/lib/swarmI18n.ts:25
↓ 3 callersFunctionlong_straddle
Build a long call plus long put at the same strike.
agent/backtest/options_payoff.py:472
↓ 3 callersMethodlot_size
Board lot for one symbol: cn_a 100 / hk per-symbol / us 1.
agent/src/tools/paper_trade/rules.py:138
↓ 3 callersFunctionmagnitude_suffix
The magnitude mark following a figure, allowing horizontal spacing. ``K`` / ``M`` / ``B`` count only when no further letter follows, so "5MB"
agent/src/agent/grounding/figures.py:1066
↓ 3 callersFunctionmake_loader_cache_key
Build a stable content-addressed key for one loader payload.
agent/backtest/loaders/base.py:520
↓ 3 callersFunctionmake_single_server_agent_json
Write a minimal agent.json with one remote MCP server.
agent/tests/mcp_http_test_helpers.py:59
↓ 3 callersFunctionmark_done
Record that ``source/item`` was fully ingested.
agent/src/br_data/store.py:165
↓ 3 callersMethodmark_failure
Mark the run as failed. Args: run_dir: Run directory. reason: Failure reason.
agent/src/core/state.py:57
↓ 3 callersMethodmigrate_flat_entry
Move a flat-stored entry to its category subdir. Only moves if the file currently resides in base_dir (not already in a subdirectory)
agent/src/memory/hierarchy.py:381
↓ 3 callersMethodnext
(self)
agent/tests/factors/test_valuation_baostock_fallback.py:43
↓ 3 callersFunctionnormalize_crypto_symbol
Normalize USDT spot aliases without changing the requested quote asset.
agent/src/market_data.py:89
↓ 3 callersFunctionnpv
Net present value of a dated cash-flow series at a given annual rate. Discounting is from the series' earliest date, so ``npv(series, 0.0)`` is
agent/src/quantlib/fundmath.py:305
↓ 3 callersMethodobserve
Record a successful request; its pending results have now been seen.
agent/src/swarm/context.py:52
↓ 3 callersFunctionon_event
(event_type: str, data: Dict[str, Any])
agent/cli/_legacy.py:1116
↓ 3 callersFunctiononboarding_dict
Return the public onboarding contract for ``profile``.
agent/src/trading/onboarding.py:245
↓ 3 callersFunctiononboarding_for_profile
Resolve the setup contract for a built-in or local plugin profile.
agent/src/trading/onboarding.py:217
↓ 3 callersMethodopen_orders
Today's unfinished orders (JoinQuant's ``get_open_orders``). A partially ``filled`` order is still open — it can take further fills —
agent/src/tools/paper_trade/order_lifecycle.py:141
↓ 3 callersMethodorder_send
(self, request: dict[str, Any])
agent/tests/test_mt5_connector.py:194
↓ 3 callersFunctionoutcome_of
The server-derived headline for a parsed item list.
agent/src/scheduled_research/verdict.py:133
↓ 3 callersFunctionpages
Return every hand-written page that carries the shared chrome. Returns: Page paths, sorted.
wiki/scripts/sync_site_chrome.py:55
↓ 3 callersFunctionparsePositionsPanel
(rows: Array<Record<string, string>>)
frontend/src/lib/positions.ts:73
↓ 3 callersFunctionparse_frontmatter
Parse YAML-like frontmatter and body from a markdown file. Supports string, quoted string, list (``[a, b]``), and boolean values; a leading U
agent/src/agent/frontmatter.py:16
↓ 3 callersFunctionplaybook_dirs
Return the directories searched for playbooks, highest priority first. Args: directory: When given, the only directory searched. Ret
agent/src/scheduled_research/playbooks.py:358
↓ 3 callersFunctionplugin_root
Return the directory holding operator-installed connector plugins. Returns: ``<runtime root>/connectors``, the only directory adapters ar
agent/src/trading/local_plugins.py:98
↓ 3 callersFunctionpolicy_status
Return the active, non-secret policy for provider diagnostics.
agent/src/providers/tool_policy.py:48
↓ 3 callersMethodpoll
Forward status and opt-in reasoning, excluding answer drafts/results.
agent/src/channels/attempt_progress.py:36
↓ 3 callersMethodpositions_get
(self, ticket: int | None = None, **_: Any)
agent/tests/test_mt5_connector.py:155
↓ 3 callersFunctionprepare_registry
Select deferred exposure for large registries when enabled in config.
agent/src/agent/tool_loading.py:120
↓ 3 callersFunctionprice
(y)
agent/tests/quantlib/test_fixedincome.py:131
↓ 3 callersFunctionprint_banner
Render the cold-start banner once before the prompt appears.
agent/cli/ui/banner.py:55
↓ 3 callersFunctionpromptExceedsLimit
(prompt: string, limit: number)
frontend/src/lib/chatPrompt.ts:14
↓ 3 callersFunctionprompt_cache_messages
Return a message list whose leading system string carries a cache breakpoint. The system prompt is the end of the static prefix (tools render bef
agent/src/providers/chat.py:30
↓ 3 callersFunctionpseudo_observations
Transform empirical data to uniform [0, 1] pseudo-observations via rank transformation. Tied observations receive their average rank, and NaNs re
agent/src/quantlib/copula.py:27
↓ 3 callersMethodpublic_list
Return UI-facing rows for every stored connection. Returns: One mapping per connection, enriched with its profile metadata and
agent/src/trading/connections.py:316
↓ 3 callersFunctionpublic_metadata_value
Return a bounded, credential-free value for public run metadata.
agent/src/swarm/models.py:73
↓ 3 callersMethodpublish_inbound
Publish a message from a channel to the agent.
agent/src/channels/bus/queue.py:19
↓ 3 callersFunctionqqEntry
(overrides: Record<string, unknown> = {})
frontend/src/components/settings/__tests__/ChannelSettings.test.tsx:81
↓ 3 callersMethodquit
(self)
agent/tests/test_email_connection_test.py:196
↓ 3 callersFunctionquote
Return one ``get_equity_quotes`` ``quote`` object with every required field.
agent/tests/robinhood_mcp_helpers.py:139
↓ 3 callersFunctionread
()
agent/src/api/live_routes.py:737
↓ 3 callersFunctionread_export
Read and parse one extraETF export file. The file's modification time becomes ``source_mtime`` with ``as_of_source="file_mtime"``, because ne
agent/src/portfolio/extraetf.py:251
↓ 3 callersFunctionreap_stale
Purge heartbeat sentinels of runners that have gone stale. Mirrors the swarm reaper shape: scan every heartbeat, keep the live ones, delete t
agent/src/live/runtime/liveness.py:153
↓ 3 callersMethodrebuild_index
Write .hierarchy.yaml with per-category summary. Format: categories: <name>: count: <int>
agent/src/memory/hierarchy.py:200
↓ 3 callersMethodreconnect_source
Run a source's interactive OAuth flow on explicit user request. This is the only interactive path in the portfolio feature; an ordinary
agent/src/portfolio/service.py:624
↓ 3 callersMethodrecovery_message
Say what the stalled iterations kept doing, not just that they stalled. The fixed message this replaces described one scenario (an answer los
agent/src/agent/tool_progress.py:158
↓ 3 callersFunctionrefresh
()
frontend/src/components/settings/CustomProviderManager.tsx:32
↓ 3 callersMethodrefresh
(self)
agent/cli/ui/rail.py:316
↓ 3 callersFunctionregister
Class decorator: register a loader into the global registry. The class must have a ``name`` class attribute.
agent/backtest/loaders/registry.py:69
↓ 3 callersFunctionregister_advisory_provider
Register an advisory provider to be consulted on each review. Providers are consulted in registration order. Call :func:`clear_advisory_provi
agent/src/live/advisory/__init__.py:241
↓ 3 callersFunctionregister_pixel_office_routes
Mount read and mutation routes with the normal local/settings guards.
agent/src/api/pixel_office_routes.py:14
↓ 3 callersFunctionregister_sessions_routes
Mount session and goal routes using the host api_server dependencies.
agent/src/api/sessions_routes.py:384
↓ 3 callersFunctionregister_uploads_routes
Mount the upload routes onto ``app``. Args: app: The host FastAPI app. require_auth: Header-auth dependency for JSON endpoints.
agent/src/api/uploads_routes.py:79
↓ 3 callersFunctionremote_tool_name
Return the verified IBKR public MCP tool for a generic operation.
agent/src/trading/connectors/ibkr/mcp.py:27
↓ 3 callersMethodremove_entry
Delete a resolved entry without re-scanning to find it again.
agent/src/memory/persistent.py:336
↓ 3 callersFunctionrender_answer
Render assistant Markdown, upgrading pipe tables to Rich tables.
agent/cli/ui/transcript.py:70
↓ 3 callersFunctionrender_email_html
Render Markdown as a standalone HTML document suitable for email/PDF.
agent/src/channels/rich_text.py:59
↓ 3 callersFunctionrender_risk_xray_markdown
Render an x-ray report as a compact Markdown summary.
agent/backtest/risk_xray.py:373
↓ 3 callersFunctionreport_path
Resolve an opaque report ID, refusing traversal and symlink escapes.
agent/src/tools/report_artifacts.py:41
↓ 3 callersFunctionreports_dir
()
agent/src/shadow_account/storage.py:41
↓ 3 callersFunctionreset_code_cache
Clear the in-process memo (tests; the disk cache stays untouched).
agent/backtest/loaders/gildata_codes.py:186
↓ 3 callersFunctionresolve_claude_cli
Return the ``claude`` executable: ``CLAUDE_CLI_PATH``, PATH, then ``~/.local/bin``. Returns: Path or command name of the executable to ru
agent/src/providers/claude_cli.py:92
↓ 3 callersFunctionresolve_copilot_token
Resolve explicit credentials; the SDK handles stored CLI credentials.
agent/src/providers/copilot_auth.py:51
↓ 3 callersFunctionresolve_vendor_code
Resolve a project symbol to its Gildata internal code for ``kind``. Args: kind: Resolution wiring key — ``"hk_equity"`` or ``"cn_index"``
agent/backtest/loaders/gildata_codes.py:89
↓ 3 callersMethodretry_delay_ms
Return bounded exponential backoff for a failure count. ``1 -> base``, ``2 -> 2*base``, ``3 -> 4*base`` … clamped by ``retry_max_dela
agent/src/scheduling/kernel.py:340
↓ 3 callersMethodreview
Return the configured verdict, or raise if configured to fail. Every invocation appends *context* to :attr:`call_history` before any
agent/src/live/advisory/mock.py:61
↓ 3 callersFunctionroundToNiceStrike
(price: number)
frontend/src/lib/options.ts:238
↓ 3 callersMethodround_size
Round position size per market lot rules. Args: raw_size: Desired size. price: Current price. Returns:
agent/backtest/engines/base.py:643
↓ 3 callersMethodroute_entry
Determine storage path: base_dir/{memory_type}/{filename}. Creates category directory on demand. Falls back to base_dir for unknown t
agent/src/memory/hierarchy.py:70
↓ 3 callersMethodrun
()
agent/src/providers/copilot_auth.py:382
↓ 3 callersMethodrun
()
agent/tests/test_wecom_stream_id_continuity.py:40
↓ 3 callersMethodrun
()
agent/tests/test_weixin_media_filename_collision.py:60
↓ 3 callersMethodrun
(self, *, user_message: str, history, session_id: str)
agent/tests/test_session_tool_trail.py:156
↓ 3 callersFunctionrunTrades
( run: Pick<RunData, "artifacts_trades_csv" | "trade_log">, )
frontend/src/lib/runReports.ts:5
↓ 3 callersFunctionrun_factor_analysis
Run the full factor analysis pipeline: IC/IR + layered backtest. Args: factor_csv: Path to factor values CSV (index=date, columns=codes).
agent/src/tools/factor_analysis_tool.py:19
↓ 3 callersFunctionrunner_account_summary
Unwrap a live-path account read into the mapped summary. Args: connector: Broker key. envelope: The adapter's call result. R
agent/src/trading/service.py:1402
↓ 3 callersFunctionrvpi
Residual value to paid-in: unrealised NAV per unit drawn. Args: series: The cash flows, including the latest valuation mark. cont
agent/src/quantlib/fundmath.py:746
← previousnext →3,401–3,500 of 26,887, ranked by callers