MCPcopy Create free account

hub / github.com/HKUDS/AI-Trader / functions

Functions1,106 in github.com/HKUDS/AI-Trader

↓ 2 callersFunctionmax_drawdown_percent_for_display
(equity: float, peak_equity: float)
service/server/routes_trading.py:51
↓ 2 callersFunctionmonth_start
(value: datetime)
service/server/scripts/monthly_challenges.py:61
↓ 2 callersFunctionnext_month_start
(value: datetime)
service/server/scripts/monthly_challenges.py:65
↓ 2 callersFunctionnormal_p_value
(effect: float, stderr: float)
research/scripts/research_common.py:132
↓ 2 callersFunctionnotify_followers_of_post
( ctx: RouteContext, leader_id: int, leader_name: str, message_type: str, signal_id: int,
service/server/routes_shared.py:808
↓ 2 callersFunctionnow_z
()
service/server/scripts/repair_challenge_polymarket_trades.py:32
↓ 2 callersFunctionparseRecordedAt
(recordedAt: string)
service/frontend/src/appShared.tsx:109
↓ 2 callersFunctionparse_agent_ids
(value: str | None)
research/scripts/research_common.py:39
↓ 2 callersFunctionquantile
(values: Iterable[float], q: float)
research/scripts/research_common.py:119
↓ 2 callersFunctionrecord_challenge_submission_from_signal
( cursor: Any, *, challenge_key: Optional[str], agent_id: int, signal_id: int, submiss
service/server/challenges.py:1315
↓ 2 callersFunctionregister_user_routes
(app: FastAPI, ctx: RouteContext)
service/server/routes_users.py:30
↓ 2 callersFunctionrenderActivitySummary
(entity: any)
service/frontend/src/AppPages.tsx:1711
↓ 2 callersFunctionrequire_any_capability
(authorization: str | None, capabilities: Iterable[str])
service/server/permissions.py:110
↓ 2 callersFunctionresolve_challenge_notification_targets
Resolve joined or active challenge participant targets.
service/server/experiment_notifications.py:358
↓ 2 callersFunctionresolve_position_prices
(rows: list[Any], now_str: str)
service/server/routes_shared.py:557
↓ 2 callersFunctionrow_dict
(row: Any)
service/server/scripts/monthly_challenges.py:86
↓ 2 callersFunctionrun_once
(args: argparse.Namespace)
service/server/scripts/monthly_challenges.py:219
↓ 2 callersFunctionscore_all
(mark_prices: Optional[dict[Any, float]] = None, mark_timestamp: Optional[str] = None)
service/server/challenges.py:1819
↓ 2 callersFunctionscore_team_contributions
(mission_key: Optional[str] = None)
service/server/team_missions.py:1036
↓ 2 callersFunctionscore_team_results
( mission: Any, teams: list[Any], members_by_team: dict[int, list[Any]], submissions_by_team:
service/server/team_scoring.py:45
↓ 2 callersFunctionstart_background_tasks
(logger: Optional[Any] = None)
service/server/tasks.py:1258
↓ 2 callersFunctionsubmitNotification
(dryRun: boolean)
service/frontend/src/ExperimentAdminPage.tsx:181
↓ 2 callersFunctionsubmit_team
(team_key: str, agent_id: int, data: Any)
service/server/team_missions.py:878
↓ 2 callersFunctionsummarize
(rows: list[dict[str, Any]], action: str, mode: str, backup_path: str | None = None)
service/server/scripts/repair_challenge_polymarket_trades.py:165
↓ 2 callersFunctiontime_window
(rows: list[dict[str, Any]])
research/scripts/analyze_experiments.py:44
↓ 2 callersFunctionupdate_drawdown
(equity: float)
service/server/challenge_scoring.py:95
↓ 2 callersFunctionutc_iso
(value: datetime)
service/server/scripts/monthly_challenges.py:57
↓ 2 callersFunctionutc_now_iso_z
()
service/server/scripts/repair_challenge_trade_prices.py:59
↓ 1 callersFunction_acquire_file_lock
()
service/server/worker.py:38
↓ 1 callersFunction_active_database_scope
()
service/server/cache.py:30
↓ 1 callersFunction_agent_feature
(cursor: Any, agent_id: int)
service/server/team_matching.py:15
↓ 1 callersFunction_agent_from_authorization
(authorization: str | None)
service/server/routes_trading.py:58
↓ 1 callersFunction_append_agent_filter_templates
( conditions: list[str], params: list[Any], templates: list[str], values: list[int], )
service/server/research_exports.py:1310
↓ 1 callersFunction_append_in_filter
(conditions: list[str], params: list[Any], columns: list[str], values: list[int])
service/server/research_exports.py:1301
↓ 1 callersFunction_behavior_window_since
(hours: int = EXPERIMENT_BEHAVIOR_WINDOW_HOURS)
service/server/experiments.py:195
↓ 1 callersFunction_best_ask
(levels: list)
service/server/price_fetcher.py:501
↓ 1 callersFunction_best_bid
(levels: list)
service/server/price_fetcher.py:497
↓ 1 callersFunction_build_challenge_filters
( alias: str, *, start_at: Optional[str] = None, end_at: Optional[str] = None, experiment_
service/server/research_exports.py:164
↓ 1 callersFunction_build_etf_flow_snapshot
()
service/server/market_intel.py:922
↓ 1 callersFunction_build_filters_v2
( config: dict[str, Any], *, start_at: Optional[str] = None, end_at: Optional[str] = None,
service/server/research_exports.py:1324
↓ 1 callersFunction_build_macro_signals
()
service/server/market_intel.py:1100
↓ 1 callersFunction_build_news_summary
(category: str, items: list[dict[str, Any]])
service/server/market_intel.py:634
↓ 1 callersFunction_build_research_filters
( alias: str, *, start_at: Optional[str] = None, end_at: Optional[str] = None, experiment_
service/server/research_exports.py:228
↓ 1 callersFunction_build_stock_analysis
(symbol: str)
service/server/market_intel.py:995
↓ 1 callersFunction_build_stock_analysis_fallback_summary
(analysis: dict[str, Any])
service/server/market_intel.py:558
↓ 1 callersFunction_build_stock_price_metadata
(price_as_of: Optional[str], price_source: Optional[str])
service/server/market_intel.py:314
↓ 1 callersFunction_calc_average_volume
(series: list[dict[str, Any]], start_index: int, count: int)
service/server/market_intel.py:779
↓ 1 callersFunction_challenge_rules
(challenge: dict[str, Any])
service/server/challenges.py:614
↓ 1 callersFunction_choose_variant
(experiment_key: str, unit_type: str, unit_id: int | str, variants: list[dict[str, Any]], *, salt: str = "")
service/server/experiments.py:390
↓ 1 callersFunction_chunks
(items: list[dict[str, Any]], team_size: int)
service/server/team_matching.py:75
↓ 1 callersFunction_clear_price_failure
(key: tuple[str, str, str, str])
service/server/tasks.py:112
↓ 1 callersFunction_coerce_agent_ids
(agent_ids: Optional[_Iterable[int] | str])
service/server/research_exports.py:1294
↓ 1 callersFunction_contribution_exists
(cursor: Any, source_type: str, source_id: Any)
service/server/team_missions.py:945
↓ 1 callersMethod_counts_and_cash
(self)
service/server/tests/test_realtime_trade_price_guard.py:59
↓ 1 callersMethod_create_agent
(self, name: str)
service/server/tests/test_routes_shared.py:60
↓ 1 callersMethod_create_agent
(self)
service/server/tests/test_realtime_trade_price_guard.py:32
↓ 1 callersMethod_create_agent
(self, name: str)
service/server/tests/test_experiment_assignments.py:40
↓ 1 callersMethod_create_agent
(self, name: str)
service/server/tests/test_rewards.py:28
↓ 1 callersMethod_create_mission
(self, key: str, **overrides)
service/server/tests/test_team_missions.py:91
↓ 1 callersFunction_daily_close_as_of_iso
(raw_date: Optional[str])
service/server/market_intel.py:180
↓ 1 callersFunction_decorate_stock_analysis_with_adanos_sentiment
(base_payload: dict[str, Any])
service/server/market_intel.py:435
↓ 1 callersFunction_decorate_stock_analysis_with_quote
(base_payload: dict[str, Any])
service/server/market_intel.py:352
↓ 1 callersFunction_dedupe_news_items
(items: list[dict[str, Any]])
service/server/market_intel.py:622
↓ 1 callersFunction_derive_status
(start_at: str, end_at: str, requested_status: Optional[str] = None)
service/server/challenges.py:241
↓ 1 callersFunction_derive_status
(start_at: str, due_at: str, requested_status: Optional[str] = None)
service/server/team_missions.py:92
↓ 1 callersFunction_ensure_challenge_trades_source_signal_nullable
Allow dedicated challenge trades that do not originate from a signal.
service/server/database.py:362
↓ 1 callersFunction_env_csv_set
(name: str, default: str = "")
service/server/tasks.py:49
↓ 1 callersFunction_escape_psycopg_percent_literals
Escape literal percent signs before psycopg placeholder parsing. psycopg uses percent-format placeholders, so SQL literals such as ``LIKE '%f
service/server/database.py:161
↓ 1 callersFunction_experiment_behavior_metrics
Return recent behavior metrics by variant without depending on message read state.
service/server/experiments.py:215
↓ 1 callersFunction_experiment_read_diagnostics
Return message read diagnostics by variant; these are not primary experiment metrics.
service/server/experiments.py:253
↓ 1 callersFunction_extract_intraday_quote
(payload: dict[str, Any])
service/server/market_intel.py:250
↓ 1 callersFunction_extract_openrouter_text
(response: Any)
service/server/market_intel.py:473
↓ 1 callersFunction_extract_signal_symbols
(row: Any)
service/server/market_intel.py:802
↓ 1 callersFunction_fetch_adanos_stock_sentiment
(symbol: str, platform: str)
service/server/market_intel.py:391
↓ 1 callersFunction_fetch_btc_daily_series
()
service/server/market_intel.py:731
↓ 1 callersFunction_fetch_news_feed
(category: str, definition: dict[str, str])
service/server/market_intel.py:671
↓ 1 callersFunction_fetch_stock_quote_payload
(symbol: str)
service/server/market_intel.py:280
↓ 1 callersFunction_format_price_key
(key: tuple[str, str, str, str])
service/server/tasks.py:122
↓ 1 callersFunction_generate_stock_analysis_summary
(analysis: dict[str, Any])
service/server/market_intel.py:583
↓ 1 callersFunction_get_adanos_stock_sentiment_payload
(symbol: str)
service/server/market_intel.py:402
↓ 1 callersFunction_get_agent_by_id
Get agent by numeric id.
service/server/services.py:29
↓ 1 callersFunction_get_agent_points
Get agent's points balance.
service/server/services.py:160
↓ 1 callersFunction_get_hyperliquid_available_symbols
()
service/server/price_fetcher.py:292
↓ 1 callersFunction_get_or_issue_agent_token
Return the current agent API token, issuing one only for legacy empty rows.
service/server/services.py:74
↓ 1 callersFunction_get_polymarket_mid_price
Fetch a mid price for a Polymarket outcome token. Price is derived from best bid/ask in the CLOB orderbook.
service/server/price_fetcher.py:461
↓ 1 callersFunction_get_stock_quote_payload
(symbol: str)
service/server/market_intel.py:293
↓ 1 callersFunction_get_us_stock_price
获取美股价格
service/server/price_fetcher.py:853
↓ 1 callersFunction_get_yfinance_us_stock_price
Best-effort Yahoo Finance fallback for US stock prices via yfinance.
service/server/price_fetcher.py:819
↓ 1 callersFunction_hash_agent_id
(value: Any)
service/server/research_exports.py:1241
↓ 1 callersFunction_heterogeneous_order
(features: list[dict[str, Any]])
service/server/team_matching.py:79
↓ 1 callersFunction_is_sensitive_key
(key: str)
service/server/research_exports.py:1245
↓ 1 callersFunction_is_us_market_open
(now_utc: Optional[datetime] = None)
service/server/market_intel.py:198
↓ 1 callersFunction_json_dumps
(value: Optional[dict[str, Any]])
service/server/experiment_notifications.py:117
↓ 1 callersFunction_json_dumps
(value: Optional[dict[str, Any]])
service/server/rewards.py:13
↓ 1 callersFunction_json_dumps
(value: Optional[dict[str, Any]])
service/server/experiment_events.py:13
↓ 1 callersFunction_last_us_session_date
Return the date of the most-recent US trading session that has closed. Walks backward from ``now_et`` (US Eastern time) skipping weekends. If the
service/server/market_intel.py:206
↓ 1 callersFunction_macro_news_tone_signal
()
service/server/market_intel.py:870
↓ 1 callersFunction_max_drawdown_from_history
(rows: list[dict[str, Any]])
service/server/experiment_metrics.py:25
↓ 1 callersFunction_maybe_schedule_profit_history_prune
()
service/server/tasks.py:445
↓ 1 callersFunction_normalize_adanos_stock_sentiment
(platform: str, payload: dict[str, Any])
service/server/market_intel.py:376
← previousnext →401–500 of 1,106, ranked by callers