MCPcopy Create free account

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

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

↓ 1 callersFunction_compute_features
Compute recent return, moving-average position, and volume expansion.
agent/src/shadow_account/scanner.py:173
↓ 1 callersFunction_compute_fetch_start_date
Compute the lookback-aware fetch start date for a run. Args: run_dir: The run directory under ``runs/``. start_date: Visible back
agent/src/ui_services.py:557
↓ 1 callersMethod_compute_signal
对单个标的计算 SMC 信号。 Args: ohlc: 标准化的 OHLCV DataFrame。 original_index: 原始 DataFrame 的 index,用于对齐输出。 Returns:
agent/src/skills/smc/example_signal_engine.py:112
↓ 1 callersFunction_concentration
(w: np.ndarray)
agent/backtest/risk_xray.py:199
↓ 1 callersFunction_conditional_entry_profile
Profile with RSI + negative prior-return bounds (issue #985 shape).
agent/tests/test_shadow_codegen_security.py:87
↓ 1 callersFunction_config
(**overrides: Any)
agent/tests/test_email_connection_test.py:48
↓ 1 callersFunction_config
(tmp_path, dates: pd.DatetimeIndex)
agent/tests/test_benchmark_excess_return_consistency.py:37
↓ 1 callersFunction_config_section
(config: Any, name: str)
agent/src/channels/registry.py:240
↓ 1 callersFunction_configuration_hash
(source_profile: str, host: str, absolute_tolerance: float)
agent/src/trading/connectors/binance/usdm.py:342
↓ 1 callersFunction_configured_channel_names
(config: Any)
agent/src/channels/registry.py:246
↓ 1 callersFunction_configured_file_roots
Return file roots configured through the environment.
agent/src/tools/path_utils.py:108
↓ 1 callersFunction_confirm_bench_all
Interactive y/N prompt before benching every alpha.
agent/src/factors/cli_handlers.py:412
↓ 1 callersMethod_connect
Open the snapshot read-only and enforce its schema contract. Returns: Read-only connection with rows addressable by column name.
agent/src/tools/taiwan_stock_data_tool.py:385
↓ 1 callersFunction_connection_error_code
(exc: Exception)
agent/src/trading/connectors/etoro/sdk.py:152
↓ 1 callersFunction_connection_error_code
(exc: Exception)
agent/src/trading/connectors/longbridge/sdk.py:306
↓ 1 callersFunction_connection_error_message
(code: str, detail: str)
agent/src/trading/connectors/etoro/sdk.py:164
↓ 1 callersFunction_connection_error_message
(code: str)
agent/src/trading/connectors/longbridge/sdk.py:315
↓ 1 callersMethod_connection_loop
(self, connection: Any)
agent/src/channels/websocket.py:541
↓ 1 callersFunction_connector_names
Return every connector package name found on disk.
agent/tests/test_paper_capped_connectors_refuse_live.py:68
↓ 1 callersFunction_connector_observation
(**changes: object)
agent/tests/test_binance_account_reconciliation.py:30
↓ 1 callersFunction_connector_quote_price
Parse a positive price from the connector's ``get_quote`` envelope.
agent/src/live/sdk_order_gate.py:976
↓ 1 callersFunction_consent_dir
Return the per-broker consent-records directory.
agent/src/live/mandate/commit.py:162
↓ 1 callersFunction_constraint_clause
(text: str, start: int, end: int)
agent/src/agent/resolution_context.py:190
↓ 1 callersFunction_constraint_is_negated
(text: str, start: int)
agent/src/agent/resolution_context.py:202
↓ 1 callersFunction_constraint_subject
Keep a named clause; collapse a pure follow-up like ``都只看 A 股``.
agent/src/agent/resolution_context.py:209
↓ 1 callersMethod_consume_events
Translate session-bus events into OpenBB SSE objects until terminal. Args: session_id: The ephemeral session being streamed.
agent/src/openbb_bridge/adapter.py:130
↓ 1 callersMethod_consume_loop
(self)
agent/src/channels/runtime.py:115
↓ 1 callersFunction_consume_sse_ticket
Validate and invalidate a ticket; True iff it was valid and unexpired. Single-use: the ticket is removed on the first lookup whether or not it ha
agent/src/api/security.py:328
↓ 1 callersFunction_contains_any_alias
(text: str, aliases: list[str])
agent/src/skills/ashare-pre-st-filter/scripts/fetch_sina_penalties.py:187
↓ 1 callersFunction_contains_system_exit
Return whether an exception or nested exception group contains SystemExit.
agent/src/portfolio/service.py:176
↓ 1 callersFunction_content_text
(content: Any)
agent/src/providers/claude_cli.py:148
↓ 1 callersFunction_content_text
(content: Any)
agent/src/providers/copilot_auth.py:117
↓ 1 callersFunction_continuous
Drop the opening call-auction row, leaving the continuous bars. G3 policy: the 09:30 row is the opening call-auction print, not a continuous
agent/src/tools/paper_trade/data_5m.py:224
↓ 1 callersFunction_contracts
Normalize a Yahoo calls/puts array into capped snake_case rows.
agent/src/tools/options_chain_tool.py:213
↓ 1 callersFunction_convert_messages
Convert chat history into one SDK turn while preserving role boundaries.
agent/src/providers/copilot_auth.py:129
↓ 1 callersFunction_convert_order
(item: Any, day: str, index: int)
agent/src/tools/paper_trade/strategy_exec.py:333
↓ 1 callersFunction_convert_tools
(tools: list[dict[str, Any]])
agent/src/providers/copilot_auth.py:165
↓ 1 callersFunction_convert_user_message
(content: Any)
agent/src/providers/openai_codex.py:438
↓ 1 callersFunction_copilot_entry
()
agent/tests/test_copilot_provider.py:46
↓ 1 callersFunction_copy_runtime_env
Copy the narrow environment needed by the backtest subprocess. Generated strategy code is executed in this subprocess, so avoid inheriting LL
agent/src/core/runner.py:352
↓ 1 callersFunction_correlation
(returns: pd.DataFrame, port: pd.Series)
agent/backtest/risk_xray.py:311
↓ 1 callersFunction_correlation
(a: np.ndarray, b: np.ndarray, weights: np.ndarray)
agent/src/quantlib/neutralization.py:111
↓ 1 callersFunction_corrupt_future
Return a deep copy where rows ``>= PERTURB_FROM`` are sentinel-poisoned.
agent/tests/factors/test_lookahead.py:112
↓ 1 callersFunction_count_manifest_parses
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_local_connections_hardening.py:219
↓ 1 callersMethod_create_background_task
(self, coro: Any, kind: str)
agent/src/channels/napcat.py:214
↓ 1 callersFunction_create_cli_session
Create a normal CLI session when /goal is used before the first turn.
agent/cli/commands/goal.py:50
↓ 1 callersMethod_create_ephemeral_session
Create a one-shot session for a single OpenBB request. Args: user_message: The question being asked, used for a readable title.
agent/src/openbb_bridge/adapter.py:205
↓ 1 callersMethod_create_streaming_card_sync
Create a CardKit streaming card, send it to chat, return card_id. When *reply_message_id* is provided the card is delivered via the r
agent/src/channels/feishu.py:1726
↓ 1 callersFunction_credential_error
(resolution: Any)
agent/src/trading/connectors/longbridge/sdk.py:274
↓ 1 callersFunction_criterion_is_covered
Return whether a criterion has completion status or attached evidence.
agent/cli/commands/goal.py:41
↓ 1 callersFunction_critical_points
Return every finite point at which expiry-payoff slope may change.
agent/backtest/options_payoff.py:198
↓ 1 callersFunction_cross_sectional_z
Per-row z-score; rows with fewer than two values or no spread become NaN.
agent/src/quantlib/combination.py:119
↓ 1 callersFunction_cross_sectional_zscore
Per-row z-score: (x - row_mean) / row_std; zero/NaN std rows -> NaN.
agent/src/factors/zoo/academic/illiq.py:46
↓ 1 callersFunction_cross_sectional_zscore
Per-row z-score: (x - row_mean) / row_std; zero/NaN std rows -> NaN.
agent/src/factors/zoo/academic/high52w.py:46
↓ 1 callersFunction_cross_sectional_zscore
Per-row z-score: (x - row_mean) / row_std; zero/NaN std rows -> NaN.
agent/src/factors/zoo/academic/corr_rewire.py:150
↓ 1 callersFunction_cross_sectional_zscore
Per-row z-score: (x - row_mean) / row_std; zero/NaN std rows -> NaN.
agent/src/factors/zoo/academic/retskew.py:46
↓ 1 callersFunction_cross_sectional_zscore
Per-row z-score: (x - row_mean) / row_std; zero/NaN std rows -> NaN.
agent/src/factors/zoo/academic/mkt_rf.py:44
↓ 1 callersFunction_cross_sectional_zscore
Per-row z-score: (x - row_mean) / row_std; zero/NaN std rows -> NaN.
agent/src/factors/zoo/academic/cma.py:47
↓ 1 callersFunction_cross_sectional_zscore
Per-row z-score: (x - row_mean) / row_std; zero/NaN std rows -> NaN.
agent/src/factors/zoo/academic/hml.py:47
↓ 1 callersFunction_cross_sectional_zscore
Per-row z-score: (x - row_mean) / row_std; zero/NaN std rows -> NaN.
agent/src/factors/zoo/academic/bab.py:52
↓ 1 callersFunction_cross_sectional_zscore
Per-row z-score: (x - row_mean) / row_std; zero/NaN std rows -> NaN.
agent/src/factors/zoo/academic/smb.py:45
↓ 1 callersFunction_cross_sectional_zscore
Per-row z-score: (x - row_mean) / row_std; zero/NaN std rows -> NaN.
agent/src/factors/zoo/academic/rmw.py:46
↓ 1 callersFunction_cross_sectional_zscore
Per-row z-score: (x - row_mean) / row_std; zero/NaN std rows -> NaN.
agent/src/factors/zoo/academic/carhart_mom.py:47
↓ 1 callersFunction_cross_sectional_zscore
Per-row z-score: (x - row_mean) / row_std; zero/NaN std rows -> NaN.
agent/src/factors/zoo/academic/strev.py:45
↓ 1 callersFunction_csp_header_name
Return the CSP header to emit (enforcing unless opted out).
agent/src/api/security.py:228
↓ 1 callersFunction_csv_shape
Count records without retaining the source table in memory.
agent/src/tools/run_artifact_tool.py:240
↓ 1 callersFunction_currency_code_for_figure
Identify an unambiguous currency immediately adjacent to a number.
agent/src/agent/grounding/figures.py:1027
↓ 1 callersFunction_currency_suffix_end
Where a currency unit attached to the right of a figure ("0.95 元") ends. A compound unit (元/股, USD/share) is left whole, or its denominator would
agent/src/agent/grounding/figures.py:1101
↓ 1 callersFunction_curve_design
Linear design matrix for a curve model with fixed decay parameters. Args: tau: Maturities in years. lambdas: One decay parameter
agent/src/quantlib/fixedincome.py:690
↓ 1 callersFunction_cusip_for_ticker
Resolve a ticker to a CUSIP via SEC fails-to-deliver data. The fails-to-deliver feed writes share classes without a separator (Berkshire clas
agent/src/tools/institutional_holdings_tool.py:501
↓ 1 callersFunction_cusip_map
Return the memoized ticker -> (cusip, description) map and its source URLs. Raises: Exception: Any fetch/parse failure from the first suc
agent/src/tools/institutional_holdings_tool.py:480
↓ 1 callersMethod_cut_flagged
Replace every flagged figure with the omission marker. An issue without a value (``unsourced_symbol_figures``) cuts every measured fi
agent/src/agent/grounding/release.py:659
↓ 1 callersFunction_daily
(close: float = 10.0)
agent/tests/test_paper_trade_5m_payload.py:70
↓ 1 callersFunction_daily
()
agent/tests/test_paper_trade_5m_limit_price.py:87
↓ 1 callersFunction_daily_bar_fingerprint
( data: Mapping[str, SymbolData], symbols: tuple[str, ...], from_date: str, to_date: str, )
agent/src/tools/paper_trade/data.py:576
↓ 1 callersFunction_daily_frame
()
agent/tests/test_tushare_daily_alias_1d.py:12
↓ 1 callersFunction_daily_frame
Return one deterministic Tushare-style daily row.
agent/tests/test_alpha_bench_universe_metadata.py:14
↓ 1 callersFunction_dataset_fingerprint
SHA-256 of the exact bars (date, close, volume) the indicators use.
agent/src/tools/technical_indicator_tool.py:146
↓ 1 callersFunction_date
(row: Dict[str, Any])
agent/backtest/loaders/gildata_loader.py:282
↓ 1 callersFunction_date_filter
Build the report ``filter`` clause for one code over a date window. Args: code: Bare 6-digit security code. start: Inclusive lowe
agent/src/tools/block_trades_tool.py:95
↓ 1 callersFunction_date_text
(value: Any)
agent/src/factors/data_availability.py:117
↓ 1 callersFunction_date_windows
Split a wide date range into sequential windows to respect the LongPort ~1000-bar per-call cap. Each window spans at most ``_MAX_WINDOW_DAYS`
agent/backtest/loaders/longbridge.py:136
↓ 1 callersFunction_days_in_range
(from_date: str, to_date: str)
agent/src/tools/paper_trade/data.py:562
↓ 1 callersFunction_dcf_gaps
Collect DCF-specific notes: GDP-ceiling flag and the non-chosen terminal method. Args: result: A completed :class:`DCFResult`. Retur
agent/src/quantlib/valuation/artifact.py:570
↓ 1 callersFunction_dcf_headline
Return the DCF valuation-conclusion bullet lines.
agent/src/quantlib/valuation/artifact.py:1464
↓ 1 callersFunction_dcf_sensitivity_lines
Return the DCF sensitivity bullet lines from a caller-supplied grid, if any.
agent/src/quantlib/valuation/artifact.py:1475
↓ 1 callersFunction_decision_budget_state
Read model spending controls without probing broker credentials.
agent/src/api/live_routes.py:568
↓ 1 callersFunction_declared_currency
Return Yahoo's declared currency for ``symbol``, or ``None`` when absent. ``yf.Ticker(...).history_metadata`` carries the exchange's declared quo
agent/backtest/loaders/yfinance_loader.py:102
↓ 1 callersFunction_declared_in_other_unit
A declaration holding ``figure`` as a fraction where it is a percent, or the reverse. It does not cover the figure (``block.match`` keeps the two
agent/src/agent/grounding/policies.py:2573
↓ 1 callersFunction_declared_variable_names
Extract variable names from the YAML variables section.
agent/src/swarm/presets.py:146
↓ 1 callersFunction_declared_version
()
agent/tests/test_cli_version.py:19
↓ 1 callersFunction_declares_container
True when a property schema declares array/object, directly or via anyOf.
agent/tests/test_mcp_json_string_args.py:62
↓ 1 callersFunction_declares_json_container
Return whether a property's schema admits a JSON array or object. Args: prop_schema: One entry from a JSON Schema ``properties`` map.
agent/mcp_server.py:2816
↓ 1 callersFunction_decode
Turn JSON envelopes into the pandas objects some functions require. Args: value: A decoded-JSON value, possibly a ``__series__`` or
agent/src/tools/quantlib_tool.py:140
↓ 1 callersFunction_decode
Decode export bytes, preferring UTF-8 and falling back to cp1252. Args: data: Export contents as text or bytes. Returns: The
agent/src/portfolio/extraetf.py:369
↓ 1 callersMethod_decode_header_value
(value: str)
agent/src/channels/email.py:910
↓ 1 callersFunction_decode_jsonp
Decode an Eastmoney response that may arrive JSON or JSONP-wrapped. The search endpoint usually returns a JSON object, but can echo a ``callb
agent/src/tools/stock_news_tool.py:106
↓ 1 callersFunction_decode_jwt_claims
Decode unverified JWT claims used only for expiry/account metadata.
agent/src/providers/openai_codex.py:171
↓ 1 callersFunction_decode_tool_args
(raw: Any)
agent/src/providers/openai_codex.py:571
↓ 1 callersFunction_decrypt_aes_ecb
Decrypt AES-128-ECB media data. ``aes_key_b64`` is always base64-encoded (caller converts hex keys first).
agent/src/channels/weixin.py:1536
← previousnext →5,601–5,700 of 26,887, ranked by callers