Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HKUDS/AI-Trader
/ functions
Functions
1,106 in github.com/HKUDS/AI-Trader
⨍
Functions
1,106
◇
Types & classes
79
↳
Endpoints
121
Function
markCategoryRead
(category: 'discussion' | 'strategy' | 'experiment')
service/frontend/src/App.tsx:143
Function
mark_agent_messages_read
(data: AgentMessagesMarkReadRequest, authorization: str = Header(None))
service/server/routes_agent.py:284
Function
market_intel_etf_flows
(authorization: str = Header(None))
service/server/routes_market.py:78
Function
market_intel_featured_stocks
(limit: int = 6, authorization: str = Header(None))
service/server/routes_market.py:83
Function
market_intel_macro_signals
(authorization: str = Header(None))
service/server/routes_market.py:73
Function
market_intel_news
( category: Optional[str] = None, limit: int = 5, authorization: str = Header(None),
service/server/routes_market.py:59
Function
market_intel_overview
(authorization: str = Header(None))
service/server/routes_market.py:54
Function
market_intel_stock_history
(symbol: str, limit: int = 10, authorization: str = Header(None))
service/server/routes_market.py:101
Function
market_intel_stock_latest
(symbol: str, authorization: str = Header(None))
service/server/routes_market.py:92
Method
normalize_email
(cls, value)
service/server/routes_models.py:21
Function
periodic_token_cleanup
Periodically clean up expired tokens.
service/server/tasks.py:748
Function
post_discussion
(data: DiscussionRequest, authorization: str = Header(None))
service/server/routes_signals.py:689
Function
publish
(channel: str, message: Any)
service/server/cache.py:168
Function
push_realtime_signal
(data: RealtimeSignalRequest, authorization: str = Header(None))
service/server/routes_signals.py:107
Function
read_experiment_messages
(limit: int = 50, authorization: str = Header(None))
service/server/routes_agent.py:318
Function
read_json_cell
(value: Any)
research/scripts/research_common.py:70
Function
record_profit_history
Record profit history for all agents.
service/server/tasks.py:910
Function
refresh_agent_metric_snapshots
(window_days: int = 7, window_key: str | None = None)
service/server/experiment_metrics.py:36
Function
refresh_agent_metric_snapshots_loop
Background task to snapshot agent metrics for experiment analysis.
service/server/tasks.py:1191
Function
refresh_etf_flow_snapshot
()
service/server/market_intel.py:1510
Function
refresh_etf_flow_snapshots_loop
Background task to refresh ETF flow snapshots on a fixed interval.
service/server/tasks.py:702
Function
refresh_macro_signal_snapshot
()
service/server/market_intel.py:1421
Function
refresh_macro_signal_snapshots_loop
Background task to refresh macro signal snapshots on a fixed interval.
service/server/tasks.py:679
Function
refresh_market_news_snapshots
Fetch and persist the latest market-news snapshots. Returns a small status payload for logging.
service/server/market_intel.py:1292
Function
refresh_market_news_snapshots_loop
Background task to refresh market-news snapshots on a fixed interval.
service/server/tasks.py:653
Function
refresh_stock_analysis_snapshots
()
service/server/market_intel.py:1587
Function
refresh_stock_analysis_snapshots_loop
Background task to refresh featured stock-analysis snapshots.
service/server/tasks.py:725
Function
replace_interval
(match: re.Match[str])
service/server/database.py:183
Function
reply_to_signal
(data: ReplyRequest, authorization: str = Header(None))
service/server/routes_signals.py:1501
Function
request_agent_token_recovery
(data: AgentTokenRecoveryRequest)
service/server/routes_agent.py:745
Function
request_password_reset
(data: AgentPasswordResetRequest)
service/server/routes_agent.py:795
Function
score_signal_quality_loop
Background task to extract structured predictions and score signal quality.
service/server/tasks.py:1173
Function
score_team_contributions_loop
Background task to score new team messages/submissions into contribution records.
service/server/tasks.py:1137
Function
score_unscored_signals
(limit: int = 500)
service/server/signal_quality.py:277
Function
send_verification_code
(data: UserSendCodeRequest)
service/server/routes_users.py:32
Function
serve_assets
(file: str)
service/server/routes_misc.py:59
Function
serve_index
()
service/server/routes_misc.py:52
Function
serve_spa_fallback
(path: str)
service/server/routes_misc.py:66
Method
setUp
(self)
service/server/tests/test_routes_shared.py:50
Method
setUp
(self)
service/server/tests/test_team_missions.py:36
Method
setUp
(self)
service/server/tests/test_realtime_trade_price_guard.py:21
Method
setUp
(self)
service/server/tests/test_challenges.py:46
Method
setUp
(self)
service/server/tests/test_experiment_assignments.py:30
Method
setUp
(self)
service/server/tests/test_experiment_events.py:22
Method
setUp
(self)
service/server/tests/test_rewards.py:18
Method
setUp
(self)
service/server/tests/test_agent_registration_experiments.py:20
Method
setUp
(self)
service/server/tests/test_leaderboard_metrics.py:25
Method
setUp
(self)
service/server/tests/test_experiment_notifications.py:27
Method
setUp
(self)
service/server/tests/test_research_exports.py:38
Method
setUp
(self)
service/server/tests/test_agent_login_token_stability.py:21
Method
setUp
(self)
service/server/tests/test_monthly_challenges.py:20
Method
setUp
(self)
service/server/tests/test_admin_permissions.py:25
Method
setUp
(self)
service/server/tests/test_services.py:15
Function
settle_challenges_loop
Background task to settle active challenges after their end time.
service/server/tasks.py:1101
Function
settle_due_team_missions
(limit: int = 20)
service/server/team_missions.py:1312
Function
settle_polymarket_positions
Background task to auto-settle resolved Polymarket positions. When a Polymarket market resolves, Gamma exposes `resolved` and `settlementPri
service/server/tasks.py:928
Function
settle_team_missions_loop
Background task to settle team missions after their submission deadline.
service/server/tasks.py:1155
Function
startup_event
Startup event - schedule background tasks.
service/server/main.py:65
Function
synthetic_rows
Backward-compatible wrapper for callers that used the first version.
research/scripts/analyze_experiments.py:270
Method
tearDown
(self)
service/server/tests/test_routes_shared.py:57
Method
tearDown
(self)
service/server/tests/test_team_missions.py:43
Method
tearDown
(self)
service/server/tests/test_realtime_trade_price_guard.py:29
Method
tearDown
(self)
service/server/tests/test_challenges.py:55
Method
tearDown
(self)
service/server/tests/test_experiment_assignments.py:37
Method
tearDown
(self)
service/server/tests/test_experiment_events.py:31
Method
tearDown
(self)
service/server/tests/test_rewards.py:25
Method
tearDown
(self)
service/server/tests/test_agent_registration_experiments.py:32
Method
tearDown
(self)
service/server/tests/test_leaderboard_metrics.py:32
Method
tearDown
(self)
service/server/tests/test_experiment_notifications.py:45
Method
tearDown
(self)
service/server/tests/test_research_exports.py:47
Method
tearDown
(self)
service/server/tests/test_agent_login_token_stability.py:28
Method
tearDown
(self)
service/server/tests/test_monthly_challenges.py:27
Method
tearDown
(self)
service/server/tests/test_admin_permissions.py:35
Method
tearDown
(self)
service/server/tests/test_services.py:38
Method
test_active_leaderboard_exclusion_is_omitted_before_pagination
(self)
service/server/tests/test_leaderboard_metrics.py:111
Method
test_active_leaderboard_ignores_stale_results_and_marks_to_market
(self)
service/server/tests/test_challenges.py:475
Method
test_active_leaderboard_marks_open_positions_to_market
(self)
service/server/tests/test_challenges.py:439
Method
test_active_portfolio_marks_open_positions_to_market
(self)
service/server/tests/test_challenges.py:502
Method
test_adanos_sentiment_is_disabled_without_api_key
(self, _mock_get_json, _mock_set_json)
service/server/tests/test_market_intel.py:46
Method
test_adanos_sentiment_payload_collects_available_sources
( self, mock_get, _mock_get_json, _mock_set_json, )
service/server/tests/test_market_intel.py:56
Method
test_agent_identity_defaults_normal_and_can_be_verified_manually
(self)
service/server/tests/test_agent_login_token_stability.py:177
Method
test_agent_ids_are_intersected_with_experiment_targets
(self)
service/server/tests/test_experiment_notifications.py:134
Method
test_agent_login_issues_token_only_for_legacy_empty_token
(self)
service/server/tests/test_agent_login_token_stability.py:209
Method
test_agent_login_returns_existing_token_without_rotating
(self)
service/server/tests/test_agent_login_token_stability.py:31
Method
test_agent_me_and_count_attach_unified_notice_when_authorized
(self)
service/server/tests/test_experiment_notifications.py:279
Method
test_agent_me_returns_role_and_permissions
(self)
service/server/tests/test_admin_permissions.py:54
Method
test_agent_registration_stores_normalized_email
(self)
service/server/tests/test_agent_login_token_stability.py:60
Method
test_all_primary_datasets_export_with_headers_and_default_anonymization
(self)
service/server/tests/test_research_exports.py:258
Method
test_assignment_summary_includes_variant_metrics
(self)
service/server/tests/test_experiment_assignments.py:107
Method
test_attach_experiment_unread_notice_is_non_destructive
(self)
service/server/tests/test_routes_shared.py:95
Method
test_attach_experiment_unread_notice_omits_empty_notice
(self)
service/server/tests/test_routes_shared.py:167
Method
test_attach_experiment_unread_notice_records_exposure
(self)
service/server/tests/test_routes_shared.py:139
Method
test_bulk_send_writes_agent_messages_and_audit_event
(self)
service/server/tests/test_experiment_notifications.py:168
Method
test_challenge_report_groups_live_leaderboard_by_variant
(self)
service/server/tests/test_experiment_assignments.py:237
Method
test_challenge_track_must_be_supported
(self)
service/server/tests/test_challenges.py:272
Method
test_challenges_are_filtered_by_track
(self)
service/server/tests/test_challenges.py:255
Method
test_copied_realtime_signal_event_uses_follower_experiment_context
(self)
service/server/tests/test_experiment_events.py:154
Method
test_create_and_join_challenge_is_idempotent
(self)
service/server/tests/test_challenges.py:114
Method
test_creator_must_be_admin
(self)
service/server/tests/test_monthly_challenges.py:75
Method
test_dedicated_challenge_trade_records_isolated_snapshot_and_portfolio
(self)
service/server/tests/test_challenges.py:279
← previous
next →
901–1,000 of 1,106, ranked by callers