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_historical_var_ignores_nan
()
agent/tests/quantlib/test_risk.py:67
Function
test_historical_var_is_insensitive_to_input_order_and_container
()
agent/tests/quantlib/test_risk.py:54
Function
test_historical_var_is_the_hand_computed_order_statistic
()
agent/tests/quantlib/test_risk.py:44
Function
test_historical_var_scales_with_square_root_of_time
()
agent/tests/quantlib/test_risk.py:62
Function
test_history_1H_does_not_collapse_to_day
(monkeypatch)
agent/tests/test_futu_connector_period_hour_case.py:18
Function
test_history_1H_maps_to_60_not_daily
(monkeypatch)
agent/tests/test_shoonya_interval_map.py:47
Function
test_history_1H_uses_hour_timeframe
(monkeypatch)
agent/tests/test_binance_period_map.py:24
Function
test_history_1M_rejected_not_silent_daily
(monkeypatch)
agent/tests/test_shoonya_interval_map.py:66
Function
test_history_1w_rejected_not_silent_daily
(monkeypatch)
agent/tests/test_shoonya_interval_map.py:56
Function
test_history_4H_uses_240m_not_60m
(monkeypatch)
agent/tests/test_futu_connector_period_hour_case.py:44
Function
test_history_4H_uses_four_hour_timeframe
(monkeypatch)
agent/tests/test_binance_period_map.py:35
Function
test_history_4h_uses_minute_series_not_daily
(monkeypatch)
agent/tests/test_shoonya_interval_map.py:38
Function
test_history_declares_qfq_caliber_and_passes_autype
(monkeypatch)
agent/tests/test_futu_connector_period_hour_case.py:70
Function
test_history_does_not_print_bars_outside_the_limit
(monkeypatch)
agent/tests/test_connector_history_display.py:45
Method
test_history_failure_keeps_resolution_context
(self, monkeypatch)
agent/tests/test_prediction_market_tool.py:961
Function
test_history_filter_does_not_rescale_surviving_long_short_exposure
()
agent/tests/test_risk_xray_long_short.py:96
Function
test_history_filter_preserves_scale_when_short_leg_is_skipped
()
agent/tests/test_risk_xray_long_short.py:113
Function
test_history_limit_is_applied_per_stock
( tmp_path: Path, )
agent/tests/test_taiwan_stock_data_tool.py:520
Method
test_history_maps_rows_and_timeframes
(self, fake_mt5: FakeMT5)
agent/tests/test_mt5_connector.py:582
Function
test_history_prints_every_bar_inside_the_requested_limit
(monkeypatch)
agent/tests/test_connector_history_display.py:39
Function
test_history_renders_tool_calls_and_results
(fake_cli)
agent/tests/test_claude_cli_provider.py:293
Function
test_history_shorter_than_min_periods_is_skipped_not_defaulted
()
agent/tests/quantlib/test_combination.py:80
Method
test_history_trimmed_to_lookback
(self)
agent/tests/test_northbound_tool.py:82
Method
test_history_trimmed_to_lookback
(self)
agent/tests/test_southbound_tool.py:67
Function
test_history_uses_the_saved_hkd_rate
(tmp_path, rate, expected)
agent/tests/test_portfolio_service.py:971
Function
test_history_without_autype_stub_keeps_implicit_default
(monkeypatch)
agent/tests/test_futu_connector_period_hour_case.py:99
Method
test_hk_100_share_lots
(self)
agent/tests/test_global_equity_engine.py:91
Method
test_hk_already_four_digits_unchanged
(self)
agent/tests/test_yahoo_client.py:70
Function
test_hk_and_us_calendar_lookups_stay_closed_by_am6_design
( cn_a_client: FakeCalendarClient, market: str )
agent/tests/test_paper_trade_calendar.py:116
Function
test_hk_buy_golden_fee_hand_computed_to_the_cent
()
agent/tests/test_paper_trade_golden_hk.py:70
Method
test_hk_code_matches
(self)
agent/tests/test_tushare_loader.py:86
Method
test_hk_commission_components
Verify HK commission includes all components.
agent/tests/test_global_equity_engine.py:138
Function
test_hk_empty_universe_short_circuits_the_classifier_to_cash_only_navs
()
agent/tests/test_paper_trade_rejections.py:390
Function
test_hk_equity_maps_to_hk_prefix_and_parses
(monkeypatch)
agent/tests/test_tencent_loader.py:93
Method
test_hk_equity_still_supported
(self)
agent/tests/test_yfinance_crypto.py:59
Method
test_hk_five_digit
(self)
agent/tests/test_futu_loader.py:83
Function
test_hk_fixture_declares_share_volume_units_and_raw_caliber
()
agent/tests/test_paper_trade_fixtures.py:200
Function
test_hk_four_hour_interval_rejected
()
agent/tests/test_akshare_nona_share_interval.py:37
Function
test_hk_golden_embeds_hand_computed_cents_and_lot_warning
()
agent/tests/test_paper_trade_determinism.py:290
Function
test_hk_golden_is_deterministic
()
agent/tests/test_paper_trade_golden_hk.py:154
Method
test_hk_has_commission
(self)
agent/tests/test_global_equity_engine.py:125
Method
test_hk_indicators_use_hk_report_name
(self)
agent/tests/test_financial_statements_tool.py:193
Method
test_hk_leading_zero_tickers
(self)
agent/tests/test_correlation.py:27
Function
test_hk_limit_semantics_apply_without_band_codes
()
agent/tests/test_paper_trade_limits.py:168
Method
test_hk_long
(self)
agent/tests/test_global_equity_engine.py:61
Function
test_hk_lot_table_injection_overrides_the_default
()
agent/tests/test_paper_trade_golden_hk.py:144
Method
test_hk_market
(self)
agent/tests/test_global_equity_engine.py:216
Function
test_hk_mid_range_zero_bar_is_market_closed_inferred_with_warning
()
agent/tests/test_paper_trade_rejections.py:357
Function
test_hk_needs_no_calendar_client_zero_calendar_by_design
()
agent/tests/test_paper_trade_validation.py:148
Function
test_hk_normalization_preserves_distinct_currency_counters
Remove redundant zeroes without truncating a real five-digit counter.
agent/tests/test_analysis_reliability.py:127
Method
test_hk_normalized_to_four_digits
(self)
agent/tests/test_yahoo_client.py:66
Function
test_hk_order_violating_the_board_lot_is_rejected
()
agent/tests/test_paper_trade_golden_hk.py:129
Method
test_hk_rounds_down
(self)
agent/tests/test_global_equity_engine.py:97
Method
test_hk_routes_to_hk_daily
(self)
agent/tests/test_tushare_loader.py:191
Function
test_hk_same_day_round_trip_is_allowed_t0
()
agent/tests/test_paper_trade_golden_hk.py:110
Method
test_hk_short
(self)
agent/tests/test_global_equity_engine.py:64
Method
test_hk_short_padded
(self)
agent/tests/test_futu_loader.py:86
Method
test_hk_slippage_rate
(self)
agent/tests/test_global_equity_engine.py:176
Function
test_hk_spellings_of_one_instrument_are_rejected_as_duplicates
A bare HK code and its suffixed spelling must normalize to one key. The bare path zero-pads to four digits while the suffixed spelling passed
agent/tests/test_analysis_reliability.py:107
Method
test_hk_stamp_tax_bilateral
HK stamp tax charged on both buy and sell.
agent/tests/test_global_equity_engine.py:130
Function
test_hk_stamp_tax_quantizes_half_up_to_whole_hkd_not_banker
()
agent/tests/test_paper_trade_golden_hk.py:99
Method
test_hk_stock_via_yahoo_returns_articles
(self)
agent/tests/test_stock_news_tool.py:179
Function
test_hk_strategy_benchmarks_against_hscei_etf_in_suffix_form
(symbol)
agent/tests/test_benchmark_hk_ticker.py:16
Method
test_hk_suffix_before_a_share_prefix
(self)
agent/tests/test_correlation.py:35
Method
test_hk_symbol_converted
(self)
agent/tests/test_yfinance_crypto.py:33
Function
test_hk_target_day_zero_bar_through_fetch_is_not_ready
()
agent/tests/test_paper_trade_readiness.py:290
Method
test_hk_warns_and_skips
(self)
agent/tests/test_tushare_loader.py:308
Function
test_hkd_counters_still_build_an_engine
()
agent/tests/test_hk_counter_currency.py:71
Method
test_hkex_walks_back_past_404
(self)
agent/tests/test_southbound_tool.py:180
Method
test_hold_is_enforced_not_skipped
(self, bar_idx: int, allowed: bool)
agent/tests/test_composite_vietnam_rules.py:87
Function
test_hold_mode_keeps_same_direction_size
()
agent/tests/test_base_engine.py:124
Function
test_hold_mode_preserves_legacy_negative_open_support
()
agent/tests/test_base_engine.py:130
Method
test_hold_runs_from_the_newest_lot
(self, bar_idx: int, allowed: bool)
agent/tests/test_composite_vietnam_rules.py:95
Method
test_hold_runs_from_the_newest_lot
(self, bar_idx: int, allowed: bool)
agent/tests/test_vietnam_equity_engine.py:172
Method
test_holdings_are_ranked_by_weight_and_omit_absent_fields
(self)
agent/tests/test_etf_holdings_tool.py:441
Function
test_holdings_export_normalizes_a_german_locale_position
()
agent/tests/test_extraetf_reader.py:145
Function
test_holdings_outside_equities_fail_the_source_instead_of_shortening_it
( tmp_path, broker: _Broker, field: str )
agent/tests/test_robinhood_portfolio_source.py:183
Function
test_holdings_without_exposure_data_are_disclosed_not_dropped
()
agent/tests/quantlib/test_factormodel.py:333
Function
test_holiday_gap_fixture_gaps_match_bars
()
agent/tests/test_paper_trade_fixtures.py:270
Function
test_holiday_row_is_false
(cn_a_client: FakeCalendarClient)
agent/tests/test_paper_trade_calendar.py:62
Function
test_home_override_rejects_unc_paths
Match the UNC hardening every other root-widening env var enforces.
agent/tests/test_user_state_paths.py:47
Method
test_hong_kong_zero_pads_to_five
(self)
agent/tests/test_eastmoney_client.py:34
Method
test_hook_exception_fails_closed
(self)
agent/tests/test_mandate_forex.py:306
Method
test_hook_is_authoritative_over_quote_product
(self)
agent/tests/test_mandate_forex.py:281
Method
test_hook_none_fails_closed
(self)
agent/tests/test_mandate_forex.py:294
Method
test_hook_nonpositive_fails_closed
(self)
agent/tests/test_mandate_forex.py:321
Function
test_hook_not_called_when_order_is_planned
()
agent/tests/test_plan_rejected.py:128
Function
test_horizon_argparse_parses_and_rejects
()
agent/tests/test_alpha_bench_horizon.py:392
Function
test_horizon_below_one_raises
(bad: int)
agent/tests/test_alpha_bench_forward_returns.py:91
Method
test_horizon_clamped_to_max
(self)
agent/tests/test_lockup_expiry_tool.py:110
Function
test_horizon_default_is_byte_identical_to_legacy_formula
()
agent/tests/test_alpha_bench_forward_returns.py:31
Function
test_horizon_missing_close_still_raises
()
agent/tests/test_alpha_bench_forward_returns.py:106
Function
test_horizon_must_be_at_least_one
(fn)
agent/tests/quantlib/test_risk.py:215
Function
test_horizon_namespace_without_attribute_defaults_to_one
( capsys, monkeypatch: pytest.MonkeyPatch, _reg, _no_report )
agent/tests/test_alpha_bench_horizon.py:369
Function
test_horizon_nan_close_at_t_never_bridges
()
agent/tests/test_alpha_bench_forward_returns.py:80
Function
test_horizon_nan_close_at_t_plus_h_never_bridges
()
agent/tests/test_alpha_bench_forward_returns.py:69
Function
test_horizon_non_int_raises
(bad: object)
agent/tests/test_alpha_bench_forward_returns.py:99
Function
test_horizon_samples_the_most_recent_complete_window
()
agent/tests/test_alpha_bench_forward_returns.py:56
Function
test_horizon_three_samples_every_third_row_end_anchored
()
agent/tests/test_alpha_bench_forward_returns.py:39
Method
test_hose_symbols_do_not_borrow_another_markets_rules
(self)
agent/tests/test_composite_vietnam_rules.py:72
← previous
next →
19,201–19,300 of 26,887, ranked by callers