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_fetch_chain_provider_hook_wins_over_override
The fallback_chain_provider test hook defines the chain; the override must not leak its order in.
agent/tests/test_market_data.py:725
Method
test_fetch_cn_index
(self, monkeypatch)
agent/tests/test_gildata_loader.py:386
Function
test_fetch_combines_all_windows_and_caches_complete_frame
( monkeypatch: pytest.MonkeyPatch, config_cls: object )
agent/tests/test_longbridge_loader.py:211
Function
test_fetch_daily_uses_get_k_data
(fake_client: _FakeStdQuotes)
agent/tests/test_mootdx_loader.py:106
Function
test_fetch_data_map_delegates_auto_routing
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_ui_services.py:151
Function
test_fetch_data_map_does_not_call_an_index_additive
A tencent run over an index and a stock warns about the stock only.
agent/tests/test_price_caliber.py:437
Function
test_fetch_data_map_does_not_expose_config_mutables_to_loader
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_ui_services.py:122
Function
test_fetch_data_map_reports_both_warnings_when_they_apply
tencent (additive) serving 600519.SH beside sina (raw) serving TSLA.US is both a mixed basket and an additive series; one warning must not shadow
agent/tests/test_price_caliber.py:461
Function
test_fetch_data_map_silent_on_single_caliber
( monkeypatch: pytest.MonkeyPatch, caplog: pytest.LogCaptureFixture )
agent/tests/test_price_caliber.py:377
Function
test_fetch_data_map_uses_registry_for_nonlegacy_source
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_ui_services.py:80
Function
test_fetch_data_map_warns_on_additive_caliber
A single-source tencent run mixes nothing, so the mixed-caliber warning is right to stay silent — but the series it served is additive, and the
agent/tests/test_price_caliber.py:410
Function
test_fetch_data_map_warns_on_mixed_caliber_basket
yahoo serves AAPL (split_dividend), sina serves TSLA down the chain (raw): the run must say the basket mixes calibers.
agent/tests/test_price_caliber.py:353
Function
test_fetch_declared_currency_failure_is_fail_closed
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_yfinance_uk_scale.py:155
Function
test_fetch_empty_payload_omits_symbol
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_tiingo_loader.py:341
Function
test_fetch_explicit_source_normalizes_rows
()
agent/tests/test_market_data.py:331
Function
test_fetch_explicit_source_stays_src_first_with_override
An explicit source= never gets reordered by the market's override.
agent/tests/test_market_data.py:677
Function
test_fetch_fails_closed_when_currency_absent
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_yfinance_uk_scale.py:121
Function
test_fetch_failure_is_surfaced_as_error_envelope
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_orderbook_depth_tool.py:379
Method
test_fetch_hk_symbol
(self, monkeypatch)
agent/tests/test_gildata_loader.py:335
Method
test_fetch_india_symbol
(self)
agent/tests/test_yahoo_loader.py:273
Function
test_fetch_intraday_empty_window_returns_no_entry
( fake_client: _FakeStdQuotes, )
agent/tests/test_mootdx_loader.py:135
Function
test_fetch_intraday_uses_bars_and_clips_window
( fake_client: _FakeStdQuotes, )
agent/tests/test_mootdx_loader.py:120
Function
test_fetch_invalid_date_range_raises
()
agent/tests/test_sina_loader.py:207
Function
test_fetch_json_is_strict_and_parseable
()
agent/tests/test_market_data.py:759
Function
test_fetch_json_rejects_nan_via_allow_nan_false
()
agent/tests/test_market_data.py:771
Function
test_fetch_leaves_gbp_quoted_lse_unscaled
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_yfinance_uk_scale.py:82
Method
test_fetch_leaves_missing_quote_currency_absent
(self)
agent/tests/test_yahoo_loader.py:264
Function
test_fetch_leaves_us_prices_untouched
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_yfinance_uk_scale.py:68
Function
test_fetch_loader_error_falls_through_to_unresolved
()
agent/tests/test_market_data.py:469
Function
test_fetch_local_prefix_unaffected_by_override
local: codes keep the local entry point — no-network sources are exempt from reordering.
agent/tests/test_market_data.py:703
Function
test_fetch_local_result_alias_is_not_unresolved
()
agent/tests/test_market_data.py:504
Function
test_fetch_market_data_auto_routes_yahoo_suffix_symbols
auto mode groups GC=F/EURUSD=X under yahoo, not the tushare/China chain (#718).
agent/tests/test_market_data.py:156
Function
test_fetch_missing_symbol_listed_as_unresolved
()
agent/tests/test_market_data.py:480
Function
test_fetch_non_2xx_status_skips_symbol
()
agent/tests/test_sina_loader.py:193
Function
test_fetch_non_canadian_symbol_unaffected_by_venue_fallback
A non-Canadian symbol that fails must stay _unresolved — the sibling fallback only ever fires for .TO/.V symbols.
agent/tests/test_market_data.py:597
Function
test_fetch_one_bad_symbol_does_not_abort_batch
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_tiingo_loader.py:324
Method
test_fetch_one_symbol
(self, monkeypatch)
agent/tests/test_gildata_loader.py:188
Method
test_fetch_one_symbol
(self, monkeypatch)
agent/tests/test_fmp_loader.py:271
Function
test_fetch_one_symbol_failure_does_not_abort_batch
()
agent/tests/test_sina_loader.py:178
Function
test_fetch_parses_and_clips_window
(monkeypatch)
agent/tests/test_india_broker_loader.py:57
Function
test_fetch_passes_inclusive_end_date_to_yfinance_as_exclusive_end
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_yfinance_crypto.py:87
Method
test_fetch_preserves_provider_quote_currency
(self)
agent/tests/test_yahoo_loader.py:255
Function
test_fetch_price_history_empty_frame
Loader returns an empty frame for the symbol → None.
agent/tests/test_shadow_account.py:1644
Function
test_fetch_price_history_loader_raises
A loader that raises mid-fetch degrades to None, never propagates.
agent/tests/test_shadow_account.py:1663
Function
test_fetch_price_history_symbol_absent_from_map
Loader available but returns no entry for the requested symbol → None.
agent/tests/test_shadow_account.py:1626
Function
test_fetch_redacts_sdk_initialization_exception_and_drops_cause
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_longbridge_loader.py:325
Function
test_fetch_rejects_bad_date_range
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_tiingo_loader.py:348
Function
test_fetch_rejects_missing_credentials_before_sdk_initialization
( monkeypatch: pytest.MonkeyPatch, tmp_path )
agent/tests/test_longbridge_loader.py:86
Function
test_fetch_rejects_non_daily_interval
()
agent/tests/test_sina_loader.py:202
Function
test_fetch_rejects_partial_history_when_a_window_fails
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_longbridge_loader.py:274
Function
test_fetch_rejects_unknown_interval
(fake_client: _FakeStdQuotes)
agent/tests/test_mootdx_loader.py:205
Function
test_fetch_rejects_usd_quoted_lse_line
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_yfinance_uk_scale.py:104
Function
test_fetch_returns_empty_for_empty_input
()
agent/tests/test_swarm_grounding.py:189
Function
test_fetch_returns_frame_for_us_symbol
()
agent/tests/test_sina_loader.py:150
Function
test_fetch_returns_normalized_bars
Real call path: ``_detect_market(code)`` → ``resolve_loader(market)`` returns a ready loader instance. The stub mirrors that contract so a reg
agent/tests/test_swarm_grounding.py:151
Function
test_fetch_returns_normalized_frame
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_tiingo_loader.py:285
Method
test_fetch_returns_ohlcv_frame
(self)
agent/tests/test_vietnam_equity.py:67
Function
test_fetch_scales_lse_pence_to_gbp
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_yfinance_uk_scale.py:29
Function
test_fetch_scales_only_on_gbp_pence
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_yfinance_uk_scale.py:138
Function
test_fetch_scales_other_lse_names
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_yfinance_uk_scale.py:53
Function
test_fetch_skips_bj_symbols_with_warning
Mootdx upstream has no BJ data; loader must skip + warn, not crash.
agent/tests/test_mootdx_loader.py:180
Function
test_fetch_skips_non_a_share_symbols
(fake_client: _FakeStdQuotes)
agent/tests/test_mootdx_loader.py:173
Function
test_fetch_skips_non_us_symbols
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_tiingo_loader.py:316
Function
test_fetch_skips_non_us_symbols_without_http
()
agent/tests/test_sina_loader.py:171
Function
test_fetch_skips_symbols_with_no_data
(monkeypatch)
agent/tests/test_swarm_grounding.py:178
Function
test_fetch_stops_when_fallbacks_leave_symbols_missing
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_ui_services.py:360
Method
test_fetch_unknown_interval_fails_before_opening_context
(self, loader)
agent/tests/test_futu_loader.py:270
Method
test_fetch_us_symbol
(self)
agent/tests/test_yahoo_loader.py:235
Method
test_fetch_uses_from_to_range_not_hours
(self, monkeypatch)
agent/tests/test_tickerall_loader.py:255
Function
test_fetch_without_key_returns_empty
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_tiingo_loader.py:308
Method
test_fetches_uncapped_then_sorts_and_tails_locally
Long windows use the latest consecutive bars, not even-stride samples.
agent/tests/test_technical_indicator_tool.py:522
Method
test_few_trades_is_insufficient_even_with_long_coverage
(self)
agent/tests/test_strategy_discovery_models.py:218
Function
test_fewer_than_min_robust_comps_peers_triggers_warning
()
agent/tests/quantlib/valuation/test_comps.py:387
Method
test_fewer_than_two_fetched_assets_raises
(self, monkeypatch)
agent/tests/test_regime.py:234
Method
test_ffill_1d_basic
(self)
agent/tests/test_signal_alignment_perf.py:560
Method
test_ffill_1d_leading_nan
Leading NaN with no valid predecessor stays NaN.
agent/tests/test_signal_alignment_perf.py:582
Method
test_ffill_1d_limit_exceeded
(self)
agent/tests/test_signal_alignment_perf.py:566
Method
test_ffill_2d_column_wise
(self)
agent/tests/test_signal_alignment_perf.py:572
Function
test_ffill_anchors_on_filed_date_not_period_end
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_fundamentals_pit.py:147
Method
test_ffill_limit_respected
Consecutive NaN > ffill_limit should NOT be forward-filled.
agent/tests/test_signal_alignment_perf.py:354
Function
test_fiat_cross_is_not_crypto
(symbol: str)
agent/tests/test_trade_journal_fiat_pairs_not_crypto.py:16
Method
test_fiat_pair_spellings_normalize_to_yahoo_form
(self)
agent/tests/test_agent_grounding.py:2681
Method
test_fiat_pairs_are_not_misclassified_as_crypto
GBP/USD must stop being treated as a crypto 'GBP-USD' pair.
agent/tests/test_symbol_search_tool.py:803
Function
test_field_ref_candidates_and_values_never_borrow_other_symbol
(tmp_path)
agent/tests/test_grounding_september28_safety.py:54
Function
test_field_stats_and_ordering
()
agent/tests/test_binance_tolerance_calibration.py:105
Method
test_fields_and_model_source
(self)
agent/tests/test_run_outcome_module.py:178
Function
test_fifo_fee_allocation
()
agent/tests/test_trade_journal.py:404
Function
test_fifo_partial_exits_conserve_entry_fee
(exit_quantities: list[int])
agent/tests/test_trade_journal.py:436
Function
test_fifo_partial_fill_splits_into_two_roundtrips
()
agent/tests/test_trade_journal.py:417
Function
test_fifo_single_roundtrip_pnl
()
agent/tests/test_trade_journal.py:387
Function
test_fifo_unmatched_sell_ignored
()
agent/tests/test_trade_journal.py:467
Method
test_fifteen_minute_bars_over_five_days_use_the_fractional_span
(self)
agent/tests/test_effective_bars_per_year_span.py:39
Function
test_figures_block_malformed_fires_identically_through_the_gate
(tmp_path: Path)
agent/tests/test_grounding_registry.py:161
Function
test_figures_ref_keeps_pipe_inside_call_id
()
agent/tests/test_grounding_figures_ref_parser.py:6
Function
test_file_writing_exporters_are_refused_with_a_reason
(tool)
agent/tests/test_quantlib_tool.py:58
Function
test_filed_at_t_plus_30_does_not_appear_before_filed_date
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_fundamentals_pit.py:71
Function
test_filesystem_warnings_are_omitted_in_full
(path)
agent/tests/test_loader_health.py:456
Method
test_filings_in_different_value_units_merge_correctly
A 2020 original in thousands, amended in 2026 in whole dollars. DZ BANK's real chain is exactly this: 41,697,805 (thousands) restated as
agent/tests/test_institutional_holdings_tool.py:939
Function
test_fill_delta_artifact_is_jsonl_and_exposes_weighted_holding
(tmp_path)
agent/tests/test_base_engine.py:207
Method
test_fill_is_capped_at_the_volume_cap
(self)
agent/tests/test_paper_order_lifecycle.py:166
← previous
next →
18,301–18,400 of 26,887, ranked by callers