MCPcopy Create free account

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

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

↓ 4 callersFunctionnow_z
()
service/server/scripts/manage_leaderboard_exclusions.py:47
↓ 4 callersMethodraise_for_status
(self)
service/server/tests/test_market_intel.py:66
↓ 4 callersFunctionrecord_signal_event
( event_type: str, *, agent_id: int, signal_id: int, message_type: str, market: Option
service/server/experiment_events.py:97
↓ 4 callersFunctionrecover_signed_address
Recover an Ethereum address from a signed challenge.
service/server/utils.py:77
↓ 4 callersFunctionscore_challenge_results
( challenge: Any, participants: list[Any], trades_by_agent: dict[int, list[Any]], mark_prices:
service/server/challenge_scoring.py:297
↓ 4 callersFunctionstable_bucket
(experiment_key: str, unit_type: str, unit_id: int | str, *, salt: str = "")
service/server/experiments.py:384
↓ 4 callersFunctionsvg_text
(x: int, y: int, text: str, size: int = 18, weight: int = 400)
research/scripts/generate_figures.py:17
↓ 3 callersFunction_agent_matches_env
(agent: dict, env_var: str)
service/server/permissions.py:46
↓ 3 callersFunction_assert_team_member
(cursor: Any, team_id: int, agent_id: int)
service/server/team_missions.py:708
↓ 3 callersMethod_assign
(self, agent_id: int, variant_key: str)
service/server/tests/test_experiment_notifications.py:64
↓ 3 callersFunction_avg
(values: list[float])
service/server/experiments.py:211
↓ 3 callersMethod_create_agent
(self, name: str, role: str)
service/server/tests/test_admin_permissions.py:38
↓ 3 callersFunction_create_submission_with_cursor
( cursor: Any, challenge: dict[str, Any], agent_id: int, submission_type: str, content: Op
service/server/challenges.py:1247
↓ 3 callersFunction_env_bool
(name: str, default: bool = False)
service/server/tasks.py:32
↓ 3 callersFunction_fetch_participants_and_trades
(cursor: Any, challenge_id: int)
service/server/challenges.py:1865
↓ 3 callersFunction_hyperliquid_post
(payload: dict)
service/server/price_fetcher.py:281
↓ 3 callersMethod_insert_profit_history
(self, agent_id: int, profit: float, recorded_at: str)
service/server/tests/test_leaderboard_metrics.py:69
↓ 3 callersFunction_insert_team_member
( cursor: Any, mission: dict[str, Any], team: dict[str, Any], agent_id: int, *, role:
service/server/team_missions.py:412
↓ 3 callersFunction_insert_team_message
( cursor: Any, mission: dict[str, Any], team: dict[str, Any], agent_id: int, *, signal
service/server/team_missions.py:749
↓ 3 callersFunction_list_challenge_teams_with_cursor
(cursor: Any, challenge_id: int)
service/server/challenges.py:676
↓ 3 callersFunction_mark_price
(marks: dict[Any, float], key: PositionKey)
service/server/challenge_scoring.py:54
↓ 3 callersFunction_normalize_key
(key: Optional[str], title: str, prefix: str)
service/server/team_missions.py:81
↓ 3 callersFunction_normalize_us_stock_symbol
(symbol: Optional[str])
service/server/market_intel.py:793
↓ 3 callersFunction_parse_dt
(value: Optional[str])
service/server/experiments.py:86
↓ 3 callersFunction_portfolio_value
(cash: float, positions: dict[PositionKey, dict[str, Any]], marks: dict[Any, float])
service/server/challenge_scoring.py:61
↓ 3 callersFunction_price_failure_cache_key
(key: tuple[str, str, str, str])
service/server/tasks.py:85
↓ 3 callersFunction_request_json_with_retry
( provider: str, method: str, url: str, *, params: Optional[dict] = None, json_payload
service/server/price_fetcher.py:110
↓ 3 callersFunction_resolve_skill_path
(skill_name: Optional[str] = None)
service/server/routes_misc.py:8
↓ 3 callersFunction_resolve_variant
(cursor: Any, experiment_key: Optional[str], agent_id: int, requested_variant: Optional[str])
service/server/challenges.py:474
↓ 3 callersFunction_resolve_variant
(cursor: Any, experiment_key: Optional[str], agent_id: int, requested_variant: Optional[str])
service/server/team_missions.py:158
↓ 3 callersFunction_safe_float
(value: Any, default: float = 0.0)
service/server/experiments.py:203
↓ 3 callersFunction_serialize_challenge_team
(row: Any, *, members: Optional[list[dict[str, Any]]] = None)
service/server/challenges.py:632
↓ 3 callersFunction_stock_quote_cache_set
(symbol: str, payload: dict[str, Any], ttl_seconds: int)
service/server/market_intel.py:243
↓ 3 callersFunction_time_series_payload
(rows: dict)
service/server/tests/test_price_fetcher.py:14
↓ 3 callersFunction_update_position_from_signal
Update position based on trading signal. - buy: increase long position - sell: decrease/close long position - short: increase short p
service/server/services.py:190
↓ 3 callersFunctionagent_capability_set
(agent: dict | None)
service/server/permissions.py:63
↓ 3 callersFunctionagent_role
(agent: dict | None)
service/server/permissions.py:55
↓ 3 callersFunctionauto_form_teams
(mission_key: str, assignment_mode: Optional[str] = None)
service/server/team_missions.py:557
↓ 3 callersFunctionbootstrap_ci
(values: list[float])
research/scripts/research_common.py:139
↓ 3 callersFunctionbuild_agent_token_recovery_challenge
Build a human-readable challenge message for wallet-signed token recovery.
service/server/utils.py:39
↓ 3 callersFunctiondefaultSymbolForTrack
(value: string)
service/frontend/src/ChallengePage.tsx:50
↓ 3 callersFunctiondefaultTradeSymbolForChallenge
(challenge: any)
service/frontend/src/ChallengePage.tsx:62
↓ 3 callersFunctionensure_variant
(variant_key: Optional[str])
service/server/experiments.py:817
↓ 3 callersFunctionequity_for_display
(profit: float, deposited: float)
service/server/routes_trading.py:47
↓ 3 callersFunctionexperiment_config
(value: Any)
service/server/experiments.py:102
↓ 3 callersFunctiongetCurrentETTime
()
service/frontend/src/appShared.tsx:348
↓ 3 callersFunctiongetMarketLabel
(code: string)
service/frontend/src/AppPages.tsx:1286
↓ 3 callersFunctionget_experiment_enrollment_max_unit_id
(experiment_key: str)
service/server/experiments.py:184
↓ 3 callersFunctionget_short_cached_payload
( ctx: RouteContext, local_cache: dict[Any, tuple[float, Any]], redis_key: str, ttl_seconds: i
service/server/routes_shared.py:230
↓ 3 callersFunctionget_team_mission_leaderboard
(mission_key: str)
service/server/team_missions.py:1276
↓ 3 callersFunctioninvalidate_signal_read_caches
(ctx: RouteContext, refresh_trending: bool = False)
service/server/routes_shared.py:741
↓ 3 callersFunctioniso
(dt: datetime)
service/server/tests/test_leaderboard_metrics.py:20
↓ 3 callersFunctioniso
(dt: datetime)
service/server/tests/test_admin_permissions.py:20
↓ 3 callersFunctionloadExperiments
()
service/frontend/src/ExperimentAdminPage.tsx:61
↓ 3 callersFunctionloadList
()
service/frontend/src/TeamMissionsPage.tsx:79
↓ 3 callersFunctionloadList
( nextStatus: 'upcoming' | 'active' | 'settled' = status, nextTrack: ChallengeTrack = track, )
service/frontend/src/ChallengePage.tsx:135
↓ 3 callersFunctionloadMine
()
service/frontend/src/TeamMissionsPage.tsx:62
↓ 3 callersFunctionloadTeam
()
service/frontend/src/TeamMissionsPage.tsx:117
↓ 3 callersFunctionmarketLabel
(value: string, language: string)
service/frontend/src/TeamMissionsPage.tsx:29
↓ 3 callersFunctionnormalize_crypto_symbol
(symbol: Any)
service/server/scripts/repair_market_alias_positions.py:95
↓ 3 callersFunctionnow_z
()
service/server/scripts/repair_market_alias_positions.py:57
↓ 3 callersFunctionposition_price_cache_key
(row: Any)
service/server/routes_shared.py:548
↓ 3 callersFunctionprofit_percent_for_display
(profit: float, deposited: float)
service/server/routes_trading.py:40
↓ 3 callersFunctionrecord_team_message_from_signal
( cursor: Any, *, mission_key: Optional[str], team_key: Optional[str], agent_id: int,
service/server/team_missions.py:819
↓ 3 callersFunctionrelative_diff
(a: float, b: float)
service/server/scripts/repair_challenge_trade_prices.py:75
↓ 3 callersFunctionresolve_team_mission_notification_targets
Resolve team mission participants or members for a mission/team.
service/server/experiment_notifications.py:395
↓ 3 callersFunctionresolve_unread_active_experiment_targets
Resolve fixed-cohort agents who are active but still have unread experiment messages.
service/server/experiment_notifications.py:241
↓ 3 callersFunctionrow_dict
(row: Any)
service/server/scripts/repair_challenge_trade_prices.py:63
↓ 3 callersFunctionset_short_cached_payload
( ctx: RouteContext, local_cache: dict[Any, tuple[float, Any]], redis_key: str, payload: Any,
service/server/routes_shared.py:251
↓ 3 callersFunctionsettle_team_mission
(mission_key: str, *, force: bool = False)
service/server/team_missions.py:1162
↓ 3 callersFunctionto_float
(value: Any, default: float = 0.0)
service/server/scripts/manage_leaderboard_exclusions.py:57
↓ 3 callersFunctionwrite_csv
(path: Path, columns: list[str], rows: list[dict[str, Any]])
service/server/research_exports.py:437
↓ 2 callersMethod_assign
(self, experiment_key: str, agent_id: int, variant_key: str)
service/server/tests/test_experiment_events.py:49
↓ 2 callersFunction_backfill_polymarket_position_metadata
Best-effort backfill for legacy Polymarket positions missing token_id/outcome.
service/server/tasks.py:141
↓ 2 callersFunction_base_campaign_payload
( *, campaign_id: str, message_type: Optional[str] = None, task_type: Optional[str] = None,
service/server/experiment_notifications.py:123
↓ 2 callersFunction_bool_param
(value: bool | str | None, default: bool)
service/server/routes_research.py:34
↓ 2 callersFunction_content_hash
(content: str)
service/server/experiment_notifications.py:113
↓ 2 callersMethod_create_agent
(self, name: str, *, profit: float = 0.0, market: str = "crypto", role: str = "agent")
service/server/tests/test_team_missions.py:46
↓ 2 callersMethod_create_agent
(self, name: str, token: str)
service/server/tests/test_experiment_events.py:34
↓ 2 callersMethod_create_agent
(self, name: str, role: str = "agent")
service/server/tests/test_research_exports.py:50
↓ 2 callersMethod_create_agent
(self, name: str, role: str, email: str | None = None)
service/server/tests/test_monthly_challenges.py:30
↓ 2 callersFunction_create_team_submission_with_cursor
( cursor: Any, challenge: dict[str, Any], team: dict[str, Any], member: dict[str, Any], su
service/server/challenges.py:983
↓ 2 callersFunction_create_user_session
Create a new session for user.
service/server/services.py:99
↓ 2 callersFunction_csv_response
(filename: str, columns: list[str], rows: list[dict])
service/server/routes_research.py:21
↓ 2 callersFunction_datetime_to_iso_z
(value: datetime)
service/server/market_intel.py:166
↓ 2 callersFunction_download_yfinance_history
(symbol: str, start_date: str, end_date: str, interval: str)
service/server/price_fetcher.py:742
↓ 2 callersFunction_edge_assignment_expr
(alias: str, field: str)
service/server/research_exports.py:544
↓ 2 callersFunction_env_int
(name: str, default: int)
service/server/scripts/send_read_conversion_reminders.py:42
↓ 2 callersFunction_extract_yfinance_close_price
(frame: Any, symbol: str, target_utc: datetime)
service/server/price_fetcher.py:758
↓ 2 callersFunction_fetch_authoritative_challenge_trade_price
( market: str, symbol: str, executed_at: str, token_id: Any = None, outcome: Any = None, )
service/server/challenges.py:170
↓ 2 callersFunction_fetch_settlement_inputs
(cursor: Any, mission_id: int)
service/server/team_missions.py:1117
↓ 2 callersFunction_format_price_levels
(levels: list[float])
service/server/market_intel.py:554
↓ 2 callersFunction_get_agent_by_name
Get agent by unique name. Prefer an exact match for backward compatibility with any legacy rows that may contain leading/trailing spaces, the
service/server/services.py:41
↓ 2 callersFunction_get_hot_us_stock_symbols
(limit: int = 10)
service/server/market_intel.py:823
↓ 2 callersFunction_get_hyperliquid_candle_close
Fetch a 1m candle around executed_at via candleSnapshot and return the closest close. This approximates "price at time" without requiring any
service/server/price_fetcher.py:620
↓ 2 callersFunction_get_hyperliquid_mid_price
Fetch mid price from Hyperliquid L2 book. This is used for 'now' style queries.
service/server/price_fetcher.py:583
↓ 2 callersFunction_get_stock_analysis_snapshot_payload
(symbol: str)
service/server/market_intel.py:1649
↓ 2 callersFunction_hyperliquid_symbol_available
(coin: str)
service/server/price_fetcher.py:320
↓ 2 callersMethod_insert_assignment
(self, experiment_key: str, agent_id: int, variant_key: str)
service/server/tests/test_experiment_assignments.py:58
↓ 2 callersFunction_insert_contribution
( cursor: Any, mission: dict[str, Any], team: dict[str, Any], agent_id: int, *, source
service/server/team_missions.py:958
← previousnext →201–300 of 1,106, ranked by callers