MCPcopy Create free account

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

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

↓ 1 callersMethod__init__
(self, stream: Any)
agent/src/providers/llm.py:144
↓ 1 callersMethod__init__
Initialize ChatLLM. Args: model_name: Model name; defaults to the environment variable value.
agent/src/providers/chat.py:341
↓ 1 callersMethod__init__
(self, iterator: Iterator[Any], out: "queue.Queue[Any]")
agent/src/providers/stream_guard.py:51
↓ 1 callersMethod__init__
(self, config: Any, bus: MessageBus)
agent/src/channels/dingtalk.py:201
↓ 1 callersMethod__init__
(self)
agent/src/channels/qq.py:112
↓ 1 callersMethod__init__
(self, config: Any, bus: MessageBus)
agent/src/channels/discord.py:402
↓ 1 callersMethod__init__
Initialize the store. Args: path: Explicit store path. When ``None`` (default), resolves to ``runtime_dir()/jobs.
agent/src/live/runtime/jobstore.py:90
↓ 1 callersMethod__init__
(self)
agent/src/skills/ashare-pre-st-filter/scripts/fetch_sina_penalties.py:356
↓ 1 callersMethod__init__
(self, period: int, iterations: int, last_delta: float, tolerance: float)
agent/src/quantlib/valuation/threestatement.py:207
↓ 1 callersMethod__init__
(self, registry: DeferredToolRegistry)
agent/src/agent/tool_loading.py:112
↓ 1 callersMethod__init__
(self)
agent/tests/paper_trade_5m_fixtures.py:192
↓ 1 callersMethod__new__
(cls, *args: object, **kwargs: object)
agent/tests/test_longbridge_loader.py:198
↓ 1 callersMethod__next__
(self)
agent/tests/test_factor_api.py:263
↓ 1 callersFunction_acc_id_of
(row: Mapping[str, Any])
agent/src/trading/connectors/futu/sdk.py:1204
↓ 1 callersFunction_access_token
Return a cached or freshly issued OAuth2 client-credentials token.
agent/src/trading/connectors/toss/sdk.py:449
↓ 1 callersFunction_access_token
Return a cached or freshly issued OAuth token for ``cfg``'s host. KIS rate-limits token issuance to once per minute, so a valid cached token
agent/src/trading/connectors/kis/sdk.py:685
↓ 1 callersFunction_account_summary
(ib: Any, account: str | None)
agent/src/trading/connectors/ibkr/local.py:617
↓ 1 callersFunction_account_symbols
Broker symbol names for one account, fetched once and memoized ([] on failure). Memoized per ``(base_url, account_id)`` so the same account id on
agent/backtest/loaders/tickerall_loader.py:166
↓ 1 callersMethod_account_type
Return the account type label ('cash' unless ceilings allow leverage).
agent/src/tools/propose_mandate_tool.py:242
↓ 1 callersFunction_account_value_to_dict
(item: Any)
agent/src/trading/connectors/ibkr/local.py:728
↓ 1 callersFunction_account_values
(account: Mapping[str, Any], close_enough: CloseEnough)
agent/src/trading/connectors/binance/usdm.py:104
↓ 1 callersFunction_action_get
(registry: Any, alpha_id: str)
agent/src/tools/alpha_zoo_tool.py:89
↓ 1 callersFunction_action_health
(registry: Any)
agent/src/tools/alpha_zoo_tool.py:93
↓ 1 callersMethod_action_label
(self, step: RailStep)
agent/cli/ui/rail.py:556
↓ 1 callersFunction_action_list
( registry: Any, *, zoo: str | None, theme: str | None, universe: str | None, limit: i
agent/src/tools/alpha_zoo_tool.py:68
↓ 1 callersFunction_activate_profile
(profile: dict[str, Any])
agent/src/api/custom_provider_routes.py:156
↓ 1 callersFunction_active_by_symbol
(rows: list[Mapping[str, Any]], source: str)
agent/src/trading/connectors/binance/usdm.py:295
↓ 1 callersFunction_active_episodes
Return the identity of EVERY currently tripped halt episode. Both the per-broker and the global sentinel can be tripped at the same time, and
agent/src/live/runtime/sweep_latch.py:149
↓ 1 callersMethod_active_step
(self, tool: str, call_id: str = "")
agent/cli/ui/rail.py:463
↓ 1 callersMethod_activity_line
(self)
agent/cli/ui/rail.py:496
↓ 1 callersFunction_actual
(fn, args)
agent/tests/scheduling/test_triggers_equivalence.py:39
↓ 1 callersMethod_actual_weights
Return post-fill, mark-to-market weights for the currently held book.
agent/backtest/engines/base.py:2156
↓ 1 callersFunction_adapter_accepts_effort
Report whether the installed langchain-anthropic exposes the field. ``ChatAnthropic`` is configured with ``extra="ignore"``, so an unknown ke
agent/src/providers/llm.py:1216
↓ 1 callersFunction_add
(label: str, val: float | None, unit: str, lineno: int, raw: str)
agent/src/tools/report_audit_tool.py:229
↓ 1 callersFunction_add_connector_contract
(p: argparse.ArgumentParser)
agent/cli/_legacy.py:5682
↓ 1 callersFunction_add_connector_local
(p: argparse.ArgumentParser)
agent/cli/_legacy.py:5676
↓ 1 callersFunction_add_connector_profile_arg
(p: argparse.ArgumentParser, *, required: bool = False)
agent/cli/_legacy.py:5670
↓ 1 callersMethod_add_reaction
Add emoji reaction to a message (best-effort, non-blocking).
agent/src/channels/telegram.py:1586
↓ 1 callersFunction_add_runner_liveness_rows
Append persistent-runner liveness rows to a ``live status`` table. Liveness is reported from the local heartbeat files via the runtime contra
agent/cli/_legacy.py:3566
↓ 1 callersMethod_add_to_group_buffer
Add a message to the group's rolling buffer. Args: group_id: The group ID sender_name: Display name of sende
agent/src/channels/signal.py:982
↓ 1 callersFunction_add_weekdays
(day: date, count: int)
agent/backtest/engines/argentina_equity.py:368
↓ 1 callersFunction_adjust_ratio
Return adjclose/close when both are usable, else ``None`` (keep raw). A ratio that is missing, non-numeric, or wildly off (a bad tick, not a
agent/backtest/loaders/yahoo_client.py:276
↓ 1 callersFunction_adjusted_bar
The adjusted ``(open, high, low, close)`` one FMP bar yields, or ``None``. FMP carries only ``adjClose``, so the rest of a bar is its raw OHLC sc
agent/backtest/loaders/fmp_loader.py:193
↓ 1 callersFunction_adjusted_basis
The adjusted ``(open, high, low, close)`` one bar yields, or ``None``. Tiingo's fully adjusted OHLC is preferred; when only ``adjClose`` is p
agent/backtest/loaders/tiingo_loader.py:125
↓ 1 callersFunction_admits_metric
Decide whether a sentence may register a claim for one metric. A self-sufficient surface form needs nothing else. An ambiguous alias must sur
agent/src/tools/research_papers_tool.py:530
↓ 1 callersMethod_advisory_review
Run advisory providers if enabled; return verdict dict or None. Returns None when advisory is disabled or no providers are configured.
agent/src/live/order_guard.py:436
↓ 1 callersMethod_agenerate
(self, *args: Any, **kwargs: Any)
agent/src/providers/llm.py:562
↓ 1 callersFunction_agent
(max_retries: int = 2)
agent/tests/test_swarm_worker_retry_backoff.py:26
↓ 1 callersFunction_agent_spec_changed
Return whether an agent's defining configuration differs between runs. Only the fields that determine what/with-what the agent produces are c
agent/src/swarm/runtime.py:277
↓ 1 callersFunction_aggregate
Collapse duplicate rows for one security into a single position. A manager that spreads discretion across sub-advisers files one row per sub-
agent/src/tools/institutional_holdings_tool.py:821
↓ 1 callersFunction_aggregate_holding_range
Union holding-day ranges across all rules (lo=min, hi=max).
agent/src/shadow_account/backtester.py:766
↓ 1 callersFunction_alias_tokens_for_type
(description: str, slug: str)
agent/src/trading/connectors/etoro/instruments.py:125
↓ 1 callersFunction_aliyun_iqs_search
Search via Alibaba Cloud IQS (cloud-iqs.aliyuncs.com) — official API, structured (title/link/snippet/hostname), CN-direct (~1s), supports a financ
agent/src/tools/web_search_tool.py:34
↓ 1 callersFunction_all_alpha_ids
()
agent/tests/factors/test_missing_bar_fabrication.py:256
↓ 1 callersFunction_allow
Execute the order; consume a count + audit only on a non-error result.
agent/src/live/sdk_order_gate.py:434
↓ 1 callersMethod_allow
Forward the order unchanged; consume a count + audit only on success. ``MCPServerAdapter.call_tool`` does NOT raise on broker/network failure
agent/src/live/order_guard.py:364
↓ 1 callersFunction_allows_readonly_wildcard_probe
Return whether a live broker may use ``enabled_tools=["*"]``. The only supported exception today is IBKR's official MCP read probe: tool name
agent/src/config/schema.py:146
↓ 1 callersMethod_alpha_description
Build a display description from alpha meta (theme + notes joined).
agent/src/strategy_discovery/facade.py:265
↓ 1 callersMethod_alpha_summaries
Catalog entries for every loaded Alpha Zoo alpha (sorted).
agent/src/strategy_discovery/facade.py:276
↓ 1 callersFunction_alternating_panel
One asset whose daily return alternates +/-2% with constant volume. ``|ret|*v`` is therefore constant across the window (2.0 per bar), so a c
agent/tests/factors/test_qlib158_wvma_abs_numerator.py:36
↓ 1 callersFunction_analysis_symbol_key
Return a plausible instrument key, excluding common aggregate labels.
agent/src/agent/grounding/evidence.py:652
↓ 1 callersFunction_analytic_breakevens
Solve isolated roots and continuous zero intervals analytically.
agent/backtest/options_payoff.py:203
↓ 1 callersFunction_anchoring
Detect price anchoring: repeated trades cluster in a narrow price band. For each symbol with ≥5 trades, compute σ(price)/mean(price). A low ratio
agent/src/tools/trade_journal_tool.py:517
↓ 1 callersFunction_annotate_cn_period
Decide in place what a parsed period's rows actually cover. ``full_portfolio`` is claimed only when every one of these holds, so the label er
agent/src/tools/etf_holdings_tool.py:1102
↓ 1 callersFunction_annotate_relevance
Add target relevance fields used by E2 frequency counting.
agent/src/skills/ashare-pre-st-filter/scripts/fetch_sina_penalties.py:229
↓ 1 callersFunction_annualize_factor
Return the annualization factor ``sqrt(periods_per_year)``. ``ppy is None`` means the caller deliberately declined to specify a per-market ba
agent/backtest/risk_xray.py:247
↓ 1 callersFunction_anthropic_supports_effort
Report whether an Anthropic model accepts the effort parameter. Args: model: The configured Anthropic model name. Returns: T
agent/src/providers/llm.py:1203
↓ 1 callersFunction_any_latch_files
True when any per-episode/legacy latch file exists for BROKER.
agent/tests/test_sweep_latch.py:44
↓ 1 callersMethod_any_market_open
Whether any attached MARKET trigger's market is open at ``now``. Runners without MARKET triggers are always open (interval-only or ev
agent/src/live/runtime/runner.py:965
↓ 1 callersMethod_api_get_with_base
GET helper that allows overriding base_url for QR redirect polling.
agent/src/channels/weixin.py:290
↓ 1 callersMethod_api_send
Unified send helper for session and panel messages.
agent/src/channels/mochat.py:929
↓ 1 callersFunction_appearance_row
Project a raw appearance row to a compact, named record. Args: raw: One ``RPT_DAILYBILLBOARD_DETAILS`` row. Returns: A flat
agent/src/tools/dragon_tiger_tool.py:115
↓ 1 callersFunction_append_arg_text
(line: Text, args: str, *, limit: int)
agent/cli/ui/rail.py:268
↓ 1 callersMethod_append_duration
(self, line: Text, duration: str)
agent/cli/ui/rail.py:551
↓ 1 callersMethod_append_gc_log
Append GC decisions to gc.log.
agent/src/memory/lifecycle.py:329
↓ 1 callersMethod_append_media_tag
(text: str, kind: str, path: str)
agent/src/channels/whatsapp.py:669
↓ 1 callersFunction_append_message
Append a single message to the session JSONL log + FTS5 index. Dual-writes: * Canonical: append the :class:`Message` to ``messages.jsonl`` v
agent/cli/main.py:438
↓ 1 callersMethod_append_to_active
(self, text: str, *, throttle: bool)
agent/cli/ui/rail.py:485
↓ 1 callersMethod_apply_data_funding
(self)
agent/backtest/engines/crypto.py:274
↓ 1 callersFunction_apply_date_filter
( records: list[dict[str, Any]], start_date: str | None, end_date: str | None, )
agent/src/skills/ashare-pre-st-filter/scripts/fetch_sina_penalties.py:485
↓ 1 callersMethod_apply_post_action
( self, client: Any, uid: str, features: _ServerFeatures, )
agent/src/channels/email.py:787
↓ 1 callersMethod_apply_resume_overlay
Carry completed tasks from *resume_from* into *run* before execution. DAG semantics guarantee a completed task never depends on a failed one,
agent/src/swarm/runtime.py:782
↓ 1 callersFunction_apply_update
Validate → optional enable-transition probe → write → apply. The response ``applied`` field reports how the edit reached the runtime: ``refre
agent/src/api/channels_config_routes.py:454
↓ 1 callersFunction_archive_matches
Check the engine directory and call that produced an archived result. Args: root: Active run holding the archive manifest. declar
agent/src/agent/grounding/evidence.py:264
↓ 1 callersFunction_arg_max_chars
Resolve the argument length cap, ignoring a malformed override.
agent/cli/commands/institutional/runner.py:38
↓ 1 callersMethod_artifact_hash_matches
(path: Path, expected_hash: str | None)
agent/src/goal/store.py:866
↓ 1 callersFunction_arxiv_run
Execute one arXiv query and unpack the feed. Args: clauses: Query clauses, AND-ed together. max_results: Row cap, already clamped
agent/src/tools/research_papers_tool.py:1075
↓ 1 callersFunction_arxiv_search
Run an arXiv search, widening the phrase query when it finds nothing. Args: query: Free text matched against title and abstract.
agent/src/tools/research_papers_tool.py:1109
↓ 1 callersFunction_as_dict
Return ``value`` when it is a dict, else an empty dict.
agent/src/tools/backtest_summary.py:178
↓ 1 callersFunction_as_int
(idx: int)
agent/src/channels/weixin.py:65
↓ 1 callersFunction_as_iter
(value: Any)
agent/src/trading/connectors/trading212/sdk.py:492
↓ 1 callersFunction_as_of_index
Slice a daily price frame to bars completed before *buy_dt*. The loader frame is indexed by a tz-naive ``DatetimeIndex`` at day granularity;
agent/src/shadow_account/extractor.py:203
↓ 1 callersFunction_as_set
(values)
agent/tests/scheduling/test_triggers_equivalence.py:46
↓ 1 callersFunction_as_str
Echo a raw payload field as a string, or ``""`` when it is not one. The error envelope's ``account_id``/``market``/``range`` come from the raw
agent/src/tools/paper_trade/tool.py:95
↓ 1 callersMethod_assemble_inbound_content
Build ``(content, media_paths)`` for an inbound message. Pulls in group context, strips bot mentions, prefixes the sender's display n
agent/src/channels/signal.py:921
↓ 1 callersFunction_assemble_session_bar
(continuous: pd.DataFrame)
agent/src/tools/paper_trade/data_5m.py:313
↓ 1 callersFunction_assert_profile
Hard bidirectional identity guard, run inside every session. Paper profiles require a DEMO account; live profiles require a REAL account; con
agent/src/trading/connectors/mt5/_client.py:305
↓ 1 callersFunction_assert_real_root_untouched
Raise if the user's own live ledgers moved during the run.
agent/tests/conftest.py:129
↓ 1 callersMethod_assert_session_active
(self)
agent/src/channels/weixin.py:532
↓ 1 callersFunction_assess_five_minute_readiness
(result: MarketDataResult, day: str)
agent/src/tools/paper_trade/data_readiness.py:83
← previousnext →5,201–5,300 of 26,887, ranked by callers