MCPcopy Create free account

hub / github.com/HKUDS/Vibe-Trading / functions

Functions26,887 in github.com/HKUDS/Vibe-Trading

Functiontest_unsupported_interval_does_not_hit_api
Runner ``1H`` must not fall through to Finnhub resolution=D.
agent/tests/test_finnhub_interval_reject.py:10
Functiontest_unsupported_interval_does_not_hit_api
Runner ``1H`` must not fall through to Stooq daily CSV.
agent/tests/test_stooq_interval_reject.py:10
Functiontest_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
Functiontest_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
Methodtest_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
Functiontest_unsupported_interval_rejects_without_daily_fallback
()
agent/tests/test_okx_loader_interval_case.py:38
Functiontest_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
Methodtest_unsupported_interval_returns_empty_without_http
(self, monkeypatch)
agent/tests/test_nobitex_loader.py:98
Methodtest_unsupported_interval_yields_no_frame
(self)
agent/tests/test_eastmoney_loader.py:109
Functiontest_unsupported_intervals_fail_instead_of_changing_fidelity
( interval: str, monkeypatch: pytest.MonkeyPatch )
agent/tests/test_longbridge_loader.py:27
Methodtest_unsupported_market
(self)
agent/tests/test_stock_news_tool.py:218
Functiontest_unsupported_mcp_value_returns_explicit_error_not_false_cycle
()
agent/tests/test_mcp_client_adapter.py:531
Functiontest_unsupported_mode_is_rejected_without_http
( monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_slack_connection_test.py:316
Functiontest_unsupported_option_order_never_reaches_broker_with_valid_mandate
(live_runtime: Path)
agent/tests/test_robinhood_live_account_binding.py:95
Functiontest_unsupported_provenance_rejection_can_be_persisted
(tmp_path)
agent/tests/test_binance_shadow_evidence.py:259
Methodtest_unsupported_symbol_rejected_without_request
(self)
agent/tests/test_margin_trading_tool.py:92
Methodtest_unsupported_symbols_skipped
(self, monkeypatch)
agent/tests/test_gildata_loader.py:224
Functiontest_untracking_keeps_local_content_and_clears_failure
(repo: Path)
tools/test_ci_private_files_gate.py:76
Functiontest_untradable_bar_rejects_suspended_and_values_carry_forward
()
agent/tests/test_paper_trade_rejections.py:300
Methodtest_unusable_adjusted_close_does_not_mix_raw_prices
(self, unusable)
agent/tests/test_fmp_loader.py:130
Functiontest_unusable_catalog_falls_back_without_exposing_payload
(monkeypatch, payload)
agent/tests/test_codex_model_discovery.py:85
Methodtest_unusable_interval_spec_falls_back_to_default_cadence
(self)
agent/tests/scheduling/test_triggers_equivalence.py:223
Functiontest_unusable_recorded_rates_keep_legacy_fallback
( tmp_path: Path, annualisation )
agent/tests/test_attribution_recorded_annualisation.py:65
Methodtest_unvalidated_to_approved_blocked
(self)
agent/tests/test_strategy_store.py:1002
Functiontest_unverifiable_volume_on_a_candidate_fails_closed
(vol_after: float)
agent/tests/test_paper_trade_corporate_actions.py:164
Functiontest_upbit_exposes_no_live_trade_profile
No runtime discriminator -> no *-live-trade profile, ever (Longbridge precedent).
agent/tests/test_sdk_connectors_upbit.py:42
Functiontest_upbit_invalid_profile_rejected
()
agent/tests/test_sdk_connectors_upbit.py:164
Functiontest_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
Functiontest_upbit_live_profile_is_readonly_broker_sdk
()
agent/tests/test_sdk_connectors_upbit.py:33
Functiontest_upbit_market_order_refused_when_upbit_does_not_recognize_the_ticker
(monkeypatch)
agent/tests/test_sdk_connectors_upbit.py:71
Functiontest_upbit_marketable_buy_limit_fills_at_the_better_of_limit_and_last
(monkeypatch)
agent/tests/test_sdk_connectors_upbit.py:78
Functiontest_upbit_marketable_sell_limit_fills_at_the_better_of_limit_and_last
(monkeypatch)
agent/tests/test_sdk_connectors_upbit.py:93
Functiontest_upbit_non_marketable_buy_limit_is_refused
(monkeypatch)
agent/tests/test_sdk_connectors_upbit.py:86
Functiontest_upbit_non_marketable_sell_limit_is_refused
(monkeypatch)
agent/tests/test_sdk_connectors_upbit.py:101
Functiontest_upbit_normalizes_market_symbol
()
agent/tests/test_sdk_connectors_upbit.py:159
Functiontest_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
Functiontest_upbit_order_ops_classified_write
()
agent/tests/test_sdk_connectors_upbit.py:236
Functiontest_upbit_paper_cancel_order_simulated
(monkeypatch)
agent/tests/test_sdk_connectors_upbit.py:108
Functiontest_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
Functiontest_upbit_paper_market_order_fills_at_the_live_quote
(monkeypatch)
agent/tests/test_sdk_connectors_upbit.py:60
Functiontest_upbit_place_order_requires_exactly_one_of_quantity_or_notional
()
agent/tests/test_sdk_connectors_upbit.py:151
Functiontest_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
Functiontest_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
Functiontest_upbit_redacts_secret_key
()
agent/tests/test_sdk_connectors_upbit.py:174
Functiontest_upbit_sdk_profiles_registered
()
agent/tests/test_sdk_connectors_upbit.py:28
Functiontest_upbit_service_unconfigured
(monkeypatch, tmp_path)
agent/tests/test_sdk_connectors_upbit.py:182
Methodtest_update_artifact
update_artifact replaces the record.
agent/tests/test_strategy_store.py:757
Methodtest_update_artifact_not_found
update_artifact returns None for unknown artifact.
agent/tests/test_strategy_store.py:771
Functiontest_update_channel_section_clears_listed_keys
(tmp_path)
agent/tests/test_config_writer.py:77
Functiontest_update_channel_section_creates_file_and_parent_dirs
(tmp_path)
agent/tests/test_config_writer.py:54
Functiontest_update_channel_section_preserves_unrelated_and_sibling_keys
(tmp_path)
agent/tests/test_config_writer.py:18
Functiontest_update_channel_section_rejects_non_json_config
(tmp_path)
agent/tests/test_config_writer.py:65
Functiontest_update_channel_section_sequential_writes_accumulate
(tmp_path)
agent/tests/test_config_writer.py:117
Functiontest_update_channel_section_writes_owner_only_file
(tmp_path)
agent/tests/test_config_writer.py:109
Functiontest_update_data_source_settings_persists_gildata_token
( client: TestClient, tmp_path: Path, )
agent/tests/test_settings_api.py:531
Functiontest_update_data_source_settings_persists_tushare_token
( client: TestClient, tmp_path: Path, )
agent/tests/test_settings_api.py:512
Functiontest_update_deepseek_settings_uses_exact_reported_payload
( client: TestClient, tmp_path: Path, )
agent/tests/test_settings_api.py:233
Functiontest_update_goal_edits_current_objective_without_replacing_goal
(tmp_path: Path)
agent/tests/test_goal_store.py:70
Functiontest_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
Functiontest_update_goal_tool_rejects_a_stale_expected_goal_id
(tmp_path: Path)
agent/tests/test_goal_tools.py:354
Functiontest_update_goal_tool_requires_a_field_to_change
(tmp_path: Path)
agent/tests/test_goal_tools.py:343
Functiontest_update_hypothesis_tool_ignores_unknown_fields
(storage_path: Path)
agent/tests/test_hypothesis_registry.py:222
Methodtest_update_index_exact_title_match
(self, tmp_path: Path)
agent/tests/test_persistent_memory.py:268
Functiontest_update_llm_settings_persists_project_env
( client: TestClient, tmp_path: Path, )
agent/tests/test_settings_api.py:201
Functiontest_update_nvidia_settings_persists_provider_namespace
( client: TestClient, tmp_path: Path, )
agent/tests/test_settings_api.py:376
Functiontest_update_preserves_git_install_provenance
(install_metadata, monkeypatch, capsys)
agent/tests/test_cli_update_vcs_install.py:26
Functiontest_update_rejects_blank_required_fields_before_mutation
( storage_path: Path, updates: dict[str, str], error: str, )
agent/tests/test_hypothesis_registry.py:82
Functiontest_update_research_goal_status_falls_back_to_the_current_goal
(fresh_goal_store)
agent/tests/test_mcp_goal_tool_optional_goal_id.py:76
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_update_source_orders_persists_and_hot_applies
( client: TestClient, tmp_path: Path, _reset_source_order_env, )
agent/tests/test_settings_api.py:703
Functiontest_update_source_orders_rejects_non_permutation
( client: TestClient, tmp_path: Path, _reset_source_order_env, )
agent/tests/test_settings_api.py:781
Functiontest_update_source_orders_rejects_unknown_market
( client: TestClient, tmp_path: Path, _reset_source_order_env, )
agent/tests/test_settings_api.py:797
Functiontest_update_source_orders_reset_clears_override
( client: TestClient, tmp_path: Path, _reset_source_order_env, )
agent/tests/test_settings_api.py:742
Methodtest_update_status
(self)
agent/tests/test_strategy_store.py:219
Functiontest_update_status_and_invalidation_notes
(storage_path: Path)
agent/tests/test_hypothesis_registry.py:52
Methodtest_update_status_disable
(self)
agent/tests/test_strategy_store.py:229
Methodtest_update_status_disable_enable
Disable sets disabled_at, enable clears it.
agent/tests/test_strategy_store.py:731
Methodtest_update_status_not_found
(self)
agent/tests/test_strategy_store.py:239
Methodtest_update_status_not_found
update_status returns None for unknown artifact.
agent/tests/test_strategy_store.py:752
Methodtest_update_to_approved_requires_prior_validated
(self, backend, tmp_path)
agent/tests/test_strategy_store.py:1110
Functiontest_update_tool_reports_blank_required_field_without_persisting_it
(storage_path: Path)
agent/tests/test_hypothesis_registry.py:100
Functiontest_upload_blocked_extension_returns_400
(client: TestClient, tmp_path: Path)
agent/tests/test_upload_api.py:188
Functiontest_upload_blocks_executable_adjacent_files
( client: TestClient, tmp_path: Path, filename: str, )
agent/tests/test_upload_security.py:32
Functiontest_upload_exactly_at_limit_succeeds
(client: TestClient)
agent/tests/test_upload_api.py:164
Methodtest_upload_handle_resolves_to_runtime_uploads
(self)
agent/tests/test_path_safety.py:108
Functiontest_upload_handle_resolves_to_runtime_uploads_dir
( monkeypatch: pytest.MonkeyPatch, tmp_path: Path )
agent/tests/test_user_state_paths.py:167
Methodtest_upload_handle_traversal_is_rejected
(self)
agent/tests/test_path_safety.py:115
Functiontest_upload_over_limit_returns_413_and_cleans_partial_file
( client: TestClient, tmp_path: Path )
agent/tests/test_upload_api.py:173
Functiontest_upload_storage_error_does_not_expose_server_path
( tmp_path: Path, monkeypatch: pytest.MonkeyPatch, )
agent/tests/test_upload_api.py:197
Functiontest_upload_under_limit_succeeds
(client: TestClient, tmp_path: Path)
agent/tests/test_upload_api.py:143
Functiontest_uploaded_handle_uses_upload_root_even_when_a_run_dir_is_supplied
(tmp_path, monkeypatch)
agent/tests/test_doc_reader_security.py:58
Methodtest_upper_circuit_blocks_buy
(self)
agent/tests/test_india_equity_engine.py:69
Methodtest_upper_circuit_blocks_covering_a_short
(self)
agent/tests/test_india_equity_engine.py:89
Functiontest_uppercase_4H_resamples_hourly_bars_to_four_hour
()
agent/tests/test_yfinance_lowercase_4h_resample.py:34
Methodtest_uppercase_dce_multiplier
(self)
agent/tests/test_china_futures_engine.py:315
Methodtest_uppercase_ine_multiplier
(self)
agent/tests/test_china_futures_engine.py:322
Methodtest_uppercase_shfe_fixed_commission
(self)
agent/tests/test_china_futures_engine.py:326
Methodtest_uppercase_shfe_leverage_from_margin
__init__ derives leverage from the first code's margin rate.
agent/tests/test_china_futures_engine.py:340
← previousnext →26,001–26,100 of 26,887, ranked by callers