MCPcopy Create free account

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

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

↓ 3 callersFunctionnexus_bundle_bullish_btc
Rich enough for Tier-0 perception agents (incl. 2.3 TA) to return ``success``.
tests/nexus_agentic_fixtures.py:18
↓ 3 callersFunctionnowMs
()
web-v2/src/app/pages/StudioV2Page.tsx:57
↓ 3 callersFunctionpct
(x: number | null | undefined, digits = 2)
web/src/features/monitor/components/LiveMonitorPanel.tsx:116
↓ 3 callersMethodplace_smart_order
( self, *, symbol: str, side: str, qty: float, order_type: str
src/adapters/nexus_adapter.py:282
↓ 3 callersFunctionpretty
(v: unknown)
web-v2/src/app/pages/AgentDetailPage.tsx:19
↓ 3 callersMethodprocess
Implements Veto Power. Expects a 'proposal' (e.g., orders/portfolio actions) and returns APPROVED/VETOED.
src/agents/governance/risk_guard.py:23
↓ 3 callersFunctionreadHubRgbTriplet
(name: "--nexus-hub-canvas-rgb" | "--nexus-hub-mesh-rgb", fallback: string)
web-v2/src/app/components/NexusStarSystem.tsx:96
↓ 3 callersFunctionreadHubRgbTriplet
(name: "--nexus-hub-canvas-rgb" | "--nexus-hub-mesh-rgb", fallback: string)
web/src/components/NexusStarSystem.tsx:109
↓ 3 callersFunctionresolve_metric
Return a scalar (or comparable) for ``metric_id`` from Tier-0 contracts.
src/tier1/resolvers.py:60
↓ 3 callersFunctionsaveStrategy
( name: string, config: StrategyConfig, metrics?: BacktestMetrics | null, )
web/src/lib/strategyStorage.ts:67
↓ 3 callersFunctionsave_account
(*, runs_dir: Path, account: PaperAccount)
src/paper_account.py:182
↓ 3 callersFunctionselectRun
(runId: string | null)
web-v2/src/app/pages/LeaderboardProviderPage.tsx:140
↓ 3 callersFunctionselect_universe_from_tickers
( tickers: dict[str, dict[str, Any]] | None, *, primary: str, size: int = 7, )
src/market/universe.py:49
↓ 3 callersFunctionstatusKind
(status: string)
web-v2/src/app/components/NexusOpsMesh.tsx:21
↓ 3 callersFunctionstrict_json_suffix
Build a strict, provider-agnostic JSON-only instruction suffix.
src/llm/structured_output.py:55
↓ 3 callersFunctiontoMs
(x: number)
web-v2/src/app/components/BacktestInlineWidget.tsx:40
↓ 3 callersMethodto_dict
(self)
src/flow_log.py:62
↓ 3 callersMethodto_dict
(self)
src/backtest/validation.py:319
↓ 3 callersMethodto_shared_memory_fragment
(self)
src/harness/run_memory.py:68
↓ 3 callersFunctiontrade_row_symbol_for_analytics
Prefer CCXT ``BASE/QUOTE`` from ``_sim`` when present (stable-pair detection).
src/backtest/exchange_trade_format.py:246
↓ 3 callersFunctionvalidate_nexus_payload
Raise ValueError with a compact message if payload violates schema.
src/api/schema_validation.py:28
↓ 3 callersFunctionvalidate_result
Validate a result submission payload. Returns a list of error messages. Empty list = valid.
src/api/leadpage_validation.py:159
↓ 2 callersFunction_account_id
(uid: int)
src/api/paper_routes.py:21
↓ 2 callersFunction_app_llm_defaults
Return (strict_json, output_retries) from app settings, with safe fallbacks.
src/llm/structured_output.py:20
↓ 2 callersFunction_build_submit_payload
Build the leaderboard external result payload.
src/leaderboard_submitter.py:65
↓ 2 callersFunction_cache_key
( agent_id: str, ticker: str, date_tag: str, prompt_hash: str, )
src/llm/decision_cache.py:28
↓ 2 callersFunction_cache_path
(key: str)
src/llm/decision_cache.py:38
↓ 2 callersFunction_client_id
(request: Request)
src/api/studio_routes.py:94
↓ 2 callersFunction_database_url
()
alembic/env.py:27
↓ 2 callersFunction_default_prompts_path
()
src/config/agent_prompts.py:20
↓ 2 callersFunction_deploy_path
()
src/api/deploy_routes.py:169
↓ 2 callersFunction_downsample_rows
Evenly sample rows (inclusive ends) so charts stay responsive for long runs.
src/api/backtest_routes.py:79
↓ 2 callersFunction_ema_sma_regime
Coarse regime label from EMA vs SMA: up/down/flat/unknown.
src/trading/desk_inputs.py:214
↓ 2 callersFunction_env_bool
(name: str, default: bool = False)
src/workflow/desk_debate.py:32
↓ 2 callersFunction_env_truthy
(name: str)
src/agents/governance/risk_guard.py:10
↓ 2 callersFunction_ep
(nexus_context: dict[str, Any] | None, name: str)
src/agents/news_narrative_miner.py:8
↓ 2 callersFunction_ep
(nexus_context: dict[str, Any] | None, name: str)
src/agents/pro_bias_analyst.py:9
↓ 2 callersMethod_equity
(self, last_closes: dict[str, float])
src/backtest/engines/perp.py:405
↓ 2 callersFunction_error_contract
Return a neutral contract with error flag — **not** deterministic data. This is what gets emitted when the LLM call fails. The deterministic
src/llm/agent_llm_client.py:473
↓ 2 callersMethod_execute_one_market_order
Apply one proposed trade to the exchange and ``positions.json`` (paper/live).
src/agents/portfolio_management.py:214
↓ 2 callersFunction_expected_api_key
()
src/api/flow_stream_server.py:56
↓ 2 callersFunction_f
(x: Any)
src/leadpage_local_scan.py:47
↓ 2 callersFunction_fill_missing_fields
Fill any missing PascalCase fields with neutral defaults. Ensures the weight assigner always gets a complete schema.
src/llm/agent_llm_client.py:432
↓ 2 callersFunction_get_cursor
(session: Session, name: str)
src/storage/leadpage_db.py:1020
↓ 2 callersFunction_get_decision_cache
()
src/llm/agent_llm_client.py:22
↓ 2 callersFunction_id
(prefix: string)
web/src/features/supervisor/components/SupervisorPanel.tsx:18
↓ 2 callersFunction_job_path
(run_id: str)
src/api/backtest_routes.py:54
↓ 2 callersFunction_jsonl_preview
(path: Path, *, limit: int = 20)
src/api/backtest_routes.py:71
↓ 2 callersFunction_jwt_alg
()
src/api/auth_routes.py:30
↓ 2 callersFunction_jwt_secret
()
src/api/auth_routes.py:19
↓ 2 callersFunction_llm_exec_summary
(snapshot: dict[str, Any])
src/api/pm_routes.py:302
↓ 2 callersFunction_llm_supervisor_answer
(snapshot: dict[str, Any], *, question: str, max_tokens: int)
src/api/pm_routes.py:328
↓ 2 callersFunction_load_token_csv
(path: str, recent_5m_bars: int = 6000)
scripts/token_screeners/wyckoff_scanner.py:715
↓ 2 callersFunction_make_trace_id
(prefix: str = "tx")
src/telemetry/logger.py:26
↓ 2 callersFunction_maybe_tail_slice
Keep only the trailing ``max_steps`` bars when capping simulated steps. OHLCV fetches usually return ``n_bars`` history but callers may ask to re
src/backtest/loop.py:17
↓ 2 callersFunction_norm_signal
(s: Any)
src/trading/policy_manager.py:248
↓ 2 callersFunction_norm_symbol
(ticker: str)
src/tier1/resolvers.py:8
↓ 2 callersFunction_nth_bearish
First *n* agents bearish, rest neutral.
tests/test_threshold_calibration.py:49
↓ 2 callersFunction_parse_spot_row
(row: dict[str, Any])
src/paper_account.py:110
↓ 2 callersFunction_placeholder
(side: str)
src/workflow/tier2_context.py:209
↓ 2 callersFunction_presented_provider_key
(request: Request)
src/api/leadpage_routes.py:236
↓ 2 callersFunction_public_prompt_merged
Match `payload_adapter.build_nexus_payload` merge semantics for one node.
src/api/agent_prompt_routes.py:56
↓ 2 callersFunction_read_jsonl
(path: Path)
scripts/analyze_backtest_run.py:23
↓ 2 callersFunction_read_jsonl_all
(path: Path)
src/api/backtest_routes.py:75
↓ 2 callersFunction_read_key
Return the first non-empty API key from *env*.
src/config/llm_env.py:8
↓ 2 callersFunction_release_margin
(frac: float)
src/paper_account.py:321
↓ 2 callersFunction_resample
Resample 5m OHLCV to a coarser TF. Uses pandas resample with proper agg.
scripts/token_screeners/vcp_scanner.py:187
↓ 2 callersFunction_resolve_ccxt_symbol
Resolve common Binance linear-swap aliases (``BASE/USDT:USDT``) when spot ``BASE/USDT`` is absent.
src/backtest/bars.py:13
↓ 2 callersFunction_resolve_narrative
(risk: str, horizon: str, signals: str)
src/agents/profile_agent.py:183
↓ 2 callersFunction_run_async
Run async code from a sync LangGraph node.
src/main.py:704
↓ 2 callersFunction_safe_float
(x: Any, default: float = 0.0)
src/market/universe.py:24
↓ 2 callersFunction_sample_deploy_config
( *, mode: str = "agent_llm", tp: float = 0.05, sl: float = 0.05, lev: float = 5.0, )
tests/test_backtest_config.py:18
↓ 2 callersFunction_sanitize_leaderboard_sharpe
Drop absurd Sharpe values from tiny samples (e.g. 2-bar paper scans).
src/api/leadpage_routes.py:477
↓ 2 callersFunction_segment_regimes
Split the price series into segments and classify each. For short series (< 60 bars) the full window is used as a single regime detection chu
src/backtest/validation.py:363
↓ 2 callersFunction_submit_remote
POST result to leaderboard server. Returns True on success.
src/leaderboard_submitter.py:37
↓ 2 callersFunction_synthetic_ohlcv
(n: int = 120)
tests/test_technical_indicators.py:14
↓ 2 callersFunction_tier0_for_symbol
Tier-0 node output for ``symbol`` when ``by_symbol`` exists (multi-asset graph); else primary.
src/trading/desk_inputs.py:242
↓ 2 callersFunction_time_key_to_epoch_ms
Map Futu history ``time_key`` (str or numeric) to unix milliseconds for web charts.
src/adapters/futu.py:35
↓ 2 callersFunction_to_ts
(x: Any)
src/api/leadpage_validation.py:226
↓ 2 callersFunction_tool_registry
()
src/api/tools_routes.py:32
↓ 2 callersFunction_tool_result_text
Prefer JSON for tool results so the UI can render safely.
src/api/studio_routes.py:568
↓ 2 callersFunction_trend_follow_override
Regime alignment: when EMA/SMA is decisive, prefer its direction over noisy micro-signals.
src/trading/desk_inputs.py:194
↓ 2 callersFunction_write_local_jsonl
(path: Path, row: dict[str, Any])
src/leaderboard_submitter.py:31
↓ 2 callersFunction_write_parquet
(df: pd.DataFrame, path: Path)
src/eval_export.py:95
↓ 2 callersFunction_write_settings
(obj: dict[str, Any])
src/api/runtime_settings_routes.py:39
↓ 2 callersFunctionagentAvatarStaticSrc
(nodeId: string)
web/src/lib/agentAvatars.ts:50
↓ 2 callersFunctionalign_bars_by_min_length
Trim each OHLCV series to the same length using the **last** ``min(len)`` rows. Assumes rows are time-ordered and comparable bar-by-bar (same tim
src/backtest/bars.py:198
↓ 2 callersFunctionapi
(path: string)
web-v2/src/app/components/BacktestWorkflowPanel.tsx:33
↓ 2 callersMethodappend_event
( self, client_order_id: str, event_type: str, payload: dict[str, Any] | None
src/oms/ledger.py:98
↓ 2 callersFunctionappend_trade
( *, runs_dir: Path, account_id: str, trade: dict[str, Any], )
src/paper_account.py:196
↓ 2 callersFunctionapplyHeuristicTitleIfPlaceholder
(session: StudioSession, userText: string)
web-v2/src/app/pages/StudioV2Page.tsx:102
↓ 2 callersFunctionapply_perp_fill
USDT-linear perp: post initial margin = notional/leverage (+ fees).
src/paper_account.py:288
↓ 2 callersFunctionapply_spot_fill
Apply a spot fill and return a trade record.
src/paper_account.py:208
↓ 2 callersFunctionapply_strategy_env_defaults_from_settings
Apply ``config/app.default.json`` ``strategy`` block via ``os.environ.setdefault`` (after ``.env``).
src/config/app_settings.py:357
↓ 2 callersFunctionasNumOrNull
(v: unknown)
web-v2/src/app/components/AgentPromptSettingsPanel.tsx:24
↓ 2 callersFunctionasPositions
(snapshot: Snapshot | null)
web-v2/src/app/components/NexusLiveMonitorPanel.tsx:76
↓ 2 callersFunctionasPositions
(snapshot: Snapshot | null)
web-v2/src/app/pages/PaperPage.tsx:26
↓ 2 callersFunctionasPositions
(snapshot: Snapshot | null)
web/src/features/paper/PaperAccountPage.tsx:31
↓ 2 callersFunctionasSection
(v: string | null)
web-v2/src/app/pages/GuidesPage.tsx:11
↓ 2 callersFunctionbacktest_momentum_score_delta
Nudge bull/bear from short OHLCV drift when Tier-0/Nexus are flat (offline backtest only).
src/workflow/tier2_context.py:247
← previousnext →301–400 of 2,298, ranked by callers