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
↓ 2 callers
Function
read_index_jsonl
(path: Path)
src/eval_export.py:27
↓ 2 callers
Function
refresh
()
web-v2/src/app/pages/PlatformProvidersPage.tsx:72
↓ 2 callers
Function
refresh
()
web/src/app/platform/providers/page.tsx:68
↓ 2 callers
Method
register
(self, spec: ToolSpec)
src/llm/tool_registry.py:147
↓ 2 callers
Method
register_fn
Register a function as a tool using its signature for JSON schema.
src/llm/tool_registry.py:152
↓ 2 callers
Function
renderResultsDetail
(variant: "embedded" | "standalone")
web/src/components/BacktestLabPanel.tsx:1102
↓ 2 callers
Function
renderSetupForm
(compactForm = false)
web/src/components/BacktestLabPanel.tsx:691
↓ 2 callers
Function
resolve_backtest_symbol_list
Return up to ``max_symbols`` pairs: ``primary`` first, then app defaults.
src/config/default_universe.py:19
↓ 2 callers
Function
resolve_run_demo_symbols
Return ``(sym_list, primary)``. Empty ``sym_list`` selects single-asset mode.
src/backtest/run_demo.py:270
↓ 2 callers
Function
rotate_provider_secret
Generate and persist a new provider secret (returns the plaintext once).
src/storage/leadpage_db.py:272
↓ 2 callers
Method
round_size
(self, raw: float)
src/backtest/engines/perp.py:116
↓ 2 callers
Function
route_after_risk_guard
If Risk Guard vetoed, skip execution and audit; otherwise continue to execution.
src/workflow/routing.py:12
↓ 2 callers
Function
route_after_risk_guard_mapping
Path map for :meth:`langgraph.graph.StateGraph.add_conditional_edges`.
src/workflow/routing.py:19
↓ 2 callers
Function
runBacktest
()
web/src/app/control/page.tsx:120
↓ 2 callers
Function
run_paper_trading
Run paper trading mode
openclaw/scripts/claw_runner.py:55
↓ 2 callers
Function
safeJsonParse
(raw: string)
web-v2/src/app/components/AgentPromptSettingsPanel.tsx:29
↓ 2 callers
Function
safeJsonParse
(raw: string | null)
web-v2/src/app/pages/StudioV2Page.tsx:148
↓ 2 callers
Function
sanitize_portfolio_trades
Return a canonical portfolio proposal dict compatible with existing execution code.
src/llm/portfolio_llm.py:18
↓ 2 callers
Function
savePrompts
(override?: { system: string; task: string })
web/src/components/AgentDetailPanel.tsx:94
↓ 2 callers
Method
save_positions
Save current positions to file.
src/agents/portfolio_management.py:95
↓ 2 callers
Function
scheduleAnchorToTop
(anchorId: string, behavior: ScrollBehavior = "smooth")
web-v2/src/app/pages/StudioV2Page.tsx:272
↓ 2 callers
Function
scrollToBottom
(behavior: ScrollBehavior = "smooth")
web/src/components/NexusThoughtStreamPanel.tsx:36
↓ 2 callers
Function
scrollToBottom
(behavior: ScrollBehavior = "auto")
web/src/features/supervisor/components/SupervisorPanel.tsx:58
↓ 2 callers
Function
setPlatformToken
(token: string)
web/src/app/api/platform/_session.ts:5
↓ 2 callers
Function
sleep
(ms: number)
web-v2/src/lib/fetchNexusPayload.ts:10
↓ 2 callers
Function
sleep
(ms: number)
web/src/lib/api/traces.ts:7
↓ 2 callers
Function
sleep
(ms: number)
web/src/features/trade/StrategyStudio.tsx:663
↓ 2 callers
Function
split_ccxt_symbol
(sym: str)
src/nexus_data/symbols.py:4
↓ 2 callers
Function
split_forward_validation
Split bars into in-sample (older) and out-of-sample (recent ``oos_bars``). Uses the first symbol's bar count as the reference; all symbols are al
src/backtest/validation.py:284
↓ 2 callers
Function
statusKind
(status: string)
web-v2/src/app/components/NexusTopologyMap.tsx:21
↓ 2 callers
Function
statusPill
(status: BarTimelineGroup["status"])
web/src/features/backtest/components/BacktestBarTimeline.tsx:34
↓ 2 callers
Function
statusTone
(status: string)
web-v2/src/app/components/NexusStarSystemHero.tsx:21
↓ 2 callers
Function
stream_chat_completion
Return an OpenAI streaming iterator yielding assistant text deltas. This intentionally does **not** support tool calls. It's used for UI chat str
src/llm/openai_client.py:195
↓ 2 callers
Function
stripLegacyBarPrefix
(message: string)
web/src/lib/groupBacktestMessageLog.ts:18
↓ 2 callers
Function
symbol_to_cache_stem
(symbol: str)
src/backtest/ohlcv_csv_cache.py:26
↓ 2 callers
Function
tick
()
web-v2/src/app/components/NexusLiveMonitorPanel.tsx:260
↓ 2 callers
Function
tick
()
web/src/components/BacktestLabPanel.tsx:465
↓ 2 callers
Function
tick
()
web/src/features/monitor/components/LiveMonitorPanel.tsx:235
↓ 2 callers
Function
toUtcTimestamp
(tsMs: number)
web/src/features/backtest/components/BacktestPriceChart.tsx:8
↓ 2 callers
Method
to_json
(self)
src/telemetry/logger.py:174
↓ 2 callers
Function
topologyLayers
(nodes: TopologyNode[], edges: TopologyEdge[])
web/src/lib/topologyLayers.ts:8
↓ 2 callers
Function
totalFromBalances
(balances: Record<string, number>)
web/src/features/monitor/components/LiveMonitorPanel.tsx:135
↓ 2 callers
Function
useChart
()
web-v2/src/app/components/ui/chart.tsx:27
↓ 2 callers
Function
verify_installation
Verify all dependencies are installed
openclaw/scripts/claw_runner.py:112
↓ 2 callers
Function
win_rate
Win rate as a fraction of pnl observations > 0.
src/backtest/metrics.py:109
↓ 2 callers
Function
write_jsonl_records
Write one JSON object per line (true JSONL).
src/backtest/trade_book.py:17
↓ 1 callers
Function
_account_notional_hint
(state: dict[str, Any])
src/tier1/applier.py:129
↓ 1 callers
Function
_actor_for_node_id
(node_id: str)
src/api/agent_prompt_routes.py:43
↓ 1 callers
Function
_adaptive_signal
Adaptive preset: decide which signal logic to trust given regime + trend strength. - Strong trend (ADX high): use ``trend_follow`` (EMA/SMA align
src/trading/desk_inputs.py:45
↓ 1 callers
Method
_align_bars
( bars_by_symbol: dict[str, list[list[float]]], )
src/backtest/engines/perp.py:414
↓ 1 callers
Function
_alpha_scores
(blueprint: StrategyBlueprint, state: dict[str, Any])
src/tier1/applier.py:62
↓ 1 callers
Method
_append_to_file
(self, event: FlowEvent)
src/flow_log.py:41
↓ 1 callers
Function
_apply_deltas
Apply deltas to base weights and re-normalize to sum=1.0.
src/agents/profile_agent.py:170
↓ 1 callers
Method
_apply_funding
(self, symbol: str, close: float, ts_ms: int)
src/backtest/engines/perp.py:139
↓ 1 callers
Function
_apply_persona_signal_mix
( long_s: int, short_s: int, blueprint: StrategyBlueprint )
src/tier1/applier.py:104
↓ 1 callers
Function
_apply_trend_guard_to_buy
(signal: str, source: str, inds: Mapping[str, Any] | None)
src/trading/desk_inputs.py:184
↓ 1 callers
Function
_arbitration_to_proposed_signal
Map ArbitrationResult → proposed_signal (same shape as LLM path).
src/workflow/weighted_arbitrator.py:108
↓ 1 callers
Function
_as_int
(x: Any)
src/api/leadpage_validation.py:119
↓ 1 callers
Function
_as_str
(x: Any)
src/api/leadpage_validation.py:111
↓ 1 callers
Function
_atr
(df: pd.DataFrame, n: int)
scripts/token_screeners/wyckoff_scanner.py:200
↓ 1 callers
Function
_atr
(df: pd.DataFrame, n: int = 14)
scripts/token_screeners/vcp_scanner.py:209
↓ 1 callers
Function
_auth_provider_or_401
(request: Request, provider: str)
src/api/leadpage_routes.py:245
↓ 1 callers
Function
_backtest_prompt_context
Compact facts so the model does not confuse risk sizing with sim position or ignore tape drift.
src/llm/arbitrator_llm.py:119
↓ 1 callers
Function
_bar_meta_from_payload
Synthetic bar index (0-based) and bar open time label from backtest FlowEvent payload.
src/api/payload_adapter.py:171
↓ 1 callers
Function
_build_agent_prompt
Build system + user prompt for a single agent LLM inference. The LLM is instructed to produce the SAME PascalCase fields the weight assigner
src/llm/agent_llm_client.py:371
↓ 1 callers
Function
_build_depth_context
Extract order-book depth from market_data[ticker].nexus_depth.
src/llm/agent_llm_client.py:252
↓ 1 callers
Function
_build_deterministic_context
Format a deterministic Tier-0 contract as LLM context only (not fallback).
src/llm/agent_llm_client.py:300
↓ 1 callers
Function
_build_headers
(req: PublishRequest, body: bytes)
scripts/publish_leadpage_result.py:44
↓ 1 callers
Function
_build_market_context
Build rich market context for an LLM agent prompt. Includes: - Ticker and universe - OHLCV bars (last 30, price stats) - Order book d
src/llm/agent_llm_client.py:322
↓ 1 callers
Method
_build_multi_trades
( self, tickers: list[str], *, market_data: Dict[str, Any], allocation
src/agents/portfolio_management.py:139
↓ 1 callers
Function
_build_nexus_context
Extract Nexus bundle from shared_memory.
src/llm/agent_llm_client.py:223
↓ 1 callers
Method
_build_prompt
(self, answers: dict[str, str])
src/agents/profile_agent.py:208
↓ 1 callers
Function
_build_universe_context
List the trading universe.
src/llm/agent_llm_client.py:291
↓ 1 callers
Function
_by_node_id
(rows: list[AgentPromptSettings], node_id: str)
src/api/agent_prompt_routes.py:36
↓ 1 callers
Function
_cache_key_for_agent
Generate a deterministic cache key for this agent call. Returns None if caching is disabled.
src/llm/agent_llm_client.py:43
↓ 1 callers
Method
_calc_metrics
(self)
src/backtest/engines/perp.py:475
↓ 1 callers
Method
_calculate_risk
Compute a conservative risk score from current portfolio snapshot + policy. Input contract (best-effort): - data["proposal"]: portfol
src/agents/governance/risk_guard.py:57
↓ 1 callers
Function
_canonical_message
(*, provider: str, ts: int, nonce: str, body_bytes: bytes)
src/api/leadpage_routes.py:293
↓ 1 callers
Function
_canonical_message
(*, provider: str, ts: int, nonce: str, body_bytes: bytes)
scripts/publish_leadpage_result.py:18
↓ 1 callers
Method
_check_liquidation
(self, symbol: str, close: float, timestamp_ms: int)
src/backtest/engines/perp.py:165
↓ 1 callers
Method
_check_timeout
Close positions that have been held longer than max_hold_bars.
src/backtest/engines/perp.py:183
↓ 1 callers
Method
_check_tp_sl
Close positions that hit take-profit or stop-loss levels.
src/backtest/engines/perp.py:200
↓ 1 callers
Function
_circuit_breaker_status
(c12: dict[str, Any])
src/tier1/resolvers.py:52
↓ 1 callers
Function
_cli
()
scripts/token_screeners/wyckoff_scanner.py:823
↓ 1 callers
Function
_cli
()
scripts/token_screeners/vcp_scanner.py:857
↓ 1 callers
Function
_close_momentum_frac
(ohlcv: list[Any], lookback_bars: int)
src/trading/desk_inputs.py:152
↓ 1 callers
Function
_coerce_bt_position_qty
``BacktestEngine`` stores perp legs as ``{size, entry}`` dicts; older paths used raw floats.
src/main.py:736
↓ 1 callers
Function
_coerce_row
(row: Any)
src/config/agent_prompts.py:63
↓ 1 callers
Function
_coin_block
(nexus_context: dict[str, Any] | None, ticker: str)
src/agents/whale_behavior_analyst.py:17
↓ 1 callers
Function
_coin_block
(nexus_context: dict[str, Any] | None, ticker: str)
src/agents/liquidity_order_flow.py:15
↓ 1 callers
Function
_compact_arbitration_for_reasoning
Compact arbitration result for reasoning_logs.
src/workflow/weighted_arbitrator.py:78
↓ 1 callers
Function
_compact_context
(state: HedgeFundState)
src/workflow/desk_debate.py:83
↓ 1 callers
Function
_compact_decision
Reduce low-value bulk in flow logs (events.jsonl) while keeping auditability.
src/main.py:136
↓ 1 callers
Function
_compute_deltas
Apply all matching rules, summing deltas.
src/agents/profile_agent.py:152
↓ 1 callers
Function
_dedupe_leaderboard_rows
Collapse duplicate (provider, run_id) rows, keeping the richest payload.
src/api/leadpage_routes.py:90
↓ 1 callers
Function
_dedupe_semantic_leaderboard_rows
One visible row per distinct outcome (ticker + return + trade count). Local scan loops often emit dozens of runs with identical metrics; keep the
src/api/leadpage_routes.py:129
↓ 1 callers
Function
_default_screener_root
davis-ai-market-maker repo root when this file lives in scripts/token_screeners/.
scripts/token_screeners/wyckoff_scanner.py:60
↓ 1 callers
Function
_default_screener_root
davis-ai-market-maker repo root when this file lives in scripts/token_screeners/.
scripts/token_screeners/vcp_scanner.py:57
↓ 1 callers
Function
_deploy_path
()
src/config/deploy_loader.py:31
↓ 1 callers
Function
_desk_strategy_preset
()
src/trading/desk_inputs.py:35
← previous
next →
501–600 of 2,298, ranked by callers