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
build_run_demo_parser
()
src/backtest/run_demo.py:104
↓ 2 callers
Function
build_synthesis_board
Deterministic bull/bear evidence + consensus snapshot for trace UI (no extra LLM). Mirrors the hooks fed to the optional LLM arbitrator so operat
src/workflow/tier2_context.py:197
↓ 2 callers
Method
cancel_order
( self, *, symbol: str, exchange_order_id: str, )
src/adapters/hyperliquid_adapter.py:319
↓ 2 callers
Function
clamp
(n: number, a: number, b: number)
web-v2/src/app/components/NexusTopologyMap.tsx:39
↓ 2 callers
Function
cleanup
()
web-v2/src/hooks/useNexusPayload.ts:62
↓ 2 callers
Function
cleanup
()
web/src/hooks/useNexusPayload.ts:85
↓ 2 callers
Function
copyText
(text: string)
web/src/features/backtest/lib/embeddedBacktestUtils.ts:1
↓ 2 callers
Function
create_user
(*, email: str, password_hash: str)
src/storage/leadpage_db.py:215
↓ 2 callers
Function
defaultSessionTitle
(createdAtMs: number)
web-v2/src/app/pages/StudioV2Page.tsx:61
↓ 2 callers
Function
deleteStrategy
(id: string)
web/src/lib/strategyStorage.ts:122
↓ 2 callers
Function
detect_vcp
Run the full VCP pipeline on a DataFrame of OHLCV bars. df must have columns: timestamp, open, high, low, close, volume. Returns a V
scripts/token_screeners/vcp_scanner.py:652
↓ 2 callers
Function
detect_wyckoff_phase
Run full Wyckoff phase detection on an OHLCV(+OI) DataFrame.
scripts/token_screeners/wyckoff_scanner.py:612
↓ 2 callers
Function
displayMessage
(e: MessageLogEntry)
web/src/features/backtest/components/BacktestBarTimeline.tsx:29
↓ 2 callers
Function
displayTraderLabel
(provider: string | null | undefined)
web-v2/src/app/pages/LeaderboardV2OriginalPage.tsx:87
↓ 2 callers
Function
eval_operator
Return whether ``value`` satisfies the comparison (Tier-1 rule row).
src/tier1/resolvers.py:160
↓ 2 callers
Function
execute_inbox_item
Pure helper for worker/UI to execute without a FastAPI Request.
src/api/copy_routes.py:90
↓ 2 callers
Function
export_run_bundle
Export an immutable replay bundle for the web UI. Bundle contains: - events.jsonl (raw FlowEvent log) - payload.json (adapter output; sch
src/backtest/export_run.py:27
↓ 2 callers
Function
fetchNexusPayloadWithSource
( url: string = DEFAULT_TRACES_PATH, options?: FetchNexusPayloadOptions, )
web/src/lib/api/traces.ts:25
↓ 2 callers
Method
fetch_positions
(self)
src/adapters/hyperliquid_adapter.py:426
↓ 2 callers
Function
flowBase
()
web/src/app/api/agent-prompts/[nodeId]/route.ts:4
↓ 2 callers
Function
flowUnreachableMessage
(raw: unknown)
web-v2/src/app/components/AgentPromptSettingsPanel.tsx:37
↓ 2 callers
Function
fmt
()
web-v2/src/app/components/NexusStarSystem.tsx:510
↓ 2 callers
Function
fmt
()
web/src/components/NexusStarSystem.tsx:628
↓ 2 callers
Function
fmtDrawdownPct
Max drawdown magnitude (0–100): no "+" prefix (would read like a gain).
web/src/features/monitor/components/LiveMonitorPanel.tsx:123
↓ 2 callers
Function
fmtInt
(v: unknown)
web-v2/src/app/pages/LeaderboardPage.tsx:54
↓ 2 callers
Function
fmtInt
(v: unknown)
web-v2/src/app/pages/LeaderboardV2OriginalPage.tsx:82
↓ 2 callers
Function
fmtMoney
(v: unknown)
web-v2/src/app/pages/PaperPage.tsx:16
↓ 2 callers
Function
fmtMoney
(v: unknown)
web/src/features/paper/PaperAccountPage.tsx:21
↓ 2 callers
Function
fmtNum
(v: unknown, d = 2)
web-v2/src/app/pages/LeaderboardV2OriginalPage.tsx:77
↓ 2 callers
Function
fmtPct
(v: number | null | undefined)
web/src/features/trade/StrategyStudio.tsx:688
↓ 2 callers
Function
fmtTs
(ts: unknown)
web-v2/src/app/pages/PaperPage.tsx:21
↓ 2 callers
Function
fmtTs
(ts: unknown)
web/src/features/paper/PaperAccountPage.tsx:26
↓ 2 callers
Function
fmtTsRel
(ts: unknown)
web-v2/src/app/pages/LeaderboardPage.tsx:57
↓ 2 callers
Method
from_env
(cls)
src/adapters/futu.py:126
↓ 2 callers
Function
gen
()
src/api/pm_routes.py:469
↓ 2 callers
Function
getAllStocks
()
web/src/data/futuStocks.ts:167
↓ 2 callers
Function
getInitialTheme
()
web/src/components/ThemeProvider.tsx:8
↓ 2 callers
Function
getInitialUiVariant
v2 maps web-v2 semantic tokens onto `--nexus-*` (see `src/styles/theme-v2.css`).
web/src/components/ThemeProvider.tsx:17
↓ 2 callers
Function
getRankBadge
(rank: number)
web-v2/src/app/components/LeaderboardView.tsx:107
↓ 2 callers
Function
getRankBadge
(rank: number)
web-v2/src/app/pages/LeaderboardV2OriginalPage.tsx:103
↓ 2 callers
Function
get_backtest_job
(run_id: str)
src/api/backtest_routes.py:622
↓ 2 callers
Function
get_copy_setting
(user_id: int, provider: str)
src/storage/leadpage_db.py:718
↓ 2 callers
Function
get_leaderboard
Aggregate and rank results for the dashboard leadpage.
src/api/leadpage_routes.py:973
↓ 2 callers
Method
get_order
Return the OmsOrder for the given client_order_id, or None if not found.
src/oms/oms.py:353
↓ 2 callers
Method
get_order_book
(self, *, symbol: str, limit: int = 5)
src/adapters/futu.py:197
↓ 2 callers
Method
get_order_by_idempotency_key
(self, idempotency_key: str)
src/oms/ledger.py:126
↓ 2 callers
Method
get_order_by_idempotency_key
(self, idempotency_key: str)
src/oms/ledger.py:211
↓ 2 callers
Method
get_order_status
Refresh order state by querying the adapter. Returns the order as-is if it is already in a terminal state or has no venue_order_id to
src/oms/oms.py:286
↓ 2 callers
Function
get_user_by_email
(email: str)
src/storage/leadpage_db.py:228
↓ 2 callers
Function
get_user_by_id
(user_id: int)
src/storage/leadpage_db.py:237
↓ 2 callers
Function
handleTerminal
(j: any)
web-v2/src/app/components/BacktestInlineWidget.tsx:82
↓ 2 callers
Function
hash01
(s: string)
web-v2/src/app/components/NexusOpsMesh.tsx:29
↓ 2 callers
Function
hash01
(s: string)
web-v2/src/app/components/NexusStarSystemHero.tsx:29
↓ 2 callers
Method
healthcheck
(self)
src/adapters/futu.py:850
↓ 2 callers
Function
i
(key: str)
src/config/policy_loader.py:55
↓ 2 callers
Function
inbox_items
(user_id: int, *, limit: int)
src/storage/leadpage_db.py:929
↓ 2 callers
Function
initials
(name: string)
web-v2/src/app/pages/LeaderboardV2OriginalPage.tsx:94
↓ 2 callers
Function
isoToDate
(iso: string)
web/src/components/BacktestLabPanel.tsx:62
↓ 2 callers
Function
issue_token
(*, user_id: int)
src/api/auth_routes.py:43
↓ 2 callers
Function
kMdd
(r: LeaderboardRow)
web-v2/src/app/pages/LeaderboardV2OriginalPage.tsx:281
↓ 2 callers
Function
listStrategies
()
web/src/lib/strategyStorage.ts:59
↓ 2 callers
Function
llm_portfolio_proposal
(state: HedgeFundState)
src/llm/portfolio_llm.py:131
↓ 2 callers
Function
load
()
web-v2/src/app/pages/InboxPage.tsx:28
↓ 2 callers
Function
load
()
web-v2/src/app/pages/LeaderboardPage.tsx:133
↓ 2 callers
Function
load
()
web-v2/src/app/pages/LeaderboardV2OriginalPage.tsx:170
↓ 2 callers
Function
load
()
web/src/features/inbox/InboxPage.tsx:31
↓ 2 callers
Function
loadPaperState
(strategyId: string)
web/src/lib/paperForwardEngine.ts:207
↓ 2 callers
Function
loadReceipts
(runId: string)
web/src/app/control/page.tsx:173
↓ 2 callers
Function
load_nexus_data_base_url
Return trimmed URL or ``None`` if unset. Used by ``NexusAdapter`` and future clients.
src/config/nexus_env.py:16
↓ 2 callers
Method
load_positions
Load current positions from file.
src/agents/portfolio_management.py:83
↓ 2 callers
Function
load_runs_retention
()
src/runs_retention.py:40
↓ 2 callers
Function
load_tier1_blueprint_from_env
Load blueprint from ``AIMM_STRATEGY_BLUEPRINT_PATH`` or ``AIMM_STRATEGY_PRESET``.
src/tier1/__init__.py:37
↓ 2 callers
Function
main
(argv: list[str] | None = None)
src/eval_export.py:139
↓ 2 callers
Function
main
()
src/main.py:1552
↓ 2 callers
Method
make_idempotency_key
Return a deterministic SHA-256 hex digest from the supplied fields. The digest is stable: same inputs always produce the same key, making it
src/oms/oms.py:121
↓ 2 callers
Function
mark_inbox_read
(user_id: int, inbox_id: int)
src/storage/leadpage_db.py:1008
↓ 2 callers
Function
max_drawdown
Return max drawdown as a fraction (e.g. 0.25 = -25%).
src/backtest/metrics.py:12
↓ 2 callers
Function
merge_preset_quick_request
Build kwargs compatible with :func:`backtest_routes.post_quick_backtest` body.
src/strategies/presets.py:140
↓ 2 callers
Function
nexus_feeds_enabled
()
src/nexus_data/feeds.py:23
↓ 2 callers
Method
node_end
( cls, node: str, run_id: Optional[str] = None, summary: Optional[str] = None,
src/schemas/flow_events.py:110
↓ 2 callers
Function
normalize_hold_signal_fallback
Normalize ``hold_signal_fallback`` tokens from config or env.
src/config/app_settings.py:108
↓ 2 callers
Function
now_s
()
src/harness/run_memory.py:95
↓ 2 callers
Function
onSelect
(ev: Event)
web-v2/src/app/pages/StudioV2Page.tsx:426
↓ 2 callers
Function
one_cycle
()
scripts/token_screeners/screener_runner.py:238
↓ 2 callers
Function
parseNodeOrder
(id: string)
web-v2/src/app/components/NexusStarSystem.tsx:41
↓ 2 callers
Function
parseNodeOrder
(id: string)
web/src/components/NexusStarSystem.tsx:43
↓ 2 callers
Function
periods_per_year_from_interval_sec
Bars per year from bar spacing (for annualizing Sharpe / Sortino).
src/backtest/metrics.py:39
↓ 2 callers
Function
pickNumber
(obj: unknown, keys: string[])
web/src/features/monitor/components/LiveMonitorPanel.tsx:192
↓ 2 callers
Function
pickString
(obj: unknown, keys: string[])
web/src/features/monitor/components/LiveMonitorPanel.tsx:182
↓ 2 callers
Function
placeSimulatedOrder
(symbol: string, side: string, ticker?: Ticker)
web/src/features/futu/FutuWorkspace.tsx:382
↓ 2 callers
Method
place_smart_order
(self, *, symbol: str, side: str, qty: float, **kwargs)
tests/test_agentic_trading_e2e.py:78
↓ 2 callers
Function
poll
(intervalMs: number)
web-v2/src/app/components/BacktestInlineWidget.tsx:95
↓ 2 callers
Function
post_quick_backtest_async
Run quick backtest in a background thread and expose per-bar progress. Poll :func:`get_backtest_job` for progress updates.
src/api/backtest_routes.py:381
↓ 2 callers
Function
profit_factor
Gross wins / gross losses on closed trade PnLs. ``None`` if no trades; capped when no losses.
src/backtest/metrics.py:97
↓ 2 callers
Function
promptModeFor
( nodeId: string, rows: AgentPromptSettings[] | null | undefined, )
web/src/components/AgentsConsoleView.tsx:31
↓ 2 callers
Function
providerColor
(name: string)
web-v2/src/app/pages/LeaderboardPage.tsx:68
↓ 2 callers
Method
publish
Build and publish one agent trace. thought_process: list of {"step", "label", "detail"} or ThoughtStep-like dicts. context:
src/telemetry/logger.py:53
↓ 2 callers
Function
quant_analysis_for_portfolio
Return a ``quant_analysis``-shaped dict with ``analysis[ticker].macd_signal`` populated. ``desk_bridge`` comes from the active Tier-1 blueprint's
src/trading/desk_inputs.py:318
↓ 2 callers
Function
readJson
(p)
web/scripts/validate-nexus-payload.mjs:11
↓ 2 callers
Function
read_backtest_summaries
(backtests_dir: Path)
src/eval_export.py:46
← previous
next →
401–500 of 2,298, ranked by callers