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
Method
_on_qr
(_: Any, qr_data: bytes)
agent/src/channels/whatsapp.py:443
Method
_on_reaction_created
Ignore reaction events so they do not generate SDK noise.
agent/src/channels/feishu.py:2424
Method
_on_reaction_deleted
Ignore reaction deleted events so they do not generate SDK noise.
agent/src/channels/feishu.py:2428
Method
_on_room_invite
(self, room: MatrixRoom, event: InviteEvent)
agent/src/channels/matrix.py:746
Method
_on_send_error
(self, response: RoomSendError)
agent/src/channels/matrix.py:696
Function
_on_sigint
(_signum, _frame)
agent/cli/_legacy.py:1321
Method
_on_start
Handle /start command.
agent/src/channels/telegram.py:1134
Method
_on_sync_error
(self, response: SyncError)
agent/src/channels/matrix.py:682
Function
_on_text_chunk
(delta: str)
agent/src/swarm/worker.py:875
Method
_on_text_message
Handle text message.
agent/src/channels/wecom.py:179
Method
_on_voice_message
Handle voice message.
agent/src/channels/wecom.py:187
Method
_only_first
(codes, *a, **k)
agent/tests/test_local_source_routing.py:247
Method
_open_tmp
()
agent/src/channels/qq.py:735
Function
_order
Record the call order of dotenv loading vs. the actual work.
agent/tests/test_alpha_cli_dotenv.py:37
Function
_other_thread
()
agent/tests/test_progress.py:98
Function
_parse_responses_api_bool
Enable Responses transport only for the documented literal ``true``.
agent/src/config/env_schema.py:67
Function
_parse_sina_bars
Return raw bars from the sina JSONP reply (d/o/h/l/c/v; 'a' ignored).
agent/tests/fixtures/paper_trade/record_market_fixtures.py:132
Function
_pin_dotenv_guard
Mark the dotenv as loaded so build_llm never reads a real .env. Without this, ``build_llm()`` under a patched environment can load the develo
agent/tests/test_llm_reasoning_effort.py:38
Method
_plans
(scale: float, *, observe: bool)
agent/backtest/engines/base.py:1337
Function
_positions_market_value
Sum the USD market value of all open positions, fail-closed. Accepts the broker read tool's positions payload in the two shapes the read path
agent/src/live/enforcement.py:292
Function
_positive_int
argparse type for counts that must be at least one.
agent/cli/_legacy.py:5455
Method
_post
( url: str, json: Dict[str, Any], # noqa: A002 headers: Dict[str, str],
agent/tests/test_cli_runtime.py:199
Function
_print_input_hint
Render the bottom hint bar in muted style.
agent/cli/main.py:844
Function
_probe
()
agent/mcp_server.py:2777
Function
_probe_imap
Login + mailbox-select over IMAP; return ``(code, detail)`` or None.
agent/src/channels/email_probe.py:78
Function
_probe_smtp
Connect (+ optional STARTTLS) and login over SMTP; ``(code, detail)`` or None.
agent/src/channels/email_probe.py:129
Function
_project_relative_path
Return a project-relative display path without leaking an absolute path.
agent/src/api/helpers.py:183
Function
_python_literal
Render ``value`` as source text for a safe Python literal.
agent/src/shadow_account/codegen.py:55
Method
_qty_nonzero
(cls, v: int)
agent/src/api/options_routes.py:88
Method
_qty_not_bool
(cls, value: Any)
agent/src/api/options_routes.py:81
Method
_quotes
(self, conn: sqlite3.Connection, kwargs: dict)
agent/src/tools/br_market_data_tool.py:145
Function
_raise
(*a, **k)
agent/tests/test_cli_update.py:103
Function
_raise
(_ac)
agent/tests/test_enforcement_l6.py:310
Function
_raise
(*args, **kwargs)
agent/tests/factors/test_registry.py:122
Method
_raise
(_operation)
agent/tests/test_mcp_client_adapter.py:869
Function
_raise_dep
()
agent/tests/test_zerodha_sdk.py:204
Method
_raiser
(*args, **kwargs)
agent/tests/test_strategy_discovery_routing.py:147
Method
_read
(self)
agent/src/tools/paper_trade/strategy_process.py:31
Function
_read_arxiv
Fetch specific arXiv papers by id. arXiv drops unknown ids from the feed without any error marker, so the requested set is diffed against wha
agent/src/tools/research_papers_tool.py:1183
Function
_read_csv
(path: str, col_map: dict[str, str], date_fmt: str | None)
agent/backtest/loaders/local_loader.py:244
Function
_read_docx
(path: Path)
agent/src/tools/doc_reader_tool.py:259
Function
_read_env_values
Read active KEY=value entries from a dotenv file.
agent/src/api/helpers.py:167
Function
_read_excel
(path: Path)
agent/src/tools/doc_reader_tool.py:284
Method
_read_file
()
agent/src/channels/wecom.py:425
Function
_read_openalex
Fetch specific OpenAlex works, batching by id kind. Work ids and DOIs cannot share a filter, so each kind costs at most one request instead o
agent/src/tools/research_papers_tool.py:1403
Function
_read_parquet
(path: str, col_map: dict[str, str], date_fmt: str | None)
agent/backtest/loaders/local_loader.py:249
Function
_read_pptx
(path: Path)
agent/src/tools/doc_reader_tool.py:310
Function
_read_scheduled_briefing
Return ``(terminal status, briefing text)`` once a run has finished. The assistant reply carries the attempt's terminal status in its metadata,
agent/src/api/scheduled_routes.py:87
Function
_read_stub
()
agent/tests/test_runtime_runner.py:142
Function
_reader
Pump every line from *stream* into *q*; signal EOF with ``None``.
agent/tests/test_mcp_server_smoke.py:69
Function
_reasoning_delta_min_interval_s
()
agent/src/agent/tuning.py:39
Function
_reasons
(result)
agent/tests/test_grounding_unit_and_scanner_gaps.py:39
Function
_recall_candidates
Transport adapter for :func:`gildata_codes.resolve_vendor_code`.
agent/backtest/loaders/gildata_loader.py:247
Function
_recommendation_trend
Shape the recommendationTrend periods into per-period rating rows.
agent/src/tools/stock_profile_tool.py:176
Function
_record_list
()
agent/tests/test_cli_connector_env.py:34
Function
_record_probe
(self: Any)
agent/tests/test_channels_config_api.py:636
Function
_record_wait
(timeout=None)
agent/tests/test_stream_retry_escalation.py:384
Function
_recorder
(payload, **kwargs)
agent/tests/test_paper_trade_tool.py:412
Function
_recording_dispatch
(job: ScheduledResearchJob)
agent/tests/test_scheduling_lifespan_owner.py:372
Function
_refresh
(token: object, destination: object)
agent/tests/test_openai_codex.py:254
Function
_reg
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_alpha_bench_horizon.py:291
Function
_reg
(monkeypatch)
agent/tests/test_alpha_bench_meta_survivorship.py:94
Function
_reg
(monkeypatch)
agent/tests/test_alpha_cli_dotenv.py:24
Function
_reg
(monkeypatch)
agent/tests/test_alpha_bench_strict_cli.py:114
Function
_register_active_artifact
Register an artifact and transition it to ACTIVE.
agent/tests/test_strategy_store.py:65
Function
_registered_loaders
Register the real loaders before a test stubs one of them. Registration fires on first use and assigns into ``LOADER_REGISTRY`` unconditional
agent/tests/test_loader_health.py:18
Function
_reject
(constant)
agent/tests/test_strategy_discovery_refresh.py:52
Function
_reject
(value: str)
agent/tests/test_validation.py:355
Function
_reject
(constant)
agent/tests/test_strategy_discovery_tools.py:45
Function
_reject_constant
(name: str)
agent/tests/test_trade_journal_strict_json.py:13
Function
_reject_private_dns_targets
(base_url: str)
agent/src/api/custom_provider_routes.py:73
Function
_reject_untrusted_loopback_host
Block DNS-rebinding Host headers before loopback auth bypasses run.
agent/src/api/security.py:166
Method
_remove_reaction_sync
Sync helper for removing reaction (runs in thread pool).
agent/src/channels/feishu.py:1045
Function
_render_run_preview
Build and encode a run preview off the event loop.
agent/src/api/runs_routes.py:675
Function
_render_run_result
Build and serialize a run detail response. Full responses reach tens of megabytes, so both the build and the JSON encoding run here, off the
agent/src/api/runs_routes.py:635
Function
_reset_config
Reset the cached EnvConfig around each test.
agent/tests/test_ocr_integration.py:27
Function
_reset_config
Reset the cached EnvConfig and plugin cache around each test.
agent/tests/test_ocr_engine.py:18
Function
_reset_config_cache
Reset env config singleton so monkeypatch.setenv() takes effect.
agent/tests/test_memory_lifecycle.py:23
Function
_reset_config_cache
Reset env config singleton so monkeypatch.setenv() takes effect.
agent/tests/test_memory_gc.py:17
Function
_reset_config_cache
Same convention as test_memory_gc.py: setenv must reach the singleton.
agent/tests/scheduling/test_memory_consolidation_job.py:44
Function
_reset_correlation_limiter
Clear the module-level rate limiter so tests never leak hits into each other.
agent/tests/test_system_routes.py:40
Function
_reset_correlation_limiter
Clear the module-level rate limiter so tests never leak hits into each other.
agent/tests/test_regime.py:261
Function
_reset_env_config
Isolate each test from the process environment and the config cache. Two things leak between tests otherwise, and the second one bit us: 1.
agent/tests/conftest.py:176
Function
_reset_etoro_client_factory
()
agent/tests/test_etoro_connector.py:34
Function
_reset_fake_channel
Give every test a clean instance ledger.
agent/tests/test_channel_manager_health.py:61
Function
_reset_fake_channel
Give every test a clean instance/event ledger.
agent/tests/test_channel_manager_reload.py:66
Function
_reset_fts_singleton
Reset FTS singleton between tests to avoid cross-test contamination.
agent/tests/memory/test_lifecycle_index_cleanup.py:34
Function
_reset_fts_singleton
Reset FTS singleton between tests to avoid cross-test contamination.
agent/tests/memory/test_tier2_integration.py:30
Function
_reset_plugin_cache
Reset the plugin discovery cache. For test isolation only.
agent/src/tools/ocr/engine.py:81
Function
_reset_source_order_env
Scrub order overrides from the process env and restore default chains. The PUT handler hot-applies overrides into os.environ and the registry;
agent/tests/test_settings_api.py:664
Function
_reset_store
Reset the shared store singleton before each test.
agent/tests/test_strategy_store.py:34
Function
_reset_store
(tmp_path)
agent/tests/test_strategy_store_adaptation.py:30
Function
_reset_ticker_cache_for_tests
Clear the memoized ticker map. Test-only hook; never called in prod.
agent/backtest/loaders/sec_edgar_client.py:257
Method
_resolve
(symbol: str)
agent/tests/test_eastmoney_loader.py:133
Method
_resolve_api_key_alias
Copy ``VIBE_TRADING_API_KEY`` to ``api_auth_key`` when only the alias is set. The CLI historically reads ``VIBE_TRADING_API_KEY`` first and f
agent/src/config/env_schema.py:765
Function
_resolver
(source: str)
agent/tests/test_market_data_tool.py:73
Function
_resolver
(source: str)
agent/tests/test_market_data.py:171
Function
_resolver
(job: ScheduledResearchJob)
agent/tests/scheduling/test_memory_consolidation_job.py:95
Function
_resolver
Production-shaped dispatcher: exact-key registry lookup, may raise.
agent/tests/scheduling/test_system_jobs.py:66
Function
_resolver
Production-shaped dispatcher: exact-key registry lookup, may raise.
agent/tests/scheduling/test_internal_dispatch.py:58
← previous
next →
10,601–10,700 of 26,887, ranked by callers