MCPcopy Create free account

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

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

↓ 1 callersMethod_build_jid
(self, raw: str)
agent/src/channels/whatsapp.py:404
↓ 1 callersFunction_build_keybindings
Wire Ctrl+C + multi-line submit semantics. State machine (idle / typing): Ctrl+C with text → clear the buffer and stay at the prompt
agent/cli/input.py:204
↓ 1 callersMethod_build_keyboard
Build inline keyboard markup if inline_keyboards is enabled.
agent/src/channels/telegram.py:1680
↓ 1 callersFunction_build_manager
(monkeypatch: pytest.MonkeyPatch, config: dict[str, Any])
agent/tests/test_channel_noop_refresh.py:116
↓ 1 callersFunction_build_manager
Construct a manager whose adapters are :class:`FakeChannel`.
agent/tests/test_channel_manager_reload.py:95
↓ 1 callersFunction_build_market_neutral_run
Explicit-benchmark run whose only asset class nets to zero (+0.5/-0.5 pair).
agent/tests/test_attribution_api.py:325
↓ 1 callersFunction_build_native_deepseek
Build the optional native DeepSeek adapter when installed. Returns: A ChatDeepSeek instance, or ``None`` when the optional package is not
agent/src/providers/llm.py:949
↓ 1 callersFunction_build_network_app
Build a DNS-rebinding-hardened FastMCP ASGI app for a network transport. Args: transport: ``"sse"`` or ``"streamable-http"``. all
agent/mcp_server.py:334
↓ 1 callersMethod_build_notify_handler
(self, event_name: str)
agent/src/channels/mochat.py:467
↓ 1 callersMethod_build_outbound_attachment_content
Build Matrix content payload for an uploaded file/image/audio/video.
agent/src/channels/matrix.py:397
↓ 1 callersFunction_build_panel
Reproduce the seeded panel used to generate the golden CSVs. Keep this in lockstep with the generator block in the docstring of ``fixtures/go
agent/tests/factors/test_alpha101_samples.py:39
↓ 1 callersFunction_build_panel
Deterministic panel matching the golden generation procedure.
agent/tests/factors/test_qlib158_samples.py:31
↓ 1 callersFunction_build_panel
Reproducible 160-row × 5-symbol OHLCV+amount+benchmark panel (seed=42).
agent/tests/factors/test_gtja191_part2_samples.py:40
↓ 1 callersFunction_build_parser
()
agent/src/pixel_agents/cli.py:10
↓ 1 callersFunction_build_price_panel
Convert ``code -> OHLCV frame`` rows into the factor panel shape. Args: data_map: Backtest loader output. Returns: ``column
agent/backtest/runner.py:1067
↓ 1 callersFunction_build_proxy_free_http_clients
Build sync and async HTTPX clients that ignore proxy environment vars. Supplying an explicit transport prevents ``httpx.Client`` from installing
agent/src/providers/llm.py:49
↓ 1 callersFunction_build_record
(raw: dict[str, Any])
agent/src/skills/ashare-pre-st-filter/scripts/fetch_sina_penalties.py:428
↓ 1 callersFunction_build_request
Build the ``order_send`` request dict, or return an error message string.
agent/src/trading/connectors/mt5/orders.py:281
↓ 1 callersFunction_build_response_from_run_dir
Build a run response from a persisted run directory.
agent/src/api/runs_routes.py:680
↓ 1 callersFunction_build_sections
Assemble the strict payload the Jinja template consumes. The template expects numeric values for any metrics it formats with ``%f`` — so we s
agent/src/shadow_account/reporter.py:110
↓ 1 callersFunction_build_source_orders
Build per-market source-order entries for the settings payload. ``effective_order`` reflects the running process (registry state after a refr
agent/src/api/settings_routes.py:604
↓ 1 callersMethod_build_ssl_context
(self)
agent/src/channels/websocket.py:381
↓ 1 callersMethod_build_strict_frames
( self, timestamp: pd.Timestamp, data_map: dict[str, pd.DataFrame], codes: lis
agent/backtest/engines/crypto.py:187
↓ 1 callersFunction_build_styles
Construct the style bundle for the current terminal mode.
agent/cli/theme.py:125
↓ 1 callersFunction_build_target_aliases
Build normalized target-name aliases for relevance checks. Args: stock_name: Official short name from ``stock_basic.name``. alias
agent/src/skills/ashare-pre-st-filter/scripts/fetch_sina_penalties.py:165
↓ 1 callersFunction_build_ticker_map
Build an uppercase ticker->padded-CIK map from the tickers payload. The SEC payload is a dict of positional string keys to records shaped like
agent/backtest/loaders/sec_edgar_client.py:121
↓ 1 callersFunction_build_top5_cards
(entry: dict[str, Any])
agent/scripts/w4a_patch_blog.py:135
↓ 1 callersFunction_build_typer_app
Build a typer app that mirrors the legacy surface. Best-effort only.
agent/cli/main.py:1564
↓ 1 callersFunction_build_valuations
Roll a known return path forward, injecting end-of-period client cash. ``V_k = V_{k-1} * (1 + r_k) + F_k`` is exactly the accounting the ``fl
agent/tests/quantlib/test_performance.py:32
↓ 1 callersFunction_build_welcome_panel
Build the welcome screen for the given terminal width.
agent/cli/_legacy.py:1704
↓ 1 callersFunction_bundled_skills_dir
Return the bundled read-only skills root.
agent/src/tools/read_file_tool.py:42
↓ 1 callersMethod_buttons_as_text
(buttons: list[list[str]])
agent/src/channels/telegram.py:1699
↓ 1 callersMethod_by_fingerprint
( self, content_hash: str, provenance_hash: str, artifact_id: str | None )
agent/src/research_artifacts/store.py:166
↓ 1 callersFunction_cache_index_columns
(frame: pd.DataFrame)
agent/backtest/loaders/base.py:914
↓ 1 callersFunction_cached
(vendor_code: Optional[str])
agent/backtest/loaders/gildata_codes.py:82
↓ 1 callersMethod_calc_open_equity
Value current positions at the execution bar's observable open. For a symbol that has a bar at ``ts``, its open is the mark available
agent/backtest/engines/base.py:1489
↓ 1 callersMethod_calc_raw_size
( self, symbol: str, target_notional: float, price: float, )
agent/backtest/engines/composite.py:335
↓ 1 callersMethod_calc_weights
Compute target weights from context. Args: ctx: Dict from ``_build_context``. Returns: Weight vector (n,) su
agent/backtest/optimizers/base.py:145
↓ 1 callersFunction_calendar_days
(from_date: str, to_date: str)
agent/src/tools/paper_trade/engine.py:91
↓ 1 callersFunction_call
(obj: Any, name: str)
agent/src/trading/connectors/ibkr/local.py:672
↓ 1 callersFunction_call
()
agent/tests/test_mcp_new_tools.py:303
↓ 1 callersFunction_call
(call_id: str, iteration: int)
agent/tests/test_agent_loop_repeatable_tools.py:155
↓ 1 callersMethod_call
Run the function and serialize its result.
agent/src/tools/quantlib_tool.py:434
↓ 1 callersFunction_call_args
(vector)
agent/tests/scheduling/test_triggers_equivalence.py:50
↓ 1 callersMethod_call_tool
Call a remote tool with timeout and no automatic retry. Args: remote_name: Remote tool name. arguments: Arguments to
agent/src/tools/mcp.py:772
↓ 1 callersFunction_calls
(arguments: str)
agent/tests/test_openai_codex_tool_schema.py:36
↓ 1 callersMethod_cancel_all_typing
Stop all typing tasks.
agent/src/channels/discord.py:846
↓ 1 callersMethod_cancel_delay_timers
(self)
agent/src/channels/mochat.py:814
↓ 1 callersMethod_cancel_remaining_tasks
Mark all non-completed tasks as cancelled. Args: task_store: TaskStore for persistence. current_layer_ids: Task IDs i
agent/src/swarm/runtime.py:1299
↓ 1 callersFunction_cancel_resting_orders
Cancel every resting/open order, auditing each call (no retry on error). Args: broker: Broker key for audit stamping. submit: Inj
agent/src/live/runtime/flatten.py:232
↓ 1 callersFunction_cancel_session_swarm_runs
Signal every live swarm run started by this session. Imported lazily: ``src.swarm.runtime`` pulls in worker/tool modules that would create an
agent/src/session/service.py:46
↓ 1 callersMethod_cancel_stream_task
Terminate the Stream Mode task. The SDK ``start()`` loop catches the first ``CancelledError`` and sleeps before reconnecting, so a se
agent/src/channels/dingtalk.py:276
↓ 1 callersFunction_cancel_unfilled
( session: "_MatchSession", day: "DayPlan", book: OrderBook, by_id: dict[str, Order] )
agent/src/tools/paper_trade/session_5m.py:85
↓ 1 callersFunction_cancel_via_tap
Cancel an order through the TAP proxy instead of the Alpaca SDK. A cancel mutates broker state (``DELETE /v2/orders/{id}``), so — like order
agent/src/trading/connectors/alpaca/sdk.py:766
↓ 1 callersFunction_canceled_payload
Serialize ``canceled_orders``, failing closed on the frozen token.
agent/src/tools/paper_trade/wire.py:291
↓ 1 callersFunction_candidates
Allowed run directories, newest first.
agent/src/tools/backtest_runs_tool.py:118
↓ 1 callersFunction_candle_to_dict
(item: Any)
agent/src/trading/connectors/upbit/sdk.py:685
↓ 1 callersFunction_candle_to_dict
Map an OKX candle array ``[ts,o,h,l,c,vol,volCcy,volCcyQuote,confirm]``. OKX candlesticks come back as positional arrays rather than dicts, so th
agent/src/trading/connectors/okx/sdk.py:768
↓ 1 callersFunction_candlestick_enums
Map a period string to the SDK ``Period`` and ``AdjustType`` enums.
agent/src/trading/connectors/longbridge/sdk.py:745
↓ 1 callersFunction_canonical
(outcome)
agent/tests/test_paper_trade_strategy_path.py:107
↓ 1 callersFunction_canonical_intraday_frame
Canonical 5m shape WITHOUT day normalization (bar labels are kept). ``_canonical_frame`` collapses every label to midnight, which is correct
agent/src/tools/paper_trade/data_5m.py:238
↓ 1 callersFunction_canonical_json
(value: object)
agent/src/research_artifacts/store.py:26
↓ 1 callersFunction_canonical_sha
(outcome)
agent/tests/test_paper_trade_multiday.py:232
↓ 1 callersFunction_canonical_sha
(outcome)
agent/tests/test_paper_trade_strategy_path.py:121
↓ 1 callersFunction_canonical_utc_timestamp
Validate an ISO-8601 timestamp and emit one canonical UTC representation.
agent/src/api/live_routes.py:260
↓ 1 callersFunction_capability_markets_in_skill
Extract the market-coverage cell for each Capability-table tool. Returns: Mapping of tool name -> the raw market-coverage cell text (colu
agent/tests/test_data_routing_sources_subset.py:108
↓ 1 callersMethod_capture
(self, data: str)
agent/src/skills/ashare-pre-st-filter/scripts/fetch_sina_penalties.py:370
↓ 1 callersFunction_car_std_error
Standard error of a CAR, prediction error and its covariance included. Every day in the window is forecast with the same estimated parameters, so
agent/src/quantlib/eventstudy.py:289
↓ 1 callersFunction_cash_info_to_dict
(item: Any)
agent/src/trading/connectors/longbridge/sdk.py:867
↓ 1 callersFunction_catalog_symbol
Resolve metadata without selecting a symbol or guessing between aliases.
agent/src/trading/connectors/mt5/_client.py:333
↓ 1 callersFunction_cell
(values: list[str])
agent/src/trading/capability_matrix.py:43
↓ 1 callersFunction_cell_symbol
The canonical symbol a table cell or header consists of, or None.
agent/src/agent/grounding/evidence.py:346
↓ 1 callersFunction_center_pad
(console: Console, width: int)
agent/cli/ui/banner.py:48
↓ 1 callersFunction_chain_for
Return the ordered fallback chain for ``src``. Prefers the chain of the symbol's own market when ``src`` is a member of it. Matching
agent/src/market_data.py:262
↓ 1 callersMethod_changes_block
Diff a resolved quarter against the manager's next-older quarter. The prior quarter is resolved through the same amendment chain as the
agent/src/tools/institutional_holdings_tool.py:1949
↓ 1 callersFunction_channel
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, file_bytes: bytes )
agent/tests/test_dingtalk_file_download.py:15
↓ 1 callersFunction_channel
()
agent/tests/test_slack_dm_pairing.py:21
↓ 1 callersFunction_channel_for
(bot_number: str)
agent/tests/test_signal_mention_utf16.py:17
↓ 1 callersFunction_channels_local_status
Build local channel config/import status without starting adapters.
agent/cli/_legacy.py:3205
↓ 1 callersMethod_chart_rows
(self)
agent/tests/test_vietnam_equity.py:56
↓ 1 callersFunction_chasing_momentum
Detect chasing: buys concentrated after recent price rises in the same symbol. For each BUY, look at the user's own last 3 trades of that symbol.
agent/src/tools/trade_journal_tool.py:482
↓ 1 callersFunction_chat_ok
(model: str)
agent/tests/test_llm_responses_self_heal.py:148
↓ 1 callersFunction_check
(label: str, value: str)
agent/src/swarm/worker.py:481
↓ 1 callersMethod_check_active_to_monitoring
active → monitoring: WARNING+ for warnings_for_monitoring consecutive.
agent/src/strategy_store/decay.py:198
↓ 1 callersMethod_check_decayed_to_disabled
decayed → disabled: CRITICAL for critical_for_disabled consecutive.
agent/src/strategy_store/decay.py:229
↓ 1 callersMethod_check_fib_ratios
验证 5 浪推动结构的 Fibonacci 浪间关系。 检查项: - 浪2 回撤浪1 的 0.5-0.618 - 浪3/浪1 在 1.0-2.618 范围 - 浪4 回撤浪3 的 0.236-0.5 Args:
agent/src/skills/elliott-wave/example_signal_engine.py:123
↓ 1 callersFunction_check_gate
Check if treatment passes the quality gate (>=10% relative P@5 improvement).
agent/tests/memory/benchmarks/runner.py:475
↓ 1 callersFunction_check_listening
Disambiguate ``EADDRINUSE``: a live listener is expected, not a failure.
agent/src/channels/websocket_probe.py:95
↓ 1 callersFunction_check_module_body
Module top-level statements must match a tight whitelist. Defense-in-depth: even though :func:`registry.load_alpha_meta_from_py` uses ``ast.l
agent/tests/factors/test_alpha_purity.py:200
↓ 1 callersMethod_check_monitoring_transition
monitoring → active (recovery) or monitoring → decayed.
agent/src/strategy_store/decay.py:210
↓ 1 callersMethod_check_pyharmonics
检测 pyharmonics 是否可用。 Returns: True 如果 pyharmonics 可正常导入。
agent/src/skills/harmonic/example_signal_engine.py:354
↓ 1 callersFunction_check_universe_floors
Enforce market-cap / liquidity floors via the data loaders (fail-closed). Both floors are optional (``None`` == no floor). When a floor is set, t
agent/src/live/enforcement.py:651
↓ 1 callersFunction_check_zhongshu
检测最近的有效中枢。 Args: bi_list: 笔列表。 Returns: 最近的有效中枢,没有则返回 None。
agent/src/skills/chanlun/example_signal_engine.py:69
↓ 1 callersFunction_checked_address
Resolve ``host`` and return one address, refusing any non-public one. Raises: httpcore.ConnectError: If the name does not resolve or any
agent/src/providers/endpoint_guard.py:78
↓ 1 callersFunction_child_lock_attempt
(repo_root: Path, home: Path)
agent/tests/test_daily_count.py:25
↓ 1 callersFunction_child_main
(conn: Any, payload: dict[str, Any])
agent/src/tools/paper_trade/strategy_exec.py:355
↓ 1 callersMethod_choose_candidate
Choose only a unique or strongly corroborated resolver candidate. Candidates are collapsed onto their canonical symbol first. Two rows
agent/src/agent/grounding/identity.py:915
↓ 1 callersFunction_civil_days
Whole calendar days from ``earlier`` to ``later``. ``Timedelta.days`` counts 24-hour blocks. Across a spring-forward, midnight to the next mi
agent/src/quantlib/risk.py:522
↓ 1 callersFunction_cjk_query_tokens
Generate unigram + bigram tokens from consecutive CJK chars for queries.
agent/src/memory/search_index.py:58
↓ 1 callersFunction_cjk_token_inner
The 1-2 CJK chars a unigram/bigram token carries, ignoring its markers. Returns ``None`` for anything else (plain non-CJK text, a bare "..."
agent/src/memory/search_index.py:76
← previousnext →5,401–5,500 of 26,887, ranked by callers