MCPcopy Create free account

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

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

Methodplace_order
(self, *, coin, is_buy, sz, limit_px, order_type, reduce_only, cloid)
src/adapters/hyperliquid_adapter.py:222
Methodplace_order
( self, *, symbol: str, side: str, qty: int, price: float | No
src/adapters/futu.py:205
Methodplace_order
( self, *, symbol: str, side: str, qty: int, price: float | No
src/adapters/futu.py:497
Methodplace_order
(self, *, symbol, side, qty, order_type, price, client_order_id)
tests/test_oms_ledger.py:55
Methodplace_order
( self, *, symbol, side, qty, order_type, price, client_order_id )
tests/test_oms.py:55
Methodplace_order
( self, *, symbol, side, qty, order_type, price, client_order_id )
tests/test_oms.py:85
Methodplace_order
( self, *, symbol, side, qty, order_type, price, client_order_id )
tests/test_oms.py:113
Methodplace_order
( self, *, symbol, side, qty, order_type, price, client_order_id )
tests/test_oms.py:149
Methodplace_order
( self, *, symbol: str, side: str, qty: float, order_type: str
tests/test_execution_engine.py:39
Functionpolicy_orchestrator
Supervisor layer: select policy config/preset across runs (persistent memory).
src/main.py:411
Functionportfolio_execute
(state: HedgeFundState)
src/main.py:963
Functionportfolio_proposal
(state: HedgeFundState)
src/main.py:813
Functionpost_backtest_from_file
Load bars from a server-local JSON file (operator path; not multipart upload).
src/api/backtest_routes.py:700
Functionpost_create_provider
(request: Request, req: CreateProviderRequest)
src/api/provider_admin_routes.py:29
Functionpost_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
Functionpost_external_result
Append an externally produced result to the leadpage ledger (JSONL).
src/api/leadpage_routes.py:699
Functionpost_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
Functionpost_follow
(request: Request, req: FollowRequest)
src/api/follow_routes.py:36
Functionpost_mark_read
(request: Request, req: MarkReadRequest)
src/api/follow_routes.py:72
Functionpost_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
Functionpost_ops_quick_backtest
Run a quick backtest and return the same shape as `/backtests/quick`.
src/api/ops_routes.py:90
Functionpost_ops_quick_backtest_async
Run a quick backtest asynchronously and return a poll handle for progress.
src/api/ops_routes.py:106
Functionpost_pm_ask
(run_id: str, req: AskRequest)
src/api/pm_routes.py:410
Functionpost_pm_backtest_ask_stream
SSE stream for Supervisor chat (token-by-token) over a backtest snapshot.
src/api/pm_routes.py:505
Functionpost_pm_run_ask
(run_id: str, req: AskRequest)
src/api/pm_routes.py:439
Functionpost_pm_run_ask_stream
SSE stream for Supervisor chat (token-by-token).
src/api/pm_routes.py:453
Functionpost_provider_result
Provider-scoped ingest endpoint (recommended).
src/api/leadpage_routes.py:753
Functionpost_publish_signal
(request: Request, req: PublishSignalRequest)
src/api/signal_routes.py:32
Functionpost_rotate_secret
(request: Request, provider: str)
src/api/provider_admin_routes.py:44
Functionpost_setting
(request: Request, req: UpsertSettingRequest)
src/api/copy_routes.py:66
Functionpost_studio_chat
(request: Request, req: StudioChatRequest)
src/api/studio_routes.py:709
Functionpost_studio_suggest_title
Cheap LLM-backed title from the user's first message (short completion, sanitized).
src/api/studio_routes.py:667
Functionpost_unfollow
(request: Request, req: FollowRequest)
src/api/follow_routes.py:45
Functionpro_bias_analyst
(state: HedgeFundState)
src/main.py:614
Methodprocess
Core processing logic. Contract: - Return value MUST include: - 'reasoning': structured log object
src/agents/base_agent.py:23
Methodprocess
(self, proposal: Dict[str, Any])
tests/test_agentic_trading_e2e.py:70
Functionprovider_rows
(provider: str, *, limit: int)
src/storage/leadpage_db.py:395
FunctionpublishBacktest
()
web-v2/src/app/components/BacktestWorkflowPanel.tsx:186
FunctionpublishBacktest
()
web/src/app/control/page.tsx:150
Methodpublish_from_agent
Build thought_process from BaseAgent-style memory (agent, role, thought, decision).
src/telemetry/logger.py:132
Functionput_agent_prompt
(node_id: str, patch: AgentPromptPatch)
src/api/agent_prompt_routes.py:108
Functionput_runtime_harness_memory
(patch: HarnessMemoryPatch)
src/api/runtime_settings_routes.py:70
Functionput_runtime_policy
(patch: PolicyPatch)
src/api/runtime_settings_routes.py:61
Functionquant_trace_meta
Embedded in Quant agent JSON for UI / operator transparency.
src/strategies/presets.py:170
Functionquote_asset_from_ccxt
Quote asset for commission (e.g. ``BTC/USDT`` → ``USDT``).
src/backtest/exchange_trade_format.py:20
Functionread_cached_decision
Read a cached decision for the given agent + context. Returns None if cache miss or disabled.
src/llm/decision_cache.py:56
Functionrecord_nonce
(provider: str, nonce: str)
src/storage/leadpage_db.py:561
Functionregister
(req: RegisterRequest)
src/api/auth_routes.py:85
Functionregister_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
Functionrequire_llm_key
Exit with a clear message if no LLM key is configured.
src/config/llm_env.py:35
Functionreset
()
web-v2/src/app/components/AgentPromptSettingsPanel.tsx:187
FunctionresetPromptsFromPayload
()
web/src/components/AgentDetailPanel.tsx:83
FunctionresolveId
(id)
web-v2/vite.config.ts:10
Functionretail_hype_tracker
(state: HedgeFundState)
src/main.py:590
Functionrisk
(state: HedgeFundState)
src/main.py:686
Functionrisk_guard
(state: HedgeFundState)
src/main.py:878
Functionrun_events
( run_id: str, tail: int = Query(DEFAULT_TAIL_EVENTS, ge=50, le=200_000) )
src/api/flow_stream_server.py:219
Functionrun_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
Functionruns_dir
Directory for ``backtests/``, ``leadpage/``, ``*.events.jsonl``, etc.
src/config/runs_paths.py:24
Functionsave
()
web-v2/src/app/components/AgentPromptSettingsPanel.tsx:148
FunctionsaveHarnessMemory
()
web-v2/src/app/pages/ControlPage.tsx:96
FunctionsaveHarnessMemory
()
web/src/app/control/page.tsx:193
Functionsave_paper_account
(user_id: int, snapshot: dict[str, Any])
src/storage/leadpage_db.py:836
Functionsave_profile
Save a profile JSON to persistent storage. The profile must contain a ``profile_id`` key.
src/api/profile_routes.py:77
Functionsave_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
Methodscan_meme_coins
(self)
tests/test_agentic_trading_e2e.py:33
Functionscrape_twitter
(ticker: str, max_tweets: int = 10)
src/tools/sentiment_tools.py:11
FunctionsetThemeUiVariant
(variant: "v2" | "legacy")
web/src/components/ThemeProvider.tsx:29
Functionsignal
(sym, window, pos, cap)
tests/test_backtest_engine_risk_bind.py:14
Functionsignal_arbitrator_llm
Tier-2 synthesis node driven by an LLM with tool-calling enabled.
src/llm/arbitrator_llm.py:151
Functionsort_key
(item: Tuple[int, Dict[str, Any]])
src/api/payload_adapter.py:148
Functionstatistical_alpha_engine
(state: HedgeFundState)
src/main.py:542
Functionstream_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
Functionstream_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
Functionsubmit
()
web-v2/src/app/pages/PlatformLoginPage.tsx:21
Functionsubmit
()
web/src/features/platform/PlatformLoginPage.tsx:15
Methodteardown_method
(self)
tests/test_backtest_parity_integration.py:129
Methodteardown_method
(self)
tests/test_backtest_config.py:117
Functiontechnical_ta_engine
Tier-0 Agent 2.3: OHLCV → TA-Lib bundle (``ta_*`` Tier-1 metric_ids).
src/main.py:568
Methodtest_agent_llm_mode_no_flags
(self)
tests/test_backtest_parity_integration.py:39
Functiontest_agent_prompts_explicit_path_wins
(monkeypatch, tmp_path: Path)
tests/test_trader_profile_selection.py:18
Functiontest_agent_prompts_profile_selects_preset_when_present
(monkeypatch)
tests/test_trader_profile_selection.py:6
Functiontest_agentic_bullish_nexus_drives_buy_intent
(agentic_stubs, monkeypatch)
tests/test_agentic_trading_e2e.py:121
Functiontest_agentic_graph_emits_all_tier0_contracts
(agentic_stubs, monkeypatch)
tests/test_agentic_trading_e2e.py:109
Functiontest_agentic_risk_off_nexus_suppresses_buy
(agentic_stubs, monkeypatch)
tests/test_agentic_trading_e2e.py:144
Functiontest_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
Functiontest_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
Functiontest_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
Functiontest_basic_long_profits
Simple upward trend → long makes profit.
tests/test_backtest_engine_risk_bind.py:10
Methodtest_bear_market
(self)
tests/test_backtest_validation.py:25
Functiontest_bearish_long_only_flat_hold
(monkeypatch)
tests/test_execution_intent.py:89
Functiontest_bearish_long_only_flat_multi_backtest_book
(monkeypatch)
tests/test_execution_intent.py:100
Functiontest_bearish_sell
(monkeypatch: pytest.MonkeyPatch)
tests/test_execution_intent.py:80
Functiontest_build_evaluation_frame_index_only
(tmp_path: Path)
tests/test_eval_export.py:61
Functiontest_build_evaluation_frame_merges
(tmp_path: Path)
tests/test_eval_export.py:42
Functiontest_builtin_list_includes_aio
()
tests/test_default_universe.py:6
Methodtest_bull_market
(self)
tests/test_backtest_validation.py:20
Functiontest_bullish_above_threshold_buy
(monkeypatch: pytest.MonkeyPatch)
tests/test_execution_intent.py:24
Functiontest_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
Functiontest_buy_not_triggered_at_low_composite
5/9 bullish at 0.55 (threshold edge) → confidence < 0.10 → HOLD.
tests/test_threshold_calibration.py:80
← previousnext →1,901–2,000 of 2,298, ranked by callers