MCPcopy Create free account

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

Functions30,405 in github.com/HKUDS/Vibe-Trading

↓ 12 callersFunction_engine
(instruments=None, **config)
agent/tests/test_argentina_equity_engine.py:61
↓ 12 callersFunction_exact_order
(action, *, status="new", filled_qty="0", **changes)
agent/tests/test_sdk_order_gate.py:295
↓ 12 callersFunction_execute
(document, account_state=None)
agent/tests/test_paper_trade_reconcile.py:70
↓ 12 callersFunction_fetch
(daily, five, *, symbols=(_SYM,), interval="5m", from_date=_DAY, to_date=_DAY)
agent/tests/test_paper_trade_5m_session.py:121
↓ 12 callersFunction_fetch
(market: str, frames: dict[str, pd.DataFrame], from_date: str, to_date: str, symbols: list[str] | N
agent/tests/test_paper_trade_corporate_actions.py:88
↓ 12 callersMethod_fetch_daily_frame
Fetch and normalize one daily OHLCV frame, routing by symbol type. Args: code: Tushare ts_code. start_date: ``YYYYMMD
agent/backtest/loaders/tushare.py:237
↓ 12 callersFunction_guard
(adapter, **kwargs)
agent/tests/test_mandate_enforcement.py:301
↓ 12 callersFunction_inject_mock_transport
Route the probe's fresh ``httpx.AsyncClient`` through a MockTransport. The probe owns its client, so the only seam is the client class itself. Th
agent/tests/test_feishu_connection_test.py:55
↓ 12 callersFunction_inputs
(**over: object)
agent/tests/test_run_outcome_module.py:41
↓ 12 callersFunction_is_etf_listed
Detect exchange-listed ETF / LOF symbols (e.g. 510050.SH, 159915.SZ).
agent/backtest/loaders/_symbol_utils.py:12
↓ 12 callersFunction_is_supported
Return whether *code* is a symbol this loader handles. Covers US/HK/India/Korea/Canada/Vietnam/UK/European equities plus Yahoo's own futures
agent/backtest/loaders/yahoo_loader.py:52
↓ 12 callersFunction_job
(**overrides)
agent/tests/test_scheduled_delivery_outbox.py:42
↓ 12 callersFunction_ledger
(tmp_path: Path, values: tuple[float, ...])
agent/tests/test_grounding_operand_evidence.py:17
↓ 12 callersFunction_load
(api: Any, symbols: list[str] | None = None, **kwargs: Any)
agent/tests/test_industry_loader.py:82
↓ 12 callersFunction_load
(name: str)
agent/tests/test_paper_trade_fixtures.py:98
↓ 12 callersFunction_load_trades
Load trades from artifacts/trades.csv and convert to TradeRecord list.
agent/backtest/validation.py:449
↓ 12 callersFunction_make_channel
Build a Feishu channel that has NOT been started (no lark client).
agent/tests/test_feishu_connection_test.py:43
↓ 12 callersFunction_make_registry
(tmp_path: Path)
agent/tests/test_cli_hypothesis.py:18
↓ 12 callersFunction_market
Normalize one gamma market through the tool and return the record.
agent/tests/test_prediction_market_tool.py:168
↓ 12 callersFunction_movement
( *, datum: str = "01.09.2026", isin: str = VALID_ISIN, name: str = "Example World ETF", i
agent/tests/test_extraetf_reader.py:96
↓ 12 callersFunction_normalize_symbol
Convert a user-supplied code to the project's canonical loader symbol. The data loaders key US/HK/A-share instruments by an exchange-suffixed
agent/backtest/correlation.py:95
↓ 12 callersFunction_observation
(strike: float, iv: float, expiry: float = 1.0)
agent/tests/quantlib/test_surface_diagnostics.py:19
↓ 12 callersFunction_parse_daily_rows
Convert vendor quote rows into an ascending OHLCV frame. Field names come from the tools' own ``columns`` maps, which differ by market: A-sha
agent/backtest/loaders/gildata_loader.py:252
↓ 12 callersFunction_parseable_payload
()
agent/tests/test_paper_trade_schema.py:345
↓ 12 callersFunction_point
(strike, expiry, iv)
agent/tests/quantlib/test_volatility_surface.py:19
↓ 12 callersFunction_records
Normalize a Futu data payload to a list of row dicts. Handles a pandas DataFrame (via ``to_dict('records')``), an existing list of dicts, a s
agent/src/trading/connectors/futu/sdk.py:1159
↓ 12 callersFunction_reject_mixed_currency
Refuse a code set whose members do not settle in one currency. The shared capital pool holds a single scalar of cash and sums position values
agent/backtest/engines/composite.py:93
↓ 12 callersFunction_rendered_prompt
()
agent/tests/test_agent_output_discipline.py:34
↓ 12 callersFunction_reply
(content: str = "", tool_calls: list | None = None)
agent/tests/test_vibe_trading_sdk.py:84
↓ 12 callersFunction_require
Import an optional backend module or raise an actionable ImportError. Args: module_path: Dotted module to import, e.g. ``"statsmodels.tsa
agent/src/quantlib/timeseries.py:68
↓ 12 callersFunction_require_finite
Check a value is a finite number, refusing NaN and infinity. Args: value: The candidate value. name: Field name for the error mes
agent/src/quantlib/credit.py:109
↓ 12 callersFunction_require_futu
()
agent/src/trading/connectors/futu/sdk.py:1018
↓ 12 callersFunction_rich_payload
(**overrides)
agent/tests/test_paper_trade_schema.py:116
↓ 12 callersFunction_run
(coro: Any)
agent/tests/test_feishu_connection_test.py:82
↓ 12 callersMethod_run_node_with_retries
Run a worker with automatic retry on failure.
agent/src/swarm/runtime.py:1078
↓ 12 callersFunction_run_tool
(run_dir: Path, result: _FakeRunResult)
agent/tests/test_backtest_summary.py:137
↓ 12 callersFunction_score_text
Score one text snippet in [-1, 1]. Returns a dict with ``score`` (float), ``positive`` (int), and ``negative`` (int).
agent/src/tools/sentiment_tool.py:68
↓ 12 callersFunction_service
(tmp_path, *, account_ref: str = ACCOUNT)
agent/tests/test_robinhood_portfolio_source.py:86
↓ 12 callersFunction_settings_store
(tmp_path)
agent/tests/test_portfolio_service.py:17
↓ 12 callersFunction_store
(tmp_path)
agent/tests/test_live_decision_budget.py:14
↓ 12 callersFunction_store
(tmp_path: Path)
agent/tests/test_scheduled_delivery_outbox.py:38
↓ 12 callersFunction_strategy
( *, artifact_id: str = "art_parent", name: str = "momentum", universe: str = "CSI300", ar
agent/tests/test_strategy_store_adaptation.py:68
↓ 12 callersFunction_to_float
Safely cast to float; return default on failure.
agent/src/tools/trade_journal_parsers.py:315
↓ 12 callersFunction_tokenize
Split text into searchable tokens (ASCII >=2 chars + non-Latin chars).
agent/src/memory/persistent.py:152
↓ 12 callersFunction_tolerance
()
agent/tests/test_binance_shadow_evidence.py:119
↓ 12 callersMethod_write_artifacts
Write CSV artifacts compatible with daily_portfolio format.
agent/backtest/engines/base.py:2447
↓ 12 callersFunctionact
(operation: () => Promise<unknown>)
frontend/src/components/settings/HistoryStorageSettings.tsx:71
↓ 12 callersMethodadd_listener
Register a callback that runs synchronously on the publisher thread. Args: listener: Callback that receives each published event.
agent/src/session/events.py:188
↓ 12 callersMethodallow
Record a hit for ``key`` and report whether it stays within budget.
agent/src/api/system_routes.py:93
↓ 12 callersFunctionar1
Generate a mean-zero AR(1) series, the discrete analogue of an OU process. Args: phi: Persistence coefficient; |phi| < 1 gives a stationa
agent/tests/quantlib/test_timeseries.py:47
↓ 12 callersMethodassistant
Record one model response as it enters the model's messages. Args: message: OpenAI-format assistant message. phase: C
agent/src/session/runtime.py:119
↓ 12 callersFunctionbind_llm_session_id
Bind ``session_id`` as the active LLM session in the current context. Args: session_id: Vibe session ID. Empty, whitespace-only, or None
agent/src/providers/session_context.py:10
↓ 12 callersFunctionbuild_binance_drift_evidence
Build one comparison or fail-closed rejection record. The returned record is evidence only. It never updates local accounting or implies that
agent/backtest/binance_shadow_evidence.py:65
↓ 12 callersFunctioncall
(method, *args, **kwargs)
agent/src/data_gateway/history_api.py:24
↓ 12 callersMethodcancel
Cancel one task by its tracked process group. Args: task_id: Identifier returned by :meth:`run`. Returns: JS
agent/src/tools/background_tools.py:486
↓ 12 callersMethodcancel_current
Request cancellation of work owned by a session. Args: session_id: Session ID whose active turn or background work should be canc
agent/src/session/service.py:612
↓ 12 callersFunctioncategorise_strict
Bucket a strict bench row into one of four ``StrictCategory`` values. Required keys on ``row``: - ``alpha_t_full`` (float) - ``al
agent/src/factors/bench_runner_strict.py:251
↓ 12 callersFunctioncommand
(source: str)
agent/tests/test_background_host_lifecycle.py:20
↓ 12 callersFunctionenterprise_value
Bridge a known equity market value to enterprise value. EV = market_cap + total_debt - cash_and_equivalents + minority_interest
agent/src/quantlib/valuation/comps.py:422
↓ 12 callersFunctionfind_peaks_valleys
Detect peaks and valleys in a price series. Args: close: Closing price series. window: Half-window size; effective window is 2*wi
agent/src/tools/pattern_tool.py:26
↓ 12 callersMethodget
(self, alpha_id)
agent/tests/test_strategy_discovery_facade.py:116
↓ 12 callersFunctionget_loader_cls_with_fallback
Return a loader *class* for *source*, falling back if unavailable. Args: source: Requested data source name. Returns: A Data
agent/backtest/loaders/registry.py:641
↓ 12 callersMethodget_margin_rate
Look up exchange margin rate for a product. Args: symbol: Futures symbol. Returns: Margin rate (e.g. 0.10 fo
agent/backtest/engines/china_futures.py:324
↓ 12 callersMethodget_revision
Return one immutable revision by its stable ID.
agent/src/research_artifacts/store.py:334
↓ 12 callersFunctionget_runs_dir
Return the user-level directory holding run artifacts.
agent/src/config/paths.py:42
↓ 12 callersFunctionload_constraints
Build the constraint list from ``config['constraints']`` (empty if unset).
agent/backtest/constraints.py:173
↓ 12 callersMethodload_task
Load a task by ID. Args: task_id: ID of the task to load. Returns: Task state from its persisted JSON record
agent/src/swarm/task_store.py:44
↓ 12 callersFunctionmax_drawdown_analysis
Locate the worst peak-to-trough decline of an equity curve and its recovery. Args: equity: Net-value / equity series, strictly positive.
agent/src/quantlib/risk.py:442
↓ 12 callersFunctionmode
Set VIBE_TRADING_SWARM_SHELL_SANDBOX (None leaves the default) and reload the config.
agent/tests/test_swarm_shell_sandbox.py:52
↓ 12 callersFunctionnelson_siegel
Compute Nelson-Siegel zero rates for given maturities and parameters.
agent/src/quantlib/fixedincome.py:613
↓ 12 callersFunctionoption
(identifier="options1", **kwargs)
agent/tests/test_option_identity_dependency.py:63
↓ 12 callersMethodread_events
Read the event log with an optional offset for incremental streaming. Args: run_id: ID of the run whose journal is read.
agent/src/swarm/store.py:313
↓ 12 callersMethodrecover_on_start
Reconcile records left by a previous process, once and without reruns. A task id this interpreter is already running is left alone: a second
agent/src/tools/background_tools.py:247
↓ 12 callersMethodregister
(self, name, frame)
agent/tests/test_loader_retry_helpers.py:178
↓ 12 callersMethodrequest
(self, method, path, **kwargs)
tools/gateway_soak_history.py:100
↓ 12 callersMethodreset
()
frontend/src/hooks/__tests__/useSSE.test.ts:39
↓ 12 callersFunctionreset_llm_session_id
Restore the binding that was active before :func:`bind_llm_session_id`. Args: token: Token returned by bind_llm_session_id in the current
agent/src/providers/session_context.py:22
↓ 12 callersFunctionresidual_value
Unrealised NAV of the fund at its most recent mark. Only the latest valuation record counts. Earlier marks are stale by definition, and summi
agent/src/quantlib/fundmath.py:661
↓ 12 callersFunctionrotate_if_needed
Seal the active ledger into an archive segment when it grows too large. **Nothing is ever deleted.** This project is not a regulated entity and h
agent/src/governance/ledger.py:624
↓ 12 callersFunctionrun
(tmp_path, registry, monkeypatch, provider, prompt="Analyze NVDA", **kwargs)
agent/tests/test_swarm_continuation.py:57
↓ 12 callersFunctionsafe_user_path
Validate a user-supplied broker/export file path. Args: p: User-supplied path. `~` expansion is supported. Returns: Absolute
agent/src/tools/path_utils.py:400
↓ 12 callersMethodsave
Atomically persist the full job set. Write sequence: temp file in same dir -> fsync -> os.replace -> fsync parent dir. A SIGKILL at a
agent/src/scheduled_research/store.py:129
↓ 12 callersFunctionscenario
()
agent/tests/test_api_live_runtime.py:411
↓ 12 callersFunctionscenario
()
agent/tests/test_channel_manager_reload.py:131
↓ 12 callersMethodsend_delta
Deliver a streaming text chunk. Override in subclasses to enable streaming. Implementations should raise on delivery failure so the c
agent/src/channels/base.py:160
↓ 12 callersMethodsend_message
Start a user turn or enqueue its message durably when busy. Args: session_id: Session ID. content: Message content va
agent/src/session/service.py:365
↓ 12 callersMethodsweep_deliveries
Deliver every briefing whose run has reached a terminal state. Idempotent and restart-safe: the outbox row is the only source of trut
agent/src/scheduled_research/executor.py:567
↓ 12 callersFunctiontrip_halt
Trip the kill switch by writing a sentinel file. Writing is atomic (same-directory temp file + ``os.replace``) so a partial write can never l
agent/src/live/halt.py:72
↓ 12 callersMethodupdate_run
Atomically update run state. Args: run: Updated run state to write. Raises: FileNotFoundError: If the run di
agent/src/swarm/store.py:213
↓ 12 callersFunctionuseThemeDark
()
frontend/src/lib/theme-store.ts:25
↓ 11 callersFunction_args
(**kw: Any)
agent/tests/factors/test_alpha_compare.py:158
↓ 11 callersFunction_baostock_socket_guard
Bound and fairly admit SDK sessions without changing their serialization.
agent/backtest/loaders/baostock_loader.py:182
↓ 11 callersFunction_bold_row
Bold every cell in one worksheet row (typically a header row).
agent/src/quantlib/valuation/artifact.py:1021
↓ 11 callersFunction_build_runner
A runner whose only observable behavior is recording sweep invocations.
agent/tests/test_sweep_latch.py:118
↓ 11 callersFunction_by_code
(report: EvaluationReport)
agent/tests/harness_eval/test_runner.py:16
↓ 11 callersMethod_check_authentication_results
Parse the trusted Authentication-Results header for SPF/DKIM verdicts. A ``pass`` result alone is not enough: it only says the named
agent/src/channels/email.py:1095
↓ 11 callersFunction_collisions_in
Run the detector over an in-memory snippet (no repository involved).
agent/tests/test_dataclass_field_name_collisions.py:175
↓ 11 callersFunction_composite
(**overrides)
agent/tests/test_composite_vietnam_rules.py:34
↓ 11 callersMethod_connect
(self)
agent/src/portfolio/store.py:49
↓ 11 callersFunction_context_collapse
Layer 2: fold long text blocks in older messages without LLM call.
agent/src/session/compaction_ops.py:141
← previousnext →701–800 of 30,405, ranked by callers