MCPcopy Create free account

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

Functions8,953 in github.com/HKUDS/Vibe-Trading

↓ 2 callersFunction_write_ohlcv
(path: Path)
agent/tests/test_pattern_tool.py:241
↓ 2 callersFunction_write_proposal_to_disk
Persist a full mandate.proposal exactly as ``propose_mandate_profiles`` does. The propose tool writes ``<runtime_root>/live/<broker>/proposals/<i
agent/tests/test_cli_live.py:572
↓ 2 callersFunctionalpha_series_paired
Per-date paired alpha = signal_IC - random_IC, on the common index.
agent/src/factors/bench_runner_strict.py:177
↓ 2 callersFunctionapplySwarmEvent
(current: SwarmRunStatus, rawEvent: unknown, now = Date.now())
frontend/src/lib/swarmStatus.ts:131
↓ 2 callersFunctionasNumber
(value: unknown)
frontend/src/lib/swarmStatus.ts:17
↓ 2 callersFunctionattachStream
(newJobId: string)
frontend/src/pages/AlphaZoo.tsx:710
↓ 2 callersFunctionaudit_ledger_path
Return the path to the dedicated live-action ledger. Returns: ``<runtime_root>/live/audit.jsonl``. The file/parent is NOT created here;
agent/src/live/audit.py:96
↓ 2 callersFunctionauthQuerySuffix
()
frontend/src/lib/apiAuth.ts:21
↓ 2 callersFunctionbarStyle
(start: number, end: number, min: number, max: number)
frontend/src/components/charts/ValidationPanel.tsx:155
↓ 2 callersMethodbars
(self, symbol: str, frequency: int, start: int = 0, offset: int = 800)
agent/tests/test_mootdx_loader.py:65
↓ 2 callersFunctionbindDocLinks
(root = document)
wiki/docs/main.js:170
↓ 2 callersFunctionbroadening
Detect broadening (megaphone) patterns. Args: close: Closing price series. window: Detection window size. Returns: S
agent/src/tools/pattern_tool.py:256
↓ 2 callersFunctionbroker_supports_live_runner
Return whether any configured profile exposes live runner management.
agent/src/trading/service.py:383
↓ 2 callersFunctionbuildSwarmStatusFromStarted
(data: AnyRecord, now = Date.now())
frontend/src/lib/swarmStatus.ts:86
↓ 2 callersFunctionbuildSwarmStatusFromToolResultPreview
(preview: string, now = Date.now())
frontend/src/lib/swarmStatus.ts:254
↓ 2 callersFunctionbuild_filtered_registry
Build a ToolRegistry with only specified tools. Local-tools-only filtered builder. Swarm workers should call :func:`build_swarm_registry` ins
agent/src/tools/__init__.py:248
↓ 2 callersFunctionbuild_gateway_services
Build a gateway service bundle from optional overrides.
agent/src/channelsui/gateway_services.py:275
↓ 2 callersFunctionbuild_run_from_preset
Create a SwarmRun from a preset with user variables applied. Steps: 1. Load preset YAML 2. Create SwarmAgentSpec list from agents
agent/src/swarm/presets.py:214
↓ 2 callersFunctioncacheFromRun
(run: RunData | null, requestedSymbol?: string)
frontend/src/pages/RunDetail.tsx:70
↓ 2 callersFunctioncalcBOLL
(data: number[], period = 20, mult = 2)
frontend/src/lib/indicators.ts:32
↓ 2 callersFunctioncalcKDJ
(highs: number[], lows: number[], closes: number[], period = 9)
frontend/src/lib/indicators.ts:91
↓ 2 callersFunctioncalcMACD
(data: number[], fast = 12, slow = 26, sig = 9)
frontend/src/lib/indicators.ts:47
↓ 2 callersFunctioncalcRSI
(data: number[], period = 14)
frontend/src/lib/indicators.ts:71
↓ 2 callersMethodcalc_commission
Calculate commission for a trade. Args: size: Trade size. price: Execution price. direction: 1 or -1.
agent/backtest/engines/base.py:306
↓ 2 callersFunctioncalc_crypto_funding_fee
Calculate crypto funding fee for one symbol. Args: symbol: Instrument code. bar: Current bar data. timestamp: Bar timesta
agent/backtest/engines/_market_hooks.py:151
↓ 2 callersFunctioncalc_forex_swap
Calculate forex swap for one symbol. Args: symbol: Forex pair. timestamp: Bar timestamp. positions: Shared positions dict
agent/backtest/engines/_market_hooks.py:253
↓ 2 callersMethodcall_tool
Call one remote MCP tool and normalize its result. Args: remote_name: Remote tool identifier. arguments: Tool argumen
agent/src/tools/mcp.py:381
↓ 2 callersMethodchat
Call the LLM synchronously. Args: messages: Message list (OpenAI format). tools: Tool definition list (OpenAI functio
agent/src/providers/chat.py:233
↓ 2 callersFunctioncheck_connection
Check a connector profile without mutating broker state.
agent/src/trading/service.py:39
↓ 2 callersFunctioncheck_crypto_liquidation
Check if a crypto position should be liquidated. Args: symbol: Instrument code. bar: Current bar data. positions: Shared
agent/backtest/engines/_market_hooks.py:200
↓ 2 callersFunctioncjk_font_path
Resolve a CJK font file path. Resolution order: 1. Cached copy in ``fonts_dir()``. 2. First available system font from ``_system_
agent/src/shadow_account/fonts.py:57
↓ 2 callersFunctioncmd_code
Show generated code.
agent/cli/_legacy.py:2303
↓ 2 callersFunctioncmd_connector_resume
Clear the halt switch for a live remote MCP connector profile.
agent/cli/_legacy.py:4236
↓ 2 callersFunctioncmd_continue
Continue an existing run.
agent/cli/_legacy.py:1462
↓ 2 callersFunctioncmd_journal
Queue an "analyze my trade journal at <path>" agent turn. With a path: ``/journal trades.csv`` becomes the prompt ``Analyze my trade journal
agent/cli/commands/chat.py:116
↓ 2 callersFunctioncmd_list
List run history.
agent/cli/_legacy.py:2228
↓ 2 callersFunctioncmd_live_mandate
Print the committed mandate for a broker (read-only). Args: broker: Broker key. ``None`` uses the default broker (``robinhood``). Re
agent/cli/_legacy.py:3472
↓ 2 callersFunctioncmd_live_stop
Stop the persistent live runner (SPEC §7.5). Relays a stop request to ``POST /live/runner/stop``. Stopping the runner halts autonomous activi
agent/cli/_legacy.py:3635
↓ 2 callersFunctioncmd_memory_forget
Remove a memory entry by name.
agent/cli/_legacy.py:4916
↓ 2 callersFunctioncmd_memory_list
List persisted memory entries.
agent/cli/_legacy.py:4829
↓ 2 callersFunctioncmd_memory_search
Run keyword recall and display the top matches.
agent/cli/_legacy.py:4887
↓ 2 callersFunctioncmd_memory_show
Show full content of a single memory entry.
agent/cli/_legacy.py:4865
↓ 2 callersFunctioncmd_pine
Show Pine Script for a run.
agent/cli/_legacy.py:2317
↓ 2 callersFunctioncmd_shadow
Queue a Shadow Account agent turn. ``/shadow`` opens / inspects the shadow account. ``/shadow <path>`` trains a new shadow from a trade journ
agent/cli/commands/chat.py:147
↓ 2 callersFunctioncmd_show
Show run details.
agent/cli/_legacy.py:2264
↓ 2 callersFunctioncmd_swarm_cancel
Cancel a swarm run.
agent/cli/_legacy.py:2614
↓ 2 callersFunctioncmd_swarm_inspect
Inspect a swarm preset without starting workers.
agent/cli/_legacy.py:2455
↓ 2 callersFunctioncmd_swarm_list
List swarm run history.
agent/cli/_legacy.py:2527
↓ 2 callersFunctioncmd_swarm_presets
List available swarm presets.
agent/cli/_legacy.py:2417
↓ 2 callersFunctioncmd_swarm_show
Show swarm run details.
agent/cli/_legacy.py:2563
↓ 2 callersFunctioncmd_trace
Replay trace.jsonl to show full execution.
agent/cli/_legacy.py:2345
↓ 2 callersFunctioncompute_content_filter_warnings
Compute content-filter warnings based on the hit ratio. Args: content_filter_count: Number of LLM responses blocked by content
agent/src/providers/content_filter.py:75
↓ 2 callersFunctioncompute_hv
计算年化历史波动率。 Args: close: 收盘价序列。 window: 波动率计算窗口。 annualize: 年化系数(A股252,加密365)。 Returns: 年化历史波动率序列。
agent/src/skills/volatility/example_signal_engine.py:13
↓ 2 callersFunctioncompute_hv_percentile
计算 HV 的滚动百分位排名。 Args: hv: 历史波动率序列。 lookback: 百分位排名回看期。 Returns: 百分位值(0-100)。
agent/src/skills/volatility/example_signal_engine.py:28
↓ 2 callersMethodcompute_signal
Compose the requested alphas into a single signal panel. Args: panel: Wide panel dict with at minimum ``panel["close"]`` -- index
agent/src/skills/multi-factor/zoo_signal_engine.py:146
↓ 2 callersFunctionconfig_path
Return the trading connector config path.
agent/src/trading/profiles.py:40
↓ 2 callersFunctionconfig_path
Return the user-level Binance config path.
agent/src/trading/connectors/binance/sdk.py:180
↓ 2 callersFunctionconfig_path
()
agent/src/trading/connectors/dhan/sdk.py:149
↓ 2 callersFunctionconfig_path
Return the user-level Trading 212 config path.
agent/src/trading/connectors/trading212/sdk.py:134
↓ 2 callersFunctionconfig_path
()
agent/src/trading/connectors/shoonya/sdk.py:136
↓ 2 callersFunctionconfig_path
Return the user-level Tiger config path.
agent/src/trading/connectors/tiger/sdk.py:149
↓ 2 callersFunctionconfig_path
Return the user-level Longbridge config path.
agent/src/trading/connectors/longbridge/sdk.py:150
↓ 2 callersFunctionconfig_path
Return the user-level Alpaca config path.
agent/src/trading/connectors/alpaca/sdk.py:133
↓ 2 callersFunctionconfig_path
Return the user-level Futu config path.
agent/src/trading/connectors/futu/sdk.py:186
↓ 2 callersFunctionconfig_path
Return the user-level OKX config path.
agent/src/trading/connectors/okx/sdk.py:149
↓ 2 callersMethodconsume_outbound
Consume the next outbound message (blocks until available).
agent/src/channels/bus/queue.py:31
↓ 2 callersFunctioncriterionEvidenceCount
(snapshot: GoalSnapshot, criterionId: string)
frontend/src/pages/Agent.tsx:175
↓ 2 callersFunctioncriterion_is_covered
Return whether a criterion is already covered by status or evidence.
agent/src/goal/context.py:66
↓ 2 callersFunctiondefault_hypotheses_path
Return the configured hypotheses JSON path. Returns: Env override path when ``VIBE_TRADING_HYPOTHESES_PATH`` is set, otherwise ``
agent/src/hypotheses/registry.py:32
↓ 2 callersMethoddelete_session_goals
Delete all goal ledger rows for a session. Args: session_id: Session whose goal ledger should be removed. Returns:
agent/src/goal/store.py:548
↓ 2 callersFunctiondetect_format
Detect broker format by column-name signature. Args: df: Raw DataFrame from load_dataframe. Returns: Format identifier; "unk
agent/src/tools/trade_journal_parsers.py:94
↓ 2 callersFunctiondiscover_plugins
Discover external channel plugins registered via entry_points.
agent/src/channels/registry.py:223
↓ 2 callersFunctiondue_jobs
Return jobs whose ``next_run_at`` is at or before ``now_ms``. Args: jobs: The current job set. now_ms: The reference time in epoc
agent/src/live/runtime/scheduler.py:115
↓ 2 callersFunctiondw
(s: str)
agent/src/channels/signal.py:78
↓ 2 callersFunctiondw
(s: str)
agent/src/channels/telegram.py:169
↓ 2 callersFunctionearliest_next_run
Return the smallest ``next_run_at`` across ``jobs``. Args: jobs: The current job set. Returns: The earliest scheduled fire t
agent/src/live/runtime/scheduler.py:100
↓ 2 callersFunctionenrich_price_frames_with_fundamentals
Attach PIT-safe fundamental snapshots to daily price frames. Fundamental columns are prefixed with their table name, for example ``income_tot
agent/backtest/loaders/tushare_fundamentals.py:214
↓ 2 callersFunctionerrorFromResponse
(res: Response)
frontend/src/lib/api.ts:22
↓ 2 callersFunctionescapeCsvField
(value: unknown)
frontend/src/pages/RunDetail.tsx:48
↓ 2 callersMethodevent
Build an event trigger driven by a pure predicate. Args: predicate: A callable taking the runner-supplied event-state mapping
agent/src/live/runtime/triggers.py:195
↓ 2 callersMethodexecute
Call ``POST /tools/execute`` and hydrate truncated results.
agent/src/tools/qveris_tool.py:288
↓ 2 callersMethodexecute
(self, **kwargs: Any)
agent/src/tools/shadow_account_tool.py:88
↓ 2 callersMethodexport_manifest
Return a JSON-serialisable snapshot for wiki rendering.
agent/src/factors/registry.py:399
↓ 2 callersMethodfetch_ohlcv
(self, symbol, timeframe, since=None, limit=None)
agent/tests/test_ccxt_loader_bounded.py:42
↓ 2 callersFunctionfmt
(v: unknown, type: "pct" | "num" | "int" | "days" = "num")
frontend/src/pages/Compare.tsx:19
↓ 2 callersFunctionfmtNum
(v: unknown, digits = 3)
frontend/src/pages/AlphaZoo.tsx:102
↓ 2 callersFunctionformatLeverage
(leverage: MandateProfile["leverage"])
frontend/src/components/chat/MandateProposalCard.tsx:30
↓ 2 callersFunctionformatRunCardValue
(value: unknown)
frontend/src/pages/RunDetail.tsx:453
↓ 2 callersFunctionformatTimestamp
(ts: number)
frontend/src/lib/formatters.ts:85
↓ 2 callersFunctionformatUniverse
(universe: MandateProfile["universe"])
frontend/src/components/chat/MandateProposalCard.tsx:38
↓ 2 callersFunctionformatUsd
(value: number)
frontend/src/components/chat/MandateProposalCard.tsx:25
↓ 2 callersFunctionformat_mcp_server_name_collision_warning
Build operator-facing warning text for sanitized server-name collisions. Args: server_name: Raw MCP server name from config. loca
agent/src/tools/mcp.py:164
↓ 2 callersFunctionformat_robinhood_mcp_config_guidance
Build operator-facing guidance for enabling Robinhood MCP safely.
agent/src/config/schema.py:284
↓ 2 callersFunctionformat_robinhood_mcp_server_seed_json
Format the canonical Robinhood read-only ``mcpServers`` seed as JSON.
agent/src/config/schema.py:279
↓ 2 callersMethodfrom_mapping
Build a config from a JSON-like mapping. Args: data: Mapping with any subset of config fields. Returns: A no
agent/src/trading/connectors/ibkr/local.py:69
↓ 2 callersFunctiongetMetricLabel
(k: string)
frontend/src/lib/formatters.ts:43
↓ 2 callersFunctionget_account
Read account summary for a connector profile.
agent/src/trading/service.py:65
↓ 2 callersFunctionget_account_snapshot
Fetch account codes and account summary values.
agent/src/trading/connectors/ibkr/local.py:239
↓ 2 callersMethodget_definitions
Return all tools in OpenAI function calling format.
agent/src/agent/tools.py:68
↓ 2 callersFunctionget_history
Read historical bars for a connector profile. ``duration``/``bar_size``/``what_to_show``/``use_rth`` are the IBKR (``local_tws``) vocabulary.
agent/src/trading/service.py:147
← previousnext →1,501–1,600 of 8,953, ranked by callers