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_selected_mt5_native_symbol_uses_only_terminal
(monkeypatch, query)
agent/tests/test_symbol_search_tool.py:1233
Method
test_selected_mt5_profile_resolves_broker_confirmed_metal
( self, monkeypatch, tmp_path, query: str )
agent/tests/test_symbol_search_tool.py:813
Function
test_selecting_an_account_the_login_cannot_use_is_refused
( tmp_path, monkeypatch, broker: _Broker, accounts: list, status: int, detail: str )
agent/tests/test_robinhood_portfolio_source.py:326
Function
test_selecting_clearing_and_renaming_keep_the_account_where_it_belongs
( tmp_path, monkeypatch, broker: _Broker )
agent/tests/test_robinhood_portfolio_source.py:339
Method
test_sell_adds_transaction_tax
(self)
agent/tests/test_korea_equity_engine.py:235
Method
test_sell_adds_transfer_tax
(self)
agent/tests/test_vietnam_equity_engine.py:254
Method
test_sell_allowed_when_no_position
(self)
agent/tests/test_china_a_engine.py:108
Method
test_sell_components_exact
(self)
agent/tests/test_india_equity_engine.py:146
Method
test_sell_decreases_price
(self)
agent/tests/test_global_futures_engine.py:279
Method
test_sell_decreases_price
(self)
agent/tests/test_forex_engine.py:158
Method
test_sell_is_held_until_settlement
(self, elapsed: int, allowed: bool)
agent/tests/test_vietnam_equity_engine.py:109
Function
test_sell_limit_above_close_is_rejected_limit_not_marketable
()
agent/tests/test_paper_trade_limits.py:125
Function
test_sell_limit_below_close_fills_at_the_close
()
agent/tests/test_paper_trade_limits.py:110
Function
test_sell_limit_equal_to_close_fills_boundary_inclusive
()
agent/tests/test_paper_trade_limits.py:118
Function
test_sell_limit_fills_at_the_first_marketable_bar
(limit: float, expected: float | None)
agent/tests/test_paper_trade_5m_engine.py:250
Function
test_sell_limit_keeps_the_quote
()
agent/tests/test_limit_price_notional.py:67
Method
test_sell_next_day_allowed
(self)
agent/tests/test_china_a_engine.py:96
Method
test_sell_price_never_collapses_to_zero
(self)
agent/tests/test_korea_equity_engine.py:287
Method
test_sell_report_rejection_uses_tushare_fallback
(self)
agent/tests/test_dragon_tiger_tool.py:307
Method
test_sell_same_day_blocked
(self)
agent/tests/test_china_a_engine.py:83
Method
test_sell_slippage_decreases_price
(self)
agent/tests/test_china_a_engine.py:251
Method
test_sell_slippage_decreases_price
(self)
agent/tests/test_china_futures_engine.py:367
Method
test_sell_slippage_rounds_down_to_a_valid_tick
(self)
agent/tests/test_korea_equity_engine.py:278
Method
test_sell_slips_down_onto_the_grid
(self)
agent/tests/test_vietnam_equity_engine.py:269
Function
test_sell_that_only_reduces_long_exposure_stays_allowed
()
agent/tests/test_mandate_enforcement.py:444
Function
test_send_final_failure_records_send_context
(monkeypatch: pytest.MonkeyPatch)
agent/tests/test_channel_manager_health.py:121
Function
test_send_imap_id_sends_static_identification
()
agent/tests/test_email_connection_test.py:772
Function
test_send_imap_id_swallows_errors
()
agent/tests/test_email_connection_test.py:788
Function
test_send_imap_id_tolerates_client_without_xatom
()
agent/tests/test_email_connection_test.py:796
Function
test_sending_a_message_keeps_updated_at_aware_and_sessions_in_order
( monkeypatch, tmp_path: Path )
agent/tests/test_session_timestamp_timezone.py:22
Function
test_sensitivity_grid_matches_hand_calculation_at_one_cell
()
agent/tests/quantlib/valuation/test_dcf.py:616
Function
test_sensitivity_grid_monotonic_decreasing_in_wacc_increasing_in_growth
()
agent/tests/quantlib/valuation/test_dcf.py:642
Function
test_sensitivity_grid_nan_where_growth_at_or_above_wacc
()
agent/tests/quantlib/valuation/test_dcf.py:579
Function
test_sensitivity_grid_refuses_non_finite_axis_values
()
agent/tests/quantlib/valuation/test_dcf.py:1139
Function
test_sensitivity_grid_requires_nonempty_axes_and_positive_shares
()
agent/tests/quantlib/valuation/test_dcf.py:678
Method
test_sensitivity_sheet_matches_grid
(self, workbook_path)
agent/tests/quantlib/valuation/test_artifact.py:643
Method
test_sentiment_no_alpha
(self)
agent/tests/test_sentiment_tool.py:176
Method
test_sentiment_score_missing_text
(self)
agent/tests/test_sentiment_tool.py:102
Method
test_sentiment_score_success
(self)
agent/tests/test_sentiment_tool.py:108
Method
test_sentiment_text_truncated
(self)
agent/tests/test_sentiment_tool.py:114
Method
test_sentiment_unicode
Non-ASCII text should not crash.
agent/tests/test_sentiment_tool.py:161
Method
test_sentiment_very_long
Very long text should not crash or timeout.
agent/tests/test_sentiment_tool.py:168
Method
test_separate_chats_never_share_a_stream_id
(self)
agent/tests/test_wecom_stream_id_continuity.py:92
Function
test_separated_usdc_busd_pairs_are_crypto
(code: str)
agent/tests/test_crypto_usdc_busd_separated_pairs.py:21
Function
test_separated_usdc_busd_pairs_use_the_crypto_source_chain
(code: str)
agent/tests/test_crypto_usdc_busd_separated_pairs.py:28
Function
test_sequence_replay_is_deterministic
()
agent/tests/test_paper_trade_multiday.py:176
Function
test_sequential_bench_does_not_rank_a_single_observation
(monkeypatch)
agent/tests/test_bench_single_ic_observation.py:51
Function
test_serial_matching_input_order_decides_who_gets_the_cash
()
agent/tests/test_paper_trade_golden_cn_a.py:206
Function
test_serialized_form_carries_attributable_explicitly
()
agent/tests/test_principal.py:98
Function
test_series_infers_currency_from_its_flows
()
agent/tests/test_entities_spine.py:208
Function
test_series_is_immutable
()
agent/tests/test_entities_spine.py:191
Function
test_series_is_not_a_dataframe_and_exposes_no_bar_fields
()
agent/tests/test_entities_spine.py:731
Method
test_series_mismatch_refuses_to_attribute_the_filing
(self)
agent/tests/test_etf_holdings_tool.py:461
Function
test_series_ordering_is_stable_within_a_date
()
agent/tests/test_entities_spine.py:184
Function
test_series_orders_by_date
()
agent/tests/test_entities_spine.py:178
Function
test_series_rejects_declared_currency_contradicting_the_flows
()
agent/tests/test_entities_spine.py:213
Function
test_series_rejects_mixed_currencies
()
agent/tests/test_entities_spine.py:203
Method
test_series_that_fits_is_not_marked_truncated
(self, monkeypatch)
agent/tests/test_fred_macro_tool.py:238
Function
test_serve_defaults_to_loopback
()
agent/tests/test_serve_bind.py:68
Function
test_serve_honors_explicit_host
()
agent/tests/test_serve_bind.py:73
Function
test_serve_mounts_frontend_when_routes_include_router_without_path
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
agent/tests/test_serve_bind.py:117
Function
test_server_config_carries_auth
()
agent/tests/test_mcp_oauth_schema.py:82
Function
test_server_config_round_trips_init_timeout_snake_and_camel
()
agent/tests/test_mcp_oauth_schema.py:95
Function
test_server_error_echoing_credentials_is_scrubbed
( monkeypatch: pytest.MonkeyPatch, caplog: pytest.LogCaptureFixture )
agent/tests/test_email_connection_test.py:650
Function
test_server_error_reports_network
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, status: int, )
agent/tests/test_qq_connection_test.py:270
Function
test_server_error_reports_network
( monkeypatch: pytest.MonkeyPatch, status: int, )
agent/tests/test_feishu_connection_test.py:287
Function
test_server_error_reports_network
( monkeypatch: pytest.MonkeyPatch, status: int, )
agent/tests/test_discord_connection_test.py:219
Function
test_server_error_reports_network
( monkeypatch: pytest.MonkeyPatch, status: int, )
agent/tests/test_dingtalk_connection_test.py:269
Function
test_service_admission_can_overlap_worker_session_search
( tmp_path: Path, monkeypatch )
agent/tests/test_session_search_concurrent_consumers.py:15
Function
test_service_cancel_close_order_live_fails_closed
(monkeypatch)
agent/tests/test_etoro_live_actions.py:268
Function
test_service_cancel_close_order_paper_bypasses_gate
(monkeypatch)
agent/tests/test_etoro_live_actions.py:260
Function
test_service_cancel_order_paper
(monkeypatch)
agent/tests/test_etoro_connector.py:943
Function
test_service_cancel_order_paper_bypasses_gate
(monkeypatch)
agent/tests/test_etoro_live_actions.py:337
Function
test_service_check_connection_unconfigured_etoro
(monkeypatch, tmp_path)
agent/tests/test_sdk_connectors.py:518
Function
test_service_check_connection_unconfigured_longbridge
(monkeypatch, tmp_path)
agent/tests/test_sdk_connectors.py:502
Function
test_service_check_connection_unconfigured_tiger
(monkeypatch, tmp_path)
agent/tests/test_sdk_connectors.py:493
Function
test_service_close_position_paper_bypasses_gate
(monkeypatch)
agent/tests/test_etoro_live_actions.py:217
Function
test_service_dispatch_reaches_the_scalable_mapping
()
agent/tests/test_scalable_connector.py:244
Function
test_service_dispatch_reaches_zerodha_sdk
check_connection('zerodha-paper-sdk') must route to the zerodha SDK (previously ValueError), returning the SDK's missing-config error.
agent/tests/test_zerodha_sdk.py:312
Function
test_service_dispatches_positions
(monkeypatch)
agent/tests/test_etoro_connector.py:911
Function
test_service_edit_position_stops_live_fails_closed
(monkeypatch)
agent/tests/test_etoro_live_actions.py:288
Function
test_service_edit_position_stops_paper_bypasses_gate
(monkeypatch)
agent/tests/test_etoro_live_actions.py:280
Function
test_service_error_does_not_leak_or_fallback
(vendor)
agent/tests/test_gildata_fin_query.py:114
Function
test_service_etoro_copy_increase_non_usd_live_account_fails_closed
( monkeypatch, )
agent/tests/test_etoro_live_actions.py:318
Function
test_service_etoro_copy_start_paper_returns_unavailable
(monkeypatch)
agent/tests/test_etoro_live_actions.py:304
Function
test_service_partial_close_is_validated_and_risk_reducing_when_halted
( monkeypatch, )
agent/tests/test_etoro_live_actions.py:226
Function
test_service_partial_close_refuses_units_above_open_position
(monkeypatch)
agent/tests/test_etoro_live_actions.py:245
Function
test_service_place_order_live_routes_through_gate
Live profile routes through the gate; no mandate → blocked, not placed.
agent/tests/test_sdk_order_gate.py:799
Function
test_service_place_order_paper_is_direct
Paper profile places directly (sandbox), bypassing the live gate.
agent/tests/test_sdk_order_gate.py:786
Function
test_service_restart_recovers_partial_reply_once
( tmp_path: Path, monkeypatch )
agent/tests/test_session_restart_recovery.py:58
Function
test_service_restart_recovers_pending_attempt_without_partial
( tmp_path: Path, monkeypatch )
agent/tests/test_session_restart_recovery.py:101
Function
test_service_returns_unsupported_when_sdk_function_missing
Other SDK connectors (IBKR, Alpaca, etc.) don't expose ``get_rehab``. The service layer should return ``{"status": "error", ...}`` instead of
agent/tests/test_futu_extended_reads.py:304
Function
test_service_routes_instrument_search_to_selected_binance_profile
(monkeypatch)
agent/tests/test_sdk_connectors.py:709
Function
test_service_routes_instrument_search_to_selected_mt5_profile
(monkeypatch)
agent/tests/test_sdk_connectors.py:729
Function
test_service_search_instruments
(monkeypatch)
agent/tests/test_etoro_connector.py:926
Function
test_service_uses_persisted_ibkr_local_config
Configured local endpoint values must survive later connector calls.
agent/tests/test_ibkr_local.py:173
Function
test_session_attempt_registers_completion_with_its_owner
()
agent/tests/test_background_host_lifecycle.py:174
Function
test_session_binding_is_scoped_and_reset
()
agent/tests/test_opencode_provider.py:143
Function
test_session_cancel_reaps_background_tasks_before_its_turn_ends
()
agent/tests/test_background_host_lifecycle.py:124
Function
test_session_constants_are_the_frozen_cn_a_windows
()
agent/tests/test_paper_trade_5m_session.py:352
← previous
next →
24,101–24,200 of 26,887, ranked by callers