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
Function
test_independent_runs_do_not_share_exposed_schemas
()
agent/tests/test_deferred_tool_loading.py:74
Method
test_index_and_search_basic
Index an entry, search finds it.
agent/tests/memory/test_search_index.py:18
Function
test_index_backtest_routes_to_global_equity_not_china_or_crypto
^SPX must never reach ChinaAEngine/CryptoEngine through the runner.
agent/tests/test_market_data.py:124
Method
test_index_codes_match
(self, code: str)
agent/tests/test_tushare_loader.py:70
Method
test_index_detection_exchange_specific
(self)
agent/tests/test_gildata_loader.py:413
Method
test_index_empty_content_skipped
(self, index: SessionSearchIndex)
agent/tests/test_session_search.py:42
Method
test_index_falls_back_to_the_previous_year
(self)
agent/tests/test_etf_holdings_tool.py:568
Method
test_index_is_nanosecond_resolution
Regression (B9): the trade_date index must be datetime64[ns]. The epoch ``t`` array used to flow through a ``unit="s"`` conversion th
agent/tests/test_finnhub_loader.py:141
Function
test_index_market_detection
^ symbols classify as index everywhere, not the a_share default.
agent/tests/test_market_data.py:96
Method
test_index_message
(self, index: SessionSearchIndex)
agent/tests/test_session_search.py:35
Method
test_index_multiple_sessions
(self, index: SessionSearchIndex)
agent/tests/test_session_search.py:48
Method
test_index_name
(self)
agent/tests/test_futu_loader.py:147
Method
test_index_returns_data
(self)
agent/tests/test_tushare_loader.py:401
Method
test_index_routes_to_index_daily
(self)
agent/tests/test_tushare_loader.py:183
Method
test_index_session
(self, index: SessionSearchIndex)
agent/tests/test_session_search.py:28
Method
test_index_session_preserves_started_at_on_reupsert
Re-indexing without ts must keep the original started_at.
agent/tests/test_session_search.py:145
Method
test_index_session_stores_explicit_ts
When caller passes ts, started_at must reflect it (B2 regression).
agent/tests/test_session_search.py:134
Method
test_index_symbols_are_scanned_and_typed
(self)
agent/tests/test_agent_grounding.py:2697
Method
test_index_update_not_duplicate
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:191
Method
test_index_warns_and_skips
(self)
agent/tests/test_tushare_loader.py:302
Function
test_india_backtest_completes_and_emits_run_card
(tmp_path: Path)
agent/tests/test_india_backtest_smoke.py:75
Method
test_india_broker
(self)
agent/tests/test_metrics.py:161
Function
test_india_costs_are_applied_vs_zero_commission_us
Identical data + signal: the India engine pays costs the US engine does not.
agent/tests/test_india_backtest_smoke.py:86
Function
test_india_vwap_uses_typical_price
()
agent/tests/factors/test_india_universe.py:66
Function
test_indicator_evidence_never_satisfies_a_labelled_ohlc_cell
A close COLUMN must match a close; an SMA equal to the cell does not count.
agent/tests/test_grounding_release.py:175
Method
test_indicator_mapping_table_present
(self)
agent/tests/test_vnpy_export.py:60
Function
test_indicator_replay_preserves_dated_evidence_and_refreshes
(monkeypatch, tmp_path, refresh_args)
agent/tests/test_technical_indicator_compaction_replay.py:40
Function
test_indicators_preserve_significant_digits_below_fifteen_decimals
(scale)
agent/tests/test_technical_indicator_small_price_rounding.py:13
Function
test_industry_dummies_remove_group_means_and_preserve_missing_labels
()
agent/tests/quantlib/test_neutralization.py:84
Function
test_industry_neutralized_alphas_are_no_longer_pre_rejected
The registry gate is what skipped them, so assert against the gate.
agent/tests/test_alpha_bench_sector_tag.py:67
Function
test_inf_inputs_are_scrubbed_to_nan
()
agent/tests/factors/test_zscore_by_group.py:121
Method
test_infeasible_active_group_cap_fails_closed
(self)
agent/tests/test_turnover_aware_optimizer.py:314
Method
test_infeasible_cap_shrinks_gross
(self)
agent/tests/test_constraints.py:39
Method
test_infeasible_floor_degrades_to_equal
(self)
agent/tests/test_constraints.py:59
Method
test_infeasible_floor_preserves_signed_active_book
(self)
agent/tests/test_constraints.py:75
Method
test_infeasible_floor_with_thin_funders_does_not_zero_a_name
(self)
agent/tests/test_constraints.py:63
Method
test_infeasible_per_name_cap_fails_closed
(self)
agent/tests/test_turnover_aware_optimizer.py:310
Function
test_infer_indicator_periods_drops_nonpositive
(tmp_path: Path)
agent/tests/test_indicator_period_nonpositive.py:33
Function
test_infer_market_from_symbol
(symbol: str, expected: str)
agent/tests/test_trade_journal.py:178
Function
test_infer_market_from_symbol_supports_slash_crypto_pairs
Prove that _infer_market_from_symbol classifies slash-delimited crypto pairs as 'crypto'.
agent/tests/test_trade_journal_parser_slash_crypto.py:10
Function
test_infinite_prior_price_is_logged
It must be loud, like every other undefined bar.
agent/tests/test_returns_gaps_and_infinities.py:108
Function
test_infinite_prior_price_is_undefined_not_minus_one
``inf > 0`` is True, so finiteness must be asserted explicitly.
agent/tests/test_returns_gaps_and_infinities.py:97
Function
test_infinite_safety_factor_rejected
()
agent/tests/test_binance_tolerance_calibration.py:206
Method
test_ingest_search_symbol_does_not_create_conflicting_identity
The flagship regression: ingest('GBP/USD') must lock, never conflict.
agent/tests/test_agent_grounding.py:2709
Function
test_init_channels_builds_plugin_channels
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_channel_manager_reload.py:108
Method
test_init_failure_negative_cached
(self, fake_mod: _FakeMT5Module)
agent/tests/test_mt5_loader.py:208
Method
test_initial_cash_defaults_and_accepts_positive
(self)
agent/tests/test_engine_robustness.py:443
Function
test_initial_loss_counts_towards_drawdown
()
agent/tests/test_trade_journal_currency_pools.py:168
Function
test_initial_rail_renders_status_line_without_steps
()
agent/tests/test_cli_ui_redesign.py:84
Function
test_injected_event_day_jump_is_recovered_in_caar
()
agent/tests/quantlib/test_eventstudy.py:96
Function
test_injected_fee_overrides_echo_in_full
()
agent/tests/test_paper_trade_schema.py:261
Method
test_injected_registry_bypasses_singleton
(self, tmp_path, monkeypatch)
agent/tests/test_strategy_discovery_facade.py:663
Function
test_injected_session_id_makes_the_goal_tool_work
The end-to-end point of the fix: goals resolve instead of erroring.
agent/tests/test_cli_session_id.py:65
Function
test_injected_t3_seam_unions_with_detector_output_not_replaced
()
agent/tests/test_paper_trade_corporate_actions.py:336
Method
test_injected_today_changes_the_verdict_deterministically
( self, tmp_path )
agent/tests/test_strategy_discovery_facade.py:826
Function
test_injection_never_raises_on_a_malformed_request
()
agent/tests/test_openbb_bridge/test_context_injector.py:213
Method
test_injects_empty_reasoning_content_when_absent
kimi-k2.6 requires reasoning_content on every assistant turn.
agent/tests/test_kimi_reasoning_content.py:656
Method
test_injects_memory_run_dir_when_missing
(self)
agent/tests/test_loop_helpers.py:403
Method
test_inline_runs_parameter
(self, runs_root: Path)
agent/tests/test_strategy_discovery_refresh.py:139
Function
test_inner_loader_frames_are_sanitised_like_the_snapshot
()
agent/tests/test_offline_benchmark.py:188
Method
test_inserts_stub_for_orphan_call
(self)
agent/tests/test_loop_helpers.py:326
Function
test_inspect_preset_reports_invalid_references
( tmp_path: Path, monkeypatch, )
agent/tests/test_swarm_preset_inspect.py:32
Function
test_inspect_preset_returns_dry_run_layers
()
agent/tests/test_swarm_preset_inspect.py:18
Function
test_install_access_log_redaction_filter_is_idempotent
()
agent/tests/test_sse_ticket_and_headers.py:252
Function
test_installed_local_plugin_runs_through_the_trading_read_interface
( tmp_path, monkeypatch, )
agent/tests/test_local_connections.py:115
Method
test_instance_attrs_cleaned
After _execute_bars, _close_arr and _code_to_col are set to None.
agent/tests/test_signal_alignment_perf.py:545
Function
test_institutional_research_tools_are_exposed_via_mcp
All four institutional-research tools must reach the MCP surface.
agent/tests/test_mcp_new_tools.py:91
Function
test_instrument_accepts_a_crypto_quote_asset
Currency is not constrained to three letters; USDT is real here.
agent/tests/test_entities_spine.py:643
Method
test_instrument_asset_class_mapping
(self)
agent/tests/test_mandate_forex.py:146
Function
test_instrument_dump_cached_per_exchange
(monkeypatch)
agent/tests/test_zerodha_sdk.py:181
Function
test_instrument_requires_currency_and_normalizes_it
()
agent/tests/test_entities_spine.py:636
Method
test_instrument_type_gains_forex_and_cfd
(self)
agent/tests/test_mandate_forex.py:131
Function
test_insufficient_capital_is_counted_as_unfilled
()
agent/tests/test_plan_rejected.py:399
Function
test_insufficient_cash_rejects_and_cancels
()
agent/tests/test_paper_trade_5m_engine.py:292
Function
test_insufficient_cash_when_cost_exceeds_cash
()
agent/tests/test_paper_trade_rejections.py:223
Method
test_insufficient_parent_evidence_refuses_the_write
(self)
agent/tests/test_strategy_store_adaptation.py:291
Function
test_insufficient_position_rejects_and_cancels
()
agent/tests/test_paper_trade_5m_engine.py:303
Function
test_insufficient_position_when_qty_exceeds_the_total_holding
()
agent/tests/test_paper_trade_rejections.py:215
Method
test_insufficient_trades_blocks_with_insufficient_evidence
(self)
agent/tests/test_strategy_discovery_adaptation.py:60
Method
test_insufficient_trades_prefix
(self)
agent/tests/test_strategy_discovery_models.py:359
Method
test_int_coercion
(self, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_env_schema.py:224
Function
test_int_float_respelling_does_not_change_the_hash
()
agent/tests/test_paper_trade_tool.py:277
Function
test_integer_and_decimal_points_bind_bare_declarations
(value)
agent/tests/test_grounding_percentage_points.py:169
Method
test_integer_fields_cast_to_float
(self)
agent/tests/test_gildata_loader.py:157
Function
test_integer_labels_work
The sweep panels carry integer sector buckets; labels need not be str.
agent/tests/factors/test_zscore_by_group.py:175
Function
test_integer_message_ids_dedupe_like_strings
Telegram and NapCat carry int message ids; they were never deduped (#1476).
agent/tests/test_channels_runtime.py:118
Method
test_integer_output
argmax returns integer indices (0-based), not floats.
agent/tests/test_factor_operators.py:190
Method
test_integer_rounding
(self)
agent/tests/test_global_futures_engine.py:169
Method
test_integer_volume_cast_to_float
(self)
agent/tests/test_fmp_loader.py:86
Function
test_integral_float_and_int_are_equivalent
()
agent/tests/test_paper_trade_jcs.py:90
Method
test_integral_floats_are_accepted
(self, monkeypatch)
agent/tests/test_prediction_market_tool.py:268
Function
test_interactive_adapter_keeps_default_browser_flow
(tmp_path, monkeypatch)
agent/tests/test_mcp_oauth_noninteractive.py:159
Function
test_interactive_docs_are_loopback_only_in_keyless_dev_mode
Default docs work locally without exposing the schema to remote peers.
agent/tests/test_security_auth_api.py:197
Function
test_interactive_onboard_codex_defaults_to_supported_model
()
agent/tests/test_llm_provider_defaults.py:79
Function
test_interactive_onboard_openai_defaults_to_available_model
()
agent/tests/test_llm_provider_defaults.py:69
Function
test_interactive_onboard_suggests_current_primary_models
()
agent/tests/test_llm_provider_defaults.py:101
Function
test_interactive_result_prints_elapsed_after_answer
()
agent/tests/test_cli_ui_redesign.py:119
Function
test_interactive_result_prints_english_metrics_and_a_hint
( tmp_path: Path, monkeypatch )
agent/tests/test_cli_backtest_summary.py:53
Function
test_internal_failure_retries_then_caps_like_the_prompt_path
( tmp_path: Path, clean_registry )
agent/tests/scheduling/test_internal_dispatch.py:199
Function
test_internal_job_deleted_while_running_is_not_resurrected
( tmp_path: Path, clean_registry )
agent/tests/scheduling/test_internal_dispatch.py:330
← previous
next →
19,501–19,600 of 26,887, ranked by callers