MCPcopy Create free account

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

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

↓ 1 callersMethod_member_matches_handle
(cls, member: dict[str, Any], normalized: str)
agent/src/channels/slack.py:324
↓ 1 callersFunction_merge_agent_config_dicts
Merge top-level agent config payloads with MCP-aware server replacement.
agent/src/config/loader.py:262
↓ 1 callersFunction_merge_candidates
De-duplicate candidates by symbol, preserving first-seen order. When two sources resolve the same symbol the first hit wins and the second so
agent/src/tools/symbol_search_tool.py:926
↓ 1 callersFunction_merge_children
Move ``source``'s children into ``destination``; skip name collisions.
agent/src/config/migrate.py:77
↓ 1 callersFunction_merge_cjk_group
Collapse one run of unigram/bigram tokens back into display text. ``_prepare_cjk`` emits a CJK run as its unigrams in order, then its bigrams
agent/src/memory/search_index.py:88
↓ 1 callersFunction_merge_eastmoney
Fetch both 港股通 channels and merge them into ascending daily rows. Args: days: Trailing trading days per channel. Returns: As
agent/src/tools/southbound_tool.py:136
↓ 1 callersMethod_merge_input_position
(self, symbol: str, qty: Decimal, avg_cost: Decimal)
agent/src/tools/paper_trade/engine.py:200
↓ 1 callersFunction_merge_loopback_no_proxy
(value: str | None)
agent/tests/mcp_http_test_helpers.py:156
↓ 1 callersFunction_merge_mcp_server_dicts
Merge one MCP server payload, resetting incompatible transport fields when needed.
agent/src/config/loader.py:285
↓ 1 callersFunction_merge_positions
Union two aggregated position lists, summing anything they both report. Both sides are already scaled to USD by :func:`_aggregate`, which is what
agent/src/tools/institutional_holdings_tool.py:1111
↓ 1 callersMethod_merge_refs_from_disk_locked
Merge disk refs into memory to reduce lost updates across processes.
agent/src/channels/msteams.py:770
↓ 1 callersFunction_merge_sec_instants
Fold instant facts into the duration period ending on the same day. ``indicators`` mixes balance-sheet concepts (instant) with income-statement
agent/src/tools/financial_statements_tool.py:643
↓ 1 callersFunction_merge_swings
合并摆动高低点为时间排序的序列。 Args: swing_highs: 摆动高点序列。 swing_lows: 摆动低点序列。 Returns: 排序列表,每个元素为 (timestamp, price, type),type 为
agent/src/skills/harmonic/example_signal_engine.py:94
↓ 1 callersFunction_merge_tool_call_extra_content
Merge provider metadata from standardized and raw tool-call shapes.
agent/src/providers/chat.py:787
↓ 1 callersFunction_merge_zero_intervals
Merge adjacent continuous zero-payoff intervals.
agent/backtest/options_payoff.py:247
↓ 1 callersMethod_message
(self, decision: _Decision)
agent/src/providers/claude_cli.py:543
↓ 1 callersFunction_message_looks_transient
Check whether an exception message looks transient. Args: message: Exception message. Returns: ``True`` when the message mat
agent/src/tools/mcp.py:1390
↓ 1 callersFunction_message_text
(message: Any)
agent/src/channels/whatsapp.py:196
↓ 1 callersFunction_message_value
(message: Any, key: str, default: Any = None)
agent/src/providers/copilot_auth.py:111
↓ 1 callersFunction_meta_envelope
Serialize a ``meta`` envelope, enriched from the manifest when listed. A manifest-listed artifact additionally carries the card's claims when it
agent/src/tools/run_artifact_tool.py:419
↓ 1 callersFunction_metadata
(panel: Mapping[str, Any])
agent/src/factors/data_availability.py:105
↓ 1 callersFunction_metric_citations
Cite only scalar values actually present in the single metrics CSV row. Args: run_dir: Run artifact root. metrics: Values display
agent/backtest/run_card.py:458
↓ 1 callersFunction_metric_summary
( reports: Iterable[EvaluationReport], prefixes: tuple[str, ...], )
agent/evals/harness/report.py:61
↓ 1 callersFunction_metric_value_style
Return a compact color style for numeric metric values.
agent/cli/_legacy.py:544
↓ 1 callersMethod_migrate_stale_schema
Drop and recreate a cache DB that predates the current schema. ``CREATE TABLE IF NOT EXISTS`` never alters an existing table, so a DB
agent/src/strategy_discovery/evidence_store.py:189
↓ 1 callersFunction_min_interval
Resolve the per-call minimum spacing, honoring the env override.
agent/backtest/loaders/finnhub_loader.py:53
↓ 1 callersFunction_min_interval
Resolve the per-call minimum spacing, honoring the env override.
agent/backtest/loaders/pykrx_loader.py:71
↓ 1 callersFunction_min_interval
Resolve the per-call minimum Eastmoney request spacing in seconds.
agent/backtest/loaders/eastmoney_client.py:101
↓ 1 callersFunction_min_interval
Resolve the per-call minimum Alpha Vantage request spacing in seconds.
agent/backtest/loaders/alphavantage_loader.py:71
↓ 1 callersFunction_min_interval
Resolve the per-call minimum spacing, honoring the env override.
agent/backtest/loaders/gildata_loader.py:114
↓ 1 callersFunction_min_interval
Resolve the per-call minimum spacing, honoring the env override.
agent/backtest/loaders/stooq_loader.py:128
↓ 1 callersFunction_min_interval
Resolve the per-call minimum spacing, honoring the env override.
agent/backtest/loaders/fmp_loader.py:54
↓ 1 callersFunction_min_interval
Resolve the per-call minimum iWenCai request spacing in seconds.
agent/src/tools/iwencai_tool.py:47
↓ 1 callersFunction_mint_sse_ticket
Mint a single-use, ~60s ticket for one browser EventSource connection.
agent/src/api/security.py:318
↓ 1 callersFunction_minute_labels
240 one-minute labels served as if they were 5m bars.
agent/tests/test_paper_trade_5m_payload.py:46
↓ 1 callersFunction_mirrored_call_params
Reduce raw MCP call arguments to the ones the tool actually declares. Drops ``None`` values (no mirrored schema declares a nullable property, so
agent/mcp_server.py:2783
↓ 1 callersFunction_mirrored_tool_classes
Return the read-only tool classes exposed with their own JSON Schema. Each module is imported lazily AND independently: a missing optional de
agent/mcp_server.py:2744
↓ 1 callersFunction_missing_codex_login_error
()
agent/src/providers/openai_codex.py:326
↓ 1 callersFunction_missing_credential_code
(cfg: EtoroConfig)
agent/src/trading/connectors/etoro/client.py:207
↓ 1 callersFunction_missing_fields
(cfg: BinanceConfig)
agent/src/trading/connectors/binance/sdk.py:867
↓ 1 callersFunction_missing_fields
(cfg: DhanConfig)
agent/src/trading/connectors/dhan/sdk.py:595
↓ 1 callersFunction_missing_fields
(cfg: TigerConfig)
agent/src/trading/connectors/tiger/sdk.py:611
↓ 1 callersFunction_missing_fields
(values: Mapping[str, str])
agent/src/trading/connectors/longbridge/credentials.py:155
↓ 1 callersFunction_missing_fields
(cfg: AlpacaConfig)
agent/src/trading/connectors/alpaca/sdk.py:850
↓ 1 callersFunction_missing_optional_dependency
Return a dependency status error for lazily imported adapter SDKs.
agent/src/channels/registry.py:146
↓ 1 callersFunction_mock
(score_center: float)
agent/src/skills/event-driven/example_signal_engine.py:84
↓ 1 callersFunction_mock_stock
(pe_range, pb_range, roe_range)
agent/src/skills/fundamental-filter/example_signal_engine.py:143
↓ 1 callersFunction_mock_upbit_quote_if_needed
(monkeypatch, mod)
agent/tests/test_paper_sim_cancel_ids.py:32
↓ 1 callersFunction_mod
(name: str)
agent/tests/test_telegram_stream_end_no_preview.py:15
↓ 1 callersFunction_mod
(name: str)
agent/tests/test_telegram_split_fence_hang.py:17
↓ 1 callersFunction_mod
(name: str)
agent/tests/test_telegram_table_edge_columns.py:12
↓ 1 callersFunction_model_list_url
Return the OpenAI-compatible model-list endpoint for a provider URL.
agent/src/api/settings_routes.py:279
↓ 1 callersFunction_model_provenance
( run_dir: Path, config: Mapping[str, Any] )
agent/backtest/run_card.py:47
↓ 1 callersFunction_module
(name: str)
agent/tests/slack_stubs.py:18
↓ 1 callersFunction_module_level_forbidden_aliases
Map module-level names that are bound to a forbidden module. Module-level imports are deliberately not rejected outright (see the ``_FORBIDDE
agent/backtest/runner.py:699
↓ 1 callersFunction_month_spans
Contiguous runs of regime bars as ``YYYY-MM to YYYY-MM`` strings.
agent/src/strategy_discovery/evidence_harness.py:316
↓ 1 callersFunction_months
(start: date, end: date)
agent/src/br_data/cvm_funds.py:123
↓ 1 callersFunction_moonshot_label_points_at_moonshot
Report whether the Moonshot capability is actually talking to Moonshot. Mirrors ``_openai_label_points_at_openai``: ``MOONSHOT_BASE_URL`` can poi
agent/src/providers/llm.py:1445
↓ 1 callersFunction_ms_to_aware_dt
Convert epoch milliseconds to a tz-aware datetime in ``tz``. Args: now_ms: Epoch milliseconds, UTC. tz: Target IANA timezone name
agent/src/live/runtime/triggers.py:263
↓ 1 callersFunction_msg
(content: str)
agent/tests/test_scheduled_research_confirmation.py:212
↓ 1 callersFunction_muted_style
Resolve the muted ``style`` string for prompt_toolkit descriptions.
agent/cli/completer.py:42
↓ 1 callersFunction_named_target_paths
Return the .md file paths named in a user message (deduped). Both absolute Windows paths and bare or relative filenames are matched.
agent/src/agent/tool_results.py:107
↓ 1 callersMethod_names_session_source
Whether ``name`` is a call id, tool name or backtest run of this session.
agent/src/agent/grounding/policies.py:1381
↓ 1 callersFunction_nan_frame
(per_code: dict[str, pd.Series] | None = None)
agent/backtest/loaders/valuation_loader.py:263
↓ 1 callersFunction_native_attempt_reason
Identify a native tool attempt without parsing the model's prose.
agent/src/providers/claude_cli.py:363
↓ 1 callersFunction_native_deepseek_adapter_available
Return whether the optional native DeepSeek adapter can be imported.
agent/src/providers/llm.py:984
↓ 1 callersFunction_near
(observed: float, target: float, tolerance: float)
agent/backtest/engines/argentina_equity.py:255
↓ 1 callersFunction_nearest
The observed values closest to a rejected figure. Args: value: The rejected figure's value. targets: Every value the relevant evi
agent/src/agent/grounding/policies.py:143
↓ 1 callersFunction_net_amount
(row: dict[str, Any], buy_key: str, sell_key: str)
agent/src/tools/tushare_fallbacks.py:80
↓ 1 callersFunction_new_artifact_id
Generate a unique artifact identifier.
agent/src/strategy_store/sqlite_store.py:77
↓ 1 callersFunction_new_artifact_id
Generate a unique artifact identifier.
agent/src/strategy_store/store.py:44
↓ 1 callersMethod_new_client_id
(base: int)
agent/src/trading/connectors/ibkr/local.py:545
↓ 1 callersFunction_new_hypothesis_id
(title: str, created_at: str, existing_ids: set[str])
agent/src/hypotheses/registry.py:63
↓ 1 callersFunction_new_id
Return a short, sortable-enough opaque id with a typed prefix.
agent/src/live/mandate/commit.py:152
↓ 1 callersFunction_new_session
Create a fresh session record. Returns the id, or None on failure. Dual-writes to the filesystem :class:`SessionStore` (canonical JSONL log i
agent/cli/main.py:405
↓ 1 callersFunction_newest_full_period
Return the newest period the announcement index says is fully disclosed.
agent/src/tools/etf_holdings_tool.py:1482
↓ 1 callersMethod_next_remote_media_url
(self, current_url: str, location: str | None)
agent/src/channels/dingtalk.py:365
↓ 1 callersFunction_no_arbitrage_bounds
Return the price interval Black-Scholes can actually reach. As ``sigma`` goes to zero the price converges to the discounted forward intrinsic
agent/src/quantlib/options.py:364
↓ 1 callersMethod_no_mandate_result
Audit + return the result when no valid mandate is on file.
agent/src/live/runtime/runner.py:794
↓ 1 callersFunction_norm
(u: str)
agent/src/channels/signal.py:224
↓ 1 callersFunction_norm
(value)
agent/tests/scheduling/test_triggers_equivalence.py:33
↓ 1 callersFunction_normalise_fundamental_fields
Read the optional statement-table field map from backtest config.
agent/backtest/engines/base.py:400
↓ 1 callersFunction_normalise_row
(r: dict[str, Any])
agent/src/factors/cli_handlers.py:743
↓ 1 callersFunction_normalise_skip
Shape a bench-skipped entry for the compare envelope.
agent/src/factors/compare_runner.py:44
↓ 1 callersFunction_normalise_skipped
(s: dict[str, Any])
agent/src/factors/cli_handlers.py:765
↓ 1 callersFunction_normalize
Clip to the window, dedup dates, drop dirty bars — each with a warning. Returns ``(bars, drop_stats)``; ``bars`` is ascending by date with unique
agent/tests/fixtures/paper_trade/record_market_fixtures.py:165
↓ 1 callersFunction_normalize_artifact_refs
(artifact_refs: Sequence[Mapping[str, Any]] | None)
agent/backtest/run_card.py:401
↓ 1 callersFunction_normalize_bars
Normalize OHLCV columns and keep bars up to ``target``.
agent/src/shadow_account/scanner.py:135
↓ 1 callersMethod_normalize_bars
Normalize `bars()` output and clip to the requested window. bars() returns ``[open, close, high, low, vol, amount, year, month, day,
agent/backtest/loaders/mootdx_loader.py:237
↓ 1 callersFunction_normalize_cache_date
(value: str)
agent/backtest/loaders/base.py:703
↓ 1 callersFunction_normalize_candle_row
(candle: dict[str, Any])
agent/src/trading/connectors/etoro/sdk.py:531
↓ 1 callersFunction_normalize_capabilities
(value: Any)
agent/src/api/live_routes.py:1186
↓ 1 callersFunction_normalize_code
Reduce a Vibe-Trading symbol to its bare 6-digit A-share code. Accepts ``"600519"``, ``"600519.SH"``, ``"000001.SZ"`` and similar; the Eastmo
agent/src/tools/lockup_expiry_tool.py:75
↓ 1 callersMethod_normalize_daily
Normalize `get_k_data()` output to the OHLCV contract. get_k_data returns columns ``[open, close, high, low, vol, amount, date, code]
agent/backtest/loaders/mootdx_loader.py:218
↓ 1 callersFunction_normalize_date_arg
(s: str | None)
agent/src/skills/ashare-pre-st-filter/scripts/fetch_sina_penalties.py:556
↓ 1 callersFunction_normalize_frame
Normalise a list of LongPort Candlestick objects to OHLCV schema. Args: bars: List of candlestick objects returned by the SDK. Retur
agent/backtest/loaders/longbridge.py:160
↓ 1 callersFunction_normalize_fund_code
Normalize a project fund code onto the vendor's ``NNNNNN.OF`` ref. Bare 6-digit codes are treated as off-exchange (``.OF``); a ``.OF`` / ``.o
agent/src/tools/fund_nav_tool.py:56
↓ 1 callersMethod_normalize_id_list
(values: list[str])
agent/src/channels/mochat.py:390
↓ 1 callersFunction_normalize_instrument_row
(item: dict[str, Any])
agent/src/trading/connectors/etoro/instruments.py:540
↓ 1 callersFunction_normalize_issuer
(text: str)
agent/src/skills/ashare-pre-st-filter/scripts/fetch_sina_penalties.py:134
← previousnext →6,601–6,700 of 26,887, ranked by callers