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
_sha
(path: Path)
agent/tests/test_grounding_backtest_outputs.py:69
↓ 1 callers
Function
_sha256_file
Return the sha256 digest for a local artifact.
agent/src/tools/goal_tool.py:63
↓ 1 callers
Function
_sha256_hex
Return the hex SHA-256 digest of ``text``.
agent/src/governance/manifest.py:118
↓ 1 callers
Function
_shape_row
Shape one clist row dict into a normalized screener record. Args: raw: One element of ``data.diff`` (a per-instrument dict keyed by the
agent/src/tools/market_screener_tool.py:92
↓ 1 callers
Function
_shapes
The shape of every number in ``text``, in document order.
agent/tests/test_grounding_percentage_points.py:30
↓ 1 callers
Function
_short_date_is_structural
Whether a year-less ``MM-DD`` is a date rather than an integer range. Zero padding ("09-14") is how dates are written and ranges are not. An
agent/src/agent/grounding/figures.py:1170
↓ 1 callers
Method
_should_accept_inbound
Check if inbound Discord message should be processed.
agent/src/channels/discord.py:690
↓ 1 callers
Method
_should_execute
Return whether the most recent message is from the human.
agent/src/openbb_bridge/adapter.py:283
↓ 1 callers
Method
_should_reply_in_group
( self, *, group_id: Any, mentioned_self: bool, replying_to_bot: bool )
agent/src/channels/napcat.py:357
↓ 1 callers
Method
_should_respond_in_channel
(self, event_type: str, text: str, chat_id: str)
agent/src/channels/slack.py:690
↓ 1 callers
Method
_should_respond_in_group
Determine if the bot should respond to a group message. Args: message_text: The message text content mention
agent/src/channels/signal.py:1230
↓ 1 callers
Method
_should_respond_in_group
Check if the bot should respond in a guild channel based on policy.
agent/src/channels/discord.py:763
↓ 1 callers
Method
_should_use_history
True when the range starts older than recent-only window.
agent/backtest/loaders/okx.py:211
↓ 1 callers
Function
_show_banner
Print the welcome banner using best-effort stat probes.
agent/cli/main.py:311
↓ 1 callers
Function
_sig_split_row
Split a markdown table row, keeping empty leading/trailing cells. ``str.strip("|")`` would also drop empty edge cells (``||Name|`` → ``Name``,
agent/src/channels/signal.py:91
↓ 1 callers
Function
_sig_strip_cell
Strip inline markdown from a table cell for plain-text rendering.
agent/src/channels/signal.py:84
↓ 1 callers
Function
_signal
(date: str, expiry: str = _EXPIRY)
agent/tests/test_options_next_bar_fill.py:45
↓ 1 callers
Method
_signal_attachments_dir
Return the directory signal-cli writes inbound attachments to. Defaults to ``~/.local/share/signal-cli/attachments`` (the daemon's pl
agent/src/channels/signal.py:1050
↓ 1 callers
Function
_signal_engine
Build a signal engine that opens 10 contracts then closes ``close_qty``. ``close_qty=None`` omits the leg qty entirely (legacy full-close path).
agent/tests/test_options_partial_close.py:38
↓ 1 callers
Method
_signature_maps
(cls, message: Any)
agent/src/providers/llm.py:475
↓ 1 callers
Function
_sina_contract
Return the bare uppercase contract code Sina's endpoints expect.
agent/backtest/loaders/akshare_loader.py:63
↓ 1 callers
Function
_size_guards
Connector-level per-order guards (demo AND live), fail-closed.
agent/src/trading/connectors/mt5/orders.py:260
↓ 1 callers
Function
_sized_volume
Resolve the order volume in lots, or return an error message string.
agent/src/trading/connectors/mt5/orders.py:228
↓ 1 callers
Function
_skills_with_reference_links
Return every bundled skill whose SKILL.md links into its own tree. Discovered, never listed. A hand-written tuple named five skills and let the
agent/tests/test_skill_reference_links.py:49
↓ 1 callers
Function
_skip_blank_row
Return whether a row is blank enough to skip, refusing an odd blank one. A genuinely empty line is how every file ends. A line of nothing but
agent/src/portfolio/extraetf.py:443
↓ 1 callers
Function
_slack_hints
Return the hand-written Slack field hints (``enabled`` excluded). ``required`` decision: :meth:`SlackChannel.start` (slack.py) logs "bot/app
agent/src/channels/config_meta.py:258
↓ 1 callers
Function
_slash_usage
Print the ``/playbook`` usage block. The ``\\[k=v ...]`` hints are backslash-escaped: rich treats a bare ``[k=v ...]`` as a markup tag and si
agent/cli/commands/research_playbook.py:383
↓ 1 callers
Function
_sleep
(ib: Any, seconds: float)
agent/src/trading/connectors/ibkr/local.py:667
↓ 1 callers
Function
_slim
(r: dict[str, Any])
agent/src/factors/bench_runner_strict.py:616
↓ 1 callers
Function
_slim
(r: dict[str, Any])
agent/src/factors/bench_runner.py:386
↓ 1 callers
Function
_slugify_type_label
(description: str)
agent/src/trading/connectors/etoro/instruments.py:120
↓ 1 callers
Function
_sma
SMA(x, n, m) per GTJA convention -> ewm with alpha = m/n.
agent/src/factors/zoo/gtja191/alpha_188.py:62
↓ 1 callers
Function
_sma
SMA(x, n, m) per GTJA convention -> ewm with alpha = m/n.
agent/src/factors/zoo/gtja191/alpha_174.py:62
↓ 1 callers
Function
_sma
SMA(x, n, m) per GTJA convention -> ewm with alpha = m/n.
agent/src/factors/zoo/gtja191/alpha_158.py:62
↓ 1 callers
Function
_sma
SMA(x, n, m) per GTJA convention -> ewm with alpha = m/n.
agent/src/factors/zoo/gtja191/alpha_146.py:62
↓ 1 callers
Function
_sma
SMA(x, n, m) per GTJA convention -> ewm with alpha = m/n.
agent/src/factors/zoo/gtja191/alpha_155.py:62
↓ 1 callers
Function
_sma
SMA(x, n, m) per GTJA convention -> ewm with alpha = m/n.
agent/src/factors/zoo/gtja191/alpha_164.py:62
↓ 1 callers
Function
_sma
SMA(x, n, m) per GTJA convention -> ewm with alpha = m/n.
agent/src/factors/zoo/gtja191/alpha_102.py:62
↓ 1 callers
Function
_sma
SMA(x, n, m) per GTJA convention -> ewm with alpha = m/n.
agent/src/factors/zoo/gtja191/alpha_135.py:62
↓ 1 callers
Function
_sma
SMA(x, n, m) per GTJA convention -> ewm with alpha = m/n.
agent/src/factors/zoo/gtja191/alpha_152.py:62
↓ 1 callers
Function
_sma
SMA(x, n, m) per GTJA convention -> ewm with alpha = m/n.
agent/src/factors/zoo/gtja191/alpha_162.py:62
↓ 1 callers
Function
_sma
SMA(x, n, m) per GTJA convention -> ewm with alpha = m/n.
agent/src/factors/zoo/gtja191/alpha_109.py:62
↓ 1 callers
Function
_sma
SMA(x, n, m) per GTJA convention -> ewm with alpha = m/n.
agent/src/factors/zoo/gtja191/alpha_173.py:62
↓ 1 callers
Function
_sma
SMA(x, n, m) per GTJA convention -> ewm with alpha = m/n.
agent/src/factors/zoo/gtja191/alpha_151.py:62
↓ 1 callers
Function
_sma
SMA(x, n, m) per GTJA convention -> ewm with alpha = m/n.
agent/src/factors/zoo/gtja191/alpha_122.py:62
↓ 1 callers
Function
_sma
SMA(x, n, m) per GTJA convention -> ewm with alpha = m/n.
agent/src/factors/zoo/gtja191/alpha_169.py:62
↓ 1 callers
Function
_sma
SMA(x, n, m) per GTJA convention -> ewm with alpha = m/n.
agent/src/factors/zoo/gtja191/alpha_160.py:62
↓ 1 callers
Function
_sma
SMA(x, n, m) per GTJA convention -> ewm with alpha = m/n.
agent/src/factors/zoo/gtja191/alpha_111.py:62
↓ 1 callers
Function
_small_float_panel
(n_symbols: int = 5, n_rows: int = 400)
agent/tests/factors/test_missing_bar_fabrication.py:308
↓ 1 callers
Function
_snippet
Trim prompt for auxiliary fields.
agent/src/tools/swarm_variables.py:440
↓ 1 callers
Method
_sort_key_for_update
Sort by chat message id first, then Telegram update id.
agent/src/channels/telegram.py:1355
↓ 1 callers
Function
_sort_value
Numeric sort value for a bench row; missing/garbage coerces to 0.0.
agent/src/factors/compare_runner.py:36
↓ 1 callers
Function
_source_cache_identity
Hash reader settings while excluding unrelated YAML annotations.
agent/backtest/loaders/local_loader.py:131
↓ 1 callers
Function
_source_file_revision
(entry: dict[str, Any])
agent/backtest/loaders/local_loader.py:151
↓ 1 callers
Function
_source_for
(field: str, metadata: Mapping[str, Any], universe: str)
agent/src/factors/data_availability.py:170
↓ 1 callers
Function
_source_intro_line
Return the Data Sources intro paragraph. ``source: "auto"`` appears twice — the intro and a later usage example — and the intro is the first.
agent/tests/test_readme_counts.py:630
↓ 1 callers
Function
_source_rank
(constraint: IdentityConstraint)
agent/src/agent/resolution_context.py:181
↓ 1 callers
Method
_spawn_channel_start
Start a channel in the background, keeping a strong task reference.
agent/src/channels/manager.py:254
↓ 1 callers
Function
_spec
()
agent/tests/test_advisory.py:67
↓ 1 callers
Function
_spec
()
agent/tests/test_enforcement_l6.py:167
↓ 1 callers
Function
_split_command
(command: str)
agent/cli/ui/rail.py:245
↓ 1 callers
Method
_split_headings
Split content by headings, converting headings to div elements.
agent/src/channels/feishu.py:1219
↓ 1 callers
Function
_split_md_row
Split a markdown table row, keeping empty leading/trailing cells. ``str.strip('|')`` would also drop empty edge cells (``||Name|`` → ``Name``,
agent/src/channels/telegram.py:182
↓ 1 callers
Function
_split_md_table_row
Split a markdown table row, keeping empty leading/trailing/middle cells. Filtering empties would shift later values onto earlier headers (``|
agent/src/tools/report_audit_tool.py:133
↓ 1 callers
Function
_split_metrics
Partition a metrics dict into (numeric, error_message).
agent/src/shadow_account/reporter.py:141
↓ 1 callers
Function
_split_sentences
Split normalized text into sentences. Args: text: Whitespace-normalized paragraph. Returns: Non-empty sentence strings in so
agent/src/tools/research_papers_tool.py:607
↓ 1 callers
Function
_split_session_days
Split one symbol's continuous 5m frame into per-day session facts (T4). Continuous windows only: the 09:30 opening-auction print is dropped s
agent/src/tools/paper_trade/data_5m.py:326
↓ 1 callers
Function
_split_telegram_markdown_html
Split raw Telegram Markdown and return HTML chunks within Telegram's limit.
agent/src/channels/telegram.py:318
↓ 1 callers
Function
_split_tool_call_id
(tool_call_id: Any)
agent/src/providers/openai_codex.py:457
↓ 1 callers
Function
_spot_bounds
Resolve explicit chart bounds or safe defaults covering every strike.
agent/src/tools/options_payoff_tool.py:308
↓ 1 callers
Function
_spot_points
Validate the bounded display-grid size.
agent/src/tools/options_payoff_tool.py:290
↓ 1 callers
Function
_sse
Format a single SSE frame.
agent/src/api/alpha_routes.py:848
↓ 1 callers
Method
_sse_receive_loop
Receive messages via Server-Sent Events (HTTP mode).
agent/src/channels/signal.py:609
↓ 1 callers
Function
_sse_url
(port: int)
agent/tests/test_mcp_sse_integration.py:30
↓ 1 callers
Function
_sse_usage_body
SSE payload whose final chunk carries real usage (stream include_usage).
agent/tests/test_provider_header_isolation.py:292
↓ 1 callers
Function
_stable_bars
()
agent/tests/test_fmp_stable_regression.py:9
↓ 1 callers
Function
_stack_text
Join Text lines while preserving segment styles.
agent/cli/_legacy.py:507
↓ 1 callers
Method
_start_http_mode
Start Signal channel using Server-Sent Events for receiving messages.
agent/src/channels/signal.py:474
↓ 1 callers
Function
_start_process
Start a shell command in a process group that can be stopped as a unit.
agent/src/tools/background_tools.py:51
↓ 1 callers
Function
_start_scheduled_research_executor
Start scheduled research execution when explicitly enabled. Single-writer invariant: the FastAPI lifespan is the SOLE owner of this call (``s
agent/src/api/scheduled_routes.py:173
↓ 1 callers
Method
_start_socket_client
(self)
agent/src/channels/mochat.py:396
↓ 1 callers
Method
_start_typing
Start periodic typing indicator updates for a chat.
agent/src/channels/signal.py:1350
↓ 1 callers
Method
_start_typing
Start typing indicator immediately when a message is received.
agent/src/channels/weixin.py:1238
↓ 1 callers
Method
_start_typing
Start periodic typing indicator for a channel.
agent/src/channels/discord.py:804
↓ 1 callers
Function
_start_ws_thread
Run the ``run_ws`` loop shape on a real thread with the fake client.
agent/tests/test_feishu_stop.py:61
↓ 1 callers
Function
_state_badge
Render a compact terminal status badge.
agent/cli/_legacy.py:411
↓ 1 callers
Function
_static_weights
(weights: Mapping[str, float], names: list[str], index: pd.Index)
agent/src/quantlib/combination.py:252
↓ 1 callers
Function
_status
()
agent/src/br_data/__main__.py:13
↓ 1 callers
Method
_status
Summarize snapshot coverage and integrity. Args: connection: Open snapshot connection. Returns: Row counts,
agent/src/tools/taiwan_stock_data_tool.py:579
↓ 1 callers
Function
_status_error
(report: dict[str, Any], code: str, message: str)
agent/src/trading/connectors/etoro/sdk.py:138
↓ 1 callers
Function
_status_error
(report: dict[str, Any], code: str, message: str)
agent/src/trading/connectors/longbridge/sdk.py:294
↓ 1 callers
Function
_status_error
Stamp a failed health report with the closed-vocabulary diagnostics.
agent/src/trading/connectors/futu/sdk.py:296
↓ 1 callers
Function
_stdout_is_tty
()
agent/src/factors/cli_handlers.py:140
↓ 1 callers
Method
_step_line
(self, step: RailStep, *, width: int)
agent/cli/ui/rail.py:505
↓ 1 callers
Method
_stock_legs
Share replica: call struck near zero, expiring after the data ends.
agent/src/skills/options-strategy/example_signal_engine.py:98
↓ 1 callers
Method
_stock_via_eastmoney
Fetch A-share headlines from Eastmoney for one code.
agent/src/tools/stock_news_tool.py:386
↓ 1 callers
Method
_stock_via_yahoo
Fetch US/HK news articles from Yahoo for one code.
agent/src/tools/stock_news_tool.py:399
↓ 1 callers
Method
_stop_cancelled_run
Stop a run after a user cancel and report its terminal state. The runtime owns the per-run cancel event; signalling it makes workers
agent/src/tools/swarm_tool.py:708
↓ 1 callers
Function
_stop_reconnect_process
(process: subprocess.Popen)
agent/src/api/portfolio_routes.py:87
↓ 1 callers
Function
_stop_scheduled_research_on_shutdown
Stop live drivers, channels and research even if one service fails.
agent/src/api/scheduled_routes.py:189
← previous
next →
7,401–7,500 of 26,887, ranked by callers