Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BillionsBobby/agenttrader-arena
/ functions
Functions
1,026 in github.com/BillionsBobby/agenttrader-arena
⨍
Functions
1,026
◇
Types & classes
49
↓ 2 callers
Function
formatPercent
(value: number | null | undefined, localeTag: string)
apps/web-new/src/components/home-agent-panel.tsx:440
↓ 2 callers
Function
formatPreciseUsd
(value: number | null | undefined, locale: string)
apps/web-new/src/components/live-trades-feed.tsx:188
↓ 2 callers
Function
formatSignedCompactUsd
(value: number | null | undefined, localeTag: string)
apps/web-new/src/components/home-dashboard-client.tsx:1889
↓ 2 callers
Function
formatSignedPercent
(decimalValue: number)
apps/web-new/src/lib/agent-briefing.ts:158
↓ 2 callers
Function
formatSignedPercent
(decimalValue: number)
apps/web-new/src/lib/agent-decision-service.ts:153
↓ 2 callers
Function
formatTime
(value: string | null | undefined, localeTag: string)
apps/web-new/src/components/home-agent-panel.tsx:449
↓ 2 callers
Function
formatTimeLabel
(value: string | null, locale: string)
apps/web-new/src/components/equity-bars.tsx:65
↓ 2 callers
Function
getAgentCompetitionStatus
( agentId: string, claimStatus: AgentClaimStatus | string | null | undefined )
apps/web-new/src/lib/agent-competition.ts:23
↓ 2 callers
Function
getBriefingWindowSeconds
()
apps/web-new/src/lib/trading-rules.ts:70
↓ 2 callers
Function
getCandles
( symbol: string, market?: MarketType, interval = '1h', limit = 24, outcomeId?: string | null )
apps/web-new/src/lib/market-adapter/index.ts:1230
↓ 2 callers
Function
getClaimTokenView
(token: string)
apps/web-new/src/lib/agent-claim-service.ts:171
↓ 2 callers
Function
getLatestMarketSnapshot
( store: AgentTraderStore, input: { symbol: string; market: MarketType; outcomeId?: string | n
apps/web-new/src/lib/public-store-utils.ts:73
↓ 2 callers
Function
getLatestRankSnapshot
(agentId: string)
apps/web-new/src/lib/agent-events.ts:237
↓ 2 callers
Function
getLightweightSessionUser
()
apps/web-new/src/lib/server-session.ts:163
↓ 2 callers
Function
getLiveEquity
( store: AgentTraderStore, account: AgentAccount | null, agentId: string )
apps/web-new/src/lib/public-store-utils.ts:143
↓ 2 callers
Function
getLiveQuote
(action: DecisionAction)
apps/web-new/src/lib/trade-engine-core.ts:69
↓ 2 callers
Function
getLiveQuoteProviderError
(market: MarketType)
apps/web-new/src/lib/agent-detail-request-market-data.ts:46
↓ 2 callers
Function
getOwnedAgentSummary
( agentId: string )
apps/web-new/src/lib/owned-agent-service.ts:111
↓ 2 callers
Function
getPlatformCompetition
()
apps/web-new/src/lib/platform-context.ts:51
↓ 2 callers
Function
getPredictionQuoteRejectionReason
( action: ExecutionActionLike, quoteAtSubmission: QuoteAtSubmission | null )
apps/web-new/src/lib/execution-quote-resolver.ts:177
↓ 2 callers
Function
getPublicLeaderboardEntryFromDatabase
(agentId: string)
apps/web-new/src/lib/public-market-db.ts:153
↓ 2 callers
Function
getPublicLeaderboardEntryFromStore
(agentId: string)
apps/web-new/src/lib/public-market-store.ts:97
↓ 2 callers
Function
getPublicLiveTrades
(input: { page: number; pageSize: number; })
apps/web-new/src/lib/public-market.ts:38
↓ 2 callers
Function
getQuote
( symbol: string, market?: MarketType, outcomeId?: string | null )
apps/web-new/src/lib/redis/market-cache.ts:168
↓ 2 callers
Function
getRecentSymbolList
(marketType: MarketType)
apps/web-new/src/lib/redis/market-cache.ts:246
↓ 2 callers
Function
getSessionUserWithOptions
({ syncShadowUser, }: { syncShadowUser: boolean; })
apps/web-new/src/lib/server-session.ts:167
↓ 2 callers
Function
getSkillFilename
(slug: SkillSlug = 'skill')
apps/web-new/src/app/api/skill/content.ts:39
↓ 2 callers
Function
getWebSocketClientOptions
(targetUrl: string)
apps/workers/ws-proxy.ts:165
↓ 2 callers
Function
handleSocialSignIn
(provider: 'google' | 'github')
apps/web-new/src/components/auth-page-client.tsx:226
↓ 2 callers
Function
hashApiKey
(rawKey: string)
apps/web-new/src/lib/agent-auth.ts:11
↓ 2 callers
Method
hydrateStateFromSnapshot
(snapshot: MassiveSnapshotTicker)
apps/workers/stock-stream.ts:610
↓ 2 callers
Function
initializeAgentProfile
(agentId: string, body: unknown)
apps/web-new/src/lib/agent-registration-service.ts:241
↓ 2 callers
Function
interpolate
(value: string, briefingPhaseLabel: string)
apps/web-new/src/app/rules/page.tsx:7
↓ 2 callers
Function
isBlockingTradeabilityWarning
(market: MarketType, warning: string)
apps/web-new/src/lib/agent-detail-request-tradeability.ts:226
↓ 2 callers
Function
isSameCalendarDate
(left: CalendarDate, right: CalendarDate)
apps/web-new/src/lib/us-stock-market-core.ts:57
↓ 2 callers
Function
isUsStockMarketHoliday
(parts: CalendarDate)
apps/web-new/src/lib/us-stock-market-core.ts:168
↓ 2 callers
Function
isUsablePrice
(value: number | null | undefined)
apps/web-new/src/lib/agent-account-state.ts:7
↓ 2 callers
Function
listKey
(marketType: MarketType)
apps/web-new/src/lib/redis/market-cache.ts:31
↓ 2 callers
Function
listMarkedPositionsFromDatabase
(agentId: string)
apps/web-new/src/lib/display-equity.ts:18
↓ 2 callers
Function
listOwnedAgentPositions
( agentId: string )
apps/web-new/src/lib/owned-agent-service.ts:345
↓ 2 callers
Function
listPublicAgentPositionsFromDatabase
( agentId: string )
apps/web-new/src/lib/public-agent-db.ts:305
↓ 2 callers
Function
listPublicAgentPositionsFromStoreInternal
( store: ReturnType<typeof getPublicStore>, agentId: string )
apps/web-new/src/lib/public-agent-store.ts:395
↓ 2 callers
Function
loadEnvFile
(envPath = join(process.cwd(), '.env'))
apps/workers/env.ts:4
↓ 2 callers
Function
mapDatabaseSnapshotToMarketDataSnapshot
( row: DatabaseMarketSnapshotRow, _action: DecisionAction )
apps/web-new/src/lib/trade-engine-database-support.ts:96
↓ 2 callers
Function
markAccount
( store: AgentTraderStore, account: AgentAccount, agentId: string )
apps/web-new/src/lib/trade-engine-store.ts:130
↓ 2 callers
Function
massiveFetch
(path: string)
apps/workers/stock-stream.ts:217
↓ 2 callers
Function
matchesActionSnapshot
( item: Pick<MarketDataSnapshot, 'symbol' | 'market' | 'outcomeId'>, action: DecisionAction )
apps/web-new/src/lib/trade-engine-store.ts:36
↓ 2 callers
Function
mergeUniqueSymbols
(...lists: string[][])
apps/web-new/src/lib/redis/market-cache.ts:50
↓ 2 callers
Function
normalizeAgentErrorDetails
( result: AgentServiceErrorResult )
apps/web-new/src/lib/agent-route-handlers.ts:61
↓ 2 callers
Function
normalizeBlockedReason
(value: string | null)
apps/web-new/src/lib/agent-detail-request-tradeability.ts:275
↓ 2 callers
Function
normalizeDerivedProbability
(value: number | null)
apps/web-new/src/lib/market-adapter/polymarket.ts:311
↓ 2 callers
Function
normalizeExecutionFailureReason
(error: unknown)
apps/web-new/src/lib/trade-engine-core.ts:333
↓ 2 callers
Function
normalizeExecutionMarketQuote
( quote: MarketQuote | null )
apps/web-new/src/lib/trade-engine-store.ts:93
↓ 2 callers
Function
normalizeExecutionMarketQuote
( quote: MarketQuote | null )
apps/web-new/src/lib/trade-engine-database-support.ts:114
↓ 2 callers
Function
normalizePolymarketSlug
(value: string)
apps/web-new/src/lib/prediction-search.ts:1
↓ 2 callers
Function
normalizePredictionDecisionObjectId
( value: string, outcomeName?: string | null )
apps/web-new/src/lib/agent-decision-service.ts:192
↓ 2 callers
Function
normalizePublicTradeSide
(value: string)
apps/web-new/src/lib/public-market-db.ts:719
↓ 2 callers
Function
normalizeQuoteKeyPart
(value)
packages/agenttrader-types/index.js:60
↓ 2 callers
Function
normalizeQuotePayload
(payload: unknown)
apps/web-new/src/lib/redis/market-cache.ts:115
↓ 2 callers
Function
normalizeRequestedSymbol
(marketType: MarketType, symbol: string)
apps/web-new/src/lib/market-adapter/index.ts:105
↓ 2 callers
Function
normalizeSiteLocale
(value: string | null | undefined)
apps/web-new/src/lib/site-locale.ts:5
↓ 2 callers
Function
parseBookLevel
( level: unknown )
apps/web-new/src/lib/market-adapter/polymarket.ts:264
↓ 2 callers
Function
parseClobBook
(payload: unknown)
apps/web-new/src/lib/market-adapter/polymarket.ts:278
↓ 2 callers
Method
parseClobTokenIds
(raw: string | null | undefined)
apps/workers/polymarket-stream.ts:277
↓ 2 callers
Function
parseDbStringArray
(value: string | null)
apps/web-new/src/lib/agent-overview.ts:232
↓ 2 callers
Function
parseDbStringArray
(value: string | null | undefined)
apps/web-new/src/lib/agent-briefing.ts:143
↓ 2 callers
Function
parseJsonArray
(raw: string | null | undefined)
apps/web-new/src/lib/market-adapter/polymarket.ts:59
↓ 2 callers
Function
parseMarkdownEndpoints
(content: string)
apps/web-new/tests/contract-tests.ts:87
↓ 2 callers
Function
parseStoredPredictionCandidate
( value: unknown )
apps/web-new/src/lib/prediction-detail-contract.ts:168
↓ 2 callers
Function
parseTopLevelBookNumber
(value: unknown)
apps/web-new/src/lib/market-adapter/polymarket.ts:251
↓ 2 callers
Function
persistDatabaseStore
(store: AgentTraderStore)
apps/web-new/src/db/store.ts:254
↓ 2 callers
Function
persistExecutedActionDatabase
( input: PersistExecutedActionInput )
apps/web-new/src/lib/trade-engine-database-execution.ts:35
↓ 2 callers
Method
poll
()
apps/workers/polymarket-stream.ts:184
↓ 2 callers
Function
predictionObjectScopeRank
(objectId: string)
apps/web-new/src/lib/prediction-detail-contract.ts:266
↓ 2 callers
Function
quoteAliasKey
(quote: MarketQuote)
apps/web-new/src/lib/redis/market-cache.ts:16
↓ 2 callers
Function
readRuntimeSecret
( envName: 'AUTH_SECRET' | 'CRON_SECRET', fallback: string )
apps/web-new/src/lib/env.ts:44
↓ 2 callers
Function
readSkillMarkdown
(slug: SkillSlug = 'skill')
apps/web-new/src/app/api/skill/content.ts:34
↓ 2 callers
Function
recalcAccountEquity
( agentId: string, availableCash: number )
apps/web-new/src/lib/agent-account-state.ts:122
↓ 2 callers
Function
recentListKey
(marketType: MarketType)
apps/web-new/src/lib/redis/market-cache.ts:35
↓ 2 callers
Function
recentQuoteSymbolListKey
(marketType)
packages/agenttrader-types/index.js:95
↓ 2 callers
Method
refresh24hMetrics
()
apps/workers/binance-stream.ts:241
↓ 2 callers
Function
refreshHomeOverview
()
apps/web-new/src/components/home-dashboard-client.tsx:311
↓ 2 callers
Function
refreshLeaderboard
(showLoading = false)
apps/web-new/src/components/home-dashboard-client.tsx:229
↓ 2 callers
Function
refreshLiveMarketData
( marketType: MarketType, symbols?: string[], options?: { candlesInterval?: string; candlesLimit?: numbe
apps/web-new/src/lib/market-adapter/index.ts:807
↓ 2 callers
Function
rememberQuote
(quote: MarketQuote)
apps/web-new/src/lib/market-adapter/index.ts:86
↓ 2 callers
Function
requireClaimedBriefingAgent
(request: Request)
apps/web-new/src/lib/agent-runtime.ts:191
↓ 2 callers
Function
requireDatabaseMode
()
apps/web-new/src/lib/display-equity.ts:12
↓ 2 callers
Function
requireLegalAcceptance
()
apps/web-new/src/components/auth-page-client.tsx:63
↓ 2 callers
Function
resolveDetailQuote
(input: { market: MarketType; symbol: string; outcomeId?: string | null; exactOutcomeRequired?: boolea
apps/web-new/src/lib/agent-detail-request-market-data.ts:233
↓ 2 callers
Function
resolveOutcomeNameWithMarketData
(action: DecisionAction)
apps/web-new/src/lib/trade-engine-core.ts:317
↓ 2 callers
Function
roundDecimal
(value: number)
apps/web-new/src/lib/agent-decision-service.ts:149
↓ 2 callers
Function
roundFraction
(value: number)
apps/web-new/src/lib/agent-briefing.ts:139
↓ 2 callers
Function
runAgentAction
(agentId: string, action: 'pause' | 'resume' | 'delete')
apps/web-new/src/components/my-agent-page-client.tsx:107
↓ 2 callers
Method
runTask
(task: ScheduledTask)
apps/workers/scheduler.ts:86
↓ 2 callers
Function
saveQuoteSnapshots
(quotes: MarketQuote[])
apps/web-new/src/lib/market-adapter/index.ts:195
↓ 2 callers
Function
searchPredictionEvents
(query: string, limit?: number)
apps/web-new/src/lib/market-adapter/index.ts:1402
↓ 2 callers
Function
serializeStore
(store: AgentTraderStore)
apps/web-new/src/db/store.ts:287
↓ 2 callers
Function
setOwnedAgentPaused
(agentId: string, paused: boolean)
apps/web-new/src/lib/owned-agent-service.ts:692
↓ 2 callers
Function
shiftCalendarDate
(date: CalendarDate, deltaDays: number)
apps/web-new/src/lib/us-stock-market-core.ts:47
↓ 2 callers
Function
shutdown
(signal: string)
apps/workers/index.ts:83
← previous
next →
301–400 of 1,026, ranked by callers