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
Method
_register_response_callbacks
(self)
agent/src/channels/matrix.py:608
↓ 1 callers
Method
_register_to_device_callbacks
(self)
agent/src/channels/matrix.py:601
↓ 1 callers
Function
_registered_alpha_ids
()
agent/tests/factors/test_lookahead.py:134
↓ 1 callers
Function
_registered_tool_names
Scrape the tool ``name`` class attributes straight from ``src/tools``. Reads the sources instead of importing the registry so the check needs no
agent/tests/test_institutional_commands.py:329
↓ 1 callers
Function
_rehome_artifact_paths
Copy a kept task's run-relative artifacts into *target_run_dir*. Workers persist artifacts as POSIX paths relative to the run directory (``ar
agent/src/swarm/runtime.py:190
↓ 1 callers
Method
_reinforce
(self, kwargs: dict)
agent/src/tools/remember_tool.py:168
↓ 1 callers
Function
_reject_forbidden_getattr
Reject getattr/setattr/delattr indirection onto ``os`` / forbidden modules. Closes the documented bypass ``getattr(os, "system")("id")`` — and co
agent/backtest/runner.py:632
↓ 1 callers
Function
_reject_forbidden_node
Raise ``ValueError`` if a single AST node performs a forbidden operation.
agent/backtest/runner.py:659
↓ 1 callers
Function
_reject_forbidden_open
Reject ``open()`` used to write files or read a non-relative-literal path.
agent/backtest/runner.py:557
↓ 1 callers
Function
_reject_forbidden_pathlib_write
Reject the pathlib spellings of a file write that ``open()`` already bars. ``_reject_forbidden_open`` refuses ``open(path, "w")``, but the identi
agent/backtest/runner.py:588
↓ 1 callers
Function
_relative_path
(token: str)
agent/src/providers/tool_policy.py:75
↓ 1 callers
Method
_release_note
Explain the redaction to the user, with the observed range.
agent/src/agent/grounding/release.py:794
↓ 1 callers
Method
_reload_channel_locked
(self, name: str, section: dict | None)
agent/src/channels/manager.py:346
↓ 1 callers
Method
_remember_message_id
(self, key: str, message_id: str)
agent/src/channels/mochat.py:760
↓ 1 callers
Method
_remember_processed_uid
Track a fetched UID so skipped messages are not reprocessed forever.
agent/src/channels/email.py:752
↓ 1 callers
Method
_remember_responses_required
Record a chat-completions refusal naming /v1/responses; report a one-shot retry. OpenAI's gpt-5.6-* reject function tools on ``/v1/chat/c
agent/src/providers/llm.py:597
↓ 1 callers
Method
_remember_self_jids
(self, client: Any)
agent/src/channels/whatsapp.py:492
↓ 1 callers
Method
_remember_temperature_unsupported
Record a temperature-unsupported error and report a one-shot retry. Mirrors the native Anthropic path for the generic OpenAI-compatible
agent/src/providers/llm.py:570
↓ 1 callers
Function
_remote_status
Return local authorization/config status for a remote MCP profile.
agent/src/trading/service.py:1479
↓ 1 callers
Function
_remote_tool_metadata
Return MCP routing metadata for ``tool_name`` if it's a remote MCP tool. Auditors of ``events.jsonl`` need to tell at a glance which remote MCP
agent/src/swarm/worker.py:1263
↓ 1 callers
Function
_remote_tool_name
Map generic read operations to current remote MCP tool names.
agent/src/trading/service.py:1668
↓ 1 callers
Function
_remove_empty_source
(source: Path)
agent/src/config/migrate.py:105
↓ 1 callers
Method
_remove_file
Remove a file from a skill directory.
agent/src/tools/skill_writer_tool.py:384
↓ 1 callers
Method
_remove_reaction
Remove a reaction emoji from a message (non-blocking). Used to clear the "processing" indicator after bot replies.
agent/src/channels/feishu.py:1067
↓ 1 callers
Function
_render
Split messages into the system prompt and the stdin transcript. A lone user message is passed through verbatim so a swarm worker's prompt rea
agent/src/providers/claude_cli.py:174
↓ 1 callers
Function
_render_attribution_waterfall
(result: ShadowBacktestResult, path: Path)
agent/src/shadow_account/reporter.py:235
↓ 1 callers
Function
_render_card
Print the full playbook card for ``playbook``. Steps go into a two-column ``Table.grid`` rather than a flat ``Text`` so the ``in`` / ``comput
agent/cli/commands/institutional/runner.py:55
↓ 1 callers
Function
_render_charts
Render all charts and return a map section → file URI. Any failure is logged and the affected chart is dropped from the map.
agent/src/shadow_account/reporter.py:157
↓ 1 callers
Function
_render_compare_table
Print a head-to-head ranking table to stderr (nice-to-have, never fatal).
agent/src/factors/cli_handlers.py:853
↓ 1 callers
Function
_render_env_content
Render .env content with stable ordering.
agent/cli/_legacy.py:6047
↓ 1 callers
Function
_render_equity_curve
(result: ShadowBacktestResult, path: Path)
agent/src/shadow_account/reporter.py:183
↓ 1 callers
Function
_render_html_manual
Hand-rolled fallback. Every interpolated value goes through html.escape.
agent/src/tools/alpha_bench_tool.py:1162
↓ 1 callers
Method
_render_lines
(self, step: RailStep)
agent/cli/ui/rail.py:459
↓ 1 callers
Function
_render_mandate_proposal
Print the numbered mandate-proposal choice block (SPEC.md Consent §2). Renders the agent's candidate mandate profiles as a numbered list with the
agent/cli/main.py:1008
↓ 1 callers
Function
_render_markdown
(card: Mapping[str, Any])
agent/backtest/run_card.py:510
↓ 1 callers
Function
_render_markdown_html
Render markdown to sanitized HTML; returns None for plain text.
agent/src/channels/matrix.py:134
↓ 1 callers
Function
_render_outline
Render the heading tree of a skill within :data:`_OUTLINE_CHARS`. Detail is dropped in tiers rather than cutting the tail, so the agent always
agent/src/tools/load_skill_tool.py:55
↓ 1 callers
Function
_render_pdf
Render the PDF, preferring weasyprint and falling back to reportlab. weasyprint needs system pango/cairo libraries that pip cannot install; o
agent/src/shadow_account/reporter.py:346
↓ 1 callers
Function
_render_per_market_bar
(result: ShadowBacktestResult, path: Path)
agent/src/shadow_account/reporter.py:207
↓ 1 callers
Function
_render_profile_text
Build the Section 1 one-paragraph portrait (English).
agent/src/shadow_account/extractor.py:580
↓ 1 callers
Method
_render_progress_row
Render a single active-tool progress row for the Current grid.
agent/cli/_legacy.py:719
↓ 1 callers
Function
_render_summary
Human-readable refresh summary: rows written, strategies, skipped table.
agent/cli/commands/strategy_evidence.py:39
↓ 1 callers
Function
_render_turn
Compose the meta header line for one turn.
agent/cli/components/chat_log.py:34
↓ 1 callers
Function
_render_value
Compact ``repr``-ish formatting suitable for inline arg display.
agent/cli/components/tool_event.py:98
↓ 1 callers
Method
_repeatedly_rejected
Figures in this draft that an earlier draft was already refused for. Args: issues: The current draft's figure issues. Re
agent/src/agent/grounding/release.py:294
↓ 1 callers
Function
_replace_with_retry
``os.replace`` retried on the Windows concurrent-access race. A reader holding ``target`` open (e.g. ``load_run`` on the poll path) makes Win
agent/src/swarm/store.py:98
↓ 1 callers
Function
_replay_context_result
Annotate a restored readonly result with planner guidance. Replay exists to recover evidence that context compaction removed, not to trigger
agent/src/agent/context_compact.py:198
↓ 1 callers
Method
_replay_history
Persist the history OpenBB supplied into the ephemeral session. Every message preceding the final human message is replayed so the agent
agent/src/openbb_bridge/adapter.py:221
↓ 1 callers
Method
_reply_subject
(self, base_subject: str)
agent/src/channels/email.py:1217
↓ 1 callers
Function
_report
(message: str)
agent/backtest/runner.py:1684
↓ 1 callers
Function
_report_is_unsafe
Return whether a reconcile report flags an unsafe / ambiguous state. R4 owns :class:`~src.live.runtime.reconcile.ReconcileReport`; its concrete
agent/src/live/runtime/runner.py:141
↓ 1 callers
Function
_reported
Return a position field, or ``None`` where Futu did not report it. Futu fills an unreported field with the string ``"N/A"``. Downstream that
agent/src/trading/connectors/futu/sdk.py:1245
↓ 1 callers
Function
_request
(order: Order)
agent/src/tools/paper_trade/session_5m.py:52
↓ 1 callers
Function
_request
Run an HTTP request and normalize Trading 212 failure modes.
agent/src/trading/connectors/trading212/sdk.py:398
↓ 1 callers
Method
_require_claim
(self, goal_id: str, claim_id: str)
agent/src/goal/store.py:887
↓ 1 callers
Function
_require_coherent_totals
( account: Mapping[str, float], positions: list[dict[str, Any]], close_enough: CloseEnough, )
agent/src/trading/connectors/binance/usdm.py:257
↓ 1 callers
Function
_require_corpus
Skip the benchmark suite when corpus files are missing.
agent/tests/memory/benchmarks/conftest.py:22
↓ 1 callers
Method
_require_criterion
(self, goal_id: str, criterion_id: str)
agent/src/goal/store.py:875
↓ 1 callers
Function
_require_daily_interval
(interval: str, market: str)
agent/backtest/loaders/akshare_loader.py:36
↓ 1 callers
Function
_require_dict
Return ``value`` as a dict or raise ``TypeError`` naming ``field``.
agent/src/live/mandate/store.py:123
↓ 1 callers
Function
_require_directory
(path: Path, label: str)
agent/evals/harness/artifacts.py:83
↓ 1 callers
Function
_require_equity_only_robinhood_account
Refuse a Robinhood account whose holdings reach beyond equities. ``get_equity_positions`` lists equities only, while ``get_portfolio`` reports
agent/src/portfolio/compatibility.py:180
↓ 1 callers
Function
_require_finite
Check a value is a finite number, refusing NaN and infinity. Args: value: The candidate value. name: Field name for the error mes
agent/src/quantlib/valuation/threestatement.py:450
↓ 1 callers
Function
_require_nonnegative
Check a value that is a signed bridge formula's magnitude, so must be >= 0. A negative magnitude here would silently flip the sign the bridge
agent/src/quantlib/valuation/comps.py:406
↓ 1 callers
Function
_require_one_way
(rows: list[Mapping[str, Any]])
agent/src/trading/connectors/binance/usdm.py:290
↓ 1 callers
Function
_require_shutdown_authorization
Authorize the local shutdown control-plane action.
agent/src/api/security.py:434
↓ 1 callers
Method
_require_unfinished
(state: OrderState, action: str)
agent/src/tools/paper_trade/order_lifecycle.py:277
↓ 1 callers
Function
_require_usdt_assets
(account: Mapping[str, Any])
agent/src/trading/connectors/binance/usdm.py:230
↓ 1 callers
Function
_required
(value: str, name: str)
agent/src/research_artifacts/store.py:47
↓ 1 callers
Function
_required_float
Read a required finite float.
agent/src/tools/options_payoff_tool.py:263
↓ 1 callers
Function
_reraise_if_range_too_large
Convert the endpoint's ``range_too_large`` 400 into :class:`IncompleteHistoryError`. A window wider than the endpoint's per-request limit is reje
agent/backtest/loaders/tickerall_loader.py:341
↓ 1 callers
Method
_reset_database
(path: Path)
agent/src/channels/whatsapp.py:675
↓ 1 callers
Function
_reshaper
Keep Arabic vowel marks when shaping for visual RTL order.
agent/src/tools/pdf_report.py:31
↓ 1 callers
Method
_resolve
Look up a callable, or return an error envelope string. Args: module_name: Short module name. function_name: Public f
agent/src/tools/quantlib_tool.py:365
↓ 1 callers
Function
_resolve_a_share_secid
Map an A-share ``code`` + exchange ``suffix`` to its Eastmoney secid. SH instruments live on market ``1``; SZ and BJ (Beijing exchange) on ``0``.
agent/backtest/loaders/eastmoney_client.py:132
↓ 1 callers
Function
_resolve_allow_flatten
Decide whether positions may be flattened on this trip. An explicit ``allow_flatten`` argument always wins. Otherwise the active mandate is c
agent/src/live/runtime/flatten.py:138
↓ 1 callers
Function
_resolve_artifact
Map an alias or manifest-listed path to a file inside ``run_root``. Friendly aliases resolve by a fixed mapping and need no card; any other v
agent/src/tools/run_artifact_tool.py:157
↓ 1 callers
Function
_resolve_broker_symbol
Resolve a project code to one unambiguous broker symbol name. Order: the raw token exactly (case-sensitive broker names pass through), the no
agent/backtest/loaders/mt5_loader.py:136
↓ 1 callers
Function
_resolve_chain_value
Total a quarter's reported portfolio value from cover pages alone. Cheaper than :func:`_resolve_chain_holdings` — used by ``top_managers``, w
agent/src/tools/institutional_holdings_tool.py:1431
↓ 1 callers
Method
_resolve_channel_name
(self, name: str)
agent/src/channels/slack.py:252
↓ 1 callers
Function
_resolve_ciks
Map each symbol to its SEC CIK. Args: symbols: Requested symbols. Returns: A symbol -> CIK mapping; the value is ``None`` fo
agent/backtest/loaders/fundamentals_loader.py:419
↓ 1 callers
Function
_resolve_clients
Resolve (calendar_client, limits_client, ch_client) for ``market``. ``_AUTO`` seams resolve from ONE shared cn_a ClickHouse connector (calendar
agent/src/tools/paper_trade/tool.py:154
↓ 1 callers
Function
_resolve_columns
Map canonical field names onto this file's actual column headers. Args: header: Column names as they appear in the file. columns:
agent/src/entities/ingest.py:89
↓ 1 callers
Function
_resolve_config_path
Resolve the config file to update. Args: config_path: Explicit config path, or ``None`` to use discovery. Returns: The expli
agent/src/config/writer.py:34
↓ 1 callers
Function
_resolve_console
Return ``console`` if given, else the shared CLI console.
agent/cli/components/chat_log.py:25
↓ 1 callers
Function
_resolve_console
Return the shared CLI console.
agent/cli/components/working_indicator.py:47
↓ 1 callers
Function
_resolve_console
Return the shared CLI console.
agent/cli/commands/memory.py:19
↓ 1 callers
Function
_resolve_console
Return the shared CLI console.
agent/cli/commands/help.py:18
↓ 1 callers
Function
_resolve_criterion_id
Resolve a criterion by 1-based index, exact id, or id prefix.
agent/cli/commands/goal.py:198
↓ 1 callers
Method
_resolve_entry_offloads
Resolve safe sidecar paths into their original fields.
agent/src/agent/trace.py:342
↓ 1 callers
Function
_resolve_five_minute_loader
Return the loader that serves ``interval="5m"``, or ``None`` when none can. An injected loader is honoured verbatim — tests and embedders own the
agent/src/tools/paper_trade/data.py:410
↓ 1 callers
Function
_resolve_flows
Build the cash-flow series from inline records or from a file. Args: kwargs: The tool's raw inputs. Returns: A ``CashFlowSer
agent/src/tools/cashflow_analytics_tool.py:339
↓ 1 callers
Function
_resolve_history_token
Resolve a user-supplied id to a single CLOB token id for a price series. Args: identifier: A CLOB token id (see :func:`_is_clob_token_id`
agent/src/tools/prediction_market_tool.py:777
↓ 1 callers
Function
_resolve_include_shell_tools
Resolve whether the MCP server should register shell tools. Process-control tools (``bash`` / ``background_run`` / ``cancel_background``) run
agent/mcp_server.py:141
↓ 1 callers
Function
_resolve_industries_concurrent
Resolve A-share industry boards with bounded concurrency. Args: symbols: A-share symbols to resolve (already capped by the caller).
agent/src/api/runs_routes.py:506
↓ 1 callers
Method
_resolve_jobs
Recompute the watch-cadence jobs on (re)start (resume-via-recompute). Precedence: an explicit ``jobs`` arg wins (test / caller injection); el
agent/src/live/runtime/runner.py:918
↓ 1 callers
Function
_resolve_manager
Resolve a manager name or CIK to a padded CIK. Args: manager: A 13F filer name (e.g. ``"Bridgewater Associates"``) or a CIK. Returns
agent/src/tools/institutional_holdings_tool.py:537
↓ 1 callers
Method
_resolve_mentions
Replace @_user_n placeholders with actual user info from mentions. Args: text: The message text containing @_user_n placeholders
agent/src/channels/feishu.py:903
↓ 1 callers
Method
_resolve_operator
Resolve pairing authorization for a sender. Args: channel: The channel the command arrived on. sender_id: The inbound
agent/src/channels/runtime.py:424
↓ 1 callers
Function
_resolve_order_notional
Return the order's USD notional from ``intent.notional_usd``, fail-closed. The gate is responsible for normalizing the intent BEFORE ``check_mand
agent/src/live/enforcement.py:214
← previous
next →
7,101–7,200 of 26,887, ranked by callers