MCPcopy Create free account

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

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

↓ 1 callersFunction_first_item
(payload: Any)
agent/src/trading/connectors/toss/sdk.py:615
↓ 1 callersFunction_first_number
Return the first numeric value found in row, otherwise NaN.
agent/src/skills/fundamental-filter/example_signal_engine.py:129
↓ 1 callersFunction_first_present
Return the first key whose value is not None (0/'' are kept), else None. Connectors expose different result schemas (IBKR-style ``position``/``av
agent/cli/_legacy.py:4627
↓ 1 callersFunction_first_proxy_env
(*names: str)
agent/backtest/loaders/ccxt_loader.py:89
↓ 1 callersFunction_first_proxy_env
(*names: str)
agent/backtest/loaders/okx.py:72
↓ 1 callersFunction_first_rate
(payload: Any, instrument_id: int)
agent/src/trading/connectors/etoro/sdk.py:479
↓ 1 callersFunction_first_row
(value: Any)
agent/src/trading/connectors/kis/sdk.py:917
↓ 1 callersFunction_first_sql_string
(sql)
agent/tests/test_loader_retry_helpers.py:195
↓ 1 callersFunction_fit_cell
Clip and pad text to an exact display cell width.
agent/cli/_legacy.py:492
↓ 1 callersFunction_fit_changes
Trim the change list to the share of the result budget reserved for it. ``fit_records`` pages the position list but the changes block rides along
agent/src/tools/institutional_holdings_tool.py:1614
↓ 1 callersFunction_fit_downsample_payload
Serialize a downsample envelope, re-striding to fewer points if needed. ``base`` is the envelope skeleton without ``rows`` / ``downsample`` f
agent/src/tools/run_artifact_tool.py:343
↓ 1 callersMethod_fit_rebalance_opens
Scale the open sleeve by one common factor so the basket fits. #1274: a fully invested target basket plus commission overdrafts by a
agent/backtest/engines/base.py:1900
↓ 1 callersFunction_fit_rows_payload
Serialize a rows-mode page, shrinking whole rows until it fits budget. Mirrors ``_result_paging.fit_records``: shrink proportionally to the o
agent/src/tools/run_artifact_tool.py:306
↓ 1 callersFunction_five_minute_contradictions
( data: Mapping[str, SymbolData], symbols: tuple[str, ...], from_date: str, to_date: str,
agent/src/tools/paper_trade/data.py:621
↓ 1 callersFunction_five_minute_leg_mismatch
True when the daily and 5m legs disagree in a way a halt cannot explain. A daily bar with no continuous 5m bar is a provider omission only when t
agent/src/tools/paper_trade/data.py:605
↓ 1 callersFunction_fixture_frame
()
agent/tests/test_paper_trade_golden_hk.py:49
↓ 1 callersFunction_fixture_frame
()
agent/tests/test_paper_trade_golden_us.py:45
↓ 1 callersFunction_fixture_frame
(name: str)
agent/tests/test_paper_trade_readiness.py:102
↓ 1 callersMethod_fixup_mrkdwn
Fix markdown artifacts that slackify_markdown misses.
agent/src/channels/slack.py:737
↓ 1 callersMethod_flat_equity
Equity that stays flat at 1M (zero return).
agent/tests/test_metrics.py:347
↓ 1 callersFunction_flatten_open_positions
Submit a closing order for each open position, auditing each (no retry). A long position (``qty > 0``) is closed by a sell of ``abs(qty)``; a sho
agent/src/live/runtime/flatten.py:321
↓ 1 callersFunction_float_or_none
Cast *value* to a plain Python float (handles numpy scalars). Return None for None.
agent/src/trading/connectors/mt5/reads.py:314
↓ 1 callersMethod_flush
(self)
agent/src/skills/ashare-pre-st-filter/scripts/fetch_sina_penalties.py:365
↓ 1 callersMethod_flush_media_group
Wait briefly, then forward buffered media-group as one turn.
agent/src/channels/telegram.py:1558
↓ 1 callersMethod_flush_stream_overflow
Split an oversized stream buffer mid-flight. Edits the current stream message with the first chunk, sends any intermediate chunks as
agent/src/channels/telegram.py:1096
↓ 1 callersFunction_fmt
(value: Any, places: int = 4)
agent/src/tools/alpha_bench_tool.py:1223
↓ 1 callersFunction_force_utf8_stdout
Reconfigure stdout to UTF-8 on Windows so brand glyphs render.
agent/cli/input.py:107
↓ 1 callersMethod_forget
(self, kwargs: dict)
agent/src/tools/remember_tool.py:157
↓ 1 callersFunction_form_allowed
(form: str, freq: str)
agent/backtest/loaders/fundamentals_loader.py:298
↓ 1 callersMethod_format_attached_data
Render ``QueryRequest.context`` items within a character budget. Args: request: The parsed ``QueryRequest``. budget:
agent/src/openbb_bridge/context_injector.py:131
↓ 1 callersMethod_format_dashboard
Render the current dashboard's name and active tab. ``openbb_ai.models.DashboardInfo`` exposes ``id`` / ``name`` / ``current_tab_id``
agent/src/openbb_bridge/context_injector.py:320
↓ 1 callersFunction_format_duration
Delegate to the shared formatter; fall back locally on import error.
agent/cli/components/tool_event.py:137
↓ 1 callersFunction_format_duration
(seconds: float)
agent/cli/ui/transcript.py:173
↓ 1 callersFunction_format_duration_local
Local fallback when ``agent.cli.utils.format.format_duration`` is absent. Parcel α owns the canonical implementation; until it lands we keep a
agent/cli/components/tool_event.py:116
↓ 1 callersFunction_format_env_value
Format a dotenv value without allowing multiline injection.
agent/src/api/helpers.py:193
↓ 1 callersFunction_format_exception_message
Render an exception into a user-facing error string. Args: exc: Exception to format. Returns: Human-readable error message.
agent/src/tools/mcp.py:1438
↓ 1 callersFunction_format_expiry_countdown
Return a human-readable countdown to ``expires_at`` (ISO-8601 UTC).
agent/cli/_legacy.py:3535
↓ 1 callersMethod_format_group_content
( *, text: str, nickname: str, user_id: Any, )
agent/src/channels/napcat.py:371
↓ 1 callersMethod_format_imap_date
Format date for IMAP search (always English month abbreviations).
agent/src/channels/email.py:887
↓ 1 callersMethod_format_interrupted_message
Build the transcript message for a recovered attempt. Args: partial: Durable assistant text captured before restart. Ret
agent/src/session/service.py:185
↓ 1 callersFunction_format_range
Return 'YYYY-MM-DD ~ YYYY-MM-DD' or empty.
agent/src/tools/trade_journal_tool.py:773
↓ 1 callersMethod_format_reply_with_quote
Format a reply-with-context message for the model without Teams wrapper noise.
agent/src/channels/msteams.py:501
↓ 1 callersFunction_format_symbol
Render a bare code + suffix into the project symbol convention. HK codes are zero-padded to five digits to match the loader/secid scheme. Ar
agent/src/tools/symbol_search_tool.py:777
↓ 1 callersFunction_format_tenor
Canonical column-name spelling for a tenor, so ``5`` and ``5.0`` from different issuers land in the same column instead of silently splitting
agent/src/quantlib/credit.py:705
↓ 1 callersMethod_format_thread_context
(self, messages: list[dict[str, Any]], *, current_ts: str | None)
agent/src/channels/slack.py:612
↓ 1 callersMethod_format_time
Format epoch timestamp to human-readable string.
agent/src/session/search.py:466
↓ 1 callersFunction_format_timeout
Return a human-readable timeout label.
agent/src/agent/tool_lifecycle.py:38
↓ 1 callersMethod_format_tool_hint_delta
Format a tool hint string with the 🔧 prefix for each line.
agent/src/channels/feishu.py:2487
↓ 1 callersMethod_format_tool_hint_lines
Split tool hints across lines on top-level call separators only.
agent/src/channels/feishu.py:2442
↓ 1 callersFunction_format_tool_name
(name: str)
agent/cli/ui/rail.py:69
↓ 1 callersMethod_format_tool_results
Render ``tool``-role message payloads within a character budget. Args: request: The parsed ``QueryRequest``. budget:
agent/src/openbb_bridge/context_injector.py:167
↓ 1 callersFunction_format_violations
(path: Path, violations: list[str])
agent/tests/factors/test_alpha_purity.py:117
↓ 1 callersMethod_format_widgets
Render widget names and current parameters, flagging the data gap. Args: request: The parsed ``QueryRequest``. Returns:
agent/src/openbb_bridge/context_injector.py:269
↓ 1 callersFunction_format_zero_enabled_tools_warning
Build a warning when discovery yields no locally enabled tools.
agent/src/tools/mcp.py:497
↓ 1 callersFunction_fraction
(value: float)
agent/src/tools/paper_trade/corporate_actions.py:149
↓ 1 callersFunction_frame
(rows: list[tuple[str, float]])
agent/tests/test_paper_trade_5m_readiness.py:49
↓ 1 callersFunction_frame
(idx)
agent/tests/test_get_market_data_size.py:101
↓ 1 callersFunction_frame
(closes: pd.Series)
agent/tests/test_returns_gaps_and_infinities.py:163
↓ 1 callersFunction_frame
(rows: list[list[float]])
agent/tests/factors/test_fundamental_ind_neutral_samples.py:45
↓ 1 callersFunction_frame
(rows: list[list[float]])
agent/tests/factors/test_fundamental_valuation_samples.py:53
↓ 1 callersFunction_frame
(rows: list[list[float]])
agent/tests/factors/test_fundamental_expansion_samples.py:63
↓ 1 callersFunction_frame_for_loader_cache
( frame: pd.DataFrame, )
agent/backtest/loaders/base.py:883
↓ 1 callersMethod_frame_from_rows
Assemble the canonical OHLCV DataFrame from client kline rows. Args: rows: Ascending ``{trade_date, open, high, low, close, volum
agent/backtest/loaders/eastmoney_loader.py:185
↓ 1 callersFunction_frame_records
Serialize a wide fundamental panel DataFrame as JSON-safe records. Args: df: Wide DataFrame indexed by date with symbols as columns.
agent/src/tools/get_fundamentals_tool.py:46
↓ 1 callersFunction_fresh_entry
Build a channel entry from the current disk section + merged status.
agent/src/api/channels_config_routes.py:271
↓ 1 callersMethod_fsync_dir
(directory: Path)
agent/src/scheduled_research/store.py:263
↓ 1 callersMethod_fsync_dir
Fsync a directory fd so a contained ``os.replace`` is durable. On platforms where opening a directory for fsync is unsupported (some
agent/src/live/runtime/jobstore.py:196
↓ 1 callersFunction_ftd_urls
Discover the most recent SEC fails-to-deliver archive URLs. The FOIA landing page is scraped rather than the filenames being computed, becaus
agent/src/tools/institutional_holdings_tool.py:426
↓ 1 callersFunction_full_id
(zoo_id: str, short_id: str)
agent/tests/factors/test_registry.py:62
↓ 1 callersFunction_fund_columns_required
Collect requested ``fund:*`` panel columns from selected factors. Args: selected_factors: Factor metadata/spec objects. Returns:
agent/backtest/runner.py:1027
↓ 1 callersFunction_futu_datetime
Combine Futu Date+Time cells; Excel serial floats become ISO datetime.
agent/src/tools/trade_journal_parsers.py:473
↓ 1 callersFunction_futu_market
Infer market from symbol/market column.
agent/src/tools/trade_journal_parsers.py:461
↓ 1 callersFunction_future_state_verdicts
(case: HarnessCase, bundle: ArtifactBundle)
agent/evals/harness/assertions.py:209
↓ 1 callersFunction_fuzzy_score
Return a heuristic score for ``needle`` matching ``name``. Higher = better. ``0`` means no match. Scoring order (boundary-friendly, like dex
agent/cli/commands/slash_router.py:177
↓ 1 callersFunction_gap_lines
Return the "Data Quality Notes" bullet lines, or an honest empty-state line.
agent/src/quantlib/valuation/artifact.py:1547
↓ 1 callersMethod_gate
(self, close: pd.Series, hv: pd.Series, i: int)
agent/src/skills/options-strategy/example_signal_engine.py:120
↓ 1 callersMethod_generate
(self, *args: Any, **kwargs: Any)
agent/src/providers/llm.py:554
↓ 1 callersMethod_generate_one
对单个标的生成波动率信号。 Args: df: OHLCV DataFrame。 Returns: 信号 Series。
agent/src/skills/volatility/example_signal_engine.py:96
↓ 1 callersMethod_generate_one
对单个标的生成日历信号。 Args: df: OHLCV DataFrame,index 为 DatetimeIndex。 Returns: 信号 Series。
agent/src/skills/seasonal/example_signal_engine.py:67
↓ 1 callersMethod_generate_one
对单个标的生成信号。 Args: df: OHLCV DataFrame,index 为 datetime。 Returns: 信号 Series(1=做多, -1=做空, 0=观望)。
agent/src/skills/technical-basic/example_signal_engine.py:203
↓ 1 callersFunction_generic_split_datetime
Combine a generic date with a clock string or Excel day fraction.
agent/src/tools/trade_journal_parsers.py:647
↓ 1 callersFunction_get
(key: str)
agent/src/trading/connectors/mt5/reads.py:324
↓ 1 callersMethod_get
(url: str, headers: Dict[str, str], timeout: float)
agent/tests/test_cli_runtime.py:182
↓ 1 callersMethod_get_access_token
Fetch an access token for Bot Framework / Azure Bot auth.
agent/src/channels/msteams.py:852
↓ 1 callersFunction_get_adapter
Return an adapter bound to the current session service, or ``None``.
agent/src/openbb_bridge/routes.py:69
↓ 1 callersFunction_get_api_key
()
agent/src/api/security.py:350
↓ 1 callersFunction_get_bench_semaphore
Return the process-wide bench semaphore, building it on first call.
agent/src/api/alpha_routes.py:85
↓ 1 callersMethod_get_botframework_jwks
Fetch and cache Bot Framework JWKS.
agent/src/channels/msteams.py:569
↓ 1 callersMethod_get_botframework_openid_config
Fetch and cache Bot Framework OpenID configuration.
agent/src/channels/msteams.py:553
↓ 1 callersMethod_get_channel_config
Get the config section for channel *name*.
agent/src/channels/manager.py:198
↓ 1 callersMethod_get_client
(self)
agent/backtest/loaders/mootdx_loader.py:98
↓ 1 callersMethod_get_client
Return a cached OpenAI client, recreating if config changed.
agent/src/tools/ocr/llm_vision_ocr.py:188
↓ 1 callersFunction_get_compare_semaphore
Return the process-wide compare semaphore, building it on first call.
agent/src/api/alpha_routes.py:94
↓ 1 callersMethod_get_extension
Get file extension based on media type or original filename.
agent/src/channels/telegram.py:1653
↓ 1 callersFunction_get_extra_loopback_hosts
()
agent/src/api/security.py:113
↓ 1 callersMethod_get_group_buffer_context
Get formatted context from the group's message buffer. Args: group_id: The group ID Returns: Format
agent/src/channels/signal.py:1021
↓ 1 callersMethod_get_media_type
Guess media type from file extension.
agent/src/channels/telegram.py:668
↓ 1 callersFunction_get_positions_sector_executor
Return the shared, process-lifetime industry-lookup executor. Created lazily on first use with ``_POSITIONS_SECTOR_WORKERS`` workers and neve
agent/src/api/runs_routes.py:463
↓ 1 callersFunction_get_price_frame
Return injected or fetched bars for ``symbol`` without raising.
agent/src/shadow_account/scanner.py:81
↓ 1 callersFunction_get_registry
Lazy-import Registry so this tool's import never triggers a zoo scan until the agent actually calls it.
agent/src/tools/alpha_zoo_tool.py:50
← previousnext →6,101–6,200 of 26,887, ranked by callers