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
Function
_lifespan
Run API startup and guaranteed reverse-order shutdown.
agent/api_server.py:153
Function
_link_runs
(m: re.Match, s: frozenset)
agent/src/channels/signal.py:221
Function
_list
(limit: int = typer.Option(20, "--limit"))
agent/cli/main.py:1601
Method
_list_tools
List remote tools, retrying once on transient failures by default. The number of attempts is governed by ``self._list_tools_attempts``
agent/src/tools/mcp.py:745
Method
_list_tools_once
List remote tools without retry handling. Returns: Remote MCP tool definitions.
agent/src/tools/mcp.py:763
Function
_listed_identity_relabelled_private
(ledger: Any, content: str)
agent/src/agent/grounding/identity_checks.py:33
Function
_live_account_choices
Read the accounts a live broker's login can reach, as picker rows. Raises: LiveRunnerUnavailable: When the broker channel is not configur
agent/src/api/live_routes.py:398
Function
_live_broker_adapter
Build an ``MCPServerAdapter`` for a live broker from the user-side config. Raises: LiveRunnerUnavailable: When no MCP server is configure
agent/src/api/live_routes.py:362
Method
_live_callback
(event: Any)
agent/src/tools/swarm_tool.py:598
Method
_load_from_env
Populate missing fields from ``os.environ`` using field aliases. Invalid numeric env values are silently dropped so Pydantic applies
agent/src/config/env_schema.py:116
Function
_load_lark_runtime
Import the heavy Feishu SDK lazily. lark_oapi imports a large generated API surface at module import time, so keep it out of channel discover
agent/src/channels/feishu.py:74
Function
_loader_returns_sentinel
()
agent/tests/test_swarm_m5_trust_model.py:154
Function
_lock
(_broker)
agent/tests/test_etoro_live_actions.py:157
Method
_log_failure
(done: asyncio.Task[Any])
agent/src/providers/chat.py:450
Method
_loop
()
agent/tests/test_api_live_runtime.py:333
Function
_loop_pnl
(self, *a)
agent/scripts/bench_performance.py:99
Function
_make_one
A DataFrame of 1.0 with the same shape/index/columns as ``ref``.
agent/src/factors/zoo/alpha101/alpha_046.py:61
Function
_make_one
A DataFrame of 1.0 with the same shape/index/columns as ``ref``.
agent/src/factors/zoo/alpha101/alpha_007.py:54
Function
_make_one
A DataFrame of 1.0 with the same shape/index/columns as ``ref``.
agent/src/factors/zoo/alpha101/alpha_049.py:61
Function
_make_one
A DataFrame of 1.0 with the same shape/index/columns as ``ref``.
agent/src/factors/zoo/alpha101/alpha_021.py:59
Function
_make_one
A DataFrame of 1.0 with the same shape/index/columns as ``ref``.
agent/src/factors/zoo/alpha101/alpha_027.py:59
Function
_make_one
A DataFrame of 1.0 with the same shape/index/columns as ``ref``.
agent/src/factors/zoo/alpha101/alpha_047.py:66
Function
_make_one
A DataFrame of 1.0 with the same shape/index/columns as ``ref``.
agent/src/factors/zoo/alpha101/alpha_056.py:59
Function
_make_one
A DataFrame of 1.0 with the same shape/index/columns as ``ref``.
agent/src/factors/zoo/alpha101/alpha_051.py:61
Method
_manager_holdings
Return one manager's reported portfolio, optionally with QoQ changes.
agent/src/tools/institutional_holdings_tool.py:1871
Function
_mandate_account_ref
Return the account the broker's committed mandate is bound to, or ``""``.
agent/src/api/live_routes.py:390
Function
_marker
(episode: str, barrier: threading.Barrier)
agent/tests/test_sweep_latch.py:494
Method
_market
Build a market-session trigger for a known market key. Declared under a private name on purpose: ``market`` is a **field**, and a cla
agent/src/live/runtime/triggers.py:194
Method
_mcp_collision_warn
Forward MCP server-name collision warnings to the operator event channel.
agent/src/session/service.py:644
Function
_mcp_text
(payload: dict[str, Any])
agent/tests/test_fund_nav_tool.py:25
Function
_mcp_warn
(msg: str)
agent/cli/_legacy.py:1242
Function
_memory_consolidate
Run one scheduled memory-consolidation pass (deferred domain import). Backs the ``memory.consolidate`` key: daily archive-only consolidation,
agent/src/scheduling/registry.py:147
Method
_missing
()
agent/tests/test_mt5_connector.py:410
Method
_mock_fetch
(**kwargs)
agent/tests/test_technical_indicator_tool.py:242
Method
_mock_fetch
(**kwargs)
agent/tests/test_technical_indicator_tool.py:527
Function
_new_audit_id
Return a fresh unique audit id with the ``la_`` prefix (SPEC §5).
agent/src/live/audit.py:138
Method
_no_network
()
agent/tests/test_local_source_routing.py:139
Function
_no_network_through_the_submissions_fallback
Fail loudly if a test reaches the live submissions endpoint. ``_list_13f_filings`` falls back to :func:`get_submissions` whenever full-text s
agent/tests/test_institutional_holdings_tool.py:30
Function
_no_report
(monkeypatch: pytest.MonkeyPatch, tmp_path)
agent/tests/test_alpha_bench_horizon.py:296
Function
_no_report
Keep the HTML report side effect contained.
agent/tests/test_alpha_cli_dotenv.py:29
Function
_no_report
Keep the HTML report side effect contained.
agent/tests/test_alpha_bench_strict_cli.py:106
Function
_no_search_env
Keep the Aliyun IQS fast path and backend overrides out of these tests.
agent/tests/test_tools_type_value_safety.py:255
Function
_no_sleep
(monkeypatch)
agent/tests/test_okx_loader_bounded.py:56
Function
_no_sleep
(monkeypatch)
agent/tests/test_ccxt_loader_bounded.py:52
Function
_no_sleep
Keep retry tests instant + deterministic.
agent/tests/test_loader_retry_helpers.py:45
Function
_no_sleep
(monkeypatch)
agent/tests/test_swarm_store_atomic_write.py:40
Function
_no_source
(market: str)
agent/tests/test_shadow_account.py:55
Function
_no_user_playbook_dir
Keep the bundled-catalogue assertions hermetic on a developer machine.
agent/tests/test_research_playbooks.py:49
Function
_noop
(*args, **kwargs)
agent/tests/test_voice_note_attachment_passthrough.py:21
Function
_noop_dispatch
(job: ScheduledResearchJob)
agent/tests/test_verdict.py:204
Function
_noop_drive
(runner)
agent/tests/test_api_live_runtime.py:240
Function
_noop_fire
(job: Job)
agent/tests/test_runtime_scheduler_kernel.py:70
Function
_noop_tick
(now_ms: int)
agent/tests/scheduling/test_kernel_sleep_hint.py:24
Function
_now_ms
Return current wall-clock time in epoch milliseconds.
agent/src/scheduled_research/executor.py:92
Function
_now_ms
Return the current wall-clock time in epoch milliseconds. Returns: Milliseconds since the Unix epoch.
agent/src/live/runtime/scheduler.py:62
Function
_observed_tick
(now_ms: int | None = None)
agent/tests/test_scheduling_lifespan_owner.py:381
Function
_offline_prices
Default every test to an offline price source. `_compute_features` now reaches the loader registry for price-context features. Without this,
agent/tests/test_shadow_account.py:43
Function
_offline_sources
(monkeypatch)
agent/tests/test_parallel_search.py:26
Function
_ok
(result: Any)
agent/src/tools/alpha_zoo_tool.py:46
Function
_ok
(_request)
agent/tests/test_mcp_host_origin_guard.py:138
Function
_ok_handler
Answer both legs the way Slack answers valid credentials.
agent/tests/test_slack_connection_test.py:86
Function
_ok_handler
Answer the leg the way Discord answers a valid bot token.
agent/tests/test_discord_connection_test.py:78
Method
_on_authenticated
Handle authentication success event.
agent/src/channels/wecom.py:166
Method
_on_background_task_done
Callback: remove from tracking set and log unhandled exceptions.
agent/src/channels/feishu.py:1079
Method
_on_bot_p2p_chat_entered
Ignore p2p-enter events when a user opens a bot chat.
agent/src/channels/feishu.py:2436
Method
_on_callback_query
Handle inline keyboard button clicks (callback queries).
agent/src/channels/telegram.py:1703
Method
_on_connected
Handle WebSocket connected event.
agent/src/channels/wecom.py:162
Method
_on_connected
(current_client: Any, _: Any)
agent/src/channels/whatsapp.py:450
Method
_on_disconnected
Handle WebSocket disconnected event.
agent/src/channels/wecom.py:170
Method
_on_disconnected
(_: Any, event: Any)
agent/src/channels/whatsapp.py:463
Method
_on_done
(task: asyncio.Task[Any])
agent/src/channels/whatsapp.py:376
Method
_on_enter_chat
Handle enter_chat event (user opens chat with bot).
agent/src/channels/wecom.py:199
Method
_on_error
Log polling / handler errors instead of silently swallowing them.
agent/src/channels/telegram.py:1644
Method
_on_error
Handle error event.
agent/src/channels/wecom.py:175
Function
_on_event
(event)
agent/src/api/state.py:91
Method
_on_file_message
Handle file message.
agent/src/channels/wecom.py:191
Function
_on_fire
(_job: Any)
agent/src/api/live_routes.py:831
Method
_on_grounding_heartbeat
(payload: dict)
agent/src/swarm/runtime.py:941
Function
_on_heartbeat
(payload: dict)
agent/src/swarm/worker.py:1155
Method
_on_heartbeat
(payload: Dict[str, Any])
agent/src/agent/tool_lifecycle.py:573
Method
_on_help
Handle /help command for allowed users only.
agent/src/channels/telegram.py:1150
Method
_on_image_message
Handle image message.
agent/src/channels/wecom.py:183
Method
_on_join_error
(self, response: JoinError)
agent/src/channels/matrix.py:693
Method
_on_kernel_tick
Run one executor tick as the kernel's ``on_tick`` callback. Exceptions are isolated here (rather than left to the kernel's generic ha
agent/src/scheduled_research/executor.py:360
Method
_on_key_verification_event
(self, event: KeyVerificationEvent)
agent/src/channels/matrix.py:616
Function
_on_llm_heartbeat
(payload: dict)
agent/src/swarm/worker.py:887
Method
_on_message
(self, room: MatrixRoom, event: RoomMessageText)
agent/src/channels/matrix.py:986
Method
_on_message
Handle incoming messages (text, photos, voice, documents).
agent/src/channels/telegram.py:1453
Method
_on_message
Backward-compatible alias for legacy tests/callers.
agent/src/channels/discord.py:642
Method
_on_message
(current_client: Any, event: Any)
agent/src/channels/whatsapp.py:485
Method
_on_message_read
Ignore read events so they do not generate SDK noise.
agent/src/channels/feishu.py:2432
Method
_on_message_sync
Sync handler for incoming messages (called from WebSocket thread). Schedules async handling in the main event loop.
agent/src/channels/feishu.py:2253
Method
_on_mixed_message
Handle mixed content message.
agent/src/channels/wecom.py:195
Method
_on_pair_status
(_: Any, event: Any)
agent/src/channels/whatsapp.py:472
Method
_on_passthrough_allocation
Record retained allocations so the next penalty uses current holdings. Args: allocation: Signed output allocation, including cash
agent/backtest/optimizers/turnover_aware.py:135
Method
_on_plan_rejected
(self, symbol, reason, timestamp)
agent/tests/test_plan_rejected.py:50
Method
_on_plan_rejected
(self, symbol, reason, timestamp)
agent/tests/test_plan_rejected.py:69
Method
_on_plan_rejected
(self, symbol, reason, timestamp)
agent/tests/test_base_engine.py:1051
Method
_on_polling_error
Keep long-polling network failures to a single readable line.
agent/src/channels/telegram.py:1636
Method
_on_progress
(event: ProgressEvent)
agent/src/agent/tool_lifecycle.py:565
← previous
next →
10,501–10,600 of 26,887, ranked by callers