MCPcopy Create free account

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

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

↓ 2 callersFunctionparse_iso_date
Best-effort ISO date parse; ``None`` when the token is unusable.
agent/src/strategy_discovery/run_artifacts.py:70
↓ 2 callersFunctionparse_record
Parse one COTAHIST line; ``None`` for header/trailer/malformed lines.
agent/src/br_data/cotahist.py:65
↓ 2 callersFunctionparse_source_order
Parse a comma-separated source order string. Tokens are stripped, lowercased, and empty ones dropped, so ``" TUSHARE, tencent ,, "`` parses t
agent/backtest/loaders/registry.py:498
↓ 2 callersMethodpayload
Return the client-facing workspace scope.
agent/src/channelsui/gateway_services.py:62
↓ 2 callersFunctionpctFmt
(v: number)
frontend/src/components/charts/ValidationPanel.tsx:39
↓ 2 callersFunctionpctToFraction
(pct: number)
frontend/src/lib/options.ts:168
↓ 2 callersFunctionpercent
(n: number | null | undefined, signed = false)
frontend/src/lib/shannon.ts:58
↓ 2 callersFunctionpercentage
(value: number | null | undefined)
frontend/src/pages/Portfolio.tsx:95
↓ 2 callersMethodpersist
()
desktop/electron/src/secure-credentials.ts:151
↓ 2 callersFunctionplugin_by_profile_id
Return the installed plugin that owns a profile id. Args: profile_id: Profile id declared by an installed connector manifest. Return
agent/src/trading/local_plugins.py:276
↓ 2 callersMethodpositions
(self, day: str)
agent/src/api/shannon_routes.py:40
↓ 2 callersFunctionpositions_root
(cfg: EtoroConfig)
agent/src/trading/connectors/etoro/client.py:245
↓ 2 callersFunctionprependUploadedAttachments
( prompt: string, attachments: UploadedAttachment[], )
frontend/src/lib/attachments.ts:11
↓ 2 callersFunctionprofile_supports_live_runner
Return whether a profile can run the managed live runner.
agent/src/trading/service.py:1289
↓ 2 callersMethodprojected_reduction_buying_power
Incremental buying power from planned closes on this bar. Default is the legacy immediate-credit behavior. Settlement-based markets c
agent/backtest/engines/base.py:594
↓ 2 callersFunctionpropose_rebalance
Compare a complete, dated snapshot with user-supplied allocation fractions. Args: snapshot: Immutable portfolio snapshot including FX and
agent/src/portfolio/rebalance.py:13
↓ 2 callersFunctionproxy_applies
Return whether the process proxy settings route ``url`` through a proxy. Args: url: The endpoint URL. Returns: True when a p
agent/src/providers/endpoint_guard.py:61
↓ 2 callersMethodprune_search_scope
Narrow search scope based on category filter or keyword overlap. If category_filter is set, only scan that category. Otherwise scan a
agent/src/memory/hierarchy.py:313
↓ 2 callersFunctionpublic_config
(cfg: EtoroConfig)
agent/src/trading/connectors/etoro/client.py:213
↓ 2 callersFunctionpublic_only_async_client
Build an async client whose every direct connection is checked. The transport is explicit, so environment proxies are not mounted; call this
agent/src/providers/endpoint_guard.py:155
↓ 2 callersFunctionpublishThemeChange
()
frontend/src/lib/theme-store.ts:16
↓ 2 callersFunctionpublish_pdf
Stage an actual PDF and return its opaque download handle. Args: path: Successful report output, not a model-supplied download path.
agent/src/tools/report_artifacts.py:17
↓ 2 callersMethodquery_history_k_data_plus
(self, code: str, fields: str, **kwargs: Any)
agent/tests/factors/test_valuation_baostock_fallback.py:67
↓ 2 callersMethodquery_strategies
Evidence-gated query: only rows backed by stored evidence qualify. Gate order (plan D9): quality floor → min_trades → cost_feasible (
agent/src/strategy_discovery/facade.py:417
↓ 2 callersFunctionread_halt
Read the sentinel metadata for a tripped kill switch. Args: broker: When ``None``, reads the global sentinel; otherwise the broker's.
agent/src/live/halt.py:166
↓ 2 callersFunctionread_metrics_trade_count
``trade_count`` from the ``artifacts/metrics.csv`` header row. The engine writes metrics.csv as one header row of metric names plus one value
agent/src/strategy_discovery/run_artifacts.py:338
↓ 2 callersMethodread_session_file
Return a JSON-like session row for WebSocket hydration.
agent/src/channelsui/gateway_services.py:236
↓ 2 callersFunctionreadiness_error
(to_date: str, market_data: data.MarketDataResult, plan: Collection[DayPlan])
agent/src/tools/paper_trade/engine.py:540
↓ 2 callersFunctionreconcile_ratio_changes
Put every in-window CEDEAR ratio change on one adjusted unit basis. A change from ``old`` to ``new`` CEDEARs per underlying share moves an un
agent/backtest/engines/argentina_equity.py:259
↓ 2 callersMethodreconnect_target
Validate and return the local-only configuration for an OAuth source.
agent/src/portfolio/service.py:674
↓ 2 callersFunctionreconstruct_price_series
Rebuild OHLC rows for a historical run using its generated loader. Args: run_dir: The run directory under ``runs/``. Returns:
agent/src/ui_services.py:441
↓ 2 callersMethodrecord_bench_once
Atomically record new evidence; ignore location and grading metadata.
agent/src/strategy_store/store.py:117
↓ 2 callersFunctionrecord_from_task
Project an in-memory task entry onto its durable shape.
agent/src/tools/background_store.py:195
↓ 2 callersMethodrecord_import_failure
Record a tool module that could not be imported during discovery.
agent/src/agent/tools.py:88
↓ 2 callersFunctionrecord_written_target
Remember a file written by write_file/edit_file for completion checks.
agent/src/agent/write_targets.py:29
↓ 2 callersFunctionrecording_loader
()
agent/tests/test_weekly_monthly_bars.py:119
↓ 2 callersFunctionrecords
Return the complete record list a Robinhood list read carries. This is the single-page contract: a reply that advertises a further page is re
agent/src/trading/connectors/robinhood/mcp.py:201
↓ 2 callersMethodrecovery_prompt
Build an executable next-step message for one bounded recovery turn.
agent/src/agent/grounding/release.py:343
↓ 2 callersMethodrecovery_summary
Return bounded-recovery budget state for traces and the artifact.
agent/src/agent/grounding/ledger.py:269
↓ 2 callersMethodrefresh
Refresh the live display when attached to a Rich Live context.
agent/cli/_legacy.py:582
↓ 2 callersFunctionregister_builtin
Register a built-in OCR engine class (shipped with core).
agent/src/tools/ocr/engine.py:59
↓ 2 callersFunctionregister_strategy_adaptation_routes
Mount mutation routes behind the settings-write guard.
agent/src/api/strategy_adaptation_routes.py:22
↓ 2 callersMethodreload_channel
(self, name: str, section: dict | None)
agent/tests/test_channels_config_api.py:62
↓ 2 callersMethodremove_job
Remove a job by id and wake the loop. Args: job_id: The id of the job to remove. Returns: ``True`` if a job
agent/src/live/runtime/scheduler.py:269
↓ 2 callersMethodremove_listener
Unregister a callback added by :meth:`add_listener`. Args: listener: The previously registered callback. Unknown callbacks
agent/src/session/events.py:147
↓ 2 callersFunctionrenderCurrent
()
wiki/docs/main.js:206
↓ 2 callersFunctionrenderNav
(currentId, lang, filter = "")
wiki/docs/main.js:134
↓ 2 callersFunctionrender_block
Render a block with its markers at the given indentation. Args: name: Block name. indent: Leading whitespace of the start marker.
wiki/scripts/sync_site_chrome.py:97
↓ 2 callersFunctionrender_config
Build the ``config.json`` dict for a shadow backtest run. Args: profile: ShadowProfile (used only for metadata, not for engine logic).
agent/src/shadow_account/codegen.py:243
↓ 2 callersFunctionrender_elapsed_status
Render the post-run timing line.
agent/cli/ui/transcript.py:61
↓ 2 callersFunctionrender_markdown_pdf
Render a paginated report atomically, retaining an old file on failure. Args: content: Markdown or plain text, never executable HTML.
agent/src/tools/pdf_report.py:175
↓ 2 callersFunctionrender_rebalance_notes_markdown
Render notes as a compact Markdown report.
agent/backtest/rebalance_notes.py:156
↓ 2 callersFunctionrender_recap
Return a deterministic dim recap of the previous turn.
agent/cli/ui/transcript.py:32
↓ 2 callersFunctionreports_root
Return the runtime-only generated report directory.
agent/src/tools/report_artifacts.py:12
↓ 2 callersMethodrequest_history_kline
(self, code, ktype=None, max_count=None)
agent/tests/test_futu_connector_period_hour_case.py:30
↓ 2 callersFunctionrequests_like_http_error
An exception shaped like ``requests.HTTPError``: it carries a ``.response`` with ``.status_code`` + ``.json()`` — what ``throttled_get_json``'s ``
agent/tests/test_tickerall_loader.py:71
↓ 2 callersFunctionrequireCredentialStore
()
desktop/electron/src/main.ts:244
↓ 2 callersFunctionresetComposer
()
frontend/src/pages/Scheduled.tsx:210
↓ 2 callersMethodreset_exposure
Start a new question without carrying unrelated schemas forward.
agent/src/agent/tool_loading.py:36
↓ 2 callersFunctionresolveBackend
(options: BackendResolutionOptions)
desktop/electron/src/backend-manager.ts:310
↓ 2 callersFunctionresolveDesktopLocale
(rawLocale: string | undefined)
desktop/electron/src/locales.ts:239
↓ 2 callersFunctionresolvePage
(pageId, lang)
wiki/docs/main.js:65
↓ 2 callersFunctionresolve_dependencies
Remove a completed task ID from blocked_by in all downstream tasks. Scans all task files under tasks_dir and removes completed_task_id from each
agent/src/swarm/task_store.py:117
↓ 2 callersFunctionresolve_preset_path
Return the YAML path for *name* (user dir first), or ``None``.
agent/src/swarm/presets.py:71
↓ 2 callersFunctionresolver
(src: str)
agent/tests/test_market_data.py:348
↓ 2 callersMethodrevalidate
Validate text WITHOUT counting it as a rejected draft. For the recheck that follows a deterministic repair or redaction. No model rou
agent/src/agent/grounding/ledger.py:373
↓ 2 callersMethodreview
Run every provider and return the aggregated worst-case verdict. An empty provider list yields an :class:`AggregatedVerdict` with :at
agent/src/live/advisory/__init__.py:195
↓ 2 callersFunctionrevisionForm
(revision: ResearchArtifactRevision)
frontend/src/pages/ResearchArtifacts.tsx:44
↓ 2 callersMethodrewrite_local_markdown_images
Return text unchanged until an HTTP media server is configured.
agent/src/channelsui/gateway_services.py:156
↓ 2 callersFunctionrobinhood
(accountRef: string)
frontend/src/components/portfolio/__tests__/ConnectionCenter.test.tsx:32
↓ 2 callersFunctionrobinhood_readonly_enabled_tools
Return the canonical Robinhood read-only tool allowlist.
agent/src/config/schema.py:308
↓ 2 callersFunctionrouteParts
()
wiki/docs/main.js:49
↓ 2 callersMethodrun
Run a declared predicate and record its actual findings, not code guesses.
agent/src/agent/grounding/registry.py:74
↓ 2 callersMethodrun
(self, *, user_message: str, history, session_id: str)
agent/tests/test_session_service_mcp.py:42
↓ 2 callersMethodrun
()
agent/tests/test_feishu_tool_hint_stream_key.py:57
↓ 2 callersFunctionrunCardFields
( preview: RunPreview | null, )
frontend/src/lib/runCards.ts:13
↓ 2 callersFunctionrunTaskkill
(arguments_)
desktop/electron/scripts/smoke-parent-death.mjs:134
↓ 2 callersFunctionrun_alpha_zoo
Module-level entry returning a parsed envelope (dict, not JSON string). Mirrors ``run_alpha_bench`` so CLI handlers can call without round-trip.
agent/src/tools/alpha_zoo_tool.py:97
↓ 2 callersMethodrun_backtest
Run the pipeline, refusing a code set that spans currencies. The check lives here rather than in ``__init__`` because the damage is i
agent/backtest/engines/composite.py:162
↓ 2 callersFunctionrun_daemon
Retired standalone daemon (scheduler unification): notice + ``0``. The daily sync now runs as the protected system job ``system:br-data-sync`
agent/src/br_data/sync.py:80
↓ 2 callersFunctionrun_day_loop
( *, market: str, account_state: AccountState, from_date: str, to_date: str, orders_by
agent/src/tools/paper_trade/engine.py:591
↓ 2 callersFunctionrun_level_error
First failed task's error, for a top-level ``error`` field. Returns ``None`` (an explicit null, not an absent key) when no task carries an er
agent/src/swarm/serialization.py:41
↓ 2 callersFunctionrun_loop
(**kwargs: Any)
agent/src/tools/paper_trade/strategy_exec.py:545
↓ 2 callersFunctionrun_onboarding
Run the 5-step wizard. Returns the written ``.env`` path or None. Returns ``None`` when the user cancels (Ctrl+C / Esc at step 1) so the call
agent/cli/onboard.py:402
↓ 2 callersFunctionrun_sync
Sync the selected sources; a failing source is reported, not fatal.
agent/src/br_data/sync.py:31
↓ 2 callersFunctionrunner_records
Unwrap a live-path list read into complete broker records. Args: connector: Broker key. operation: ``positions`` or ``orders``.
agent/src/trading/service.py:1375
↓ 2 callersFunctionrunner_settings_store
(broker: str)
agent/src/api/live_routes.py:1355
↓ 2 callersFunctionsafeRemove
(key: string)
frontend/src/lib/storage.ts:23
↓ 2 callersMethodsave
Save tested metadata and vault credentials without changing an active profile.
agent/src/providers/custom_profiles.py:50
↓ 2 callersFunctionsave_base64_data_url
Decode a base64 data URL and save it to *output_dir*. Args: data_url: A ``data:<mime>;base64,...`` URL. output_dir: Directory whe
agent/src/utils/media_decode.py:29
↓ 2 callersMethodsave_partial_response
Atomically persist the current streamed assistant text. Args: session_id: Session ID. attempt_id: Attempt ID.
agent/src/session/store.py:293
↓ 2 callersFunctionsave_result_parts
Save immutable parts that fit through the actual read_file JSON envelope. Args: content: Complete, already redacted result text.
agent/src/agent/result_artifacts.py:29
↓ 2 callersFunctionsave_selected_profile_id
Persist the selected trading profile id.
agent/src/trading/profiles.py:112
↓ 2 callersMethodsave_settings
Validate and persist editable settings. Args: payload: Untrusted settings from the Web UI or API. Returns: T
agent/src/portfolio/service.py:260
↓ 2 callersFunctionscenario
()
agent/tests/test_mcp_goal_session_isolation.py:33
↓ 2 callersFunctionscenario
()
agent/tests/test_channel_noop_refresh.py:128
↓ 2 callersFunctionscenario
()
agent/tests/test_dingtalk_file_download.py:47
↓ 2 callersFunctionscenario
()
agent/tests/test_state_migration_wiring.py:124
↓ 2 callersFunctionscenario
()
agent/tests/test_slack_dm_pairing.py:33
↓ 2 callersFunctionscenario
()
agent/tests/scheduling/test_system_jobs.py:521
← previousnext →5,001–5,100 of 26,887, ranked by callers