MCPcopy Create free account

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

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

↓ 4 callersMethod_read_media_bytes
Read bytes from http(s) or local file path; return (data, filename).
agent/src/channels/qq.py:408
↓ 4 callersFunction_read_strict_evidence
(run_dir)
agent/tests/test_crypto_engine.py:143
↓ 4 callersFunction_rebalance_once
(engine, target_weight, raw_price=100.0)
agent/tests/test_base_engine.py:96
↓ 4 callersFunction_record
(**dates)
agent/tests/test_generic_split_datetime.py:19
↓ 4 callersFunction_records
(frame: Any)
agent/src/tools/tushare_fallbacks.py:34
↓ 4 callersMethod_ref_source
Which source one evidence value belongs to, and the ref that names it. One backtest is one observation: its run card, metrics file and risk
agent/evals/grounding/policies.py:1027
↓ 4 callersFunction_registry_with
(names)
agent/tests/test_strategy_discovery_guard.py:61
↓ 4 callersFunction_registry_with_remote
Build a swarm registry that exposes the given remote tools verbatim. Reuses the real :func:`build_swarm_registry` for the local-tool side (so
agent/tests/test_swarm_m4_e2e.py:593
↓ 4 callersFunction_reject_cross_site_browser_request
Reject unsafe browser requests from untrusted cross-site origins.
agent/src/api/security.py:425
↓ 4 callersFunction_reject_unsupported_usdm_surface
(cfg: BinanceConfig)
agent/src/trading/connectors/binance/sdk.py:748
↓ 4 callersMethod_reply_message_sync
Reply to an existing Feishu message using the Reply API (synchronous). Args: reply_in_thread: If True, reply as a thread/topic me
agent/src/channels/feishu.py:1640
↓ 4 callersFunction_request
Run an HTTP request and normalize Upbit failure modes.
agent/src/trading/connectors/upbit/sdk.py:576
↓ 4 callersFunction_request
(cash: float, positions: list[dict], orders: list[dict])
agent/tests/test_paper_trade_golden_hk.py:61
↓ 4 callersMethod_require_mutable_goal
( self, session_id: str, goal_id: str, expected_goal_id: str, )
agent/src/goal/store.py:827
↓ 4 callersFunction_require_number
(value: Any, path: str)
agent/src/tools/paper_trade/schema.py:326
↓ 4 callersFunction_require_okx
()
agent/src/trading/connectors/okx/sdk.py:591
↓ 4 callersFunction_require_tigeropen
()
agent/src/trading/connectors/tiger/sdk.py:551
↓ 4 callersMethod_reserve_session
Claim a session for one in-flight run.
agent/src/session/service.py:127
↓ 4 callersFunction_resolve_console
Return the shared CLI console.
agent/cli/commands/show.py:13
↓ 4 callersFunction_resolve_symbol
Resolve one broker identity, then select it in Market Watch.
agent/src/trading/connectors/mt5/_client.py:364
↓ 4 callersFunction_response
(content: str = "", calls: tuple = ())
agent/tests/test_cli_conversation.py:79
↓ 4 callersFunction_response_results
Decode the vendor envelope without leaking raw error bodies or secrets.
agent/backtest/loaders/gildata_loader.py:212
↓ 4 callersFunction_result
()
agent/tests/test_shadow_result_cache.py:51
↓ 4 callersFunction_result
(**overrides)
agent/tests/test_alpha_bench_meta_survivorship.py:37
↓ 4 callersFunction_result
(status: str, in_tok: int, cache_read: int, cache_creation: int, source: str | None)
agent/tests/test_swarm_cache_source.py:491
↓ 4 callersFunction_roots
()
agent/tests/test_read_file_json_pointer.py:24
↓ 4 callersFunction_row
One RPT_LIFT_STAGE-shaped record.
agent/tests/test_lockup_expiry_tool.py:27
↓ 4 callersFunction_rows
(value: Any, what: str)
agent/src/trading/connectors/openalgo/sdk.py:254
↓ 4 callersMethod_rows
Materialize a cursor as plain dictionaries. Args: cursor: Cursor over ``sqlite3.Row`` rows. Returns: One dic
agent/src/tools/taiwan_stock_data_tool.py:543
↓ 4 callersFunction_run
(tmp_path: Path)
agent/tests/test_swarm_error_surfacing.py:35
↓ 4 callersFunction_run
(tmp_path, monkeypatch, llm, *, prompt="Review.", upstream=None, system_prompt="Decide.", input_from=
agent/tests/test_swarm_node_delivery_contracts.py:30
↓ 4 callersFunction_run
()
agent/tests/test_eventbus_clear_subscribers.py:33
↓ 4 callersFunction_run
(**kwargs)
agent/tests/test_financial_rigor_nonfinite_inputs.py:14
↓ 4 callersFunction_run
(weights: list[float], run_dir: Path, loader=None, **overrides)
agent/tests/test_taiwan_equity_engine.py:505
↓ 4 callersFunction_run
(engine, code: str, run_dir: Path, **config_overrides)
agent/tests/test_korea_backtest_smoke.py:62
↓ 4 callersFunction_run
(monkeypatch, capsys, args, result)
agent/tests/test_alpha_bench_meta_survivorship.py:113
↓ 4 callersFunction_run
Run discovery against a mock HTTP transport with a fake OAuth session.
agent/tests/test_codex_model_discovery.py:20
↓ 4 callersFunction_run
(tmp_path, monkeypatch, config, frames, signal=HOLD)
agent/tests/test_argentina_backtests.py:93
↓ 4 callersFunction_run
(tolerance: float, targets: list[float], mode: str = "rebalance")
agent/tests/test_rebalance_tolerance.py:41
↓ 4 callersMethod_run
(self, offset: int, period_count: int = 120)
agent/tests/test_tool_result_paging.py:137
↓ 4 callersMethod_run
(self, tmp_path, config_extra)
agent/tests/test_warmup_window.py:108
↓ 4 callersFunction_run_main
Run ``runner.main`` end to end with a recording loader for ``source``. Args: tmp_path: Pytest temporary directory, used as the allowed ru
agent/tests/test_offline_benchmark.py:64
↓ 4 callersFunction_run_with_retries
( runtime: SwarmRuntime, tmp_path: Path, results: list[WorkerResult], *, cancelled_during_
agent/tests/test_swarm_cache_source.py:459
↓ 4 callersFunction_runner
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch, broker: _RunnerBroker, account: dict)
agent/tests/test_robinhood_live_account_binding.py:224
↓ 4 callersFunction_runtime
(tmp_path: Path)
agent/tests/test_swarm_cache_source.py:455
↓ 4 callersFunction_sample_mandate
(expires_at: str, *, flatten_on_halt: bool = False)
agent/tests/test_mandate_model.py:31
↓ 4 callersFunction_save
(data: dict[str, Any])
agent/src/channels/pairing/store.py:60
↓ 4 callersFunction_save_handcrafted_proposal
Persist a proposal with an arbitrary single profile + ceiling snapshot. Lets a test exercise commit-time validation against a profile the clampin
agent/tests/test_consent_commit.py:307
↓ 4 callersMethod_save_refs_locked
Persist conversation references (caller must hold _refs_guard).
agent/src/channels/msteams.py:818
↓ 4 callersFunction_scenario
()
agent/tests/test_scheduling_lifespan_owner.py:116
↓ 4 callersFunction_sec_get_text
GET an SEC URL as text through the shared ``"sec"`` throttle bucket. The frozen SEC client only decodes JSON, while both endpoints this tool
agent/src/tools/etf_holdings_tool.py:305
↓ 4 callersFunction_seed_hypothesis
Create a persisted hypothesis in an isolated registry.
agent/tests/test_autopilot_tool.py:27
↓ 4 callersFunction_seed_job
(job_id: str, **over: Any)
agent/tests/test_alpha_compare_api.py:70
↓ 4 callersFunction_seed_run
(store: SwarmStore, run_id: str, **usage: object)
agent/tests/test_swarm_routes_usage.py:46
↓ 4 callersMethod_send_pairing_code_if_private
(self, sender_id: str, message, user)
agent/src/channels/telegram.py:1167
↓ 4 callersFunction_serialize
Serialize an envelope the way every response in this tool does.
agent/src/tools/run_artifact_tool.py:303
↓ 4 callersFunction_series
(scale: float)
agent/tests/test_technical_indicator_small_price_rounding.py:35
↓ 4 callersFunction_series_with_gpd_left_tail
Return a series whose worst 5% are exactly GPD(shape, scale) losses. The body sits just above zero and the tail just below it, so the 5th per
agent/tests/quantlib/test_risk.py:451
↓ 4 callersFunction_service
(tmp_path: Path)
agent/tests/test_session_features.py:23
↓ 4 callersFunction_service
(store: SessionStore, runs_dir: Path, monkeypatch)
agent/tests/test_session_restart_recovery.py:30
↓ 4 callersFunction_service
(tmp_path: Path, monkeypatch)
agent/tests/test_session_service_lifecycle.py:36
↓ 4 callersMethod_session_file
(self, session_id: str)
agent/src/session/store.py:35
↓ 4 callersFunction_set_env
setenv + config-cache reset (T8's test_memory_consolidation_job pattern).
agent/tests/test_br_data.py:352
↓ 4 callersFunction_severity
Map a numeric score to low/medium/high given (med_cutoff, high_cutoff).
agent/src/tools/trade_journal_tool.py:381
↓ 4 callersFunction_share_row
(end: str, filed: str, value: float, *, form: str = "10-Q")
agent/tests/test_fundamentals_shares_diluted_alias.py:22
↓ 4 callersFunction_should_skip
Return True when *rel_path* falls in a skipped or allowed zone.
tools/ci_env_var_gate.py:221
↓ 4 callersFunction_simple_data_and_signals
Build minimal data_map and signal_map for alignment tests.
agent/tests/test_base_engine.py:754
↓ 4 callersFunction_skipped
True when a message is the synthetic duplicate-skip result.
agent/tests/test_agent_loop_dedup_arguments.py:94
↓ 4 callersFunction_snapshot_tree
Byte-level tree snapshot: relative path → sha256 (file) / "dir" / link target. Directories are recorded so a created/removed EMPTY directory is a
agent/tests/test_paper_trade_purity.py:110
↓ 4 callersFunction_source
(path: Path)
agent/tests/test_local_loader_cache_identity.py:13
↓ 4 callersFunction_spec_get
Read a derived-field spec entry from either a mapping or an object.
agent/backtest/loaders/fundamentals_loader.py:394
↓ 4 callersFunction_sqlite_store
(tmp_path)
agent/tests/test_strategy_store.py:1185
↓ 4 callersMethod_status_error
(status: int, body: str)
agent/tests/test_mcp_client_adapter.py:839
↓ 4 callersMethod_stop_typing
Stop typing indicator updates for a chat.
agent/src/channels/signal.py:1384
↓ 4 callersMethod_stop_typing
Stop the typing indicator for a chat.
agent/src/channels/telegram.py:1580
↓ 4 callersFunction_store
(tmp_path: Path)
agent/tests/scheduling/test_memory_consolidation_job.py:57
↓ 4 callersFunction_strategy_compare_body
(**over: Any)
agent/tests/test_options_routes.py:203
↓ 4 callersMethod_stream_key
Scope streaming buffers to the inbound message when available.
agent/src/channels/feishu.py:1103
↓ 4 callersMethod_strike
Listed-style strike (1% of spot grid) whose |delta| is closest to target.
agent/src/skills/options-strategy/example_signal_engine.py:59
↓ 4 callersFunction_strip_markup
(value: Any)
agent/cli/ui/rail.py:66
↓ 4 callersFunction_structured_server
(count: int)
agent/tests/test_mcp_result_dedup.py:32
↓ 4 callersFunction_stub_llm_factory
Build a callable that reads as ``ChatLLM(model_name=...)`` would. The worker does ``llm = ChatLLM(model_name=...)`` once per run; we swap tha
agent/tests/test_swarm_m4_e2e.py:154
↓ 4 callersFunction_summary_chunks
Serialize messages into bounded chunks for lossless summary folding.
agent/src/session/compaction_ops.py:24
↓ 4 callersFunction_surface_number
(value: Real, name: str, *, allow_zero: bool = False)
agent/src/quantlib/volatility.py:243
↓ 4 callersMethod_sweep_stale_locked
Drop buckets whose spacing window has fully elapsed. Caller holds the lock. A bucket is only stale once ``fire_at + min_interval`` has passed
agent/backtest/loaders/_http.py:66
↓ 4 callersFunction_symbol_from_csv_filename
Map a run-dir CSV stem (``BYN_V`` -> ``BYN.V``) to a canonical symbol. A stem without a known venue suffix (a bare ``AAPL``) maps to None, becaus
agent/evals/grounding/evidence.py:358
↓ 4 callersMethod_tail
(self, session_id: str)
agent/src/session/event_projection.py:242
↓ 4 callersFunction_task
(*, task_id: str, agent_id: str, prompt: str = "Run the tool.")
agent/tests/test_swarm_m4_e2e.py:192
↓ 4 callersFunction_time_until_expiry
Use local calendar time for unzoned expiries, instants for zoned ones. An unzoned bar time is local calendar time: against a zoned expiry it is
agent/backtest/engines/options_portfolio.py:130
↓ 4 callersFunction_timestamp_matches_claim_date
Match an evidence timestamp against the date cell of a claim. A year-less cell (``08-05``) matches on month and day. That can match the wrong
agent/evals/grounding/evidence.py:424
↓ 4 callersFunction_to_float
(value: Any)
agent/src/tools/tushare_fallbacks.py:71
↓ 4 callersFunction_to_futu_ktype
Map project interval string to a futu KLType enum value. Lazy-imports futu so the module can be imported without futu installed. Unsupported
agent/backtest/loaders/futu.py:67
↓ 4 callersFunction_to_int
Coerce a Shoonya API field to int, tolerating empty strings (see ``_to_float``).
agent/src/trading/connectors/shoonya/sdk.py:651
↓ 4 callersFunction_tokenize_for_tfidf
Tokenize text for TF-IDF scoring. ASCII words >= 3 chars or individual non-Latin script characters. Deliberately a higher minimum than persis
agent/src/memory/compression.py:61
↓ 4 callersFunction_tool
(name: str)
agent/tests/test_provider_agnostic_tool_policy.py:50
↓ 4 callersFunction_tool_call_response
( *, call_id: str, tool: str, arguments: dict[str, Any], )
agent/tests/test_swarm_m4_e2e.py:196
↓ 4 callersFunction_tool_classes
Return the mirrored tool classes keyed by their tool name.
agent/tests/test_mcp_new_tools.py:90
↓ 4 callersFunction_tool_for
(server: FastMCP, name: str)
agent/tests/test_mcp_result_dedup.py:24
↓ 4 callersFunction_tool_messages
(messages: list, name: str)
agent/tests/test_session_conversation_kernel.py:187
↓ 4 callersMethod_totals
(db: sqlite3.Connection, now: datetime)
agent/src/live/runtime/decision_budget.py:102
← previousnext →2,701–2,800 of 30,405, ranked by callers