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
place_order
(self, *, coin, is_buy, sz, limit_px, order_type, reduce_only, cloid)
src/adapters/hyperliquid_adapter.py:222
Method
place_order
( self, *, symbol: str, side: str, qty: int, price: float | No
src/adapters/futu.py:205
Method
place_order
( self, *, symbol: str, side: str, qty: int, price: float | No
src/adapters/futu.py:497
Method
place_order
(self, *, symbol, side, qty, order_type, price, client_order_id)
tests/test_oms_ledger.py:55
Method
place_order
( self, *, symbol, side, qty, order_type, price, client_order_id )
tests/test_oms.py:55
Method
place_order
( self, *, symbol, side, qty, order_type, price, client_order_id )
tests/test_oms.py:85
Method
place_order
( self, *, symbol, side, qty, order_type, price, client_order_id )
tests/test_oms.py:113
Method
place_order
( self, *, symbol, side, qty, order_type, price, client_order_id )
tests/test_oms.py:149
Method
place_order
( self, *, symbol: str, side: str, qty: float, order_type: str
tests/test_execution_engine.py:39
Function
policy_orchestrator
Supervisor layer: select policy config/preset across runs (persistent memory).
src/main.py:411
Function
portfolio_execute
(state: HedgeFundState)
src/main.py:963
Function
portfolio_proposal
(state: HedgeFundState)
src/main.py:813
Function
post_backtest_from_file
Load bars from a server-local JSON file (operator path; not multipart upload).
src/api/backtest_routes.py:700
Function
post_create_provider
(request: Request, req: CreateProviderRequest)
src/api/provider_admin_routes.py:29
Function
post_execute
Execute an ops signal into the user's local paper account. The signal must be published as kind=ops and include meta.intent: { "ins
src/api/copy_routes.py:272
Function
post_external_result
Append an externally produced result to the leadpage ledger (JSONL).
src/api/leadpage_routes.py:699
Function
post_external_result_leaderboard_submit
Canonical leaderboard ingest (AIMM submitter & OpenAPI `/leadpage/external_result`). Accepts summarized backtest/live/paper scan payloads; maps i
src/api/leadpage_routes.py:802
Function
post_follow
(request: Request, req: FollowRequest)
src/api/follow_routes.py:36
Function
post_mark_read
(request: Request, req: MarkReadRequest)
src/api/follow_routes.py:72
Function
post_ops_publish_backtest
Publish a local backtest summary into the leaderboard DB as provider=`local`. This is intentionally *not* the public `/leadpage/external_result`
src/api/ops_routes.py:126
Function
post_ops_quick_backtest
Run a quick backtest and return the same shape as `/backtests/quick`.
src/api/ops_routes.py:90
Function
post_ops_quick_backtest_async
Run a quick backtest asynchronously and return a poll handle for progress.
src/api/ops_routes.py:106
Function
post_pm_ask
(run_id: str, req: AskRequest)
src/api/pm_routes.py:410
Function
post_pm_backtest_ask_stream
SSE stream for Supervisor chat (token-by-token) over a backtest snapshot.
src/api/pm_routes.py:505
Function
post_pm_run_ask
(run_id: str, req: AskRequest)
src/api/pm_routes.py:439
Function
post_pm_run_ask_stream
SSE stream for Supervisor chat (token-by-token).
src/api/pm_routes.py:453
Function
post_provider_result
Provider-scoped ingest endpoint (recommended).
src/api/leadpage_routes.py:753
Function
post_publish_signal
(request: Request, req: PublishSignalRequest)
src/api/signal_routes.py:32
Function
post_rotate_secret
(request: Request, provider: str)
src/api/provider_admin_routes.py:44
Function
post_setting
(request: Request, req: UpsertSettingRequest)
src/api/copy_routes.py:66
Function
post_studio_chat
(request: Request, req: StudioChatRequest)
src/api/studio_routes.py:709
Function
post_studio_suggest_title
Cheap LLM-backed title from the user's first message (short completion, sanitized).
src/api/studio_routes.py:667
Function
post_unfollow
(request: Request, req: FollowRequest)
src/api/follow_routes.py:45
Function
pro_bias_analyst
(state: HedgeFundState)
src/main.py:614
Method
process
Core processing logic. Contract: - Return value MUST include: - 'reasoning': structured log object
src/agents/base_agent.py:23
Method
process
(self, proposal: Dict[str, Any])
tests/test_agentic_trading_e2e.py:70
Function
provider_rows
(provider: str, *, limit: int)
src/storage/leadpage_db.py:395
Function
publishBacktest
()
web-v2/src/app/components/BacktestWorkflowPanel.tsx:186
Function
publishBacktest
()
web/src/app/control/page.tsx:150
Method
publish_from_agent
Build thought_process from BaseAgent-style memory (agent, role, thought, decision).
src/telemetry/logger.py:132
Function
put_agent_prompt
(node_id: str, patch: AgentPromptPatch)
src/api/agent_prompt_routes.py:108
Function
put_runtime_harness_memory
(patch: HarnessMemoryPatch)
src/api/runtime_settings_routes.py:70
Function
put_runtime_policy
(patch: PolicyPatch)
src/api/runtime_settings_routes.py:61
Function
quant_trace_meta
Embedded in Quant agent JSON for UI / operator transparency.
src/strategies/presets.py:170
Function
quote_asset_from_ccxt
Quote asset for commission (e.g. ``BTC/USDT`` → ``USDT``).
src/backtest/exchange_trade_format.py:20
Function
read_cached_decision
Read a cached decision for the given agent + context. Returns None if cache miss or disabled.
src/llm/decision_cache.py:56
Function
record_nonce
(provider: str, nonce: str)
src/storage/leadpage_db.py:561
Function
register
(req: RegisterRequest)
src/api/auth_routes.py:85
Function
register_tool
Decorator (with or without args) that registers a function as a tool. Usage: @register_tool def my_tool(param1: str, param2: int
src/llm/tool_registry.py:203
Function
require_llm_key
Exit with a clear message if no LLM key is configured.
src/config/llm_env.py:35
Function
reset
()
web-v2/src/app/components/AgentPromptSettingsPanel.tsx:187
Function
resetPromptsFromPayload
()
web/src/components/AgentDetailPanel.tsx:83
Function
resolveId
(id)
web-v2/vite.config.ts:10
Function
retail_hype_tracker
(state: HedgeFundState)
src/main.py:590
Function
risk
(state: HedgeFundState)
src/main.py:686
Function
risk_guard
(state: HedgeFundState)
src/main.py:878
Function
run_events
( run_id: str, tail: int = Query(DEFAULT_TAIL_EVENTS, ge=50, le=200_000) )
src/api/flow_stream_server.py:219
Function
run_payload
Nexus UI payload from flow events. Use ``soft=1`` while a run is in progress (schema may be loose).
src/api/flow_stream_server.py:228
Function
runs_dir
Directory for ``backtests/``, ``leadpage/``, ``*.events.jsonl``, etc.
src/config/runs_paths.py:24
Function
save
()
web-v2/src/app/components/AgentPromptSettingsPanel.tsx:148
Function
saveHarnessMemory
()
web-v2/src/app/pages/ControlPage.tsx:96
Function
saveHarnessMemory
()
web/src/app/control/page.tsx:193
Function
save_paper_account
(user_id: int, snapshot: dict[str, Any])
src/storage/leadpage_db.py:836
Function
save_profile
Save a profile JSON to persistent storage. The profile must contain a ``profile_id`` key.
src/api/profile_routes.py:77
Function
save_profile
Persist a profile JSON to disk. The profile must contain a ``profile_id`` key. Returns True on success.
src/agents/profile_registry.py:39
Method
scan_meme_coins
(self)
tests/test_agentic_trading_e2e.py:33
Function
scrape_twitter
(ticker: str, max_tweets: int = 10)
src/tools/sentiment_tools.py:11
Function
setThemeUiVariant
(variant: "v2" | "legacy")
web/src/components/ThemeProvider.tsx:29
Function
signal
(sym, window, pos, cap)
tests/test_backtest_engine_risk_bind.py:14
Function
signal_arbitrator_llm
Tier-2 synthesis node driven by an LLM with tool-calling enabled.
src/llm/arbitrator_llm.py:151
Function
sort_key
(item: Tuple[int, Dict[str, Any]])
src/api/payload_adapter.py:148
Function
statistical_alpha_engine
(state: HedgeFundState)
src/main.py:542
Function
stream_backtest_job
Server-sent events stream of backtest job progress. This is a drop-in upgrade over polling for large fanout. Clients should close the stream
src/api/backtest_routes.py:637
Function
stream_signals
Server-Sent Events stream of latest signals (public). This is a simple polling-based SSE stream over Postgres; suitable for lightweight realtime
src/api/signal_routes.py:85
Function
submit
()
web-v2/src/app/pages/PlatformLoginPage.tsx:21
Function
submit
()
web/src/features/platform/PlatformLoginPage.tsx:15
Method
teardown_method
(self)
tests/test_backtest_parity_integration.py:129
Method
teardown_method
(self)
tests/test_backtest_config.py:117
Function
technical_ta_engine
Tier-0 Agent 2.3: OHLCV → TA-Lib bundle (``ta_*`` Tier-1 metric_ids).
src/main.py:568
Method
test_agent_llm_mode_no_flags
(self)
tests/test_backtest_parity_integration.py:39
Function
test_agent_prompts_explicit_path_wins
(monkeypatch, tmp_path: Path)
tests/test_trader_profile_selection.py:18
Function
test_agent_prompts_profile_selects_preset_when_present
(monkeypatch)
tests/test_trader_profile_selection.py:6
Function
test_agentic_bullish_nexus_drives_buy_intent
(agentic_stubs, monkeypatch)
tests/test_agentic_trading_e2e.py:121
Function
test_agentic_graph_emits_all_tier0_contracts
(agentic_stubs, monkeypatch)
tests/test_agentic_trading_e2e.py:109
Function
test_agentic_risk_off_nexus_suppresses_buy
(agentic_stubs, monkeypatch)
tests/test_agentic_trading_e2e.py:144
Function
test_backtest_notional_cap_tighter_than_base_cap
Optional USD cap applies per-symbol (alts vs misleading ``*_MAX_ADD_BTC`` units).
tests/test_trading_policy.py:135
Function
test_backtest_rule_overlay_buy_neutral_sentiment_with_quant
Sentiment at neutral 50 still allows quant buy when min floor is 50 (inclusive).
tests/test_trading_policy.py:89
Function
test_backtest_rule_overlay_buy_on_hold_matches_paper
Backtest must not require explicit BUY intent when tape overlay is bullish (symmetry with sells).
tests/test_trading_policy.py:109
Function
test_basic_long_profits
Simple upward trend → long makes profit.
tests/test_backtest_engine_risk_bind.py:10
Method
test_bear_market
(self)
tests/test_backtest_validation.py:25
Function
test_bearish_long_only_flat_hold
(monkeypatch)
tests/test_execution_intent.py:89
Function
test_bearish_long_only_flat_multi_backtest_book
(monkeypatch)
tests/test_execution_intent.py:100
Function
test_bearish_sell
(monkeypatch: pytest.MonkeyPatch)
tests/test_execution_intent.py:80
Function
test_build_evaluation_frame_index_only
(tmp_path: Path)
tests/test_eval_export.py:61
Function
test_build_evaluation_frame_merges
(tmp_path: Path)
tests/test_eval_export.py:42
Function
test_builtin_list_includes_aio
()
tests/test_default_universe.py:6
Method
test_bull_market
(self)
tests/test_backtest_validation.py:20
Function
test_bullish_above_threshold_buy
(monkeypatch: pytest.MonkeyPatch)
tests/test_execution_intent.py:24
Function
test_buy_not_triggered_at_4_of_9_with_real_weights
4/9 bullish at 0.60 → confidence < 0.10 → HOLD.
tests/test_threshold_calibration.py:71
Function
test_buy_not_triggered_at_low_composite
5/9 bullish at 0.55 (threshold edge) → confidence < 0.10 → HOLD.
tests/test_threshold_calibration.py:80
← previous
next →
1,901–2,000 of 2,298, ranked by callers