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_align_keeps_move_across_halt_longer_than_ffill_limit
A suspension longer than ``_align``'s ffill limit must not erase the move. ``_align`` forward-fills close with ``limit=5`` (single market) precis
agent/tests/test_returns_gaps_and_infinities.py:152
Method
test_align_output_excludes_fund_columns
Returned close_df and target_pos columns contain only symbol codes.
agent/tests/test_signal_alignment_perf.py:659
Function
test_alignment_mask_and_wls_weight_exclusions_are_explicit
()
agent/tests/quantlib/test_neutralization.py:201
Function
test_all_breakeven_events_preserve_activity
(tmp_path: Path, overlap: bool)
agent/tests/test_trade_artifact_events.py:144
Function
test_all_bundled_presets_inspect_without_errors
Bundled presets should have valid agent/task references and DAGs.
agent/tests/test_swarm_preset_inspect.py:10
Function
test_all_cash_single_asset_has_no_infeasible_allocation
()
agent/tests/test_turnover_single_asset_caps.py:61
Function
test_all_currency_groups_failure
( profitable_journal: Path, tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_shadow_account.py:738
Function
test_all_empty_sources_are_empty_success
(monkeypatch, adapter, _offline_sources)
agent/tests/test_parallel_search.py:193
Method
test_all_entries_invalid_leaves_store_untouched
( self, runs_root: Path, isolated_home: Path )
agent/tests/test_strategy_discovery_refresh.py:390
Function
test_all_exact_venues_survive_and_remain_ambiguous
(recall, tmp_path)
agent/tests/test_gildata_identity.py:40
Method
test_all_excluded_note_differs_from_empty_note
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:977
Method
test_all_excluded_note_reports_gate_breakdown
(self, tmp_path)
agent/tests/test_strategy_discovery_facade.py:955
Method
test_all_expected_markets_present
(self)
agent/tests/test_registry.py:199
Function
test_all_feeds_unreachable_raises
(monkeypatch)
agent/tests/test_rsshub_events_provider.py:239
Function
test_all_filtered_tools_do_not_bind_an_empty_schema
(shared_policy)
agent/tests/test_provider_agnostic_tool_policy.py:253
Method
test_all_five_sheets_present
(self, workbook_path)
agent/tests/quantlib/valuation/test_artifact.py:603
Method
test_all_four_actions_are_detected
(self)
agent/tests/test_institutional_holdings_tool.py:443
Method
test_all_four_sheets_present
(self, workbook_path)
agent/tests/quantlib/valuation/test_artifact.py:682
Method
test_all_four_sheets_present
(self, workbook_path)
agent/tests/quantlib/valuation/test_artifact.py:753
Function
test_all_futu_profiles_advertise_extended_read_capabilities
()
agent/tests/test_futu_extended_reads.py:288
Method
test_all_invalid_codes_rejected_upfront
(self, monkeypatch)
agent/tests/test_fund_nav_tool.py:165
Method
test_all_losers
(self)
agent/tests/test_metrics.py:229
Method
test_all_nan_column_does_not_raise
A fully NaN asset column must not crash the optimizer.
agent/tests/test_turnover_aware_optimizer.py:94
Method
test_all_nan_column_drop
Both paths drop all-NaN symbols identically.
agent/tests/test_signal_alignment_perf.py:223
Method
test_all_nan_column_dropped
A symbol with entirely NaN close should be dropped from output.
agent/tests/test_signal_alignment_perf.py:379
Function
test_all_nan_continuous_payload_is_data_not_ready
()
agent/tests/test_paper_trade_5m_payload.py:164
Method
test_all_nan_price_rows_dropped
(self)
agent/tests/test_pykrx_loader.py:75
Method
test_all_nan_symbol_dropped
Symbol with entirely NaN data should be dropped from alignment.
agent/tests/test_engine_robustness.py:59
Method
test_all_nan_window_emits_no_runtime_warning
All-NaN windows stay NaN without divide-by-zero noise.
agent/tests/test_factor_operators.py:142
Function
test_all_negative_series_raises
()
agent/tests/quantlib/test_fundmath.py:188
Function
test_all_non_finite_is_an_error
()
agent/tests/quantlib/test_var_backtest.py:72
Function
test_all_numeric_row_is_unaffected
(tmp_path: Path)
agent/tests/test_session_load_metrics.py:33
Function
test_all_numeric_trade_pnl_emits_no_ignored_warning
Clean numeric trades must not trigger the ignored-PnL warning.
agent/tests/test_options_portfolio_correctness.py:141
Function
test_all_peers_excluded_from_a_multiple_yields_no_statistics_and_a_warning
Boundary: every peer excluded from one multiple. The run still succeeds; that multiple's distribution and implied valuation are simply empty/N
agent/tests/quantlib/valuation/test_comps.py:360
Function
test_all_positions_can_reverse_without_an_invalid_solver_seed
()
agent/tests/test_turnover_direction_changes.py:50
Function
test_all_positive_series_raises_instead_of_returning_nonsense
()
agent/tests/quantlib/test_fundmath.py:176
Method
test_all_principles_are_numbered_in_order
(self)
agent/tests/test_agent_output_discipline.py:104
Function
test_all_readmes_agree_with_each_other
No locale may drift from the others, whatever the code count is.
agent/tests/test_readme_counts.py:551
Function
test_all_reads_failed_no_side_effects_flag
(live_runtime: Path)
agent/tests/test_runtime_flatten.py:357
Function
test_all_resolved_has_no_unresolved_key
Happy path must stay byte-identical (additive only).
agent/tests/test_get_market_data_unresolved.py:69
Method
test_all_rows_dropped_returns_none
(self)
agent/tests/test_stooq_loader.py:193
Function
test_all_sampled_goldens_exist
Sanity gate: every sampled alpha must have a corresponding golden CSV.
agent/tests/factors/test_alpha101_samples.py:130
Function
test_all_seven_reasons_are_pairwise_distinct
()
agent/tests/test_plan_rejected.py:116
Method
test_all_six_commands_are_registered
(self)
agent/tests/test_institutional_commands.py:61
Function
test_all_symbol_read_reaches_the_endpoint_and_returns_the_resting_order
(exchange, monkeypatch)
agent/tests/test_binance_open_orders.py:22
Method
test_all_symbols_nan_raises
If ALL symbols are NaN, _align should raise ValueError.
agent/tests/test_engine_robustness.py:81
Function
test_all_thin_rejected
()
agent/tests/test_risk_xray.py:107
Method
test_all_three
(self)
agent/tests/test_validation.py:287
Function
test_all_three_surfaces_produce_the_same_prompt
REST, CLI and slash must schedule byte-identical instruction text.
agent/tests/test_playbooks_surface.py:739
Method
test_all_three_tools_registered_with_descriptions
(self)
agent/tests/test_strategy_discovery_mcp.py:74
Method
test_all_tools_registered
(self)
agent/tests/test_strategy_discovery_guard.py:72
Function
test_all_window_closes_non_positive_falls_back_to_avg_cost
()
agent/tests/test_paper_trade_readiness.py:324
Method
test_all_winners
(self)
agent/tests/test_metrics.py:223
Method
test_all_zero_payload_falls_through_to_tushare
(self)
agent/tests/test_northbound_tool.py:157
Function
test_all_zero_series_raises
()
agent/tests/quantlib/test_fundmath.py:204
Function
test_allow_keeps_negatives_rejects_exact_zero
With the flag on, the four negative-close bars survive and only the exactly-zero close (DELU 2025-10-26) is dropped — structural invariants (h
agent/tests/test_nonpositive_prices.py:51
Method
test_allow_short_is_refused
(self)
agent/tests/test_vietnam_equity_engine.py:84
Method
test_allow_short_is_refused_not_simulated
KRX covered-short / uptick rules are unmodelled — refuse loudly.
agent/tests/test_korea_equity_engine.py:129
Function
test_allow_still_enforces_structural_invariants
The flag relaxes only positivity, never the OHLC bracket invariants.
agent/tests/test_nonpositive_prices.py:108
Function
test_allowed_loopback_host_can_start_live_runner_dev_mode
Allowed local hosts preserve the loopback dev-mode runner control path.
agent/tests/test_security_auth_api.py:495
Function
test_allowed_math_pandas_quantlib_strategy_still_runs
()
agent/tests/test_paper_trade_strategy_path.py:309
Function
test_allowlist_empty_refuses_everything
(tmp_path: Path)
agent/tests/test_load_skill_allowlist.py:65
Method
test_allowlist_flag
(self, capsys: pytest.CaptureFixture[str])
tools/test_ci_env_var_gate.py:228
Function
test_allowlist_none_keeps_unrestricted_default
(tmp_path: Path)
agent/tests/test_load_skill_allowlist.py:59
Function
test_allowlist_permits_listed_skill
(tmp_path: Path)
agent/tests/test_load_skill_allowlist.py:41
Function
test_allowlist_refuses_unlisted_skill_and_names_allowed_set
(tmp_path: Path)
agent/tests/test_load_skill_allowlist.py:49
Function
test_allowlist_without_load_skill_in_whitelist_adds_nothing
()
agent/tests/test_load_skill_allowlist.py:92
Function
test_allows_non_broad_process_commands
( command: str, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_bash_tool.py:97
Function
test_allows_within_budget
()
agent/tests/test_rate_limiter_memory.py:19
Function
test_alpaca_classification
()
agent/tests/test_sdk_connectors.py:554
Function
test_alpaca_invalid_feed_rejected
()
agent/tests/test_sdk_connectors.py:541
Function
test_alpaca_marker_precedes_submit_and_audit_precedes_clear
(monkeypatch)
agent/tests/test_sdk_order_gate.py:192
Function
test_alpaca_paper_live_host_and_flag
()
agent/tests/test_sdk_connectors.py:534
Function
test_alpaca_redacts_secrets
()
agent/tests/test_sdk_connectors.py:546
Function
test_alpaca_service_unconfigured
(monkeypatch, tmp_path)
agent/tests/test_sdk_connectors.py:560
Function
test_alpha007_no_signal_before_declared_warmup
()
agent/tests/factors/test_alpha101_alpha007_051_nan_propagation.py:24
Function
test_alpha007_volume_gap_stays_nan
()
agent/tests/factors/test_alpha101_alpha007_051_nan_propagation.py:48
Function
test_alpha009_gap_stays_nan
()
agent/tests/factors/test_alpha101_alpha009_046_nan_propagation.py:49
Function
test_alpha009_no_signal_before_declared_warmup
()
agent/tests/factors/test_alpha101_alpha009_046_nan_propagation.py:37
Function
test_alpha010_gap_stays_nan
()
agent/tests/factors/test_alpha101_alpha010_023_027_nan_propagation.py:46
Function
test_alpha010_no_signal_before_declared_warmup
()
agent/tests/factors/test_alpha101_alpha010_023_027_nan_propagation.py:34
Function
test_alpha019_gap_stays_nan
()
agent/tests/factors/test_gtja191_alpha019_086_nan_propagation.py:48
Function
test_alpha019_no_signal_before_declared_warmup
()
agent/tests/factors/test_gtja191_alpha019_086_nan_propagation.py:36
Function
test_alpha021_gap_stays_nan
()
agent/tests/factors/test_alpha101_alpha021_024_nan_propagation.py:46
Function
test_alpha021_no_signal_before_declared_warmup
()
agent/tests/factors/test_alpha101_alpha021_024_nan_propagation.py:20
Function
test_alpha023_gap_stays_nan
()
agent/tests/factors/test_alpha101_alpha010_023_027_nan_propagation.py:73
Function
test_alpha023_no_signal_before_declared_warmup
()
agent/tests/factors/test_alpha101_alpha010_023_027_nan_propagation.py:61
Function
test_alpha024_gap_stays_nan
()
agent/tests/factors/test_alpha101_alpha021_024_nan_propagation.py:93
Function
test_alpha024_no_signal_before_declared_warmup
()
agent/tests/factors/test_alpha101_alpha021_024_nan_propagation.py:73
Function
test_alpha027_no_signal_before_declared_warmup
()
agent/tests/factors/test_alpha101_alpha010_023_027_nan_propagation.py:108
Function
test_alpha046_gap_stays_nan
()
agent/tests/factors/test_alpha101_alpha009_046_nan_propagation.py:76
Function
test_alpha046_no_signal_before_declared_warmup
()
agent/tests/factors/test_alpha101_alpha009_046_nan_propagation.py:64
Function
test_alpha051_gap_stays_nan
()
agent/tests/factors/test_alpha101_alpha007_051_nan_propagation.py:88
Function
test_alpha051_no_signal_before_declared_warmup
()
agent/tests/factors/test_alpha101_alpha007_051_nan_propagation.py:70
Function
test_alpha055_is_rolling_sum_of_alpha137
()
agent/tests/factors/test_gtja191_alpha055_swing_index.py:41
Function
test_alpha086_gap_stays_nan
()
agent/tests/factors/test_gtja191_alpha019_086_nan_propagation.py:75
Function
test_alpha086_no_signal_before_declared_warmup
()
agent/tests/factors/test_gtja191_alpha019_086_nan_propagation.py:63
Function
test_alpha101_and_qlib158_listed_for_india
(registry: Registry)
agent/tests/factors/test_india_universe.py:55
Function
test_alpha101_and_qlib158_listed_for_korea
(registry: Registry)
agent/tests/factors/test_korea_universe.py:56
Function
test_alpha101_sample_matches_golden
Recomputed factor must match the checked-in golden CSV to 1e-6 rtol.
agent/tests/factors/test_alpha101_samples.py:100
← previous
next →
14,701–14,800 of 26,887, ranked by callers