MCPcopy Create free account

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

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

↓ 1 callersFunction_detect_market
Return 'hk', 'us', or 'crypto' for a symbol.
src/adapters/futu.py:99
↓ 1 callersFunction_detect_phase_a
Selling Climax + Automatic Rally + Secondary Test.
scripts/token_screeners/wyckoff_scanner.py:221
↓ 1 callersFunction_detect_phase_b
Cause-building: oscillation inside range, multiple boundary tests.
scripts/token_screeners/wyckoff_scanner.py:360
↓ 1 callersFunction_detect_phase_c
Spring: undercut of range_lo followed by rapid recovery.
scripts/token_screeners/wyckoff_scanner.py:427
↓ 1 callersFunction_detect_phase_d_e
Sign of Strength + LPS detection. Returns (evidence, events, is_phase_e).
scripts/token_screeners/wyckoff_scanner.py:512
↓ 1 callersFunction_detect_range
Identify the most recent multi-bar range. Returns (range_low, range_high, range_bars, range_start_idx) or (0, 0, 0, -1) if no usable r
scripts/token_screeners/wyckoff_scanner.py:324
↓ 1 callersFunction_dir_size_bytes
(p: Path)
src/runs_retention.py:164
↓ 1 callersFunction_effective_min_convergence
(tactical: TacticalParameters)
src/tier1/applier.py:98
↓ 1 callersFunction_enrich_leaderboard_row_from_meta_summary
Fill optional columns from ``meta.summary`` (e.g. DB rows from local backtest insert).
src/api/leadpage_routes.py:592
↓ 1 callersFunction_ensure_dir
(path: Path)
src/llm/decision_cache.py:24
↓ 1 callersFunction_ensure_local_dir
()
src/leaderboard_submitter.py:27
↓ 1 callersFunction_entry_price
(state: dict[str, Any], ticker: str)
src/tier1/applier.py:81
↓ 1 callersFunction_env_truthy
(name: str)
src/agents/governance/policy_orchestrator.py:10
↓ 1 callersFunction_ep
(nexus_context: dict[str, Any] | None, name: str)
src/agents/whale_behavior_analyst.py:9
↓ 1 callersFunction_ep
(nexus_context: dict[str, Any] | None, name: str)
src/agents/monetary_sentinel.py:18
↓ 1 callersFunction_execute_demo_backtest
( req: DemoBacktestRequest, *, run_id: str | None = None, on_bar_complete: Callable[[int, int,
src/api/backtest_routes.py:287
↓ 1 callersMethod_execute_multi_trades
Sells before buys so cash is freed (same ordering idea as the backtest engine).
src/agents/portfolio_management.py:251
↓ 1 callersFunction_expand_jsonl_value
(val: Any)
src/backtest/trade_book.py:25
↓ 1 callersFunction_extract_first_json_object
Best-effort: pull the first JSON object from a model response.
src/api/pm_routes.py:62
↓ 1 callersFunction_extract_ohlcv_rows
(market_data: dict[str, Any], ticker: str)
src/agents/technical_ta_engine.py:10
↓ 1 callersFunction_extract_presented_key
(request: Request)
src/api/flow_stream_server.py:61
↓ 1 callersFunction_fallback_message_from_tool_events
If the model returns no final text, produce a helpful operator message.
src/api/studio_routes.py:580
↓ 1 callersMethod_fetch_range
( exchange, symbol: str, timeframe: str, since_ms: int, until_ms: int )
src/backtest/loaders/ccxt_loader.py:83
↓ 1 callersFunction_final_state_summary
Compact summary for INFO logs.
src/main.py:227
↓ 1 callersMethod_finalize
( self, run_id: str, runs_dir: Path, symbols: list[str], metrics: dict
src/backtest/engines/perp.py:528
↓ 1 callersFunction_find_pivot_highs
Pivot-high indices: bar i where high[i] >= max(highs[i-k:i+k+1]).
scripts/token_screeners/vcp_scanner.py:219
↓ 1 callersFunction_find_pivot_lows
(lows: np.ndarray, k: int)
scripts/token_screeners/vcp_scanner.py:229
↓ 1 callersFunction_fix_local_scan_return
Best-effort correction for local scan rows. Early local scan emitters computed return from cash delta only, which looks negative when cash is
src/api/leadpage_routes.py:983
↓ 1 callersFunction_function_to_json_schema
Minimal type-annotation → JSON schema converter. Supports str, int, float, bool, Optional, and bare Dict/List.
src/llm/tool_registry.py:39
↓ 1 callersFunction_get_client
()
src/llm/agent_llm_client.py:152
↓ 1 callersFunction_get_llm_enabled_agents
Get agents with llm_enabled=True. Priority: 1. ``AIMM_LLM_AGENTS`` env var — comma-separated agent IDs (e.g. ``AIMM_LLM_AGENTS=2.1,2.3
src/workflow/weighted_arbitrator.py:214
↓ 1 callersMethod_headers
(self)
src/nexus_data/client.py:40
↓ 1 callersFunction_hmac_hex
(key: str, msg: bytes)
src/api/leadpage_routes.py:301
↓ 1 callersFunction_hmac_hex
(key: str, msg: bytes)
scripts/publish_leadpage_result.py:25
↓ 1 callersFunction_http_post_json
(url: str, *, body: bytes, headers: dict[str, str])
scripts/publish_leadpage_result.py:66
↓ 1 callersFunction_indicator_keys
()
src/tier1/metric_catalog.py:15
↓ 1 callersFunction_infer_interval_sec
(bars: list[list[float]], timeframe: str)
src/backtest/historical_eval.py:146
↓ 1 callersMethod_init_logging
(run_id: str, runs_dir: Path)
src/backtest/engine.py:464
↓ 1 callersFunction_inject_llm_signals
Parallel LLM inference for agent_llm mode. Returns local state for arbitration and append-only tier0 contract deltas.
src/workflow/weighted_arbitrator.py:261
↓ 1 callersFunction_intent_from_signal_meta
(meta: dict[str, Any])
src/api/copy_routes.py:85
↓ 1 callersMethod_interval_to_ktype
(self, interval: str)
src/adapters/futu.py:369
↓ 1 callersFunction_is_low_quality_smoke_row
Synthetic ``perp_*`` fixtures (20 bars, ≤2 trades) with invalid epoch timestamps.
src/api/leadpage_routes.py:149
↓ 1 callersFunction_is_spot_symbol
(sym: str)
src/market/universe.py:11
↓ 1 callersFunction_is_stable
(sym: str)
src/backtest/run_demo.py:287
↓ 1 callersFunction_is_stable_pair
(sym: str)
src/api/pm_routes.py:121
↓ 1 callersFunction_is_stable_pair
(sym: str)
scripts/analyze_backtest_run.py:52
↓ 1 callersFunction_is_usdt_quote
(sym: str)
src/market/universe.py:20
↓ 1 callersFunction_jwt_ttl_sec
()
src/api/auth_routes.py:34
↓ 1 callersFunction_keys_required
()
src/api/leadpage_routes.py:217
↓ 1 callersMethod_llm_generate
Call LLM for profile generation. Falls back to None if LLM unavailable / error → caller uses rule-based fallback.
src/agents/profile_agent.py:235
↓ 1 callersFunction_llm_system_prompt
(*, hosted: bool)
src/api/studio_routes.py:520
↓ 1 callersFunction_load_market_data
(path: Path | None)
src/backtest/driver.py:16
↓ 1 callersFunction_load_persona
(agent_id: str)
src/llm/agent_llm_client.py:163
↓ 1 callersFunction_load_policy_config_from_json
Load a JSON policy config file.
src/config/policy_loader.py:19
↓ 1 callersFunction_load_schema_text
Load the checked-in Nexus payload schema. Works both from a source checkout and from an installed wheel/sdist.
src/api/schema_validation.py:12
↓ 1 callersFunction_load_skill
(agent_id: str)
src/llm/agent_llm_client.py:173
↓ 1 callersFunction_local_backtest_history_rows_from_disk
History rows for provider ``local``, shaped like ``provider_rows`` output, from ``summary.json``.
src/api/leadpage_routes.py:620
↓ 1 callersFunction_macro_regime_state
(liquidity_regime: str)
src/schemas/tier0_contract.py:34
↓ 1 callersFunction_map_status
Map an ExchangeOrderResult.status string to an OrderState. Any unrecognised status — including "timeout", "dry_run", etc. — maps to UNKNOWN.
src/oms/oms.py:46
↓ 1 callersFunction_memory_path
()
src/memory/policy_memory.py:15
↓ 1 callersFunction_merge_local_provider_history_rows
Prefer on-disk ``summary.json`` per ``run_id``; add DB-only runs without a disk tree.
src/api/leadpage_routes.py:659
↓ 1 callersFunction_message_kind
(kind: str)
src/api/payload_adapter.py:161
↓ 1 callersMethod_multi_position_maps
( self, tickers: list[str], *, run_m: str, external_positions: Dict[st
src/agents/portfolio_management.py:103
↓ 1 callersFunction_needs_retry
Heuristic: retry when output isn't parseable or was heavily coerced.
src/llm/arbitrator_llm.py:94
↓ 1 callersFunction_needs_retry_execute
(cleaned: list[dict[str, Any]], *, universe: list[str])
src/llm/portfolio_llm.py:123
↓ 1 callersFunction_needs_retry_portfolio
(proposal: dict[str, Any], *, universe: list[str])
src/llm/portfolio_llm.py:71
↓ 1 callersFunction_news_items
(nexus_context: dict[str, Any] | None)
src/agents/news_narrative_miner.py:16
↓ 1 callersFunction_node
(actor: str)
src/api/payload_adapter.py:105
↓ 1 callersFunction_nonce
(provider: str)
scripts/publish_leadpage_result.py:29
↓ 1 callersFunction_nonce_seen
Best-effort replay protection. Uses a JSONL append-only store. We only scan a bounded tail window (recent lines), and we prune opportunistica
src/api/leadpage_routes.py:305
↓ 1 callersFunction_normalize_payload
Normalize supported submission shapes into the canonical summary format. Supported: - /leadpage/external_result: {provider,ticker,result_ty
src/api/leadpage_validation.py:123
↓ 1 callersFunction_now
()
src/api/ops_routes.py:32
↓ 1 callersFunction_now
()
src/oms/order.py:43
↓ 1 callersFunction_now_utc8
()
scripts/token_screeners/screener_runner.py:77
↓ 1 callersFunction_ohlcv_for_ticker
Get OHLCV bars for a ticker from state (same logic as desk_inputs).
src/llm/agent_llm_client.py:183
↓ 1 callersFunction_ohlcv_for_ticker
(state: Mapping[str, Any], ticker: str)
src/trading/desk_inputs.py:141
↓ 1 callersFunction_ohlcv_len
(market_data: Any, ticker: str)
src/agents/pattern_recognition_bot.py:8
↓ 1 callersFunction_ohlcv_len
(market_data: Any, ticker: str)
src/agents/monetary_sentinel.py:8
↓ 1 callersFunction_ohlcv_summary
Compact OHLCV summary: last N bars + key stats.
src/llm/agent_llm_client.py:195
↓ 1 callersFunction_oi_positions
(nexus_context: dict[str, Any] | None)
src/agents/statistical_alpha_engine.py:9
↓ 1 callersFunction_oi_timeout_s
()
src/nexus_data/feeds.py:29
↓ 1 callersFunction_output_schema_json
Return the JSON schema the LLM must output, with exact field types.
src/llm/agent_llm_client.py:365
↓ 1 callersFunction_overlay_disk_summary_rows
Fill gaps from ``.runs/backtests/<run_id>/summary.json`` when Postgres/JSONL rows are stale or partial.
src/api/leadpage_routes.py:160
↓ 1 callersFunction_overview_text
()
src/api/studio_routes.py:352
↓ 1 callersFunction_pair_blob
(market_data: Any, ticker: str)
src/agents/liquidity_order_flow.py:8
↓ 1 callersFunction_paper_positions_map
(snap: dict[str, Any] | None)
src/main.py:1039
↓ 1 callersFunction_parse_args
(argv: list[str] | None)
src/eval_export.py:107
↓ 1 callersFunction_parse_llm_json
Robust JSON extraction from LLM output.
src/llm/agent_llm_client.py:410
↓ 1 callersFunction_parse_ohlcv_row
(parts: list[str])
src/backtest/ohlcv_csv_cache.py:43
↓ 1 callersFunction_parse_perp_row
(row: dict[str, Any])
src/paper_account.py:119
↓ 1 callersFunction_paths
(run_dir: Path)
scripts/analyze_backtest_run.py:40
↓ 1 callersFunction_percentile_rank
Where does `value` rank within `series` (0=lowest, 100=highest)?
scripts/token_screeners/vcp_scanner.py:238
↓ 1 callersFunction_policy_from_mapping
Build a FundPolicy from JSON mapping. Supported JSON shapes: - {"policy": {...}} - {...} (policy keys at top-level)
src/config/policy_loader.py:35
↓ 1 callersFunction_prefer_leaderboard_row
True when ``candidate`` should replace ``incumbent`` for semantic dedupe.
src/api/leadpage_routes.py:114
↓ 1 callersFunction_presented_bearer
(request: Request)
src/api/auth_routes.py:49
↓ 1 callersFunction_prune_index_file
(idx: Path, *, keep_last: int, max_bytes: int)
src/run_index.py:18
↓ 1 callersFunction_py_type_to_js
(ann: Any)
src/llm/tool_registry.py:91
↓ 1 callersFunction_quant_block
(nexus_context: dict[str, Any] | None, ticker: str)
src/agents/liquidity_order_flow.py:29
↓ 1 callersFunction_rate_limit_or_429
(request: Request)
src/api/studio_routes.py:103
↓ 1 callersFunction_rate_limit_title_or_429
(request: Request)
src/api/studio_routes.py:125
← previousnext →601–700 of 2,298, ranked by callers