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
Method
test_short_allowed
(self)
agent/tests/test_global_futures_engine.py:108
Method
test_short_allowed
(self)
agent/tests/test_crypto_engine.py:189
Method
test_short_allowed
(self)
agent/tests/test_forex_engine.py:100
Method
test_short_allowed_when_opted_in
(self)
agent/tests/test_india_equity_engine.py:46
Method
test_short_always_blocked
(self)
agent/tests/test_korea_equity_engine.py:126
Function
test_short_and_long_only_frames
()
agent/tests/test_rebalance_notes.py:82
Method
test_short_blocked
(self)
agent/tests/test_china_a_engine.py:61
Method
test_short_blocked_by_default
(self)
agent/tests/test_india_equity_engine.py:43
Method
test_short_coverage_is_marginal
(self)
agent/tests/test_strategy_discovery_models.py:228
Method
test_short_coverage_prefix
(self)
agent/tests/test_strategy_discovery_models.py:374
Function
test_short_date_mask_does_not_swallow_a_plain_ratio
The month/day mask is bounded, so an ordinary ratio still reads (#983). "P/E 15" and the window enumeration "20/50/200-day" both contain slashes.
agent/tests/test_agent_grounding.py:1667
Method
test_short_direction_blocked
(self)
agent/tests/test_vietnam_equity_engine.py:88
Function
test_short_estimation_window_is_an_error
()
agent/tests/quantlib/test_eventstudy.py:64
Method
test_short_expiry_converges_to_black_scholes
(self, days, K)
agent/tests/quantlib/test_volatility.py:91
Method
test_short_gap_filled
Gaps <= 5 bars should be forward-filled.
agent/tests/test_engine_robustness.py:36
Function
test_short_hk_code_is_zero_padded
(monkeypatch)
agent/tests/test_tencent_loader.py:113
Method
test_short_input_and_invalid_window
(self, random_df)
agent/tests/test_factor_operators.py:322
Method
test_short_is_still_refused
(self)
agent/tests/test_composite_vietnam_rules.py:122
Method
test_short_liquidation
Short position liquidated when price rises sharply.
agent/tests/test_crypto_engine.py:448
Function
test_short_loser_is_noise_only
()
agent/tests/test_shadow_attribution.py:98
Method
test_short_old_result_still_counts_as_readable
(self)
agent/tests/test_loop_helpers.py:194
Method
test_short_open_is_the_taxed_leg_not_the_cover
Tax follows the trade side, so a short book taxes the OPEN.
agent/tests/test_korea_equity_engine.py:247
Method
test_short_passthrough
(self)
agent/tests/test_persistent_memory.py:535
Function
test_short_position_gets_negative_quantity
()
agent/tests/test_alpaca_position_sign.py:23
Function
test_short_position_without_qty_stays_none
()
agent/tests/test_alpaca_position_sign.py:43
Function
test_short_put_breakeven_and_zero_spot_floor
A naked short put's finite floor is solved at physically valid spot zero.
agent/tests/test_options_payoff.py:52
Method
test_short_receives_funding
(self)
agent/tests/test_crypto_engine.py:288
Method
test_short_round_trip_charges_stamp_duty_on_the_cover_buy
(self)
agent/tests/test_india_equity_engine.py:170
Function
test_short_sale_and_cover_is_a_roundtrip_not_a_phantom_long
()
agent/tests/test_trade_journal_fifo.py:24
Function
test_short_secret_masking_boundary
Secrets of 8 characters or fewer disclose nothing; 9 disclose the last 4.
agent/tests/test_channel_config_meta.py:833
Method
test_short_selling_can_be_disabled
(self)
agent/tests/test_brazil_market_routing.py:84
Method
test_short_slippage_decreases_price
(self)
agent/tests/test_crypto_engine.py:252
Function
test_short_tail_risk_names_count_only_as_the_whole_leaf
(leaf: str, kind: str | None)
agent/tests/test_grounding_role_hardening.py:1067
Method
test_short_window_and_nan_do_not_raise
(self)
agent/tests/test_turnover_aware_optimizer.py:179
Function
test_short_winner_counts_once_in_early_not_noise
()
agent/tests/test_shadow_attribution.py:80
Function
test_short_within_buying_power_posts_margin
(tmp_path: Path)
agent/tests/test_options_margin.py:89
Function
test_short_without_adjust_is_unchanged
No adjuster: the short stays on raw prices, byte-for-byte legacy.
agent/tests/test_trade_journal_fifo.py:108
Function
test_shortest_round_trip_repr_is_used
()
agent/tests/test_paper_trade_jcs.py:110
Function
test_should_cancel_absent_consumes_full_stream
Without should_cancel the stream is consumed in full (no behavior change).
agent/tests/test_chat_llm_streaming.py:205
Function
test_should_cancel_stops_stream_early
A should_cancel predicate breaks the chunk loop; later chunks are dropped.
agent/tests/test_chat_llm_streaming.py:174
Method
test_should_compress_daily_after_30_days
Daily entry accessed >30 days ago returns 'digest'.
agent/tests/memory/test_compression.py:67
Method
test_should_compress_none_if_already_digest
Already-digest entry returns None regardless of age.
agent/tests/memory/test_compression.py:83
Method
test_should_compress_none_if_recent
Recent entry (accessed yesterday) returns None.
agent/tests/memory/test_compression.py:75
Method
test_should_compress_raw_after_7_days
Raw entry accessed >7 days ago returns 'daily'.
agent/tests/memory/test_compression.py:59
Function
test_should_register_live_channel_headless_no_token
(live_runtime: Path)
agent/tests/test_readonly_default.py:290
Function
test_should_register_live_channel_headless_with_cached_token
(live_runtime: Path)
agent/tests/test_readonly_default.py:302
Function
test_should_suppress_outbound_rejects_duplicate_reply_to_same_message
A second byte-identical reply carrying the same inbound message_id must be suppressed, matching the log line's documented contract.
agent/tests/test_channels_runtime.py:86
Function
test_show_flag_still_passes_run_id
``--show <run_id>`` (legacy flag form) must keep working.
agent/tests/test_cli_show_subcommand.py:24
Method
test_show_json_renders_variable_overrides
( self, home: Path, capsys: pytest.CaptureFixture[str] )
agent/tests/test_playbooks_surface.py:430
Function
test_show_missing_run_id_is_usage_error
``show`` without a run_id is a parse error, not a crash.
agent/tests/test_cli_show_subcommand.py:34
Function
test_show_pinned_snapshot_and_missing_id_never_falls_back
(capsys)
agent/tests/test_cli_portfolio.py:104
Method
test_show_prints_the_body
( self, home: Path, capsys: pytest.CaptureFixture[str] )
agent/tests/test_playbooks_surface.py:420
Function
test_show_prints_totals_sources_holdings_and_warnings
(capsys)
agent/tests/test_cli_portfolio.py:85
Function
test_show_subcommand_passes_run_id_to_cmd_show
``show <run_id>`` must dispatch the positional run_id, not the flag.
agent/tests/test_cli_show_subcommand.py:14
Method
test_show_unknown_slug_fails
( self, home: Path, capsys: pytest.CaptureFixture[str] )
agent/tests/test_playbooks_surface.py:445
Function
test_show_without_snapshot_points_at_refresh
(capsys)
agent/tests/test_cli_portfolio.py:97
Method
test_shows_existing
( self, tmp_path: Path, capsys: pytest.CaptureFixture[str] )
agent/tests/test_cli_hypothesis.py:179
Method
test_shows_full_body
(self, tmp_path: Path, capsys: pytest.CaptureFixture[str])
agent/tests/test_cli_memory.py:89
Function
test_shuffle_handles_inf_like_nan
Regression for A4: ``±inf`` must be pinned in place like NaN.
agent/tests/factors/test_bench_strict.py:403
Function
test_shuffle_within_rows_different_seeds_differ
()
agent/tests/factors/test_bench_strict.py:64
Function
test_shuffle_within_rows_preserves_row_values
()
agent/tests/factors/test_bench_strict.py:46
Function
test_shuffle_within_rows_respects_nan
()
agent/tests/factors/test_bench_strict.py:54
Function
test_shutdown_closes_all_handles_and_reaps
(manager, tmp_path)
agent/tests/test_background_host_lifecycle.py:65
Function
test_shutdown_off_event_loop_cancels_real_async_attempt
()
agent/tests/test_background_host_lifecycle.py:238
Method
test_sibling_directory_with_matching_prefix_is_not_within_root
A naive string-prefix check would wrongly accept this; relative_to must not.
agent/tests/test_channel_utils_is_path_within.py:28
Function
test_side_effect_attempted_latches_even_with_read_error
( live_root: Path, )
agent/tests/test_sweep_latch.py:230
Method
test_side_must_be_buy_or_sell
(self)
agent/tests/test_paper_order_lifecycle.py:40
Function
test_sidecar_survives_a_partial_write
os.write can write fewer bytes than requested; the blob must still be whole.
agent/tests/test_trace_writer.py:283
Function
test_sidecar_write_is_atomic_and_leaves_no_temp_files
Sidecars are written temp-file-then-rename with no leftover litter.
agent/tests/test_trace_writer.py:220
Function
test_sig_render_table_keeps_leading_empty_header_with_row_labels
()
agent/tests/test_signal_table_edge_columns.py:21
Function
test_sig_render_table_keeps_trailing_empty_column
()
agent/tests/test_signal_table_edge_columns.py:8
Function
test_sigkill_mid_write_leaves_old_store_intact
A crash during the write (modeled as os.replace raising) must leave the previously-committed store fully readable, never a truncated file.
agent/tests/test_runtime_jobstore.py:110
Function
test_sign_convention_applies_after_kind_normalization
Capital Call' must be checked as capital_call, not treated as custom.
agent/tests/test_entities_spine.py:147
Function
test_sign_convention_rejects_negative_distribution
()
agent/tests/test_entities_spine.py:127
Function
test_sign_convention_rejects_positive_capital_call
()
agent/tests/test_entities_spine.py:122
Function
test_signal_alignment_regex_accepts_digit_leading_base
(code: str)
agent/tests/test_crypto_digit_leading_symbols.py:37
Function
test_signal_dated_before_first_bar_never_executes
(tmp_path: Path)
agent/tests/test_options_next_bar_fill.py:124
Function
test_signal_dated_t_fills_on_the_next_bar
(tmp_path: Path)
agent/tests/test_options_next_bar_fill.py:96
Function
test_signal_engine_alias_check_leaves_legitimate_imports_alone
The alias check must cost neither the unused import nor the math layer.
agent/tests/test_backtest_runner_security.py:281
Function
test_signal_engine_allows_getattr_on_user_objects
(tmp_path)
agent/tests/test_backtest_runner_security.py:613
Function
test_signal_engine_allows_minimal_valid_strategy
(tmp_path)
agent/tests/test_backtest_runner_security.py:67
Function
test_signal_engine_allows_realistic_pandas_strategy
(tmp_path)
agent/tests/test_backtest_runner_security.py:543
Function
test_signal_engine_allows_signed_numeric_literal_assignment
(tmp_path)
agent/tests/test_backtest_runner_security.py:673
Function
test_signal_engine_allows_unreachable_network_helper
(tmp_path)
agent/tests/test_backtest_runner_security.py:643
Function
test_signal_engine_preserves_unavailable_future_labels_as_nan
()
agent/tests/test_ml_strategy_skill.py:171
Function
test_signal_engine_rejects_class_level_execution
(tmp_path)
agent/tests/test_backtest_runner_security.py:44
Function
test_signal_engine_rejects_forbidden_op_in_method_body
(tmp_path, case_id, body)
agent/tests/test_backtest_runner_security.py:157
Function
test_signal_engine_rejects_forbidden_op_in_transitively_called_helper
(tmp_path)
agent/tests/test_backtest_runner_security.py:520
Function
test_signal_engine_rejects_getattr_indirection_onto_os
(tmp_path, expr)
agent/tests/test_backtest_runner_security.py:591
Function
test_signal_engine_rejects_module_level_alias_of_forbidden_module
( tmp_path, case_id, import_line, call_line, )
agent/tests/test_backtest_runner_security.py:246
Function
test_signal_engine_rejects_module_reached_by_name
( tmp_path, case_id, import_line, body, )
agent/tests/test_backtest_runner_security.py:346
Function
test_signal_engine_rejects_object_graph_traversal
(tmp_path, case_id, body)
agent/tests/test_backtest_runner_security.py:441
Function
test_signal_engine_rejects_os_filesystem_mutation
(tmp_path, case_id, body)
agent/tests/test_backtest_runner_security.py:470
Function
test_signal_engine_rejects_pathlib_file_writes
(tmp_path, case_id, body)
agent/tests/test_backtest_runner_security.py:380
Function
test_signal_engine_rejects_top_level_execution
(tmp_path)
agent/tests/test_backtest_runner_security.py:17
Function
test_signal_engine_still_allows_project_math_imports
Blocking the broker subtree must not cost strategies the math layer. ``src.trading`` and ``src.quantlib`` share a root package, so a root-level
agent/tests/test_backtest_runner_security.py:180
Function
test_signal_engine_still_rejects_decorators
(tmp_path, decorator_line)
agent/tests/test_backtest_runner_security.py:704
Function
test_signal_group_command_requires_per_sender_authorization
A slash-command in an allowed group needs per-sender auth (GHSA-fwpw). Group membership alone must not authorize control-plane commands: an u
agent/tests/test_channels_runtime.py:942
Function
test_signal_on_last_bar_has_no_next_bar_to_fill
(tmp_path: Path)
agent/tests/test_options_next_bar_fill.py:129
Method
test_signal_order_mapping_present
(self)
agent/tests/test_vnpy_export.py:67
← previous
next →
24,301–24,400 of 26,887, ranked by callers