MCPcopy Create free account

hub / github.com/BillionsBobby/agenttrader-arena / functions

Functions1,026 in github.com/BillionsBobby/agenttrader-arena

↓ 2 callersFunctionsimulateMarketData
( marketType: MarketType, symbols?: string[] )
apps/web-new/src/lib/market-adapter/index.ts:880
↓ 2 callersFunctionsortPositions
(positions: PublicPosition[])
apps/web-new/src/components/home-dashboard-client.tsx:1834
↓ 2 callersFunctionspecificQuoteKey
(quote: MarketQuote)
apps/web-new/src/lib/redis/market-cache.ts:23
↓ 2 callersFunctionsyncPredictionInstrument
(details: PredictionMarketDetails)
apps/web-new/src/lib/market-adapter/index.ts:640
↓ 2 callersFunctiontoBinanceSymbol
(symbol: string)
apps/web-new/src/lib/market-adapter/binance.ts:40
↓ 2 callersFunctiontoFiniteNumber
(value: unknown)
apps/web-new/src/lib/redis/market-cache.ts:91
↓ 2 callersFunctiontoIsoString
(value: string | Date | null | undefined)
apps/web-new/src/lib/public-store-utils.ts:21
↓ 2 callersFunctiontoOrigin
(url: string)
apps/web-new/src/core/auth/config.ts:8
↓ 2 callersFunctiontoTicker
(symbol: string)
apps/web-new/src/lib/market-adapter/massive.ts:139
↓ 2 callersFunctiontopTierFromRank
(rank: number | null)
apps/web-new/src/lib/trade-engine-core.ts:32
↓ 2 callersFunctiontopTierFromRankSnapshot
(rank: number | null)
apps/web-new/src/lib/public-market-store.ts:420
↓ 2 callersFunctiontouchAgentHeartbeat
( agentId: string, now = new Date(), runnerStatus: 'ready' | 'running' | 'idle' | 'error' = 'ready' )
apps/web-new/src/lib/agent-runtime.ts:103
↓ 2 callersFunctionupdateAgentAccountState
(input: { agentId: string; availableCash: number; })
apps/web-new/src/lib/agent-account-state.ts:162
↓ 2 callersFunctionupdateDecisionSubmissionExecutionResult
( sql: SqlTemplateExecutor, input: { submissionId: string; status: string; rejectionReason: st
apps/web-new/src/lib/agent-persistence-db.ts:160
↓ 2 callersMethodupdateSymbolList
()
apps/workers/binance-stream.ts:208
↓ 2 callersFunctionuseOwnedAgents
()
apps/web-new/src/hooks/use-owned-agents.ts:10
↓ 2 callersFunctionvalidateAgentProfileInput
( input: RawAgentProfileInput, prefix = 'profile' )
apps/web-new/src/lib/agent-profile.ts:34
↓ 2 callersFunctionwalkBook
(input: { requestedUnits: number; side: string; quotePrice: number; depthSnapshot: string | null; })
apps/web-new/src/lib/trade-engine-core.ts:109
↓ 2 callersFunctionwriteAgentBriefing
(input: { agentId: string; briefingWindowId: string | null; payload: unknown; createdAt?: Date; })
apps/web-new/src/lib/agent-events.ts:39
↓ 2 callersFunctionwriteDetailRequestPersistenceRow
( sql: SqlTemplateExecutor, row: DetailRequestPersistenceRow )
apps/web-new/src/lib/agent-persistence-db.ts:184
↓ 2 callersFunctionwriteFileStore
(store: AgentTraderStore)
apps/web-new/src/db/store.ts:35
↓ 2 callersFunctionwriteHeartbeatProtocolEvent
( agentId: string, response: Response, requestSuccess: boolean, createdAt: Date )
apps/web-new/src/app/api/openclaw/agents/heartbeat-ping/route.ts:130
↓ 2 callersFunctionwriteRiskEvent
(input: { agentId: string; competitionId: string | null; previousRiskTag: string | null; riskTag: stri
apps/web-new/src/lib/agent-events.ts:339
↓ 1 callersFunctionaddCacheHeaders
(response: NextResponse)
apps/web-new/src/app/api/public/leaderboard/route.ts:20
↓ 1 callersFunctionaddCacheHeaders
(response: NextResponse)
apps/web-new/src/app/api/public/live-trades/route.ts:20
↓ 1 callersFunctionaddCacheHeaders
(response: NextResponse)
apps/web-new/src/app/api/public/stats/route.ts:10
↓ 1 callersFunctionaddCacheHeaders
(response: NextResponse)
apps/web-new/src/app/api/public/agents/[id]/trades/route.ts:24
↓ 1 callersFunctionaddCacheHeaders
(response: NextResponse)
apps/web-new/src/app/api/public/agents/[id]/snapshot-audit/route.ts:16
↓ 1 callersFunctionaddCacheHeaders
(response: NextResponse)
apps/web-new/src/app/api/public/agents/[id]/summary/route.ts:22
↓ 1 callersFunctionaddCacheHeaders
(response: NextResponse)
apps/web-new/src/app/api/public/agents/[id]/equity/route.ts:18
↓ 1 callersFunctionaddCacheHeaders
(response: NextResponse)
apps/web-new/src/app/api/public/agents/[id]/positions/route.ts:16
↓ 1 callersFunctionaddCacheHeaders
(response: NextResponse)
apps/web-new/src/app/api/public/home-overview/route.ts:10
↓ 1 callersFunctionaddRecentSymbols
( marketType: MarketType, symbols: string[] )
apps/web-new/src/lib/redis/market-cache.ts:252
↓ 1 callersFunctionareSymbolSetsEqual
(left: string[], right: string[])
apps/workers/stock-stream.ts:142
↓ 1 callersFunctionbinanceFetch
(path: string)
apps/workers/binance-stream.ts:72
↓ 1 callersFunctionbuildAgentPanelSummarySeed
( agent: LeaderboardEntry | null, snapshotAt: string | null )
apps/web-new/src/components/home-dashboard-client.tsx:1792
↓ 1 callersFunctionbuildBriefingAccountView
( accountMetrics: ReturnType<typeof buildAccountPerformanceMetrics>, drawdown: number )
apps/web-new/src/lib/agent-briefing.ts:277
↓ 1 callersFunctionbuildBriefingPosition
(position: { symbol: string; market: string; eventId: string | null; outcomeId: string | null; outco
apps/web-new/src/lib/agent-briefing.ts:299
↓ 1 callersFunctionbuildCandleContext
( market: MarketType, symbols: string[], interval: string, limit: number )
apps/web-new/src/lib/agent-detail-request-market-data.ts:516
↓ 1 callersFunctionbuildCanonicalObjectId
(action: DecisionAction)
apps/web-new/src/lib/trade-engine-core.ts:47
↓ 1 callersFunctionbuildChineseDailySummary
(input: { summaryDate: string; dailyReturn: number | null; recentTradesCount: number; buyCount: number
apps/web-new/src/lib/public-agent-store.ts:544
↓ 1 callersFunctionbuildChineseDailySummary
(input: { summaryDate: string; dailyReturn: number | null; recentTradesCount: number; buyCount: number
apps/web-new/src/lib/public-agent-db.ts:939
↓ 1 callersFunctionbuildDatabaseUrl
()
apps/web-new/src/lib/env.ts:1
↓ 1 callersFunctionbuildDepthSnapshot
(price: number, size = 1_000)
apps/web-new/tests/run-live-sql.ts:38
↓ 1 callersFunctionbuildDetailDataQuality
(input: { market: MarketType; item: NormalizedDetailObject; quoteView: ReturnType<typeof buildQuoteView>
apps/web-new/src/lib/agent-detail-request-tradeability.ts:464
↓ 1 callersFunctionbuildDetailRetryGuidance
(input: { blockedReason: string | null; unavailableReason: string | null; suggestedAlternatives: string[
apps/web-new/src/lib/agent-detail-request-prediction.ts:277
↓ 1 callersFunctionbuildEnglishDailySummary
(input: { summaryDate: string; dailyReturn: number | null; recentTradesCount: number; buyCount: number
apps/web-new/src/lib/public-agent-store.ts:483
↓ 1 callersFunctionbuildEnglishDailySummary
(input: { summaryDate: string; dailyReturn: number | null; recentTradesCount: number; buyCount: number
apps/web-new/src/lib/public-agent-db.ts:886
↓ 1 callersMethodbuildHotWatchlist
()
apps/workers/stock-stream.ts:539
↓ 1 callersFunctionbuildPath
(points: Array<{ x: number; y: number }>)
apps/web-new/src/components/equity-bars.tsx:24
↓ 1 callersFunctionbuildPolymarketDepthSnapshot
(input: { directBook: ParsedClobBook; complementBook: ParsedClobBook | null; combinedBook: CombinedBinar
apps/web-new/src/lib/market-adapter/polymarket.ts:370
↓ 1 callersFunctionbuildPositionObjectId
( market: string, symbol: string, outcomeName: string | null | undefined )
apps/web-new/src/lib/agent-briefing.ts:183
↓ 1 callersFunctionbuildPostTradeSnapshot
(agentId: string)
apps/web-new/src/lib/agent-decision-service.ts:496
↓ 1 callersFunctionbuildPredictionEventDetailsFromMarketSearchResult
( rawMarket: unknown )
apps/web-new/src/lib/market-adapter/polymarket.ts:466
↓ 1 callersFunctionbuildPredictionEventResolutionMap
(objects: NormalizedDetailObject[])
apps/web-new/src/lib/agent-detail-request-prediction.ts:59
↓ 1 callersFunctionbuildPredictionMarketDetailsMap
(objects: NormalizedDetailObject[])
apps/web-new/src/lib/agent-detail-request-prediction.ts:19
↓ 1 callersFunctionbuildPredictionSuggestedAlternatives
(input: { object: NormalizedDetailObject; tradePolicy: { blocked_reason: string | null }; tradableObject
apps/web-new/src/lib/agent-detail-request-prediction.ts:227
↓ 1 callersFunctionbuildPredictionSuggestedNextRequest
(input: { object: NormalizedDetailObject; tradePolicy: { blocked_reason: string | null }; eventResolutio
apps/web-new/src/lib/agent-detail-request-prediction.ts:165
↓ 1 callersFunctionbuildPredictionSummary
( agent: Pick<BriefingAgentSource, 'familiarSymbolsOrEventTypes'>, predictionPositions: Array<{ symbol: st
apps/web-new/src/lib/agent-briefing.ts:649
↓ 1 callersFunctionbuildProxyAuthorization
(proxyUrl: URL)
apps/workers/ws-proxy.ts:29
↓ 1 callersFunctionbuildPublicAgentSummary
(input: { agentId: string; locale: string; timeZone: string; now?: Date; })
apps/web-new/src/lib/public-agent.ts:25
↓ 1 callersFunctionbuildPublicAgentSummaryFromDatabase
(input: { agentId: string; locale: string; timeZone: string; now?: Date; })
apps/web-new/src/lib/public-agent-db.ts:133
↓ 1 callersFunctionbuildPublicAgentSummaryFromStore
(input: { agentId: string; locale: string; timeZone: string; now?: Date; })
apps/web-new/src/lib/public-agent-store.ts:46
↓ 1 callersFunctionbuildPublicDailySummary
(input: { locale: string; summaryDate: string; dailyReturn: number | null; recentTradesCount: number;
apps/web-new/src/lib/public-agent-store.ts:463
↓ 1 callersFunctionbuildPublicDailySummary
(input: { locale: string; summaryDate: string; dailyReturn: number | null; recentTradesCount: number;
apps/web-new/src/lib/public-agent-db.ts:866
↓ 1 callersFunctionbuildQuoteAtSubmissionFromMarketQuote
(quote: ExecutionMarketQuoteLike | null)
apps/web-new/src/lib/execution-quote-resolver.ts:92
↓ 1 callersFunctionbuildQuoteAtSubmissionFromSnapshot
(quote: ExecutionSnapshotLike | null)
apps/web-new/src/lib/execution-quote-resolver.ts:77
↓ 1 callersFunctionbuildQuoteContext
( market: MarketType, requests: Array<{ symbol: string; outcomeId?: string | null; exactOutcom
apps/web-new/src/lib/agent-detail-request-market-data.ts:475
↓ 1 callersFunctionbuildQuoteView
(input: { market: MarketType; quote: MarketQuote | null; quoteSource: string; candles: MarketCandleVie
apps/web-new/src/lib/agent-detail-request-tradeability.ts:384
↓ 1 callersFunctionbuildSignInFailureNotice
(fallbackMessage: string)
apps/web-new/src/components/auth-page-client.tsx:90
↓ 1 callersFunctionbuildSkillFileUrls
(appUrl: string)
apps/web-new/src/lib/agent-registration-service.ts:21
↓ 1 callersFunctionbuildStoredPredictionDetails
( instrument: MarketInstrument )
apps/web-new/src/lib/market-adapter/index.ts:986
↓ 1 callersFunctionbuildSubscriptionParams
(symbols: string[])
apps/workers/stock-stream.ts:169
↓ 1 callersFunctionbuildTopMovers
( market: 'stock' | 'crypto', symbols: string[] )
apps/web-new/src/lib/agent-briefing.ts:456
↓ 1 callersFunctioncaptureActionExecutionState
( store: AgentTraderStore, account: AgentAccount, action: DecisionAction )
apps/web-new/src/lib/trade-engine-store.ts:208
↓ 1 callersFunctioncheckBuyLimit
( agentId: string, actions: Array<{ side: 'buy' | 'sell'; amount_usd: number }> )
apps/web-new/src/lib/risk-checks.ts:108
↓ 1 callersFunctioncheckCloseOnly
( agentId: string, actions: Array<{ side: 'buy' | 'sell' }> )
apps/web-new/src/lib/risk-checks.ts:71
↓ 1 callersFunctioncheckDecisionWindow
(agentId: string, windowId: string)
apps/web-new/src/lib/risk-checks.ts:51
↓ 1 callersFunctioncheckMarketSession
( actions: Array<{ market: MarketType }> )
apps/web-new/src/lib/risk-checks.ts:255
↓ 1 callersFunctioncheckPositionConcentration
( agentId: string, actions: Array<{ side: 'buy' | 'sell'; symbol: string; amount_usd: number;
apps/web-new/src/lib/risk-checks.ts:136
↓ 1 callersFunctioncheckPredictionRules
( _agentId: string, actions: Array<{ market: MarketType; outcome_id?: string | null }> )
apps/web-new/src/lib/risk-checks.ts:196
↓ 1 callersFunctioncheckTerminated
(agentId: string)
apps/web-new/src/lib/risk-checks.ts:22
↓ 1 callersFunctioncollectDetailWarnings
(input: { market: MarketType; quote: MarketQuote | null; candles: MarketCandleView[]; marketDetails: P
apps/web-new/src/lib/agent-detail-request-tradeability.ts:242
↓ 1 callersFunctioncollectErrorSignals
(error: unknown, signals: ErrorSignal[] = [])
apps/web-new/src/lib/agent-resp.ts:65
↓ 1 callersFunctioncollectStoredPredictionCandidates
( summary: StoredDetailRequestSummary | null )
apps/web-new/src/lib/prediction-detail-contract.ts:295
↓ 1 callersFunctioncomputeChange24h
(history: PriceHistoryPoint[], currentPrice: number)
apps/web-new/src/lib/market-adapter/polymarket.ts:230
↓ 1 callersFunctioncountSeedExecutedActions
( agentId: string, submissions: DecisionSubmission[], actions: DecisionAction[] )
apps/web-new/src/db/seed.ts:112
↓ 1 callersFunctioncreateIORedisClient
(url: string)
apps/web-new/src/lib/redis/client.ts:24
↓ 1 callersFunctioncreateRedisClient
()
apps/workers/redis-client.ts:113
↓ 1 callersFunctioncreateUpstashClient
(url: string, token: string)
apps/web-new/src/lib/redis/client.ts:17
↓ 1 callersFunctiondeleteOwnedAgent
(agentId: string)
apps/web-new/src/lib/owned-agent-service.ts:707
↓ 1 callersFunctionderiveCanonicalObjectId
( object: NormalizedDetailObject, quote: { object_id: string; } | null )
apps/web-new/src/lib/agent-detail-request-objects.ts:411
↓ 1 callersFunctionderiveObjectScope
(object: NormalizedDetailObject)
apps/web-new/src/lib/agent-detail-request-objects.ts:395
↓ 1 callersFunctionderivePredictionOutcomeQuoteBlockedReason
( quote: MarketQuote | null )
apps/web-new/src/lib/agent-detail-request-tradeability.ts:312
↓ 1 callersFunctionderiveUnavailableReason
(input: { market: MarketType; object: NormalizedDetailObject; quote: MarketQuote | null; candles: Mark
apps/web-new/src/lib/agent-detail-request-tradeability.ts:331
↓ 1 callersFunctiondiagnoseSignInFailure
(email: string)
apps/web-new/src/lib/auth-sign-in-diagnostics.ts:63
↓ 1 callersFunctiondiffSymbols
(current: string[], next: string[])
apps/workers/stock-stream.ts:159
↓ 1 callersFunctiondownsampleSeries
(series: EquityPoint[], maxPoints: number)
apps/web-new/src/components/equity-bars.tsx:73
↓ 1 callersFunctionenrichPredictionEventDetails
( eventDetails: PredictionEventDetailsView | null )
apps/web-new/src/lib/agent-detail-request-prediction.ts:145
↓ 1 callersFunctionenrichPredictionMarketDetails
( object: NormalizedDetailObject, marketDetails: PredictionMarketDetailsView | null )
apps/web-new/src/lib/agent-detail-request-prediction.ts:127
← previousnext →401–500 of 1,026, ranked by callers