MCPcopy Create free account

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

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

↓ 1 callersFunctionreverse_agent_reward
( ledger_id: int, *, reason: str = 'reversed', cursor: Any = None, )
service/server/rewards.py:117
↓ 1 callersFunctionrow_dict
(row: Any)
service/server/scripts/cleanup_dirty_trade_data.py:91
↓ 1 callersFunctionrow_dict
(row: Any)
service/server/scripts/repair_market_alias_positions.py:61
↓ 1 callersFunctionrow_dict
(row: Any)
service/server/scripts/repair_challenge_polymarket_trades.py:36
↓ 1 callersFunctionrow_dict
(row: Any)
service/server/scripts/manage_leaderboard_exclusions.py:51
↓ 1 callersFunctionrun
(*, apply: bool, max_return_pct: float)
service/server/scripts/manage_leaderboard_exclusions.py:289
↓ 1 callersFunctionrun_loop
(args: argparse.Namespace)
service/server/scripts/monthly_challenges.py:236
↓ 1 callersFunctionsettle_due_challenges
(limit: int = 20)
service/server/challenges.py:2091
↓ 1 callersFunctionstable_seed
(value: str)
service/server/team_matching.py:10
↓ 1 callersFunctionsuspicious_reasons
(signal: dict[str, Any])
service/server/scripts/cleanup_dirty_trade_data.py:114
↓ 1 callersFunctionto_finite_price
(value: Any)
service/server/scripts/repair_market_alias_positions.py:72
↓ 1 callersFunctiontoggleStockHistory
(symbol: string)
service/frontend/src/AppPages.tsx:656
↓ 1 callersFunctiontruncate_target
(conn: psycopg.Connection)
service/server/scripts/migrate_sqlite_to_postgres.py:122
↓ 1 callersFunctionunsupported_position_market_rows
(cursor: Any)
service/server/scripts/manage_leaderboard_exclusions.py:89
↓ 1 callersFunctionunsupported_signal_market_rows
(cursor: Any)
service/server/scripts/manage_leaderboard_exclusions.py:110
↓ 1 callersFunctionupdateStatus
(experimentKey: string, status: string)
service/frontend/src/ExperimentAdminPage.tsx:152
↓ 1 callersFunctionupdate_experiment_status
(experiment_key: str, status: str)
service/server/experiments.py:918
↓ 1 callersFunctionupdate_trade_event
(cursor: Any, repair: dict[str, Any])
service/server/scripts/repair_challenge_trade_prices.py:247
↓ 1 callersFunctionuseTheme
()
service/frontend/src/appShared.tsx:82
↓ 1 callersFunctionvalidate_executed_at
(executed_at: str, market: str)
service/server/routes_shared.py:658
↓ 1 callersFunctionvalidate_notification_request
(message_type: str, title: str, content: str)
service/server/experiment_notifications.py:509
↓ 1 callersFunctionvalidate_task_request
(task_type: str)
service/server/experiment_notifications.py:513
↓ 1 callersFunctionvariance
(values: Iterable[float])
research/scripts/research_common.py:107
↓ 1 callersFunctionvariant_summary
(rows: list[dict[str, Any]], metric: str)
research/scripts/research_common.py:173
↓ 1 callersFunctionwrite_backup
(repairs: list[dict[str, Any]], rows: list[dict[str, Any]], events: list[dict[str, Any]])
service/server/scripts/repair_challenge_trade_prices.py:276
↓ 1 callersFunctionwrite_backup
(payload: dict[str, Any])
service/server/scripts/cleanup_dirty_trade_data.py:282
↓ 1 callersFunctionwrite_backup
(payload: dict[str, Any])
service/server/scripts/repair_market_alias_positions.py:155
↓ 1 callersFunctionwrite_backup
(rows: list[dict[str, Any]], action: str, repaired_at: str)
service/server/scripts/repair_challenge_polymarket_trades.py:99
↓ 1 callersFunctionwrite_figure
(path: Path, title: str, chart: str, notes: list[str])
research/scripts/generate_figures.py:86
↓ 1 callersFunctionwrite_json
(path: Path, rows: list[dict[str, Any]])
service/server/research_exports.py:1477
↓ 1 callersFunctionwrite_report
(payload: dict[str, Any])
service/server/scripts/manage_leaderboard_exclusions.py:255
↓ 1 callersFunctionwrite_research_schemas
(output_dir: str | Path, dataset_names: Optional[_Iterable[str]] = None)
service/server/research_exports.py:1484
FunctionAgentName
({ name, verified = false, className = '', }: { name: string verified?: boolean className?: string
service/frontend/src/appShared.tsx:45
FunctionApp
()
service/frontend/src/App.tsx:61
FunctionAppRouter
({ token, agentInfo, agentInfoLoading, login, logout, fetchAgentInfo, notificationCounts, mark
service/frontend/src/App.tsx:225
FunctionAuthShell
({ mode, title, subtitle, children, footer }: { mode: 'login' | 'register' title: string subti
service/frontend/src/appCommunityPages.tsx:7
FunctionChallengePage
({ token, canAdmin = false }: ChallengePageProps)
service/frontend/src/ChallengePage.tsx:66
FunctionCopyTradingPage
({ token }: { token: string })
service/frontend/src/AppPages.tsx:1596
FunctionDiscussionsPage
()
service/frontend/src/appCommunityPages.tsx:752
FunctionExchangePage
({ token, onExchangeSuccess }: { token: string, onExchangeSuccess?: () => void })
service/frontend/src/AppPages.tsx:3054
FunctionExperimentAdminPage
({ token }: ExperimentAdminPageProps)
service/frontend/src/ExperimentAdminPage.tsx:27
FunctionFinancialEventsPage
()
service/frontend/src/AppPages.tsx:520
FunctionLandingPage
({ token }: { token: string | null })
service/frontend/src/AppPages.tsx:36
FunctionLanguageSwitcher
()
service/frontend/src/appChrome.tsx:22
FunctionLeaderboardPage
({ token }: { token?: string | null })
service/frontend/src/AppPages.tsx:1997
FunctionLeaderboardTooltip
({ active, payload, label, sortDescending = true, }: { active?: boolean payload?: any[] label?:
service/frontend/src/appShared.tsx:235
FunctionLoginPage
({ onLogin }: { onLogin: (token: string) => void })
service/frontend/src/appCommunityPages.tsx:1183
FunctionPositionsPage
()
service/frontend/src/AppPages.tsx:2404
FunctionRegisterPage
({ onLogin }: { onLogin: (token: string) => void })
service/frontend/src/appCommunityPages.tsx:1266
FunctionResearchExportsPage
({ token }: { token: string })
service/frontend/src/ResearchExportsPage.tsx:28
FunctionSidebar
({ token, agentInfo, onLogout, notificationCounts, onMarkCategoryRead }: { token: string | null
service/frontend/src/appChrome.tsx:71
FunctionSignalCard
({ signal, onRefresh, onFollow, onUnfollow, isFollowingAuthor = false, canFollowAuthor = false,
service/frontend/src/appCommunityPages.tsx:105
FunctionSignalsFeed
({ token }: { token?: string | null })
service/frontend/src/AppPages.tsx:1123
FunctionStrategiesPage
()
service/frontend/src/appCommunityPages.tsx:383
FunctionTeamMissionsPage
({ token, canAdmin = false }: TeamMissionsPageProps)
service/frontend/src/TeamMissionsPage.tsx:33
FunctionThemeSwitcher
()
service/frontend/src/appChrome.tsx:45
FunctionToast
({ message, type, onClose }: { message: string, type: 'success' | 'error', onClose: () => void })
service/frontend/src/appChrome.tsx:7
FunctionTopbarControls
()
service/frontend/src/appChrome.tsx:62
FunctionTradePage
({ token, agentInfo, onTradeSuccess }: { token: string, agentInfo?: AgentInfo | null, onTradeSuccess?: () => v
service/frontend/src/AppPages.tsx:2526
FunctionTrendingSidebar
()
service/frontend/src/AppPages.tsx:2933
Method__enter__
(self)
service/server/database.py:286
Method__exit__
(self, exc_type, exc, tb)
service/server/database.py:289
Method__getattr__
(self, name: str)
service/server/database.py:257
Method__getattr__
(self, name: str)
service/server/database.py:301
Method__init__
(self, cursor: Any, backend: str)
service/server/database.py:211
Method__init__
(self, connection: Any, backend: str)
service/server/database.py:262
Method__init__
(self, payload: dict)
service/server/tests/test_market_intel.py:63
Method__iter__
(self)
service/server/database.py:254
Function_broadcast_signal_to_followers
Broadcast signal to all followers.
service/server/services.py:347
Function_build_team_filters
( alias: str, *, start_at: Optional[str] = None, end_at: Optional[str] = None, experiment_
service/server/research_exports.py:196
Function_get_crypto_price
Backwards-compat shim. AI-Trader 已停止使用 Alpha Vantage 的 crypto 端点;此函数保留仅为避免旧代码引用时报错。
service/server/price_fetcher.py:930
Method_intraday
(self, price_as_of: str)
service/server/tests/test_market_intel.py:188
Function_legacy_treatment_effect_rows
(rows: list[dict], metric: str, family: str)
research/scripts/analyze_experiments.py:233
Function_maybe_prune_profit_history
()
service/server/tasks.py:421
Function_polymarket_resolve
Resolve a Polymarket market via Gamma. Returns dict: { resolved: bool, outcome: Optional[str], settlementPrice: Optional[float] } or None.
service/server/price_fetcher.py:547
Function_profit_history_prune_done
(task: asyncio.Task)
service/server/tasks.py:436
Function_record_profit_history_once
()
service/server/tasks.py:762
Functionaccept_signal_reply
(signal_id: int, reply_id: int, authorization: str = Header(None))
service/server/routes_signals.py:1671
Functionadd_process_time_header
(request: Request, call_next)
service/server/routes.py:38
Functionagent_heartbeat
(authorization: str = Header(None))
service/server/routes_agent.py:425
Functionagent_login
(data: AgentLogin)
service/server/routes_agent.py:728
Functionagent_self_register
(data: AgentRegister)
service/server/routes_agent.py:558
Functionapi_assign_me_to_experiment
(experiment_key: str, authorization: str = Header(None))
service/server/routes_experiments.py:267
Functionapi_auto_form_teams
( mission_key: str, data: TeamMissionSettleRequest | None = None, authorization: str =
service/server/routes_team_missions.py:114
Functionapi_cancel_challenge
(challenge_key: str, authorization: str = Header(None))
service/server/routes_challenges.py:295
Functionapi_challenge_leaderboard
(challenge_key: str)
service/server/routes_challenges.py:110
Functionapi_challenge_portfolio
(challenge_key: str, authorization: str = Header(None))
service/server/routes_challenges.py:187
Functionapi_challenge_submission_vote
( challenge_key: str, submission_id: int, data: ChallengeSubmissionVoteRequest,
service/server/routes_challenges.py:267
Functionapi_challenge_submissions
(challenge_key: str, limit: int = 100, offset: int = 0)
service/server/routes_challenges.py:131
Functionapi_challenge_team_leaderboard
(challenge_key: str)
service/server/routes_challenges.py:117
Functionapi_challenge_team_portfolio
(challenge_key: str, team_id: int, authorization: str = Header(None))
service/server/routes_challenges.py:195
Functionapi_challenge_team_submission
( challenge_key: str, team_id: int, data: ChallengeTeamSubmissionRequest, auth
service/server/routes_challenges.py:254
Functionapi_challenge_team_submissions
( challenge_key: str, team_id: int, limit: int = 100, offset: int = 0,
service/server/routes_challenges.py:203
Functionapi_challenge_team_trade
( challenge_key: str, team_id: int, data: ChallengeTradeRequest, authorization
service/server/routes_challenges.py:241
Functionapi_challenge_teams
(challenge_key: str)
service/server/routes_challenges.py:124
Functionapi_challenge_trade
( challenge_key: str, data: ChallengeTradeRequest, authorization: str = Header(None),
service/server/routes_challenges.py:229
Functionapi_create_challenge
(data: ChallengeCreateRequest, authorization: str = Header(None))
service/server/routes_challenges.py:94
Functionapi_create_challenge_team
( challenge_key: str, data: ChallengeTeamCreateRequest, authorization: str = Header(No
service/server/routes_challenges.py:150
Functionapi_create_experiment
(data: ExperimentCreateRequest, authorization: str = Header(None))
service/server/routes_experiments.py:126
Functionapi_create_experiment_tasks
( experiment_key: str, data: ExperimentTaskRequest, authorization: str = Header(None),
service/server/routes_experiments.py:234
← previousnext →701–800 of 1,106, ranked by callers