MCPcopy Create free account

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

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

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
← previousnext →10,501–10,600 of 26,887, ranked by callers