MCPcopy Create free account

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

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

↓ 1 callersFunction_normalize_key
(value: Optional[str], fallback: str)
service/server/experiments.py:76
↓ 1 callersFunction_normalize_news_item
(item: dict[str, Any])
service/server/market_intel.py:504
↓ 1 callersFunction_normalize_task_market
(market: str | None)
service/server/tasks.py:54
↓ 1 callersFunction_normalize_yfinance_us_symbol
(symbol: str)
service/server/price_fetcher.py:735
↓ 1 callersFunction_online_count
(ctx: RouteContext, rows: list[dict[str, Any]])
service/server/experiment_notifications.py:109
↓ 1 callersFunction_parse_alpha_intraday_timestamp
(raw: Optional[str])
service/server/market_intel.py:170
↓ 1 callersFunction_parse_iso_datetime
(value: Optional[str])
service/server/market_intel.py:149
↓ 1 callersFunction_polymarket_extract_tokens
(market: dict)
service/server/price_fetcher.py:389
↓ 1 callersFunction_polymarket_market_title
(market: Optional[dict])
service/server/price_fetcher.py:191
↓ 1 callersFunction_polymarket_updown_expired_seconds
(symbol: str | None, now_ts: float)
service/server/tasks.py:130
↓ 1 callersFunction_position_key
(market: str, symbol: str, token_id: Any = None, outcome: Any = None)
service/server/challenge_scoring.py:45
↓ 1 callersFunction_position_value
(position: dict[str, Any], mark_price: float)
service/server/challenge_scoring.py:37
↓ 1 callersFunction_postprocess_row
(row: dict[str, Any], columns: list[str], *, anonymize: bool, include_content: bool)
service/server/research_exports.py:1277
↓ 1 callersFunction_preview_rows
(rows: list[dict[str, Any]], limit: int = 20)
service/server/scripts/send_read_conversion_reminders.py:49
↓ 1 callersFunction_price_failure_retry_after
(key: tuple[str, str, str, str], now_ts: float)
service/server/tasks.py:63
↓ 1 callersFunction_primary_experiment_context
(agent_id: int)
service/server/routes_signals.py:100
↓ 1 callersFunction_prune_etf_flow_history
(cursor)
service/server/market_intel.py:1386
↓ 1 callersFunction_prune_macro_signal_history
(cursor)
service/server/market_intel.py:1371
↓ 1 callersFunction_prune_market_news_history
(cursor)
service/server/market_intel.py:1274
↓ 1 callersFunction_prune_profit_history
()
service/server/tasks.py:229
↓ 1 callersFunction_prune_profit_history_unlocked
Tier profit history into high-resolution, 15m, hourly, and daily retention.
service/server/tasks.py:239
↓ 1 callersFunction_prune_stock_analysis_history
(cursor)
service/server/market_intel.py:1401
↓ 1 callersFunction_record_experiment_notice_exposed
(agent_id: int, notice: dict[str, Any], *, surface: str)
service/server/routes_shared.py:416
↓ 1 callersFunction_record_price_failure
(key: tuple[str, str, str, str], now_ts: float)
service/server/tasks.py:91
↓ 1 callersFunction_release_file_lock
(handle)
service/server/worker.py:54
↓ 1 callersFunction_renew_redis_lock
(lock, timeout_seconds: int)
service/server/worker.py:27
↓ 1 callersFunction_replace_sqlite_datetime_functions
(sql: str)
service/server/database.py:182
↓ 1 callersFunction_replace_unquoted_question_marks
Translate sqlite-style placeholders to psycopg placeholders.
service/server/database.py:90
↓ 1 callersFunction_require_challenge_creator
(challenge_key: str, agent_id: int)
service/server/routes_challenges.py:72
↓ 1 callersFunction_reward_points_for_rank
(rules: dict[str, Any], rank: Optional[int])
service/server/challenges.py:1942
↓ 1 callersFunction_rules
(challenge: dict[str, Any])
service/server/challenge_scoring.py:24
↓ 1 callersFunction_run
(args: argparse.Namespace)
service/server/scripts/send_read_conversion_reminders.py:62
↓ 1 callersFunction_sanitize_json_string
(value: Any, *, include_content: bool)
service/server/research_exports.py:1266
↓ 1 callersFunction_sanitize_json_value
(value: Any, *, include_content: bool)
service/server/research_exports.py:1250
↓ 1 callersFunction_score_message_contribution
(cursor: Any, mission: dict[str, Any], team: dict[str, Any], message: dict[str, Any])
service/server/team_missions.py:1006
↓ 1 callersFunction_should_append_returning_id
(sql: str)
service/server/database.py:204
↓ 1 callersFunction_stock_quote_cache_get
(symbol: str)
service/server/market_intel.py:226
↓ 1 callersFunction_team_for_signal_binding
(cursor: Any, *, mission_key: Optional[str], team_key: Optional[str], agent_id: int)
service/server/team_missions.py:790
↓ 1 callersFunction_team_reward_for_rank
(rules: dict[str, Any], rank: int)
service/server/team_missions.py:1153
↓ 1 callersFunction_team_size_max
(challenge: dict[str, Any])
service/server/challenges.py:618
↓ 1 callersFunction_variant_config
(experiment: dict[str, Any], variant_key: str | None)
service/server/routes_signals.py:53
↓ 1 callersFunction_variants_json_payload
(raw_value: Any, variants: list[dict[str, Any]])
service/server/experiments.py:154
↓ 1 callersFunctionacquire_lock
( name: str, timeout_seconds: int = 30, blocking: bool = False, blocking_timeout: Optional[flo
service/server/cache.py:150
↓ 1 callersFunctionagent_experiment_behavior_context
Return active experiment context for high-frequency agent APIs without enrolling new agents.
service/server/experiments.py:313
↓ 1 callersFunctionagent_permissions
(agent: dict | None)
service/server/permissions.py:83
↓ 1 callersFunctionanalyze
(input_dir: str, output_dir: str)
research/scripts/analyze_experiments.py:278
↓ 1 callersFunctionapply_cleanup
(target_agent_ids: set[int] | None = None)
service/server/scripts/cleanup_dirty_trade_data.py:415
↓ 1 callersFunctionapply_delete
(cursor: Any, rows: list[dict[str, Any]])
service/server/scripts/repair_challenge_polymarket_trades.py:141
↓ 1 callersFunctionapply_disqualify
(cursor: Any, rows: list[dict[str, Any]])
service/server/scripts/repair_challenge_polymarket_trades.py:147
↓ 1 callersFunctionapply_exclusions
(cursor: Any, exclusions: list[dict[str, Any]])
service/server/scripts/manage_leaderboard_exclusions.py:270
↓ 1 callersFunctionapply_plan
(cursor: Any, plans: list[RepairPlan], affected_agent_ids: list[int])
service/server/scripts/repair_market_alias_positions.py:220
↓ 1 callersFunctionassign_roles
(members: list[dict[str, Any]], required_roles: list[str])
service/server/team_matching.py:117
↓ 1 callersFunctionbackground_tasks_enabled_for_api
API workers default to HTTP-only; run worker.py for background loops.
service/server/tasks.py:1247
↓ 1 callersFunctionbackup_existing_exclusions
(cursor: Any)
service/server/scripts/manage_leaderboard_exclusions.py:241
↓ 1 callersFunctionbuildLeaderboardChartData
( profitHistory: any[], chartRange: LeaderboardChartRange, language: Language, chartMetric: Leaderboar
service/frontend/src/appShared.tsx:152
↓ 1 callersFunctionbuild_agent_password_reset_challenge
Build a human-readable challenge message for wallet-signed password reset.
service/server/utils.py:58
↓ 1 callersFunctionbuild_backup_payload
(cursor: Any, suspicious_rows: list[dict[str, Any]])
service/server/scripts/cleanup_dirty_trade_data.py:269
↓ 1 callersFunctionbuild_backup_payload
(cursor: Any, markets: list[str])
service/server/scripts/repair_market_alias_positions.py:110
↓ 1 callersFunctionbuild_exclusions
(cursor: Any, max_return_pct: float)
service/server/scripts/manage_leaderboard_exclusions.py:159
↓ 1 callersFunctionbuild_features
(input_dir: str, output_dir: str)
research/scripts/build_agent_features.py:24
↓ 1 callersFunctionbuild_parser
()
research/scripts/build_network_edges.py:13
↓ 1 callersFunctionbuild_parser
()
research/scripts/export_research_dataset.py:16
↓ 1 callersFunctionbuild_payload
( track: TrackSpec, start: datetime, end: datetime, *, initial_capital: float, max_pos
service/server/scripts/monthly_challenges.py:130
↓ 1 callersFunctionbuild_price_repair
(row: dict[str, Any], quote: float, repaired_at: str)
service/server/scripts/repair_challenge_trade_prices.py:118
↓ 1 callersFunctionbuild_repair_plan
(cursor: Any, markets: list[str], *, fetch_prices: bool = True)
service/server/scripts/repair_market_alias_positions.py:162
↓ 1 callersFunctionbuild_symbol_repair
( row: dict[str, Any], candidate_symbols: set[str], quote_cache: dict[tuple[str, str, str], float
service/server/scripts/repair_challenge_trade_prices.py:156
↓ 1 callersFunctioncancel_challenge
(challenge_key: str, agent_id: int)
service/server/challenges.py:2118
↓ 1 callersFunctioncandidate_symbols_by_challenge
(rows: list[dict[str, Any]])
service/server/scripts/repair_challenge_trade_prices.py:216
↓ 1 callersFunctionchallenge_exists
(challenge_key: str)
service/server/scripts/monthly_challenges.py:76
↓ 1 callersFunctioncheck_price_api_rate_limit
(ctx: RouteContext, agent_id: int)
service/server/routes_shared.py:217
↓ 1 callersFunctioncleanup_expired_tokens
Clean up expired user tokens.
service/server/utils.py:96
↓ 1 callersFunctioncompute_metrics
(input_dir: str, output_dir: str)
research/scripts/compute_metrics.py:11
↓ 1 callersFunctioncontribution_score_for_message
(message: Any)
service/server/team_scoring.py:20
↓ 1 callersFunctioncontribution_score_for_submission
(submission: Any)
service/server/team_scoring.py:36
↓ 1 callersFunctioncopy_table
(sqlite_conn: sqlite3.Connection, pg_conn: psycopg.Connection, table: str)
service/server/scripts/migrate_sqlite_to_postgres.py:132
↓ 1 callersFunctioncreate_submission
(challenge_key: str, agent_id: int, data: Any)
service/server/challenges.py:1222
↓ 1 callersFunctioncreate_team_for_mission
(mission_key: str, agent_id: int, data: Any = None)
service/server/team_missions.py:465
↓ 1 callersFunctiondescribe_polymarket_contract
Return human-readable Polymarket metadata for UI/documentation.
service/server/price_fetcher.py:201
↓ 1 callersFunctiondetect_duplicate_content
( content: str, *, agent_id: Optional[int] = None, signal_id: Optional[int] = None, cursor
service/server/signal_quality.py:36
↓ 1 callersFunctiondid_rows
(rows: list[dict[str, Any]], metric: str, family: str)
research/scripts/analyze_experiments.py:132
↓ 1 callersFunctiondownloadCsv
(filename: string)
service/frontend/src/ResearchExportsPage.tsx:88
↓ 1 callersFunctiondry_run
(target_agent_ids: set[int] | None = None)
service/server/scripts/cleanup_dirty_trade_data.py:545
↓ 1 callersFunctionensure_exclusion_table
(cursor: Any)
service/server/scripts/manage_leaderboard_exclusions.py:70
↓ 1 callersFunctionexperiment_unread_notice
Return a small non-destructive unread experiment notice for API responses.
service/server/routes_shared.py:274
↓ 1 callersFunctionexport_agents_csv
(output_dir: str | Path, **filters: Any)
service/server/research_exports.py:1549
↓ 1 callersFunctionexport_challenge_tables
( output_dir: str | Path, *, start_at: Optional[str] = None, end_at: Optional[str] = None,
service/server/research_exports.py:445
↓ 1 callersFunctionexport_signals_csv
(output_dir: str | Path, **filters: Any)
service/server/research_exports.py:1557
↓ 1 callersFunctionexport_team_tables
(output_dir: str | Path, **filters: Any)
service/server/research_exports.py:1581
↓ 1 callersFunctionextract_mentions
(content: str)
service/server/routes_shared.py:539
↓ 1 callersFunctionextract_prediction_from_signal
( signal: Any, *, cursor: Any = None, extracted_by: str = MODEL_VERSION, )
service/server/signal_quality.py:77
↓ 1 callersFunctionfetchAgentInfo
()
service/frontend/src/App.tsx:94
↓ 1 callersFunctionfetchUnreadSummary
()
service/frontend/src/App.tsx:125
↓ 1 callersFunctionfetch_challenge_export_rows
( filename: str, *, start_at: Optional[str] = None, end_at: Optional[str] = None, experime
service/server/research_exports.py:346
↓ 1 callersFunctionfetch_invalid_rows
(cursor: Any, challenge_key: str | None, include_settled: bool)
service/server/scripts/repair_challenge_polymarket_trades.py:48
↓ 1 callersFunctionfetch_price
(row: dict[str, Any])
service/server/tasks.py:571
↓ 1 callersFunctionfetch_trade_rows
(cursor: Any, challenge_key: str | None, market: str | None, trade_ids: list[int])
service/server/scripts/repair_challenge_trade_prices.py:86
↓ 1 callersFunctionfix_agent_by_name
Reset agent cash to initial capital and delete their profit_history (cleans chart).
service/server/scripts/fix_agent_profit.py:25
↓ 1 callersFunctionformatLeaderboardLabel
(date: Date, chartRange: LeaderboardChartRange, language: Language)
service/frontend/src/appShared.tsx:137
↓ 1 callersFunctionformatTime
(timeStr: string | undefined | null)
service/frontend/src/AppPages.tsx:1302
↓ 1 callersFunctionformat_polymarket_reference
(reference: str)
service/server/routes_shared.py:164
← previousnext →501–600 of 1,106, ranked by callers