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_query_events_schema_and_scoring
()
agent/tests/test_rsshub_events_provider.py:85
Function
test_query_fundamentals_falls_back_to_ann_date_per_row
()
agent/tests/test_tushare_fundamentals_provider.py:97
Function
test_query_fundamentals_rejects_unknown_tables
()
agent/tests/test_tushare_fundamentals_provider.py:132
Function
test_query_fundamentals_returns_pit_safe_dataframe
()
agent/tests/test_tushare_fundamentals_provider.py:75
Function
test_query_fundamentals_validates_required_schema_columns
()
agent/tests/test_tushare_fundamentals_provider.py:139
Function
test_query_rejects_cross_site_browser_post
A loopback peer is not enough when the POST comes from another origin.
agent/tests/test_openbb_bridge/test_routes.py:140
Function
test_query_rejects_missing_or_wrong_bearer_when_key_configured
( monkeypatch: pytest.MonkeyPatch, fake_adapter: None )
agent/tests/test_openbb_bridge/test_routes.py:108
Function
test_query_reports_when_runtime_unavailable
( client: TestClient, monkeypatch: pytest.MonkeyPatch )
agent/tests/test_openbb_bridge/test_routes.py:89
Method
test_query_strategies_defaults_include_stale_false
(self, fake_facade)
agent/tests/test_strategy_discovery_tools.py:206
Method
test_query_strategies_forwards_arguments
(self, fake_facade)
agent/tests/test_strategy_discovery_tools.py:178
Method
test_query_strategies_forwards_include_stale
(self, fake_facade)
agent/tests/test_strategy_discovery_tools.py:199
Method
test_query_strategies_rejects_string_min_trades
(self, fake_facade)
agent/tests/test_strategy_discovery_tools.py:230
Method
test_query_strategies_rejects_unparseable_cost_feasible
( self, fake_facade )
agent/tests/test_strategy_discovery_tools.py:236
Method
test_query_strategies_rejects_unparseable_include_stale
( self, fake_facade )
agent/tests/test_strategy_discovery_tools.py:245
Method
test_query_strategies_schema_exposes_include_stale
(self)
agent/tests/test_strategy_discovery_tools.py:189
Function
test_query_streams_from_adapter
(client: TestClient, fake_adapter: None)
agent/tests/test_openbb_bridge/test_routes.py:82
Method
test_query_tools_with_exact_names_are_read_only
(self, fake_facade)
agent/tests/test_strategy_discovery_tools.py:131
Function
test_query_without_code_calls_finquery_directly
(vendor)
agent/tests/test_gildata_fin_query.py:242
Method
test_quit_stays_last
(self)
agent/tests/test_playbooks_surface.py:579
Method
test_quit_stays_last
(self)
agent/tests/test_institutional_commands.py:74
Function
test_quote_and_history_are_readonly
(fake_ib_async)
agent/tests/test_ibkr_local.py:133
Function
test_quote_date_aliases_keep_actual_date
(vendor, tmp_path, date_label)
agent/tests/test_gildata_fin_query.py:224
Method
test_quote_host_fallback_tries_the_next_edge
(self)
agent/tests/test_etf_holdings_tool.py:1020
Function
test_quote_identity_and_listing_status_cannot_price_another_position
(tmp_path, broker, case)
agent/tests/test_robinhood_portfolio_source.py:372
Function
test_quote_keeps_polling_when_ticker_is_nan
get_quote rejects NaN fields and continues polling for real data.
agent/tests/test_ibkr_local.py:282
Method
test_quote_omits_zero_last
(self, fake_mt5: FakeMT5)
agent/tests/test_mt5_connector.py:571
Function
test_quote_replies_that_are_not_the_advertised_shape
(envelope: dict, message: str)
agent/tests/test_robinhood_mcp_mapping.py:329
Function
test_quote_selects_tier_before_requesting_data
reqMarketDataType is called with the configured tier before reqMktData.
agent/tests/test_ibkr_local.py:381
Function
test_quote_summary_maps_a_zero_book_as_no_price_not_zero
()
agent/tests/test_robinhood_mcp_mapping.py:275
Function
test_quote_summary_maps_the_official_settled_close_when_present
()
agent/tests/test_robinhood_mcp_mapping.py:267
Function
test_quote_summary_maps_the_reply_onto_the_shared_quote_reader_names
()
agent/tests/test_robinhood_mcp_mapping.py:249
Method
test_quote_usd_pair
(self, fake_mt5: FakeMT5)
agent/tests/test_mt5_connector.py:496
Function
test_quote_uses_the_newer_extended_hours_trade_and_retains_its_time
(tmp_path, broker)
agent/tests/test_robinhood_portfolio_source.py:387
Function
test_quote_waits_for_delayed_tick_arrival
get_quote polls with ib.sleep() until the ticker receives real data.
agent/tests/test_ibkr_local.py:237
Function
test_quoted_classvar_shadowing_is_not_flagged
()
agent/tests/test_dataclass_field_name_collisions.py:291
Function
test_quoted_cookie_value_never_leaks
(text)
agent/tests/test_redaction_cookie_headers.py:27
Function
test_quoted_curl_header_keeps_the_rest_of_the_command
(quote: str)
agent/tests/test_redaction_cookie_headers.py:34
Function
test_quoted_domains_comments_and_authserv_version_are_valid
()
agent/tests/test_email_authentication_results.py:214
Method
test_quoted_scalars_lose_their_quotes_and_stay_strings
(self)
agent/tests/test_skills.py:46
Method
test_quoted_voice_message_is_forwarded
(self)
agent/tests/test_voice_note_attachment_passthrough.py:193
Function
test_quotes_counts_and_arbitrary_metrics_remain_distinct
(vendor)
agent/tests/test_gildata_fin_query.py:80
Method
test_qwen_alias_to_dashscope
(self)
agent/tests/test_llm.py:270
Method
test_qwen_vl_alias_maps_to_llm_vision
VIBE_TRADING_OCR_ENGINE=qwen-vl should alias to llm-vision with a deprecation warning.
agent/tests/test_ocr_engine.py:368
Method
test_qwen_vl_alias_not_in_engines_dict
Confirm 'qwen-vl' is not a registered engine name (only an alias).
agent/tests/test_ocr_engine.py:389
Function
test_racing_archive_destination_is_never_replaced
(tmp_path, monkeypatch)
agent/tests/test_governance_rotation_boundaries.py:47
Function
test_ragged_row_is_refused_rather_than_partially_imported
One malformed row fails the import; it never yields a short portfolio.
agent/tests/test_extraetf_reader.py:414
Function
test_rail_renders_codex_style_shell_transcript
()
agent/tests/test_cli_ui_redesign.py:36
Function
test_rail_uses_codex_marker_and_output_branch
()
agent/tests/test_cli_ui_redesign.py:16
Method
test_raised_limit_uncaps_the_series
(self, monkeypatch)
agent/tests/test_fred_macro_tool.py:246
Method
test_raises_on_connection_failure
(self, loader)
agent/tests/test_futu_loader.py:255
Method
test_raises_when_none_available
(self)
agent/tests/test_registry.py:414
Function
test_raising_sleep_hint_does_not_kill_the_loop
()
agent/tests/scheduling/test_kernel_sleep_hint.py:112
Function
test_raising_sleep_hint_falls_back_to_the_fixed_tick
()
agent/tests/scheduling/test_kernel_sleep_hint.py:104
Method
test_range_clipped
(self, fake_mod: _FakeMT5Module)
agent/tests/test_mt5_loader.py:183
Function
test_range_is_passed_through_to_the_client
(cn_a_client: FakeCalendarClient)
agent/tests/test_paper_trade_calendar.py:85
Function
test_range_preserves_explicit_negative_endpoint
()
agent/tests/test_grounding_percentage_points.py:190
Method
test_range_too_large_400_raises_incomplete
Contract 4, the REAL truncation path (caught live): a window wider than one request is rejected with a 400 `range_too_large`, NOT a 200 `trunc
agent/tests/test_tickerall_loader.py:307
Function
test_range_uses_the_wire_key_from_not_the_dataclass_spelling
()
agent/tests/test_paper_trade_schema.py:182
Function
test_rank_partial_nan_row
()
agent/tests/factors/test_base.py:53
Function
test_rank_pct_per_row
()
agent/tests/factors/test_base.py:41
Function
test_rank_preserves_nan_row
()
agent/tests/factors/test_base.py:48
Method
test_rank_restarts_within_each_reason
(self)
agent/tests/test_dragon_tiger_tool.py:179
Function
test_ranked_cursor_stops_after_requested_distinct_sessions
(tmp_path: Path)
agent/tests/test_session_search_distinct_limit.py:40
Method
test_ranking_caps_limit
(self)
agent/tests/test_sector_tool.py:129
Method
test_ranking_ignores_code_and_skips_resolve
(self)
agent/tests/test_sector_tool.py:118
Method
test_ranking_parses_boards
(self)
agent/tests/test_sector_tool.py:97
Method
test_rapid_engine_availability
RapidOCR engine availability matches installation state.
agent/tests/test_ocr_integration.py:105
Method
test_rapid_engine_is_local
rapid engine should have is_cloud=False.
agent/tests/test_ocr_engine.py:142
Function
test_rate_at_or_below_minus_one_is_refused_by_npv
()
agent/tests/quantlib/test_fundmath.py:225
Method
test_rate_commission_via_active_symbol
calc_commission uses _active_symbol for product-specific rate.
agent/tests/test_china_futures_engine.py:187
Method
test_rate_limit_note_skips_symbol
(self, monkeypatch)
agent/tests/test_alphavantage_loader.py:130
Method
test_rate_to_dict_handles_none_values
None values pass through without raising and remain JSON-serializable.
agent/tests/test_mt5_connector.py:905
Method
test_rate_to_dict_mapping_types
Plain dict input produces native Python types and is JSON-serializable.
agent/tests/test_mt5_connector.py:879
Method
test_rate_to_dict_numpy_serializable
Verify _rate_to_dict converts numpy scalars to native Python types.
agent/tests/test_mt5_connector.py:843
Method
test_rates_are_config_overridable
(self)
agent/tests/test_korea_equity_engine.py:258
Function
test_ratio_change_rescaling_and_ambiguity
()
agent/tests/test_argentina_equity_engine.py:391
Method
test_ratios_undefined_for_breakeven_trades
(self)
agent/tests/test_metrics.py:258
Method
test_ratios_undefined_when_no_trade_lost
(self)
agent/tests/test_metrics.py:251
Method
test_ratios_undefined_when_no_trade_lost
(self)
agent/tests/test_metrics.py:394
Method
test_ratios_zero_when_no_trade_won
(self)
agent/tests/test_metrics.py:263
Method
test_raw_broker_symbol_passes_through
(self, fake_mod: _FakeMT5Module)
agent/tests/test_mt5_loader.py:136
Function
test_raw_cn_a_is_not_exempt_from_detection
()
agent/tests/test_paper_trade_corporate_actions.py:414
Function
test_raw_field_schema_and_sec_map_cover_all_raw_fields
()
agent/tests/test_fundamental_schema.py:34
Method
test_raw_header_secret_not_present_in_key
A secret header value must never appear as plaintext in the cache key.
agent/tests/test_mcp_specs_cache.py:162
Method
test_raw_oauth_client_secret_not_present_in_key
An OAuth client secret must never appear as plaintext in the cache key.
agent/tests/test_mcp_specs_cache.py:205
Function
test_raw_ok_data_envelope_is_rejected
Real success shape from get_fundamentals_tool.py, no top-level status key.
agent/tests/test_swarm_output_contract.py:82
Function
test_raw_ok_non_data_payload_envelope_is_rejected
Real success shape from research_papers_tool.py: uses "papers" as the payload key, not "data". Proves the fix does not depend on the payload k
agent/tests/test_swarm_output_contract.py:93
Function
test_raw_pca_preserves_relative_factor_units_against_independent_svd
()
agent/tests/quantlib/test_neutralization.py:481
Method
test_raw_prices_show_a_fabricated_fifty_percent_drop
(self)
agent/tests/test_alpha_bench_qfq.py:56
Function
test_raw_size_positive_for_negative_price
()
agent/tests/test_nonpositive_prices.py:194
Function
test_raw_state_that_shape_parses_but_cannot_canonicalize_is_not_computable
()
agent/tests/test_paper_trade_schema.py:463
Function
test_raw_success_envelope_is_rejected
SYNTHETIC: no current Vibe-Trading tool emits a top-level "success" key (confirmed by repository survey). This branch exists only for consistency
agent/tests/test_swarm_output_contract.py:108
Function
test_raw_tool_envelope_is_rejected
()
agent/tests/test_swarm_output_contract.py:77
Function
test_re_resolving_same_query_cannot_overwrite_a_locked_symbol
( tmp_path: Path, )
agent/tests/test_agent_grounding.py:200
Function
test_reachable_but_empty_feed_does_not_raise
()
agent/tests/test_rsshub_events_provider.py:286
Function
test_read_and_edit_file_accept_configured_run_root
(tmp_path: Path, monkeypatch)
agent/tests/test_file_tool_sandbox_security.py:60
Function
test_read_document_adds_security_warning_to_text
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_security_scanner.py:203
Function
test_read_document_allows_configured_import_root
( tmp_path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_doc_reader_security.py:36
Function
test_read_document_rejects_system_paths
()
agent/tests/test_doc_reader_security.py:24
Function
test_read_env_values_strips_export_prefix
Shell-style ``export KEY=`` must read as KEY (python-dotenv parity).
agent/tests/test_api_infrastructure.py:315
← previous
next →
22,701–22,800 of 26,887, ranked by callers