Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/olaxbt/ai-market-maker
/ functions
Functions
2,298 in github.com/olaxbt/ai-market-maker
⨍
Functions
2,298
◇
Types & classes
296
↳
Endpoints
89
Method
test_resolve_unknown_raises
(self)
tests/test_data_loaders.py:65
Method
test_resolve_us_returns_yfinance
(self)
tests/test_data_loaders.py:73
Function
test_returns_from_equity
()
tests/test_backtest_metrics.py:14
Function
test_risk_guard_kill_switch_vetoes
(monkeypatch: pytest.MonkeyPatch)
tests/test_risk_guard.py:25
Function
test_risk_guard_returns_reasoning
()
tests/test_risk_guard.py:8
Function
test_route_approved_goes_to_execute
()
tests/test_workflow_routing.py:18
Function
test_route_veto_skips_execution
()
tests/test_workflow_routing.py:12
Function
test_rule_overlay_sell_runs_before_add
()
tests/test_trading_policy.py:67
Method
test_same_date_is_valid
(self)
tests/test_data_loaders.py:32
Function
test_sanitize_portfolio_trades_filters_universe_and_actions
()
tests/test_portfolio_llm_sanitize.py:6
Function
test_save_load_roundtrip
(tmp_path: Path)
tests/test_ohlcv_csv_cache.py:37
Function
test_sdk_client_repr_does_not_expose_secret
()
tests/test_hyperliquid_adapter.py:227
Function
test_secret_not_in_repr
(monkeypatch)
tests/test_exchange_config.py:73
Function
test_sell_not_triggered_at_3_of_9
3/9 bearish at 0.40 → confidence < 0.10 → HOLD.
tests/test_threshold_calibration.py:123
Function
test_sell_reachable_at_5_of_9
5/9 bearish at 0.40 with real weights → SELL.
tests/test_threshold_calibration.py:113
Method
test_set_env_agent_llm
(self)
tests/test_backtest_parity_integration.py:76
Method
test_set_env_weighted
(self)
tests/test_backtest_parity_integration.py:81
Method
test_sets_llm_env
(self)
tests/test_backtest_config.py:99
Method
test_sh
(self)
tests/test_data_loaders.py:94
Function
test_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
Function
test_sharpe_zero_when_flat
()
tests/test_backtest_metrics.py:18
Function
test_short_profits_on_downtrend
Short position profits on a downtrend.
tests/test_backtest_engine_risk_bind.py:42
Function
test_short_series_returns_defaults
()
tests/test_technical_indicators.py:56
Method
test_sideways_market
(self)
tests/test_backtest_validation.py:30
Method
test_single_regime_fails
(self)
tests/test_backtest_validation.py:45
Method
test_split_correct
(self)
tests/test_backtest_validation.py:132
Function
test_sqlite_all_order_states_roundtrip
(tmp_path: Path)
tests/test_oms_ledger.py:243
Function
test_sqlite_append_and_list_events
(tmp_path: Path)
tests/test_oms_ledger.py:311
Function
test_sqlite_creates_parent_dirs
(tmp_path: Path)
tests/test_oms_ledger.py:198
Function
test_sqlite_creates_schema_on_init
(tmp_path: Path)
tests/test_oms_ledger.py:183
Function
test_sqlite_events_isolated_per_order
(tmp_path: Path)
tests/test_oms_ledger.py:326
Function
test_sqlite_get_by_client_id
(tmp_path: Path)
tests/test_oms_ledger.py:280
Function
test_sqlite_get_by_idempotency_key
(tmp_path: Path)
tests/test_oms_ledger.py:291
Function
test_sqlite_list_open_orders_excludes_terminal
(tmp_path: Path)
tests/test_oms_ledger.py:259
Function
test_sqlite_multiple_orders
(tmp_path: Path)
tests/test_oms_ledger.py:302
Function
test_sqlite_satisfies_protocol
(tmp_path: Path)
tests/test_oms_ledger.py:338
Function
test_sqlite_upsert_and_load_roundtrip
(tmp_path: Path)
tests/test_oms_ledger.py:205
Function
test_sqlite_upsert_overwrites_state
(tmp_path: Path)
tests/test_oms_ledger.py:231
Function
test_strong_buy_blocks_rule_overlay_sell
()
tests/test_trading_policy.py:162
Function
test_submit_order_accepted_transitions_to_accepted
When adapter returns 'accepted', order state must be ACCEPTED.
tests/test_oms.py:222
Function
test_submit_rejected_transitions_to_rejected
When adapter returns 'rejected', order state must be REJECTED.
tests/test_oms.py:255
Method
test_sufficient
(self)
tests/test_backtest_validation.py:62
Method
test_sz
(self)
tests/test_data_loaders.py:89
Function
test_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
Function
test_testnet_defaults_true_for_non_paper_mode
HYPERLIQUID_TESTNET unset must still yield testnet=True (safe default).
tests/test_exchange_config.py:97
Function
test_tier0_contracts_by_agent_last_wins
()
tests/test_tier0_contract.py:45
Function
test_tier1_parallel_fanout_and_fanin_edges_present
()
tests/test_workflow_routing.py:37
Function
test_tier2_risk_to_arbitrator_edge_present
()
tests/test_workflow_routing.py:56
Function
test_time_key_parses_futu_date_string
()
tests/test_flow_futu_price_route.py:10
Method
test_too_few_bars
(self)
tests/test_backtest_validation.py:67
Method
test_too_few_trades
(self)
tests/test_backtest_validation.py:72
Method
test_too_many_liquidations
(self)
tests/test_backtest_validation.py:114
Function
test_trade_row_fee_legacy_fee_usd
()
tests/test_exchange_trade_format.py:30
Function
test_trade_row_side_and_symbol
()
tests/test_exchange_trade_format.py:53
Function
test_truthy_variants
(monkeypatch)
tests/test_exchange_config.py:89
Method
test_two_regimes_passes
(self)
tests/test_backtest_validation.py:50
Method
test_unknown_defaults_to_day
(self)
tests/test_data_loaders.py:131
Function
test_unknown_exchange_also_requires_live_flag
(monkeypatch)
tests/test_exchange_config.py:66
Method
test_unknown_reasons
(self)
tests/test_backtest_validation.py:125
Function
test_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
Function
test_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
Function
test_use_llm_returns_false_when_explicitly_disabled
Legacy ``0`` / ``false`` / ``no`` / ``off`` forces off, even with a key.
tests/test_llm_env.py:21
Function
test_use_llm_returns_false_when_no_key
No key in env dict → False regardless of legacy flag.
tests/test_llm_env.py:14
Function
test_use_llm_returns_true_when_key_present
Key present + no explicit disable → True (agentic default).
tests/test_llm_env.py:28
Method
test_valid_range
(self)
tests/test_data_loaders.py:21
Function
test_warn_if_aggressive_cadence_emits_stderr_when_llm_and_fast_tick
(capsys)
tests/test_cadence.py:37
Function
test_warn_if_aggressive_cadence_silent_when_slow_or_no_llm
(capsys)
tests/test_cadence.py:50
Function
test_warn_if_aggressive_cadence_treats_y_as_llm_on
(capsys)
tests/test_cadence.py:44
Method
test_weighted_mode_no_llm_flag
(self)
tests/test_backtest_parity_integration.py:54
Function
test_win_rate
()
tests/test_backtest_metrics.py:31
Function
test_workflow_compiles
()
tests/test_workflow_routing.py:31
Function
test_write_then_read_roundtrip
(tmp_path: Path)
tests/test_trade_book_jsonl.py:11
Function
tick
(now: number)
web-v2/src/app/components/ChatMessage.tsx:36
Function
tick
()
web-v2/src/app/pages/StudioV2Page.tsx:277
Method
to_dict
(self)
src/schemas/agent_trace.py:26
Method
to_dict
(self)
src/schemas/agent_trace.py:39
Method
to_dict
(self)
src/schemas/agent_trace.py:48
Method
to_dict
(self)
src/schemas/agent_trace.py:58
Method
to_dict
(self)
src/schemas/flow_events.py:89
Method
to_dict
(self)
scripts/token_screeners/wyckoff_scanner.py:134
Method
to_dict
(self)
scripts/token_screeners/wyckoff_scanner.py:162
Method
to_dict
(self)
scripts/token_screeners/vcp_scanner.py:126
Method
to_dict
(self)
scripts/token_screeners/vcp_scanner.py:151
Method
to_json
(self)
src/flow_log.py:68
Function
toggleFollow
()
web-v2/src/app/pages/LeaderboardProviderPage.tsx:110
Method
traces
(self)
src/telemetry/logger.py:165
Function
trades_to_csv
Full CSV text with header.
src/backtest/exchange_trade_format.py:129
Function
upgrade
()
alembic/versions/0001_init_platform_tables.py:20
Function
validate_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
Function
wallet_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
Function
wallet_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
Function
wallet_to_user_id
Derive a deterministic user-id from a wallet address.
src/api/wallet_auth.py:89
Function
weighted_arbitrator_node
LangGraph node: weighted convergence arbitrator (supports agent_llm mode). Reads: - ``tier0_contracts`` from state - ``profile_weight
src/workflow/weighted_arbitrator.py:350
Function
whale_behavior_analyst
(state: HedgeFundState)
src/main.py:638
Function
work
()
src/api/backtest_routes.py:399
Function
wrapped
(state: HedgeFundState)
src/main.py:171
Function
write_cached_decision
Write a decision to the cache. Returns True on success.
src/llm/decision_cache.py:80
Function
ws_run_payload
(websocket: WebSocket, run_id: str)
src/api/flow_stream_server.py:252
← previous
2,201–2,298 of 2,298, ranked by callers