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
Method
now
(cls, tz=None)
agent/tests/test_research_reports_tool.py:60
Method
now
(cls, tz: dt.tzinfo | None = None)
agent/tests/test_mcp_alpha_zoo_contract.py:263
Method
now
(tz=None)
agent/tests/test_system_prompt_cache_stability.py:54
Method
now
(tz=None)
agent/tests/test_sdk_connectors_kis.py:274
Function
objective
(rate: float)
agent/src/quantlib/fundmath.py:395
Method
objective
(w: np.ndarray)
agent/backtest/optimizers/turnover_aware.py:182
Method
observed
(operand: float)
agent/src/agent/grounding/policies.py:2050
Function
offloaded
Record callables the runs routes hand to ``run_in_threadpool``.
agent/tests/api/conftest.py:13
Function
ohlcv_to_dict
Shape a ccxt OHLCV row into a named dictionary.
agent/src/trading/connectors/binance/shaping.py:96
Function
ok_handler
(request: httpx.Request)
agent/tests/test_qq_connection_test.py:320
Function
ok_handler
(request: httpx.Request)
agent/tests/test_feishu_connection_test.py:311
Function
ok_handler
(request: httpx.Request)
agent/tests/test_dingtalk_connection_test.py:293
Function
onKey
(event: KeyboardEvent)
frontend/src/components/layout/Layout.tsx:48
Function
onKey
(event: KeyboardEvent)
frontend/src/components/layout/SidebarNavigation.tsx:24
Function
onKeyDown
(event: KeyboardEvent)
frontend/src/components/chat/PineScriptViewer.tsx:20
Function
onKeyDown
(event: KeyboardEvent<HTMLInputElement>)
frontend/src/components/settings/ModelPicker.tsx:45
Function
onKeyDown
(e: KeyboardEvent)
frontend/src/components/common/ConfirmDialog.tsx:48
Function
onPointerDown
(event: PointerEvent)
frontend/src/components/settings/ModelPicker.tsx:28
Function
onRequest
(context)
wiki/functions/_middleware.js:46
Function
onRequest
(context)
wiki/functions/api/stats.js:55
Function
onScroll
()
frontend/src/pages/Agent.tsx:485
Function
onStorage
(event: StorageEvent)
frontend/src/hooks/useDarkMode.ts:42
Function
onSystemChange
(event: MediaQueryListEvent)
frontend/src/hooks/useDarkMode.ts:59
Method
on_app_command_error
( interaction: discord.Interaction, error: app_commands.AppCommandError,
agent/src/channels/discord.py:243
Method
on_bar
Apply daily swap/rollover at end of trading day.
agent/backtest/engines/forex.py:162
Method
on_bar
(self, bar: BarData)
agent/src/skills/vnpy-export/scripts/cta_template.py:83
Method
on_c2c_message_create
(self, message: C2CMessage)
agent/src/channels/qq.py:119
Method
on_call_tool
(self, context: Any, call_next: Any)
agent/mcp_server.py:106
Method
on_direct_message_create
(self, message)
agent/src/channels/qq.py:125
Function
on_event
(event: Any)
agent/src/providers/copilot_auth.py:242
Function
on_fire
(job: Job)
agent/tests/test_runtime_scheduler_kernel.py:42
Function
on_fire
(job)
agent/tests/test_api_live_runtime.py:701
Function
on_fire
(job: Job)
agent/tests/test_runtime_scheduler.py:106
Method
on_group_at_message_create
(self, message: GroupMessage)
agent/src/channels/qq.py:122
Function
on_halt_action
Run the registered preemptive-halt action for a tripped ``broker``. Called by the runner after it observes the HALT sentinel (via :func:`halt
agent/src/live/halt.py:251
Method
on_init
(self)
agent/src/skills/vnpy-export/scripts/cta_template.py:69
Method
on_list_tools
(self, context: Any, call_next: Any)
agent/mcp_server.py:100
Method
on_message
(self, message: discord.Message)
agent/src/channels/discord.py:105
Method
on_order
(self, order: OrderData)
agent/src/skills/vnpy-export/scripts/cta_template.py:125
Method
on_panel_events
(payload: dict[str, Any])
agent/src/channels/mochat.py:441
Method
on_ready
(self)
agent/src/channels/qq.py:116
Method
on_ready
(self)
agent/src/channels/discord.py:96
Method
on_reasoning
(self, delta: str)
agent/src/agent/loop_streaming.py:73
Method
on_session_events
(payload: dict[str, Any])
agent/src/channels/mochat.py:437
Method
on_start
(self)
agent/src/skills/vnpy-export/scripts/cta_template.py:73
Method
on_stop
(self)
agent/src/skills/vnpy-export/scripts/cta_template.py:77
Method
on_stop_order
(self, stop_order: StopOrder)
agent/src/skills/vnpy-export/scripts/cta_template.py:131
Function
on_terminal
(event: Any)
agent/src/api/live_routes.py:603
Function
on_text
(text: str)
agent/tests/test_chat_llm_streaming.py:191
Method
on_text
(self, delta: str)
agent/src/agent/loop_streaming.py:36
Method
on_thread_delete
(self, thread: discord.Thread)
agent/src/channels/discord.py:108
Method
on_thread_update
(self, before: discord.Thread, after: discord.Thread)
agent/src/channels/discord.py:111
Function
on_tick
(now_ms: int)
agent/tests/scheduling/test_kernel.py:41
Function
on_tick
(now_ms: int)
agent/tests/scheduling/test_kernel_sleep_hint.py:42
Method
on_tick
Return the injected per-tick callback (the only one the loop calls).
agent/src/scheduling/kernel.py:175
Method
on_tick
(self, tick: TickData)
agent/src/skills/vnpy-export/scripts/cta_template.py:80
Method
on_tool_end
Mark a tool call finished and emit its static line.
agent/cli/stream.py:259
Method
on_tool_start
Record a tool call start. Line emitted only when call finishes.
agent/cli/stream.py:255
Method
on_trade
(self, trade: TradeData)
agent/src/skills/vnpy-export/scripts/cta_template.py:128
Method
on_waiting
(self)
agent/src/agent/loop_streaming.py:67
Method
openTrades
(self)
agent/tests/test_ibkr_local.py:70
Function
openapi_schema
Serve the OpenAPI schema to authorized callers only.
agent/src/api/system_routes.py:456
Function
optimize
Module-level entry: max-diversification-adjusted positions.
agent/backtest/optimizers/max_diversification.py:51
Function
optimize
Module-level entry: risk-parity-adjusted positions.
agent/backtest/optimizers/risk_parity.py:52
Function
optimize
Module-level entry: max-Sharpe-adjusted positions.
agent/backtest/optimizers/mean_variance.py:67
Function
optimize
Module-level entry: inverse-volatility-adjusted positions.
agent/backtest/optimizers/equal_volatility.py:40
Function
optimize
(ret: pd.DataFrame, pos: pd.DataFrame, dates: pd.DatetimeIndex)
agent/backtest/engines/base.py:393
Function
options_chain
Wrap ``OptionsChainTool`` (Yahoo network I/O, run in a thread).
agent/src/api/options_routes.py:226
Function
options_payoff
Tool-identical payoff analysis plus portfolio Greeks at entry.
agent/src/api/options_routes.py:201
Function
order_to_dict
(item: Any)
agent/src/trading/connectors/binance/shaping.py:68
Method
orders
(self)
agent/tests/test_zerodha_sdk.py:63
Method
orders
(self)
agent/tests/test_zerodha_sdk.py:270
Method
outbound_size
Number of pending outbound messages.
agent/src/channels/bus/queue.py:41
Function
own_run
One backtest written into the active run directory itself, trades read back.
agent/tests/test_grounding_backtest_outputs.py:940
Function
owned_delete_index
Real service, real index, real search tool over one owned database.
agent/tests/test_session_delete_clears_search_index.py:21
Function
owned_title_routes
(tmp_path, monkeypatch)
agent/tests/test_session_search_title_updates.py:20
Function
pad
(count=KEEP_RECENT)
agent/tests/test_compaction_call_identity.py:79
Function
paginated
(_cfg, _path, *, tr_id, params)
agent/tests/test_kis_recovery.py:52
Function
panel
Module-scoped panel reused by every parametrized sample.
agent/tests/factors/test_alpha101_samples.py:89
Function
panel
()
agent/tests/factors/test_qlib158_samples.py:57
Function
panel
()
agent/tests/factors/test_gtja191_part2_samples.py:91
Function
paper_trade_step
Run one step of the deterministic paper-trading matching engine; never places real orders. Matches the injected ``orders`` (or, in Step 7, a ``st
agent/mcp_server.py:889
Method
parse
Keep async raw-response ``parse()`` streams behind the proxy.
agent/src/providers/llm.py:190
Function
parse_and_validate_url
Validate a URL target before a channel-side fetch.
agent/src/channelsui/http_utils.py:47
Function
parse_request_path
Parse an HTTP request path into ``(route_path, query)``.
agent/src/channelsui/http_utils.py:35
Function
parse_text
Yield parsed records from a whole COTAHIST text body.
agent/src/br_data/cotahist.py:108
Method
passes
(row)
agent/src/strategy_discovery/facade.py:496
Function
patch_channel
(channel: str)
agent/tests/test_config_writer.py:160
Function
patched_futu
Install a minimal fake ``futu`` module so ``_require_futu()`` succeeds.
agent/tests/test_futu_extended_reads.py:92
Method
path_must_start_with_slash
(cls, value: str)
agent/src/channels/websocket.py:111
Function
pattern_recognition
Detect technical chart patterns (head-and-shoulders, double top/bottom, triangles, wedges, channels) in OHLCV data. Reads price data from run
agent/mcp_server.py:1272
Method
pause
Yield a context manager that hides the spinner inside its block. Useful when callers need to ``console.print`` a tool-event row witho
agent/cli/components/working_indicator.py:113
Method
payload_for
(times: List[int])
agent/tests/test_nobitex_loader.py:193
Method
pending
()
agent/src/tools/background_tools.py:387
Function
place
()
agent/tests/test_mandate_enforcement.py:354
Function
place
()
agent/tests/test_sdk_order_gate.py:905
Function
place_order
Place a spot order on Binance via ccxt's unified ``create_order``. The configured profile's host (testnet vs live) is the authoritative paper
agent/src/trading/connectors/binance/sdk.py:527
Function
place_order
Place a PAPER-ONLY order on Dhan (simulated locally). Dhan exposes no runtime paper/live discriminator, so this connector is structurally cap
agent/src/trading/connectors/dhan/sdk.py:439
Function
place_order
Refuse Trading 212 order placement before any REST client is touched.
agent/src/trading/connectors/trading212/sdk.py:350
Function
place_order
Place a PAPER-ONLY order on Shoonya (simulated locally). Shoonya exposes no runtime paper/live discriminator, so this connector is structural
agent/src/trading/connectors/shoonya/sdk.py:421
← previous
next →
13,201–13,300 of 26,887, ranked by callers