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_host_guard_still_rejects_untrusted
()
agent/tests/test_mcp_host_origin_guard.py:202
Function
test_host_guard_wildcard_semantics_unchanged
()
agent/tests/test_mcp_host_origin_guard.py:211
Function
test_host_matching_is_case_insensitive
()
agent/tests/test_mcp_host_origin_guard.py:196
Function
test_host_without_port_empty
()
agent/tests/test_api_infrastructure.py:144
Function
test_host_without_port_ipv6
()
agent/tests/test_api_infrastructure.py:136
Function
test_host_without_port_ipv6_no_port
()
agent/tests/test_api_infrastructure.py:140
Function
test_host_without_port_plain
()
agent/tests/test_api_infrastructure.py:132
Function
test_host_without_port_trailing_dot
()
agent/tests/test_api_infrastructure.py:148
Function
test_hostile_run_ids_in_metadata_never_reach_the_prompt
(run_id)
agent/tests/test_session_service_lifecycle.py:295
Function
test_hostile_xml_is_neutralised
()
agent/tests/test_rsshub_events_provider.py:126
Function
test_hour_interval_still_rejected
(monkeypatch)
agent/tests/test_fmp_daily_aliases.py:30
Function
test_hour_interval_still_uses_minutes
()
agent/tests/test_tushare_daily_alias_1d.py:45
Function
test_hour_token_still_absent_from_daily_map
()
agent/tests/test_akshare_daily_aliases.py:13
Method
test_hourly
(self)
agent/tests/test_yahoo_loader.py:91
Method
test_hourly_bars_declared_30m_switch_to_the_hourly_count
Neighbouring intervals differ by 2x, above the 1.5 gate.
agent/tests/test_cross_market_annualization.py:353
Method
test_hourly_bars_over_three_days_use_the_fractional_span
(self)
agent/tests/test_effective_bars_per_year_span.py:33
Method
test_hourly_okx
(self)
agent/tests/test_metrics.py:77
Function
test_hrp_aligns_covariance_rows_to_its_columns
Swapping two rows of a labelled cov moved weights silently (0.0351/0.0403 → 0.0375/0.0375).
agent/tests/quantlib/test_portfolio.py:93
Function
test_hrp_aligns_dataframe_correlation_to_covariance_labels
()
agent/tests/quantlib/test_portfolio.py:70
Method
test_hrp_invalid_inputs
(self)
agent/tests/quantlib/test_portfolio.py:63
Function
test_hrp_rejects_correlation_with_different_labels
()
agent/tests/quantlib/test_portfolio.py:86
Function
test_hrp_rejects_covariance_rows_labelled_differently_from_columns
()
agent/tests/quantlib/test_portfolio.py:113
Method
test_hrp_single_asset_case
(self)
agent/tests/quantlib/test_portfolio.py:57
Method
test_hrp_weights_dataframe_and_sum
(self)
agent/tests/quantlib/test_portfolio.py:43
Function
test_html_context_includes_universe_meta_when_present
(capsys, monkeypatch, _reg, _captured_html_context)
agent/tests/test_alpha_bench_meta_survivorship.py:128
Function
test_http_200_error_body_reports_invalid_credentials
QQ answers bad credentials with HTTP 200 and an error body.
agent/tests/test_qq_connection_test.py:173
Function
test_http_200_error_body_reports_invalid_credentials
Feishu answers bad credentials with HTTP 200 and an error body.
agent/tests/test_feishu_connection_test.py:203
Function
test_http_200_non_object_json_body_reports_invalid_credentials
A 200 with valid non-object JSON must classify, never raise. Middleboxes and proxied error pages produce exactly such bodies; without the isi
agent/tests/test_qq_connection_test.py:196
Function
test_http_200_non_object_json_body_reports_invalid_credentials
A 200 with valid non-object JSON must classify, never raise.
agent/tests/test_feishu_connection_test.py:222
Function
test_http_401_reports_invalid_credentials
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_discord_connection_test.py:161
Function
test_http_client_error_reports_invalid_credentials
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, status: int, )
agent/tests/test_qq_connection_test.py:153
Function
test_http_client_error_reports_invalid_credentials
( monkeypatch: pytest.MonkeyPatch, status: int, )
agent/tests/test_feishu_connection_test.py:184
Function
test_http_client_error_reports_invalid_credentials
( monkeypatch: pytest.MonkeyPatch, status: int, )
agent/tests/test_dingtalk_connection_test.py:193
Function
test_http_delete_reports_conflict_for_an_active_run
(owned_delete_index, monkeypatch)
agent/tests/test_session_delete_clears_search_index.py:155
Method
test_http_error_propagates
(self)
agent/tests/test_eastmoney_client.py:154
Method
test_http_error_propagates
(self)
agent/tests/test_sec_edgar_client.py:172
Method
test_http_error_skips_symbol
(self, monkeypatch)
agent/tests/test_stooq_loader.py:159
Function
test_http_error_surfaces_status_and_body
(captured)
agent/tests/test_web_reader_privacy.py:43
Method
test_http_failure_membership_error_envelope
(self)
agent/tests/test_sector_tool.py:178
Method
test_http_failure_on_one_symbol_is_captured
(self)
agent/tests/test_fund_flow_tool.py:103
Method
test_http_failure_ranking_error_envelope
(self)
agent/tests/test_sector_tool.py:188
Method
test_http_failure_returns_error_envelope
(self)
agent/tests/test_dragon_tiger_tool.py:225
Method
test_http_failure_returns_error_envelope
(self)
agent/tests/test_northbound_tool.py:92
Method
test_http_failure_returns_error_envelope
(self, monkeypatch: pytest.MonkeyPatch)
agent/tests/test_iwencai_tool.py:128
Method
test_http_failure_returns_fallback
(self, fsp, monkeypatch)
agent/tests/test_fetch_sina_penalties.py:241
Method
test_http_failure_surfaces_as_error_envelope
(self)
agent/tests/test_market_screener_tool.py:165
Method
test_http_failure_uses_tushare_fallback_when_available
(self)
agent/tests/test_dragon_tiger_tool.py:243
Method
test_http_failure_uses_tushare_fallback_when_available
(self)
agent/tests/test_northbound_tool.py:103
Method
test_http_failure_uses_tushare_fallback_when_available
(self)
agent/tests/test_fund_flow_tool.py:118
Method
test_http_failure_yields_top_level_ok_false
(self)
agent/tests/test_financial_statements_tool.py:219
Method
test_http_get_gbk_rejects_disallowed_host
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:264
Method
test_http_get_gbk_rejects_disallowed_scheme
(self, fsp)
agent/tests/test_fetch_sina_penalties.py:269
Function
test_http_import_settings_refresh_and_rebalance_use_same_store
(tmp_path, monkeypatch)
agent/tests/test_extraetf_integration.py:159
Function
test_http_retry_route_resume_query_plumbs_resume_from
POST /swarm/runs/{id}/retry?resume=true hands the reconciled run to start_run as resume_from; without the query it stays a full re-run.
agent/tests/test_swarm_retry.py:197
Function
test_http_retry_route_resume_rejects_completed_run
POST /swarm/runs/{id}/retry?resume=true on a completed run -> 409.
agent/tests/test_swarm_retry.py:172
Method
test_hull_15_6_call_and_put_prices
(self)
agent/tests/quantlib/test_options.py:40
Method
test_hull_19_1_greeks
(self, greek: str, published: float, scale: float)
agent/tests/quantlib/test_options.py:63
Method
test_hull_19_1_price
(self)
agent/tests/quantlib/test_options.py:45
Function
test_hv_annualises_on_the_supplied_cadence
A 365-bar venue must scale by sqrt(365), not the equity-market 252.
agent/tests/test_options_hv_bars_per_year.py:38
Function
test_hv_defaults_to_252_so_daily_equity_runs_are_unchanged
The default keeps every existing caller and the pinned warm-up test.
agent/tests/test_options_hv_bars_per_year.py:49
Function
test_hv_none_resolves_daily_return_cadence_causally
Daily return intervals annualise to calendar days, without future bars.
agent/tests/test_options_hv_bars_per_year.py:63
Function
test_hydrate_run_is_noop_without_task_dir
(tmp_path)
agent/tests/test_swarm_status_hydration.py:94
Function
test_hydrate_run_merges_live_task_files
(tmp_path)
agent/tests/test_swarm_status_hydration.py:75
Function
test_hydration_fallback_result_is_reduced_to_one_copy
()
agent/tests/test_mcp_result_dedup.py:293
Function
test_ibkr_account_summary_normalizes_for_portfolio_totals
()
agent/tests/test_ibkr_mcp_mapping.py:23
Function
test_ibkr_alias_url_resolves_to_live_broker_and_wraps_writes
()
agent/tests/test_ibkr_mcp_seed.py:74
Function
test_ibkr_endpoint_accepts_hosts_and_port_boundaries
(ibkr_endpoint_client, host, port)
agent/tests/test_connection_routes.py:215
Function
test_ibkr_endpoint_persists_per_connection_and_is_used_for_reads
(ibkr_endpoint_client)
agent/tests/test_connection_routes.py:175
Function
test_ibkr_endpoint_preserves_legacy_configuration_until_overridden
(ibkr_endpoint_client, tmp_path)
agent/tests/test_connection_routes.py:237
Function
test_ibkr_endpoint_rejects_invalid_host
(ibkr_endpoint_client, host)
agent/tests/test_connection_routes.py:200
Function
test_ibkr_endpoint_rejects_invalid_port
(ibkr_endpoint_client, port)
agent/tests/test_connection_routes.py:208
Function
test_ibkr_endpoint_rejects_remote_profiles_and_extra_settings
(ibkr_endpoint_client)
agent/tests/test_connection_routes.py:221
Function
test_ibkr_endpoint_requires_settings_write_auth
(ibkr_endpoint_client, monkeypatch)
agent/tests/test_connection_routes.py:228
Function
test_ibkr_lookalike_host_is_not_live_broker
()
agent/tests/test_ibkr_mcp_seed.py:90
Function
test_ibkr_oauth_accepts_authorization_redirect
(tmp_path)
agent/tests/test_mcp_oauth_schema.py:362
Function
test_ibkr_oauth_discards_registration_for_old_callback
(tmp_path)
agent/tests/test_mcp_oauth_schema.py:428
Function
test_ibkr_oauth_refresh_uses_real_token_endpoint
(tmp_path)
agent/tests/test_mcp_oauth_schema.py:396
Function
test_ibkr_oauth_registration_uses_browser_headers
(tmp_path)
agent/tests/test_mcp_oauth_schema.py:268
Function
test_ibkr_official_profile_advertises_verified_portfolio_reads
The real-account-verified IBKR tools back the shared read interface.
agent/tests/test_trading_connections.py:53
Function
test_ibkr_positions_normalize_for_shared_position_reader
()
agent/tests/test_ibkr_mcp_mapping.py:42
Function
test_ibkr_rejects_wildcard_when_write_scope_is_requested
()
agent/tests/test_mcp_oauth_schema.py:188
Function
test_ibkr_rejects_wildcard_without_read_scope
()
agent/tests/test_mcp_oauth_schema.py:204
Function
test_ibkr_remote_tools_map_only_verified_reads
()
agent/tests/test_ibkr_mcp_mapping.py:16
Function
test_ibkr_seed_is_official_readonly_oauth_probe
()
agent/tests/test_mcp_oauth_schema.py:133
Function
test_ibkr_seed_validates_as_readonly_probe
()
agent/tests/test_ibkr_mcp_seed.py:64
Function
test_ibkr_sparse_map_pins_known_order_names_write
IBKR read names are annotation-discovered, but order names stay WRITE.
agent/tests/test_classification.py:68
Function
test_ic_ir_and_t_stat_are_read_off_the_text
()
agent/tests/test_research_papers_tool.py:514
Function
test_ic_method_requires_returns
()
agent/tests/quantlib/test_combination.py:171
Function
test_ic_ratio_computed_once_windows_stop_overlapping
()
agent/tests/test_sdm_finite_metrics.py:88
Function
test_ic_ratio_is_none_for_a_negative_baseline
Dividing two negative IC means gives a positive ratio, so a rolling IC that got MUCH more negative than an already-negative baseline (real dec
agent/tests/test_sdm_finite_metrics.py:50
Function
test_ic_ratio_is_none_when_baseline_and_rolling_windows_overlap
With fewer than 10 entries, the oldest-5 and newest-5 windows share observations. At 3-5 entries they are identical; at 6-9 the overlap dilute
agent/tests/test_sdm_finite_metrics.py:73
Function
test_ic_ratio_still_computed_for_a_positive_baseline
()
agent/tests/test_sdm_finite_metrics.py:64
Function
test_ic_weights_favour_the_predictive_factor
()
agent/tests/quantlib/test_combination.py:60
Method
test_id_generated_when_missing
Missing id field should auto-generate 6-char hex.
agent/tests/test_memory_lifecycle.py:165
Function
test_idempotent
()
agent/tests/test_redaction.py:58
Method
test_idempotent
(self)
agent/tests/test_constraints.py:180
Method
test_idempotent_upsert_replaces_not_duplicates
(self, tmp_path: Path)
agent/tests/test_scheduled_research_store.py:209
Function
test_identical_arguments_are_still_blocked
The negative control: the gate must keep doing its job. Relaxing the key must not turn into 'never dedup'.
agent/tests/test_agent_loop_dedup_arguments.py:145
Function
test_identical_content_and_provenance_are_idempotent
(tmp_path)
agent/tests/test_research_artifact_store.py:51
Function
test_identical_deterministic_call_is_served_from_cache
The same expression twice must execute once and answer twice.
agent/tests/test_agent_loop_deterministic_cache.py:99
← previous
next →
19,301–19,400 of 26,887, ranked by callers