MCPcopy Create free account

hub / github.com/olaxbt/ai-market-maker / functions

Functions2,298 in github.com/olaxbt/ai-market-maker

Methodtest_resolve_unknown_raises
(self)
tests/test_data_loaders.py:65
Methodtest_resolve_us_returns_yfinance
(self)
tests/test_data_loaders.py:73
Functiontest_returns_from_equity
()
tests/test_backtest_metrics.py:14
Functiontest_risk_guard_kill_switch_vetoes
(monkeypatch: pytest.MonkeyPatch)
tests/test_risk_guard.py:25
Functiontest_risk_guard_returns_reasoning
()
tests/test_risk_guard.py:8
Functiontest_route_approved_goes_to_execute
()
tests/test_workflow_routing.py:18
Functiontest_route_veto_skips_execution
()
tests/test_workflow_routing.py:12
Functiontest_rule_overlay_sell_runs_before_add
()
tests/test_trading_policy.py:67
Methodtest_same_date_is_valid
(self)
tests/test_data_loaders.py:32
Functiontest_sanitize_portfolio_trades_filters_universe_and_actions
()
tests/test_portfolio_llm_sanitize.py:6
Functiontest_save_load_roundtrip
(tmp_path: Path)
tests/test_ohlcv_csv_cache.py:37
Functiontest_sdk_client_repr_does_not_expose_secret
()
tests/test_hyperliquid_adapter.py:227
Functiontest_secret_not_in_repr
(monkeypatch)
tests/test_exchange_config.py:73
Functiontest_sell_not_triggered_at_3_of_9
3/9 bearish at 0.40 → confidence < 0.10 → HOLD.
tests/test_threshold_calibration.py:123
Functiontest_sell_reachable_at_5_of_9
5/9 bearish at 0.40 with real weights → SELL.
tests/test_threshold_calibration.py:113
Methodtest_set_env_agent_llm
(self)
tests/test_backtest_parity_integration.py:76
Methodtest_set_env_weighted
(self)
tests/test_backtest_parity_integration.py:81
Methodtest_sets_llm_env
(self)
tests/test_backtest_config.py:99
Methodtest_sh
(self)
tests/test_data_loaders.py:94
Functiontest_sharpe_capped_when_sample_vol_near_zero
Many identical bars then one small move → sample std ~0; Sharpe must stay bounded.
tests/test_backtest_metrics.py:22
Functiontest_sharpe_zero_when_flat
()
tests/test_backtest_metrics.py:18
Functiontest_short_profits_on_downtrend
Short position profits on a downtrend.
tests/test_backtest_engine_risk_bind.py:42
Functiontest_short_series_returns_defaults
()
tests/test_technical_indicators.py:56
Methodtest_sideways_market
(self)
tests/test_backtest_validation.py:30
Methodtest_single_regime_fails
(self)
tests/test_backtest_validation.py:45
Methodtest_split_correct
(self)
tests/test_backtest_validation.py:132
Functiontest_sqlite_all_order_states_roundtrip
(tmp_path: Path)
tests/test_oms_ledger.py:243
Functiontest_sqlite_append_and_list_events
(tmp_path: Path)
tests/test_oms_ledger.py:311
Functiontest_sqlite_creates_parent_dirs
(tmp_path: Path)
tests/test_oms_ledger.py:198
Functiontest_sqlite_creates_schema_on_init
(tmp_path: Path)
tests/test_oms_ledger.py:183
Functiontest_sqlite_events_isolated_per_order
(tmp_path: Path)
tests/test_oms_ledger.py:326
Functiontest_sqlite_get_by_client_id
(tmp_path: Path)
tests/test_oms_ledger.py:280
Functiontest_sqlite_get_by_idempotency_key
(tmp_path: Path)
tests/test_oms_ledger.py:291
Functiontest_sqlite_list_open_orders_excludes_terminal
(tmp_path: Path)
tests/test_oms_ledger.py:259
Functiontest_sqlite_multiple_orders
(tmp_path: Path)
tests/test_oms_ledger.py:302
Functiontest_sqlite_satisfies_protocol
(tmp_path: Path)
tests/test_oms_ledger.py:338
Functiontest_sqlite_upsert_and_load_roundtrip
(tmp_path: Path)
tests/test_oms_ledger.py:205
Functiontest_sqlite_upsert_overwrites_state
(tmp_path: Path)
tests/test_oms_ledger.py:231
Functiontest_strong_buy_blocks_rule_overlay_sell
()
tests/test_trading_policy.py:162
Functiontest_submit_order_accepted_transitions_to_accepted
When adapter returns 'accepted', order state must be ACCEPTED.
tests/test_oms.py:222
Functiontest_submit_rejected_transitions_to_rejected
When adapter returns 'rejected', order state must be REJECTED.
tests/test_oms.py:255
Methodtest_sufficient
(self)
tests/test_backtest_validation.py:62
Methodtest_sz
(self)
tests/test_data_loaders.py:89
Functiontest_take_profit_before_buy_when_under_target
Previously a long + target > qty could skip TP because the buy branch ran first.
tests/test_trading_policy.py:51
Functiontest_testnet_defaults_true_for_non_paper_mode
HYPERLIQUID_TESTNET unset must still yield testnet=True (safe default).
tests/test_exchange_config.py:97
Functiontest_tier0_contracts_by_agent_last_wins
()
tests/test_tier0_contract.py:45
Functiontest_tier1_parallel_fanout_and_fanin_edges_present
()
tests/test_workflow_routing.py:37
Functiontest_tier2_risk_to_arbitrator_edge_present
()
tests/test_workflow_routing.py:56
Functiontest_time_key_parses_futu_date_string
()
tests/test_flow_futu_price_route.py:10
Methodtest_too_few_bars
(self)
tests/test_backtest_validation.py:67
Methodtest_too_few_trades
(self)
tests/test_backtest_validation.py:72
Methodtest_too_many_liquidations
(self)
tests/test_backtest_validation.py:114
Functiontest_trade_row_fee_legacy_fee_usd
()
tests/test_exchange_trade_format.py:30
Functiontest_trade_row_side_and_symbol
()
tests/test_exchange_trade_format.py:53
Functiontest_truthy_variants
(monkeypatch)
tests/test_exchange_config.py:89
Methodtest_two_regimes_passes
(self)
tests/test_backtest_validation.py:50
Methodtest_unknown_defaults_to_day
(self)
tests/test_data_loaders.py:131
Functiontest_unknown_exchange_also_requires_live_flag
(monkeypatch)
tests/test_exchange_config.py:66
Methodtest_unknown_reasons
(self)
tests/test_backtest_validation.py:125
Functiontest_unknown_status_from_adapter_stays_unknown
Adapter returning an unrecognised status ('timeout') must map to UNKNOWN, not trigger a retry or raise an exception.
tests/test_oms.py:317
Functiontest_use_llm_legacy_flag_honoured_as_additional_hint
``AI_MARKET_MAKER_USE_LLM=1`` works when a key is present.
tests/test_llm_env.py:33
Functiontest_use_llm_returns_false_when_explicitly_disabled
Legacy ``0`` / ``false`` / ``no`` / ``off`` forces off, even with a key.
tests/test_llm_env.py:21
Functiontest_use_llm_returns_false_when_no_key
No key in env dict → False regardless of legacy flag.
tests/test_llm_env.py:14
Functiontest_use_llm_returns_true_when_key_present
Key present + no explicit disable → True (agentic default).
tests/test_llm_env.py:28
Methodtest_valid_range
(self)
tests/test_data_loaders.py:21
Functiontest_warn_if_aggressive_cadence_emits_stderr_when_llm_and_fast_tick
(capsys)
tests/test_cadence.py:37
Functiontest_warn_if_aggressive_cadence_silent_when_slow_or_no_llm
(capsys)
tests/test_cadence.py:50
Functiontest_warn_if_aggressive_cadence_treats_y_as_llm_on
(capsys)
tests/test_cadence.py:44
Methodtest_weighted_mode_no_llm_flag
(self)
tests/test_backtest_parity_integration.py:54
Functiontest_win_rate
()
tests/test_backtest_metrics.py:31
Functiontest_workflow_compiles
()
tests/test_workflow_routing.py:31
Functiontest_write_then_read_roundtrip
(tmp_path: Path)
tests/test_trade_book_jsonl.py:11
Functiontick
(now: number)
web-v2/src/app/components/ChatMessage.tsx:36
Functiontick
()
web-v2/src/app/pages/StudioV2Page.tsx:277
Methodto_dict
(self)
src/schemas/agent_trace.py:26
Methodto_dict
(self)
src/schemas/agent_trace.py:39
Methodto_dict
(self)
src/schemas/agent_trace.py:48
Methodto_dict
(self)
src/schemas/agent_trace.py:58
Methodto_dict
(self)
src/schemas/flow_events.py:89
Methodto_dict
(self)
scripts/token_screeners/wyckoff_scanner.py:134
Methodto_dict
(self)
scripts/token_screeners/wyckoff_scanner.py:162
Methodto_dict
(self)
scripts/token_screeners/vcp_scanner.py:126
Methodto_dict
(self)
scripts/token_screeners/vcp_scanner.py:151
Methodto_json
(self)
src/flow_log.py:68
FunctiontoggleFollow
()
web-v2/src/app/pages/LeaderboardProviderPage.tsx:110
Methodtraces
(self)
src/telemetry/logger.py:165
Functiontrades_to_csv
Full CSV text with header.
src/backtest/exchange_trade_format.py:129
Functionupgrade
()
alembic/versions/0001_init_platform_tables.py:20
Functionvalidate_submission
Client-side validation endpoint. Returns expected issues before submitting. Useful for the submitter to check if its data will be accepted.
src/api/leadpage_routes.py:1299
Functionwallet_challenge
Generate a challenge message for wallet-based auth. The agent signs this message with its wallet private key and sends the signature back to
src/api/leadpage_routes.py:1217
Functionwallet_login
Authenticate with a wallet signature. Body: { wallet, challenge, signature } Verifies the signature, then creates or logs in the wallet user
src/api/leadpage_routes.py:1232
Functionwallet_to_user_id
Derive a deterministic user-id from a wallet address.
src/api/wallet_auth.py:89
Functionweighted_arbitrator_node
LangGraph node: weighted convergence arbitrator (supports agent_llm mode). Reads: - ``tier0_contracts`` from state - ``profile_weight
src/workflow/weighted_arbitrator.py:350
Functionwhale_behavior_analyst
(state: HedgeFundState)
src/main.py:638
Functionwork
()
src/api/backtest_routes.py:399
Functionwrapped
(state: HedgeFundState)
src/main.py:171
Functionwrite_cached_decision
Write a decision to the cache. Returns True on success.
src/llm/decision_cache.py:80
Functionws_run_payload
(websocket: WebSocket, run_id: str)
src/api/flow_stream_server.py:252
← previous2,201–2,298 of 2,298, ranked by callers