MCPcopy Create free account

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

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

Functiontest_paper_order_capability_never_becomes_a_live_permission
()
agent/tests/test_capability_matrix.py:58
Methodtest_paper_place_via_service
(self, fake_mt5: FakeMT5)
agent/tests/test_mt5_connector.py:983
Methodtest_paper_profile_rejects_contest_account
(self, fake_mt5: FakeMT5)
agent/tests/test_mt5_connector.py:464
Functiontest_paper_profile_rejects_live_account
(monkeypatch: pytest.MonkeyPatch, fake_ib_async)
agent/tests/test_ibkr_local.py:141
Methodtest_paper_profile_rejects_real_account
(self, fake_mt5: FakeMT5)
agent/tests/test_mt5_connector.py:458
Methodtest_parallel_dict_input_keeps_first_signature_only
Gemini signs only the first of N parallel calls. The natural state (first signed, rest genuinely absent) must round-trip unchanged through
agent/tests/test_kimi_reasoning_content.py:623
Functiontest_parallel_failure_is_not_hidden_by_empty_fallbacks
( monkeypatch, adapter, _offline_sources, response, error_fragment )
agent/tests/test_parallel_search.py:168
Functiontest_parallel_failure_or_empty_falls_back
( monkeypatch, adapter, _offline_sources, response )
agent/tests/test_parallel_search.py:147
Methodtest_parallel_matches_sequential
(self, monkeypatch)
agent/tests/test_bench_parallel.py:91
Functiontest_parallel_saves_retain_every_profile
(custom_store)
agent/tests/test_custom_provider_routes.py:233
Methodtest_parameters_list_defined
(self)
agent/tests/test_vnpy_export.py:115
Functiontest_parametric_var_is_not_uniformly_below_historical_var
The 'normal fit always understates risk' folklore is false at 95%. A fat tail inflates the fitted sigma, which pushes the normal quantile out
agent/tests/quantlib/test_risk.py:100
Functiontest_parametric_var_matches_the_closed_form_normal_quantile
(confidence)
agent/tests/quantlib/test_risk.py:78
Functiontest_parametric_var_needs_two_observations
()
agent/tests/quantlib/test_risk.py:121
Functiontest_parametric_var_on_a_known_mean_and_sigma
()
agent/tests/quantlib/test_risk.py:85
Functiontest_parametric_var_scales_with_square_root_of_time
()
agent/tests/quantlib/test_risk.py:95
Functiontest_parent_refusals_leave_no_child
(context, change)
agent/tests/test_strategy_adaptation_workflow.py:76
Methodtest_parent_traversal_from_cwd_rejected
(self, tmp_path: Path, monkeypatch)
agent/tests/test_path_safety.py:89
Methodtest_parent_traversal_rejected
(self, tmp_path: Path)
agent/tests/test_path_safety.py:25
Functiontest_parenthesised_numbers_are_negative
(raw: str, expected: float)
agent/tests/test_trade_journal_parser_accounting_negatives.py:20
Methodtest_parity_holds
(self, S, K, T, r, sigma, q)
agent/tests/quantlib/test_options.py:87
Methodtest_parity_holds_for_the_greeks_too
(self)
agent/tests/quantlib/test_options.py:94
Functiontest_parquet_datetime_index_supplies_dates_with_any_format
A parquet whose dates live on the index must load with or without a configured date_format. The mapped date column was only repointed when no
agent/tests/test_local_loader.py:304
Functiontest_parquet_explicit_date_column_wins_over_datetime_index
An explicitly mapped date column takes precedence over the index. An index named like the column must not trip reset_index's name collision.
agent/tests/test_local_loader.py:332
Functiontest_parse_account_state_rejects_non_finite
(value: float)
agent/tests/test_paper_trade_schema.py:516
Functiontest_parse_allowed_hosts_default_is_loopback_only
()
agent/tests/test_mcp_host_origin_guard.py:28
Functiontest_parse_allowed_hosts_normalizes_entries
()
agent/tests/test_mcp_host_origin_guard.py:43
Functiontest_parse_allowed_hosts_parses_and_trims
()
agent/tests/test_mcp_host_origin_guard.py:34
Functiontest_parse_cors_origins_custom
()
agent/tests/test_api_infrastructure.py:113
Functiontest_parse_cors_origins_empty_returns_defaults
()
agent/tests/test_api_infrastructure.py:106
Functiontest_parse_cors_origins_none_returns_defaults
()
agent/tests/test_api_infrastructure.py:101
Functiontest_parse_cors_origins_wildcard_raises
()
agent/tests/test_api_infrastructure.py:118
Functiontest_parse_dsml_tool_call_content_as_structured_tool_call
DeepSeek-style DSML content must drive the ReAct tool path (#261).
agent/tests/test_chat_llm_streaming.py:88
Functiontest_parse_dsml_tool_call_requires_pure_tool_call_payload
Do not execute DSML examples embedded inside normal assistant text.
agent/tests/test_chat_llm_streaming.py:112
Functiontest_parse_eastmoney_float_yyyymmdd_date
()
agent/tests/test_eastmoney_float_dates.py:10
Functiontest_parse_eastmoney_numeric_excel_day_serial
()
agent/tests/test_eastmoney_excel_day_serial.py:32
Functiontest_parse_eastmoney_skips_nan_code_rows
()
agent/tests/test_trade_journal.py:801
Functiontest_parse_eastmoney_string_yyyymmdd_still_ok
()
agent/tests/test_eastmoney_float_dates.py:28
Functiontest_parse_eastmoney_stringified_excel_day_serial
()
agent/tests/test_eastmoney_excel_day_serial.py:13
Functiontest_parse_eastmoney_yyyymmdd_float_still_ok
()
agent/tests/test_eastmoney_excel_day_serial.py:50
Functiontest_parse_expiry_handles_offset
()
agent/tests/test_runtime_runner.py:176
Functiontest_parse_expiry_handles_z_suffix
()
agent/tests/test_runtime_runner.py:171
Functiontest_parse_expiry_unparseable_is_none
()
agent/tests/test_runtime_runner.py:181
Methodtest_parse_failure_returns_fallback
(self, fsp, monkeypatch)
agent/tests/test_fetch_sina_penalties.py:253
Functiontest_parse_file_generic_csv
(tmp_path: Path)
agent/tests/test_trade_journal.py:238
Functiontest_parse_file_generic_csv_excel_serial
()
agent/tests/test_generic_stringified_excel_serial.py:35
Functiontest_parse_file_keeps_economics_for_aliased_english_journals
Capitalized generic aliases must not be routed to the Futu parser. The Futu parser reads ``Quantity``/``Price``/``Amount`` by exact spelling, so
agent/tests/test_trade_journal.py:338
Functiontest_parse_file_rejects_missing_or_unknown_side
( tmp_path: Path, header: str, value: str, error: str )
agent/tests/test_trade_journal.py:372
Functiontest_parse_file_tonghuashun_csv
(tmp_path: Path)
agent/tests/test_trade_journal.py:254
Functiontest_parse_file_tonghuashun_dividend_and_bonus_rows
A 红利入账 row used to kill the whole parse with "Unsupported trade side".
agent/tests/test_trade_journal.py:271
Functiontest_parse_file_unknown_raises
(tmp_path: Path)
agent/tests/test_trade_journal.py:311
Functiontest_parse_file_xlsx_eastmoney_excel_day_serial
()
agent/tests/test_eastmoney_excel_day_serial.py:68
Functiontest_parse_file_xlsx_stringified_excel_serial
()
agent/tests/test_ths_stringified_excel_serial.py:31
Functiontest_parse_file_xlsx_stringified_excel_serial
()
agent/tests/test_futu_stringified_excel_serial.py:31
Functiontest_parse_futu_dividend_row_carries_cash_amount
()
agent/tests/test_trade_journal.py:291
Functiontest_parse_futu_excel_serial_date_and_time
()
agent/tests/test_futu_excel_serial_dates.py:10
Functiontest_parse_futu_excel_serial_int64_date
iterrows yields np.int64 for int64 columns; must not treat as ns-epoch.
agent/tests/test_futu_excel_serial_dates.py:29
Functiontest_parse_futu_skips_nan_symbol_rows
NaN Symbol cells must not become literal "NAN" US trades.
agent/tests/test_trade_journal.py:816
Functiontest_parse_futu_string_date_time_still_ok
()
agent/tests/test_futu_excel_serial_dates.py:48
Functiontest_parse_futu_stringified_excel_serial_date_and_time
()
agent/tests/test_futu_stringified_excel_serial.py:13
Functiontest_parse_generic_currency_price_not_zero
()
agent/tests/test_trade_journal.py:892
Functiontest_parse_generic_skips_nan_symbol_rows
Blank/NaN symbol cells are dropped instead of stringified to "nan".
agent/tests/test_trade_journal.py:833
Functiontest_parse_generic_stringified_excel_serial_datetime
()
agent/tests/test_generic_stringified_excel_serial.py:18
Functiontest_parse_md_table_keeps_leading_empty_header_with_row_labels
()
agent/tests/test_feishu_parse_md_table_edge_columns.py:19
Functiontest_parse_md_table_keeps_trailing_empty_header_column
()
agent/tests/test_feishu_parse_md_table_edge_columns.py:8
Functiontest_parse_md_tables_keeps_empty_mid_cell_alignment
()
agent/tests/test_report_audit_empty_table_cells.py:8
Functiontest_parse_period_normal_ranges_still_work
()
agent/tests/test_parse_period_inverted.py:20
Functiontest_parse_period_rejects_inverted_date_range
()
agent/tests/test_parse_period_inverted.py:15
Functiontest_parse_period_rejects_inverted_year_range
()
agent/tests/test_parse_period_inverted.py:10
Functiontest_parse_request_accepts_absent_fee_model_as_empty
(absent: str)
agent/tests/test_paper_trade_schema.py:484
Functiontest_parse_request_rejects_falsy_non_dict_fee_model
(falsy)
agent/tests/test_paper_trade_schema.py:476
Functiontest_parse_request_rejects_non_finite_numbers_everywhere
(value)
agent/tests/test_paper_trade_schema.py:496
Functiontest_parse_response_detects_gemini_recitation
()
agent/tests/test_content_filter_gemini_detection.py:60
Functiontest_parse_response_detects_gemini_safety
()
agent/tests/test_content_filter_gemini_detection.py:54
Functiontest_parse_response_handles_unconvertible_usage_gracefully
A non-iterable, non-dict usage object should degrade to None, not crash.
agent/tests/test_swarm_token_tracking.py:87
Functiontest_parse_response_keeps_provider_reported_model
()
agent/tests/test_chat_response_metadata.py:10
Functiontest_parse_response_keeps_usage_metadata_none_when_provider_omits_it
()
agent/tests/test_swarm_token_tracking.py:81
Functiontest_parse_response_missing_finish_reason_not_triggered
()
agent/tests/test_content_filter_gemini_detection.py:80
Functiontest_parse_response_normal_stop_not_triggered
()
agent/tests/test_content_filter_gemini_detection.py:74
Functiontest_parse_response_normalises_typed_dict_like_usage_to_plain_dict
Some LangChain versions return a TypedDict; we want a plain dict on the wire.
agent/tests/test_swarm_token_tracking.py:68
Functiontest_parse_response_openai_content_filter_regression
()
agent/tests/test_content_filter_gemini_detection.py:66
Functiontest_parse_response_propagates_authoritative_provider_model_metadata
()
agent/tests/test_swarm_token_tracking.py:56
Functiontest_parse_response_propagates_usage_metadata_dict
()
agent/tests/test_swarm_token_tracking.py:44
Functiontest_parse_settings_accepts_rateable_display_currency
()
agent/tests/test_portfolio_fx.py:80
Functiontest_parse_settings_rejects_non_iso_display_currency
()
agent/tests/test_portfolio_fx.py:85
Functiontest_parse_settings_rejects_valid_iso_display_currency_without_production_rate
()
agent/tests/test_portfolio_fx.py:73
Functiontest_parse_source_order_strips_lowercases_and_drops_empty
()
agent/tests/test_source_order_overrides.py:70
Functiontest_parse_stable_empty_array_returns_none
()
agent/tests/test_fmp_stable_regression.py:25
Functiontest_parse_stable_top_level_array
Stable API returns a top-level array, not {"historical": [...]}.
agent/tests/test_fmp_stable_regression.py:16
Functiontest_parse_table_keeps_leading_empty_header_with_row_labels
()
agent/tests/test_cli_parse_table_edge_columns.py:31
Functiontest_parse_table_keeps_trailing_empty_header_column
()
agent/tests/test_cli_parse_table_edge_columns.py:14
Functiontest_parse_tonghuashun_excel_serial_datetime
()
agent/tests/test_ths_excel_serial_dates.py:10
Functiontest_parse_tonghuashun_excel_serial_int64_datetime
iterrows yields np.int64 for int64 columns; must not treat as ns-epoch.
agent/tests/test_ths_excel_serial_dates.py:29
Functiontest_parse_tonghuashun_float_code_cell
()
agent/tests/test_trade_journal.py:865
Functiontest_parse_tonghuashun_skips_blank_code_rows
()
agent/tests/test_trade_journal.py:766
Functiontest_parse_tonghuashun_skips_nan_code_rows
()
agent/tests/test_trade_journal.py:786
Functiontest_parse_tonghuashun_string_datetime_still_ok
()
agent/tests/test_ths_excel_serial_dates.py:48
Functiontest_parse_tonghuashun_stringified_excel_serial
()
agent/tests/test_ths_stringified_excel_serial.py:13
Functiontest_parser_accepts_update_subcommand
()
agent/tests/test_cli_update.py:68
Functiontest_parser_registers_the_portfolio_subcommands
()
agent/tests/test_cli_portfolio.py:183
← previousnext →22,001–22,100 of 26,887, ranked by callers