MCPcopy Create free account

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

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

Function_broken_mark
(broker)
agent/tests/test_sweep_latch.py:360
Function_broken_quote
A quote result with the required quote object replaced or damaged.
agent/tests/test_robinhood_mcp_mapping.py:303
Function_build
(tool: BaseTool)
agent/tests/test_agent_loop_dedup_arguments.py:81
Function_build
()
agent/tests/test_paper_trade_5m_scope.py:289
Function_build
(registry: ToolRegistry)
agent/tests/test_strategy_discovery_routing.py:93
Function_build
(tool: BaseTool)
agent/tests/test_agent_loop_deterministic_cache.py:81
Method_build
(page: List[Any], paging: Dict[str, Any])
agent/src/tools/sec_filings_tool.py:161
Method_build
(page: list[dict[str, Any]], paging: dict[str, Any])
agent/src/tools/financial_statements_tool.py:925
Method_build
(self, S, hv, ts, expiry)
agent/src/skills/options-strategy/example_signal_engine.py:181
Method_build
(self, S, hv, ts, expiry)
agent/src/skills/options-strategy/example_signal_engine.py:196
Method_build
(self, S, hv, ts, expiry)
agent/src/skills/options-strategy/example_signal_engine.py:245
Method_build
(self, page, paging)
agent/tests/test_tool_result_paging.py:56
Function_build_config
(profile_config, overrides)
agent/tests/test_sdk_connectors.py:732
Method_build_context
Mean vector and covariance of the positions being sized. ``window`` arrives in position space (see ``BaseOptimizer.optimize``), so ``
agent/backtest/optimizers/mean_variance.py:18
Method_build_context
Mean vector, covariance, and active codes for the current window. ``window`` arrives in position space (see ``BaseOptimizer.optimize``),
agent/backtest/optimizers/turnover_aware.py:143
Method_build_context
Rolling per-asset volatilities. Args: window: Return window. active: Active codes. Returns: Cont
agent/backtest/optimizers/equal_volatility.py:17
Method_build_context
( self, window: pd.DataFrame, active: list[str], )
agent/tests/test_optimizer_causality.py:18
Function_build_default_client
Build the production HTTP client for one eToro configuration.
agent/src/trading/connectors/etoro/client.py:348
Function_build_live_runner
Construct a fully-wired ``LiveRunner`` for a broker (SPEC §7.5 R-INT). Wires the runner to the real surfaces — the public ``SessionService`` agen
agent/src/api/live_routes.py:654
Function_build_llm_settings_response
Build the public settings payload from dotenv values.
agent/src/api/settings_routes.py:514
Function_build_positions_sector_map
Resolve asset class + A-share industry for a run's position symbols. Serves from the ``artifacts/sector_map.json`` cache when a valid cache e
agent/src/api/runs_routes.py:530
Method_calc_margin
( self, symbol: str, size: float, price: float, leverage: float, )
agent/backtest/engines/composite.py:330
Method_calc_margin
( self, symbol: str, size: float, price: float, leverage: float, )
agent/backtest/engines/futures_base.py:46
Method_calc_pnl
( self, symbol: str, direction: int, size: float, entry_price: float, exit_price: float, )
agent/backtest/engines/composite.py:322
Method_calc_pnl
( self, symbol: str, direction: int, size: float, entry_price: float, exit_price: float, )
agent/backtest/engines/futures_base.py:39
Method_calc_raw_size
( self, symbol: str, target_notional: float, price: float, )
agent/backtest/engines/futures_base.py:56
Method_calc_weights
SLSQP max-DR weights.
agent/backtest/optimizers/max_diversification.py:18
Method_calc_weights
SLSQP max-Sharpe weights.
agent/backtest/optimizers/mean_variance.py:36
Method_calc_weights
Inverse-volatility weights.
agent/backtest/optimizers/equal_volatility.py:34
Function_call
Forward an MCP call to the auto-discovered local tool registry.
agent/mcp_server.py:2863
Function_cancel_on_wait
(timeout=None)
agent/tests/test_stream_retry_escalation.py:516
Function_cancel_soon
()
agent/tests/test_swarm_cancel_mid_flight_worker.py:59
Function_cap_rows
Bound a per-symbol row list to keep the MCP payload within budget. max_rows==0 disables the cap (full list, unchanged shape). A negative max_
agent/mcp_server.py:2046
Function_capture
(*args, **kwargs)
agent/tests/test_load_skill_allowlist.py:137
Function_capture_proposal
(payload: Dict[str, Any])
agent/cli/main.py:726
Function_captured_html_context
Capture the context dict handed to the HTML renderer, write nothing.
agent/tests/test_alpha_bench_meta_survivorship.py:99
Function_catalog_session
Attach by terminal path for symbol metadata without account access.
agent/src/trading/connectors/mt5/_client.py:278
Function_cb
(n_done: int, _n_total: int, alpha_id: str)
agent/src/factors/compare_runner.py:62
Function_cb
(n_done: int, n_total: int, alpha_id: str)
agent/src/api/alpha_routes.py:238
Function_chat
( max_iter: int = typer.Option(50, "--max-iter", help="Maximum ReAct iterations."), )
agent/cli/main.py:1584
Function_check
(cfg: local.IBKRLocalConfig)
agent/tests/test_ibkr_local.py:191
Function_check_akshare
Check akshare availability.
agent/src/preflight.py:256
Method_check_canonical_symbol_surfaced
(self, content, records)
agent/src/agent/grounding/policies.py:2445
Function_check_ccxt
Check ccxt availability.
agent/src/preflight.py:279
Method_check_cited
A cited figure names a source the reader can see and does not pose as a print. Its value is unchecked, so the citation may not launder an obs
agent/src/agent/grounding/policies.py:2345
Function_check_connector_status
Resolve a connector profile and return its verify envelope. Uses the bounded cache when ``force`` is ``False`` and the entry is fresh. Known
agent/src/api/live_routes.py:273
Function_check_content_filter_threshold
Report the configured content filter warning threshold.
agent/src/preflight.py:268
Method_check_data_source_surfaced
(self, content, records)
agent/src/agent/grounding/policies.py:2468
Method_check_derived
A derived figure must be the arithmetic its note states.
agent/src/agent/grounding/policies.py:2194
Method_check_figure_column
(self, figure, role, symbol)
agent/src/agent/grounding/policies.py:719
Method_check_figure_symbol
(self, content, figure, declaration, symbol, line_symbols, symbol_records)
agent/src/agent/grounding/policies.py:666
Function_check_llm_provider
Verify LLM provider connectivity.
agent/src/preflight.py:32
Function_check_okx
Check OKX public API reachability.
agent/src/preflight.py:175
Method_check_proposed
A proposed level (entry, target, stop) is derived or inside the observed range. It cannot be required to equal a print, only to be anchored;
agent/src/agent/grounding/policies.py:2259
Method_check_quote_currency_surfaced
(self, content, records)
agent/src/agent/grounding/policies.py:2508
Function_check_ssl_material
Load the configured cert/key pair; return a failure envelope or None.
agent/src/channels/websocket_probe.py:70
Function_check_status
(profile_id: str, force: bool = False)
agent/tests/test_longbridge_runtime.py:286
Function_check_tcp_bind
Resolve + bind ``host:port`` read-only; return an envelope or None.
agent/src/channels/websocket_probe.py:109
Function_check_tushare
Check Tushare token configuration.
agent/src/preflight.py:232
Method_check_undeclared_figure
(self, figure, symbol, records, block)
agent/src/agent/grounding/policies.py:687
Function_check_yfinance
Check yfinance availability.
agent/src/preflight.py:203
Method_choose
(accounts: list)
agent/tests/test_cli_live.py:629
Function_choose_mandate_account
Ask the user which broker account a mandate may trade. Only accounts the broker lists as active and open to agentic trading are offered, and
agent/cli/main.py:1143
Function_clean_default_socket
()
agent/tests/test_baostock_socket_deadline.py:54
Function_clean_env
Remove all EnvConfig-related env vars and reset the singleton.
agent/tests/test_env_schema.py:58
Function_clean_index
Keep the module-level run index from leaking between tests.
agent/tests/test_swarm_cancel_cascade.py:60
Function_clean_order_env
Scrub order env vars and restore default chains around each test. Teardown re-scrubs *before* refreshing (not relying on monkeypatch undo ord
agent/tests/test_source_order_overrides.py:34
Function_clean_state
Start each test from dev-mode auth with an empty ticket store.
agent/tests/test_sse_ticket_and_headers.py:25
Function_clear_backend_env
(monkeypatch)
agent/tests/test_web_search_tool.py:42
Function_clear_cache
Reset the memoized ticker map before and after every test.
agent/tests/test_sec_edgar_client.py:23
Function_clear_cache
Ensure each test starts with a clean cache.
agent/tests/test_mcp_specs_cache.py:26
Function_clear_caches
Reset the process-wide memoized indexes between tests.
agent/tests/test_etf_holdings_tool.py:311
Function_clear_compare_jobs
()
agent/tests/test_alpha_compare_api.py:33
Function_clear_halt_actions
Isolate the module-level action registry between tests.
agent/tests/test_halt.py:114
Function_clear_key
Default every test to no key unless it sets one explicitly.
agent/tests/test_alphavantage_loader.py:31
Function_clear_symbol_cache
The loader memoizes the account symbol map per process; isolate each test.
agent/tests/test_tickerall_loader.py:81
Function_clear_token_cache
()
agent/tests/test_copilot_provider.py:25
Function_clear_us_cache
Reset the module-level US secid cache so tests stay independent.
agent/tests/test_eastmoney_client.py:15
Function_cleared_codes
(loop_messages_trace: list[dict])
agent/tests/test_context_budget.py:255
Method_close_streaming_mode_sync
Turn off CardKit streaming_mode so the chat list preview exits the streaming placeholder. Per Feishu docs, streaming cards keep a generating-
agent/src/channels/feishu.py:1858
Function_cmd_adapt
Prepare an adaptation; generation and backtesting use the returned plan.
agent/cli/commands/strategy_evidence.py:93
Function_cmd_create
Handle ``vibe-trading playbook create <slug>``.
agent/cli/commands/research_playbook.py:613
Function_cmd_invalidate
(args: argparse.Namespace)
agent/src/hypotheses/cli_handlers.py:187
Function_cmd_list
Handle ``vibe-trading playbook list``.
agent/cli/commands/research_playbook.py:574
Function_cmd_list
(args: argparse.Namespace)
agent/src/hypotheses/cli_handlers.py:144
Function_cmd_refresh
Handle ``vibe-trading strategy-evidence refresh``.
agent/cli/commands/strategy_evidence.py:60
Function_cmd_revision
(args: argparse.Namespace)
agent/src/research_artifacts/cli_handlers.py:85
Function_cmd_save
(args: argparse.Namespace)
agent/src/research_artifacts/cli_handlers.py:23
Function_cmd_search
(args: argparse.Namespace)
agent/src/research_artifacts/cli_handlers.py:49
Function_cmd_show
Handle ``vibe-trading playbook show <slug>``.
agent/cli/commands/research_playbook.py:588
Function_cmd_show
(args: argparse.Namespace)
agent/src/hypotheses/cli_handlers.py:173
Function_cmd_show
(args: argparse.Namespace)
agent/src/research_artifacts/cli_handlers.py:68
Function_coerce_float
(value: str, default: float)
agent/src/api/helpers.py:245
Function_coerce_int
(value: str, default: int)
agent/src/api/helpers.py:252
Function_compare_result_for_wire
Project the compare envelope onto the `result` event. The comparison envelope is already slim (a small ranking of user-selected alphas + skip
agent/src/api/alpha_routes.py:819
Function_configured_label
Render a masked configuration state.
agent/cli/_legacy.py:406
Method_count_as_observed
Check a ``count`` that looks like a price as the observation it claims to be.
agent/src/agent/grounding/policies.py:1533
Method_create_layout
(self)
agent/cli/input.py:84
Function_cross_market_closes
A crypto symbol on the calendar grid and an equity on weekdays only.
agent/tests/test_effective_bars_per_year_span.py:82
Function_defang_special_token
Insert a ZWSP right after the opening delimiter char of a matched token.
agent/src/security/scanner.py:107
← previousnext →10,201–10,300 of 26,887, ranked by callers