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_unsupported_interval_does_not_hit_api
Runner ``1H`` must not fall through to Finnhub resolution=D.
agent/tests/test_finnhub_interval_reject.py:10
Function
test_unsupported_interval_does_not_hit_api
Runner ``1H`` must not fall through to Stooq daily CSV.
agent/tests/test_stooq_interval_reject.py:10
Function
test_unsupported_interval_does_not_login_or_fetch
Runner ``1H`` must not fall through to baostock frequency=d.
agent/tests/test_baostock_interval_reject.py:10
Function
test_unsupported_interval_does_not_silently_fetch_daily
Runner ``4H`` must not fall through to broker period ``1d``.
agent/tests/test_india_broker_loader.py:86
Method
test_unsupported_interval_does_not_silently_fetch_daily
A 1m/1H/4H request must fall through to another source, not day bars.
agent/tests/test_pykrx_loader.py:131
Function
test_unsupported_interval_rejects_without_daily_fallback
()
agent/tests/test_okx_loader_interval_case.py:38
Function
test_unsupported_interval_returns_empty_without_daily_rewrite
``2H`` used to fall back to TIMEFRAME_D1 and fetch day bars.
agent/tests/test_mt5_loader_week_month_reject.py:17
Method
test_unsupported_interval_returns_empty_without_http
(self, monkeypatch)
agent/tests/test_nobitex_loader.py:98
Method
test_unsupported_interval_yields_no_frame
(self)
agent/tests/test_eastmoney_loader.py:109
Function
test_unsupported_intervals_fail_instead_of_changing_fidelity
( interval: str, monkeypatch: pytest.MonkeyPatch )
agent/tests/test_longbridge_loader.py:27
Method
test_unsupported_market
(self)
agent/tests/test_stock_news_tool.py:218
Function
test_unsupported_mcp_value_returns_explicit_error_not_false_cycle
()
agent/tests/test_mcp_client_adapter.py:531
Function
test_unsupported_mode_is_rejected_without_http
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_slack_connection_test.py:316
Function
test_unsupported_option_order_never_reaches_broker_with_valid_mandate
(live_runtime: Path)
agent/tests/test_robinhood_live_account_binding.py:95
Function
test_unsupported_provenance_rejection_can_be_persisted
(tmp_path)
agent/tests/test_binance_shadow_evidence.py:259
Method
test_unsupported_symbol_rejected_without_request
(self)
agent/tests/test_margin_trading_tool.py:92
Method
test_unsupported_symbols_skipped
(self, monkeypatch)
agent/tests/test_gildata_loader.py:224
Function
test_untracking_keeps_local_content_and_clears_failure
(repo: Path)
tools/test_ci_private_files_gate.py:76
Function
test_untradable_bar_rejects_suspended_and_values_carry_forward
()
agent/tests/test_paper_trade_rejections.py:300
Method
test_unusable_adjusted_close_does_not_mix_raw_prices
(self, unusable)
agent/tests/test_fmp_loader.py:130
Function
test_unusable_catalog_falls_back_without_exposing_payload
(monkeypatch, payload)
agent/tests/test_codex_model_discovery.py:85
Method
test_unusable_interval_spec_falls_back_to_default_cadence
(self)
agent/tests/scheduling/test_triggers_equivalence.py:223
Function
test_unusable_recorded_rates_keep_legacy_fallback
( tmp_path: Path, annualisation )
agent/tests/test_attribution_recorded_annualisation.py:65
Method
test_unvalidated_to_approved_blocked
(self)
agent/tests/test_strategy_store.py:1002
Function
test_unverifiable_volume_on_a_candidate_fails_closed
(vol_after: float)
agent/tests/test_paper_trade_corporate_actions.py:164
Function
test_upbit_exposes_no_live_trade_profile
No runtime discriminator -> no *-live-trade profile, ever (Longbridge precedent).
agent/tests/test_sdk_connectors_upbit.py:42
Function
test_upbit_invalid_profile_rejected
()
agent/tests/test_sdk_connectors_upbit.py:164
Function
test_upbit_live_order_hard_refused
The guard must be structurally impossible to bypass, not a checked flag: it runs as the first statement in place_order/cancel_order, before any
agent/tests/test_sdk_connectors_upbit.py:129
Function
test_upbit_live_profile_is_readonly_broker_sdk
()
agent/tests/test_sdk_connectors_upbit.py:33
Function
test_upbit_market_order_refused_when_upbit_does_not_recognize_the_ticker
(monkeypatch)
agent/tests/test_sdk_connectors_upbit.py:71
Function
test_upbit_marketable_buy_limit_fills_at_the_better_of_limit_and_last
(monkeypatch)
agent/tests/test_sdk_connectors_upbit.py:78
Function
test_upbit_marketable_sell_limit_fills_at_the_better_of_limit_and_last
(monkeypatch)
agent/tests/test_sdk_connectors_upbit.py:93
Function
test_upbit_non_marketable_buy_limit_is_refused
(monkeypatch)
agent/tests/test_sdk_connectors_upbit.py:86
Function
test_upbit_non_marketable_sell_limit_is_refused
(monkeypatch)
agent/tests/test_sdk_connectors_upbit.py:101
Function
test_upbit_normalizes_market_symbol
()
agent/tests/test_sdk_connectors_upbit.py:159
Function
test_upbit_notional_order_fails_closed_when_quote_unavailable
A failed live-quote lookup must not fabricate a null-priced 'ok' fill.
agent/tests/test_sdk_connectors_upbit.py:143
Function
test_upbit_order_ops_classified_write
()
agent/tests/test_sdk_connectors_upbit.py:236
Function
test_upbit_paper_cancel_order_simulated
(monkeypatch)
agent/tests/test_sdk_connectors_upbit.py:108
Function
test_upbit_paper_cancel_refuses_an_id_the_simulator_never_issued
get_open_orders reads the real account, so a real order's id could reach here; it must not be acknowledged as cancelled (no Upbit call was eve
agent/tests/test_sdk_connectors_upbit.py:118
Function
test_upbit_paper_market_order_fills_at_the_live_quote
(monkeypatch)
agent/tests/test_sdk_connectors_upbit.py:60
Function
test_upbit_place_order_requires_exactly_one_of_quantity_or_notional
()
agent/tests/test_sdk_connectors_upbit.py:151
Function
test_upbit_position_row_normalizes_as_a_krw_priced_crypto_position
End-to-end through the portfolio contract: src/portfolio/normalization.py must see a crypto position priced in KRW, not a stock priced in BTC.
agent/tests/test_sdk_connectors_upbit.py:216
Function
test_upbit_positions_report_the_coin_as_symbol_and_krw_as_currency
currency must be the currency average_cost is quoted in (unit_currency), not the coin -- otherwise the portfolio layer prices a BTC position in BT
agent/tests/test_sdk_connectors_upbit.py:190
Function
test_upbit_redacts_secret_key
()
agent/tests/test_sdk_connectors_upbit.py:174
Function
test_upbit_sdk_profiles_registered
()
agent/tests/test_sdk_connectors_upbit.py:28
Function
test_upbit_service_unconfigured
(monkeypatch, tmp_path)
agent/tests/test_sdk_connectors_upbit.py:182
Method
test_update_artifact
update_artifact replaces the record.
agent/tests/test_strategy_store.py:757
Method
test_update_artifact_not_found
update_artifact returns None for unknown artifact.
agent/tests/test_strategy_store.py:771
Function
test_update_channel_section_clears_listed_keys
(tmp_path)
agent/tests/test_config_writer.py:77
Function
test_update_channel_section_creates_file_and_parent_dirs
(tmp_path)
agent/tests/test_config_writer.py:54
Function
test_update_channel_section_preserves_unrelated_and_sibling_keys
(tmp_path)
agent/tests/test_config_writer.py:18
Function
test_update_channel_section_rejects_non_json_config
(tmp_path)
agent/tests/test_config_writer.py:65
Function
test_update_channel_section_sequential_writes_accumulate
(tmp_path)
agent/tests/test_config_writer.py:117
Function
test_update_channel_section_writes_owner_only_file
(tmp_path)
agent/tests/test_config_writer.py:109
Function
test_update_data_source_settings_persists_gildata_token
( client: TestClient, tmp_path: Path, )
agent/tests/test_settings_api.py:531
Function
test_update_data_source_settings_persists_tushare_token
( client: TestClient, tmp_path: Path, )
agent/tests/test_settings_api.py:512
Function
test_update_deepseek_settings_uses_exact_reported_payload
( client: TestClient, tmp_path: Path, )
agent/tests/test_settings_api.py:233
Function
test_update_goal_edits_current_objective_without_replacing_goal
(tmp_path: Path)
agent/tests/test_goal_store.py:70
Function
test_update_goal_tool_edits_objective_without_resetting_progress
The agent can refine an objective in place, unlike start_research_goal which would mint a new goal and reset all criteria to pending.
agent/tests/test_goal_tools.py:313
Function
test_update_goal_tool_rejects_a_stale_expected_goal_id
(tmp_path: Path)
agent/tests/test_goal_tools.py:354
Function
test_update_goal_tool_requires_a_field_to_change
(tmp_path: Path)
agent/tests/test_goal_tools.py:343
Function
test_update_hypothesis_tool_ignores_unknown_fields
(storage_path: Path)
agent/tests/test_hypothesis_registry.py:222
Method
test_update_index_exact_title_match
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:268
Function
test_update_llm_settings_persists_project_env
( client: TestClient, tmp_path: Path, )
agent/tests/test_settings_api.py:201
Function
test_update_nvidia_settings_persists_provider_namespace
( client: TestClient, tmp_path: Path, )
agent/tests/test_settings_api.py:376
Function
test_update_preserves_git_install_provenance
(install_metadata, monkeypatch, capsys)
agent/tests/test_cli_update_vcs_install.py:26
Function
test_update_rejects_blank_required_fields_before_mutation
( storage_path: Path, updates: dict[str, str], error: str, )
agent/tests/test_hypothesis_registry.py:82
Function
test_update_research_goal_status_falls_back_to_the_current_goal
(fresh_goal_store)
agent/tests/test_mcp_goal_tool_optional_goal_id.py:76
Function
test_update_research_goal_status_without_a_current_goal_reports_not_found
(fresh_goal_store)
agent/tests/test_mcp_goal_tool_optional_goal_id.py:88
Function
test_update_settings_writes_env_file_with_0600_mode
A Web-UI settings write must leave agent/.env owner-read/write only.
agent/tests/test_settings_api.py:593
Function
test_update_siliconflow_settings_uses_provider_namespace
( client: TestClient, tmp_path: Path, provider: str, api_key_env: str, base_url_env: str,
agent/tests/test_settings_api.py:298
Function
test_update_source_orders_persists_and_hot_applies
( client: TestClient, tmp_path: Path, _reset_source_order_env, )
agent/tests/test_settings_api.py:703
Function
test_update_source_orders_rejects_non_permutation
( client: TestClient, tmp_path: Path, _reset_source_order_env, )
agent/tests/test_settings_api.py:781
Function
test_update_source_orders_rejects_unknown_market
( client: TestClient, tmp_path: Path, _reset_source_order_env, )
agent/tests/test_settings_api.py:797
Function
test_update_source_orders_reset_clears_override
( client: TestClient, tmp_path: Path, _reset_source_order_env, )
agent/tests/test_settings_api.py:742
Method
test_update_status
(self)
agent/tests/test_strategy_store.py:219
Function
test_update_status_and_invalidation_notes
(storage_path: Path)
agent/tests/test_hypothesis_registry.py:52
Method
test_update_status_disable
(self)
agent/tests/test_strategy_store.py:229
Method
test_update_status_disable_enable
Disable sets disabled_at, enable clears it.
agent/tests/test_strategy_store.py:731
Method
test_update_status_not_found
(self)
agent/tests/test_strategy_store.py:239
Method
test_update_status_not_found
update_status returns None for unknown artifact.
agent/tests/test_strategy_store.py:752
Method
test_update_to_approved_requires_prior_validated
(self, backend, tmp_path)
agent/tests/test_strategy_store.py:1110
Function
test_update_tool_reports_blank_required_field_without_persisting_it
(storage_path: Path)
agent/tests/test_hypothesis_registry.py:100
Function
test_upload_blocked_extension_returns_400
(client: TestClient, tmp_path: Path)
agent/tests/test_upload_api.py:188
Function
test_upload_blocks_executable_adjacent_files
( client: TestClient, tmp_path: Path, filename: str, )
agent/tests/test_upload_security.py:32
Function
test_upload_exactly_at_limit_succeeds
(client: TestClient)
agent/tests/test_upload_api.py:164
Method
test_upload_handle_resolves_to_runtime_uploads
(self)
agent/tests/test_path_safety.py:108
Function
test_upload_handle_resolves_to_runtime_uploads_dir
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
agent/tests/test_user_state_paths.py:167
Method
test_upload_handle_traversal_is_rejected
(self)
agent/tests/test_path_safety.py:115
Function
test_upload_over_limit_returns_413_and_cleans_partial_file
( client: TestClient, tmp_path: Path )
agent/tests/test_upload_api.py:173
Function
test_upload_storage_error_does_not_expose_server_path
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_upload_api.py:197
Function
test_upload_under_limit_succeeds
(client: TestClient, tmp_path: Path)
agent/tests/test_upload_api.py:143
Function
test_uploaded_handle_uses_upload_root_even_when_a_run_dir_is_supplied
(tmp_path, monkeypatch)
agent/tests/test_doc_reader_security.py:58
Method
test_upper_circuit_blocks_buy
(self)
agent/tests/test_india_equity_engine.py:69
Method
test_upper_circuit_blocks_covering_a_short
(self)
agent/tests/test_india_equity_engine.py:89
Function
test_uppercase_4H_resamples_hourly_bars_to_four_hour
()
agent/tests/test_yfinance_lowercase_4h_resample.py:34
Method
test_uppercase_dce_multiplier
(self)
agent/tests/test_china_futures_engine.py:315
Method
test_uppercase_ine_multiplier
(self)
agent/tests/test_china_futures_engine.py:322
Method
test_uppercase_shfe_fixed_commission
(self)
agent/tests/test_china_futures_engine.py:326
Method
test_uppercase_shfe_leverage_from_margin
__init__ derives leverage from the first code's margin rate.
agent/tests/test_china_futures_engine.py:340
← previous
next →
26,001–26,100 of 26,887, ranked by callers