Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HKUDS/Vibe-Trading
/ functions
Functions
26,887 in github.com/HKUDS/Vibe-Trading
⨍
Functions
26,887
◇
Types & classes
2,943
↳
Endpoints
204
↓ 1 callers
Function
_email_hints
Return the hand-written Email field hints (``enabled`` excluded). ``required`` decision: the frontend renders ``required`` as a decorative as
agent/src/channels/config_meta.py:155
↓ 1 callers
Method
_embed_live_action
Embed the redacted audit record under the frozen live-action key (H5). The forwarded broker result is a JSON object string; the record is add
agent/src/live/order_guard.py:844
↓ 1 callers
Function
_emit
Normalize one symbol's frame into ``results`` (+ provenance).
agent/src/market_data.py:412
↓ 1 callers
Function
_emit
(payload: dict[str, Any], output: Path | None)
agent/evals/harness/runner.py:88
↓ 1 callers
Function
_emit_detail
(hyp: Hypothesis)
agent/src/hypotheses/cli_handlers.py:105
↓ 1 callers
Method
_emit_static
Print a static line, pausing the spinner if running.
agent/cli/stream.py:292
↓ 1 callers
Function
_emit_table
(rows: list[Hypothesis])
agent/src/hypotheses/cli_handlers.py:72
↓ 1 callers
Method
_empty_frame
(self, schema: TableSchema, fields: Iterable[str] | None)
agent/backtest/loaders/tushare_fundamentals.py:257
↓ 1 callers
Function
_empty_history
()
agent/src/tools/paper_trade/strategy_exec.py:172
↓ 1 callers
Function
_empty_intraday_frame
()
agent/src/tools/paper_trade/data_5m.py:233
↓ 1 callers
Function
_empty_metrics
Return zero-valued metrics when no data is available.
agent/backtest/metrics.py:733
↓ 1 callers
Function
_empty_panel
(index: pd.DatetimeIndex, symbols: list[str])
agent/backtest/loaders/fundamentals_loader.py:532
↓ 1 callers
Function
_empty_payload
()
agent/tests/test_dragon_tiger_tool.py:80
↓ 1 callers
Function
_encrypt_aes_ecb
Encrypt data with AES-128-ECB and PKCS7 padding for CDN upload.
agent/src/channels/weixin.py:1507
↓ 1 callers
Function
_engine
(signals)
agent/tests/test_options_margin.py:39
↓ 1 callers
Function
_engine_case
(name: str, codes: list[str], reverse: bool)
agent/tests/test_execution_causality.py:149
↓ 1 callers
Method
_engine_diagnostics
Per-engine facts about how this run was priced. Default empty. An engine overrides this to state something the metrics cannot be deri
agent/backtest/engines/base.py:850
↓ 1 callers
Method
_engine_diagnostics
Expose applied fee rates and signed funding P&L in scalar metrics.
agent/backtest/engines/crypto.py:107
↓ 1 callers
Function
_engine_equity_frame_with_benchmark_gap
Same frame as _engine_equity_frame, with ONE blank benchmark cell. ``gap_index`` is the bar immediately BEFORE a regime's first bar, so every
agent/tests/test_strategy_discovery_harness.py:151
↓ 1 callers
Function
_engine_equity_frame_with_regime_exposure
Same frame as _engine_equity_frame, plus an exposure column that differs between the bear-labeled bars (index 8..17) and the bull-labeled bars
agent/tests/test_strategy_discovery_harness.py:127
↓ 1 callers
Function
_engine_specific_config_keys
Keys read by engines, excluding keys with shared runner/loader readers.
agent/backtest/runner.py:1393
↓ 1 callers
Function
_engines
()
agent/tests/test_skill_swing_engine_causality.py:45
↓ 1 callers
Method
_enqueue_delayed_entry
(self, key: str, target_id: str, target_kind: str, entry: MochatBufferedEntry)
agent/src/channels/mochat.py:771
↓ 1 callers
Function
_enrich_positions_with_metadata
(cfg: EtoroConfig, positions: list[dict[str, Any]])
agent/src/trading/connectors/etoro/sdk.py:422
↓ 1 callers
Function
_enrich_us_cik
Return new candidates with a SEC CIK attached to U.S.-equity rows. Only ``.US`` equity symbols are looked up; the SEC table maps bare tickers
agent/src/tools/symbol_search_tool.py:963
↓ 1 callers
Method
_ensure_agent
Register an agent by its ID if not already tracked. Return its key.
agent/cli/_legacy.py:2152
↓ 1 callers
Function
_ensure_agent_env_file
Ensure the selected settings dotenv exists with private permissions.
agent/src/api/helpers.py:127
↓ 1 callers
Function
_ensure_bottleneck
Attempt to import bottleneck on first access. Reads ``VIBE_TRADING_DISABLE_BOTTLENECK`` through the lazy :func:`get_env_config` accessor so r
agent/src/factors/_backend.py:36
↓ 1 callers
Function
_ensure_callback_port_available
Fail cleanly before an embedded OAuth callback server tries to bind.
agent/src/portfolio/service.py:165
↓ 1 callers
Method
_ensure_config
(self)
agent/backtest/loaders/local_loader.py:291
↓ 1 callers
Method
_ensure_entry
Return the active per-tool entry, creating it on first use.
agent/cli/_legacy.py:587
↓ 1 callers
Method
_ensure_typing_indicators_enabled
Enable typing indicators on the bot account.
agent/src/channels/signal.py:1423
↓ 1 callers
Function
_entity
Decode the character reference (``.``, `` ``) at ``index``. Returns: ``(character, source width)``, or None when there is no ref
agent/src/agent/grounding/figures.py:348
↓ 1 callers
Function
_entry_condition_matches
Evaluate deterministic price features against a Shadow rule.
agent/src/shadow_account/scanner.py:104
↓ 1 callers
Function
_enum_text
Render ``OrderSide.BUY``-style enum reprs as ``BUY``. broker_sdk connectors stringify SDK enums, so the raw repr reaches the table. Only stri
agent/cli/_legacy.py:4830
↓ 1 callers
Function
_enum_token
(value: Any)
agent/src/trading/connectors/alpaca/sdk.py:940
↓ 1 callers
Function
_env
Jinja2 environment rooted at our templates directory.
agent/src/shadow_account/codegen.py:65
↓ 1 callers
Function
_env
()
agent/src/shadow_account/reporter.py:288
↓ 1 callers
Function
_env_candidates
Return provider `.env` candidates in the same order as ``src.providers.llm``.
agent/cli/main.py:298
↓ 1 callers
Function
_env_int
Read a positive integer environment variable with a safe fallback. Args: name: Environment variable name. default: Fallback value
agent/src/agent/trace.py:24
↓ 1 callers
Function
_env_override_db_path
Resolve the ``vibe_trading_strategy_discovery_db_path`` EnvConfig field. The field is defined on the env schema (``src.config.env_schema``); a
agent/src/strategy_discovery/evidence_store.py:105
↓ 1 callers
Function
_env_path
()
agent/cli/onboard.py:120
↓ 1 callers
Function
_env_shell_tools_enabled
Return whether shell tools were explicitly enabled via the environment.
agent/mcp_server.py:134
↓ 1 callers
Function
_env_shell_tools_enabled
Return whether server-side shell tools are explicitly enabled.
agent/src/api/security.py:556
↓ 1 callers
Function
_env_timeout
()
agent/src/trading/tap_forward.py:219
↓ 1 callers
Method
_envelope
Wrap mode output in the shared success envelope. Args: mode: The dispatched mode name. data: Mode-specific payload.
agent/src/tools/prediction_market_tool.py:1219
↓ 1 callers
Method
_envelope
(jobs: Dict[str, ScheduledResearchJob])
agent/src/scheduled_research/store.py:276
↓ 1 callers
Method
_envelope
Wrap jobs in the versioned on-disk envelope. Args: jobs: Jobs to serialize. Returns: A JSON-serializable dic
agent/src/live/runtime/jobstore.py:218
↓ 1 callers
Function
_environment_values
()
agent/src/trading/connectors/longbridge/credentials.py:127
↓ 1 callers
Function
_epoch
(date_str: str)
agent/tests/test_zerodha_broker_loader.py:20
↓ 1 callers
Function
_epoch
(date_str: str)
agent/tests/test_india_broker_loader.py:19
↓ 1 callers
Function
_equity_preview
Read ``equity.csv`` into bounded preview points. Columns follow the engine's artifact contract: ``timestamp,ret,equity, drawdown,benchmark_eq
agent/src/tools/backtest_summary.py:220
↓ 1 callers
Function
_err
(msg: str)
agent/src/tools/report_audit_tool.py:624
↓ 1 callers
Function
_err
Build the standard error JSON envelope.
agent/src/tools/financial_rigor_tool.py:58
↓ 1 callers
Function
_err
Serialize a failure envelope.
agent/src/tools/margin_trading_tool.py:123
↓ 1 callers
Function
_err
(payload: Any)
agent/src/trading/tap_forward.py:227
↓ 1 callers
Function
_error
Return the shared error envelope.
agent/src/tools/load_skill_tool.py:145
↓ 1 callers
Function
_error
Build the failure envelope as a JSON string. Args: message: Human-readable error description. Returns: A ``{"ok": false, "er
agent/src/tools/market_screener_tool.py:59
↓ 1 callers
Function
_error
Build the failure envelope as a JSON string. Args: message: Human-readable error description. Returns: A ``{"ok": false, "er
agent/src/tools/fund_flow_tool.py:54
↓ 1 callers
Function
_error
Build the failure envelope as a JSON string. Args: message: Human-readable error description. Returns: A ``{"ok": false, "er
agent/src/tools/research_papers_tool.py:583
↓ 1 callers
Function
_error
Build the tool's stable error envelope. Args: message: Operator-facing explanation. Returns: A JSON string with ``status`` s
agent/src/tools/cashflow_analytics_tool.py:479
↓ 1 callers
Function
_error
Render a failure envelope as a JSON string.
agent/src/tools/research_reports_tool.py:398
↓ 1 callers
Function
_error
Build the failure envelope as a JSON string. Args: message: Human-readable error description. Returns: A ``{"ok": false, "er
agent/src/tools/prediction_market_tool.py:229
↓ 1 callers
Function
_error
Render a failure envelope as a JSON string.
agent/src/tools/options_chain_tool.py:227
↓ 1 callers
Function
_error
Render a failure envelope as a JSON string.
agent/src/tools/sec_filings_tool.py:398
↓ 1 callers
Function
_error
Build the failure envelope as a JSON string. Args: message: Human-readable error description. Returns: A ``{"ok": false, "er
agent/src/tools/image_vision_tool.py:39
↓ 1 callers
Function
_error
(exc: Exception)
agent/src/tools/sdm_decay_scan_tool.py:28
↓ 1 callers
Function
_error
(exc: Exception)
agent/src/tools/sdm_register_tool.py:24
↓ 1 callers
Function
_error
Build the failure envelope as a JSON string. Args: message: Human-readable error description. Returns: A strict JSON ``{"ok"
agent/src/tools/get_fundamentals_tool.py:23
↓ 1 callers
Function
_error
Render a failure envelope as a JSON string.
agent/src/tools/shareholder_count_tool.py:299
↓ 1 callers
Function
_error
Build the failure envelope as a JSON string.
agent/src/tools/orderbook_depth_tool.py:150
↓ 1 callers
Function
_error
(message: str)
agent/src/tools/market_data_tool.py:59
↓ 1 callers
Function
_error
Render a failure envelope as a JSON string.
agent/src/tools/symbol_search_tool.py:1007
↓ 1 callers
Function
_error
(message: str)
agent/src/tools/fund_nav_tool.py:82
↓ 1 callers
Function
_error
Render a failure envelope as a JSON string.
agent/src/tools/fred_macro_tool.py:284
↓ 1 callers
Function
_error
Build a stable error envelope.
agent/src/tools/options_payoff_tool.py:357
↓ 1 callers
Function
_error
Build the failure envelope as a JSON string. Args: message: Human-readable error description. Returns: A ``{"ok": false, "er
agent/src/tools/financial_statements_tool.py:115
↓ 1 callers
Method
_error
Render a failure envelope as a JSON string. Args: message: Human-readable error text. Returns: ``{"ok": fals
agent/src/tools/iwencai_tool.py:245
↓ 1 callers
Method
_error
Render a failure envelope as a JSON string. Args: message: Human-readable error text. Returns: ``{"ok": fals
agent/src/tools/dragon_tiger_tool.py:340
↓ 1 callers
Method
_error
Render a failure envelope as a JSON string.
agent/src/tools/stock_profile_tool.py:386
↓ 1 callers
Function
_error_document
Serialize one in-band AM-5 error envelope to its wire JSON text. ``received_state_hash`` is computed from the RAW payload (AM-4-1/AM-4-4) and
agent/src/tools/paper_trade/tool.py:108
↓ 1 callers
Function
_error_envelope
Build the ``status="error"`` envelope with the standard key set.
agent/src/factors/compare_runner.py:71
↓ 1 callers
Function
_error_message
(response: requests.Response)
agent/src/trading/connectors/trading212/sdk.py:441
↓ 1 callers
Function
_error_message
(response: requests.Response)
agent/src/trading/connectors/upbit/sdk.py:616
↓ 1 callers
Method
_error_message
Extract a human-readable error from an error envelope.
agent/src/live/order_guard.py:834
↓ 1 callers
Function
_escalated_stream_retry_delay_s
Return the capped exponential delay for the one-based failure streak. Doubles per consecutive retryable failure (1.0s, 2.0s, 4.0s, ...) so a
agent/src/swarm/worker.py:93
↓ 1 callers
Function
_escape_smoke
Confirm manifest-derived fields are escaped in the rendered HTML. We check the two highest-risk fields (``formula_latex``, ``notes``) for the
wiki/scripts/build_alpha_library.py:445
↓ 1 callers
Function
_etoro_account_currency
Extract the account currency from a normalized eToro account snapshot.
agent/src/trading/service.py:944
↓ 1 callers
Function
_eval_arith_node
Recursively evaluate an arithmetic AST node in the Decimal domain. Args: node: An AST node from a parsed expression. Returns:
agent/src/tools/financial_rigor_tool.py:92
↓ 1 callers
Method
_evaluate_signals
评估当前信号状态,返回交易方向。 Args: c: CZSC 分析器实例。 Returns: 1=做多, -1=做空, 0=观望。
agent/src/skills/chanlun/example_signal_engine.py:134
↓ 1 callers
Method
_event_attachment_type
(self, event: MatrixMediaEvent)
agent/src/channels/matrix.py:831
↓ 1 callers
Method
_event_declared_size_bytes
(self, event: MatrixMediaEvent)
agent/src/channels/matrix.py:841
↓ 1 callers
Function
_event_feed_specs
Parse the optional ``event_feeds`` feed definitions from backtest config. ``event_feeds`` is a list of feed-definition dicts (there is no built-i
agent/backtest/engines/base.py:464
↓ 1 callers
Method
_event_filename
(self, event: MatrixMediaEvent, attachment_type: str)
agent/src/channels/matrix.py:853
↓ 1 callers
Method
_event_mime
(self, event: MatrixMediaEvent)
agent/src/channels/matrix.py:846
↓ 1 callers
Function
_event_resolution
Derive an event's settlement state from the markets beneath it. An event carries no prices, no oracle status and no winner flag of its own, s
agent/src/tools/prediction_market_tool.py:467
↓ 1 callers
Method
_event_thread_root_id
(self, event: RoomMessage)
agent/src/channels/matrix.py:803
↓ 1 callers
Function
_events_payload
Serialize ``events``, failing closed on an unknown ``event_type``.
agent/src/tools/paper_trade/wire.py:313
↓ 1 callers
Method
_evidence_by_strategy
Map strategy_id -> sorted regimes that have evidence rows.
agent/src/strategy_discovery/facade.py:346
↓ 1 callers
Function
_evidence_verdicts
(case: HarnessCase, bundle: ArtifactBundle)
agent/evals/harness/assertions.py:450
← previous
next →
5,801–5,900 of 26,887, ranked by callers