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
↓ 3 callers
Function
fileExists
(path)
apps/web-new/tests/live-sql-loader.mjs:10
↓ 3 callers
Method
flushDirtyQuotes
()
apps/workers/stock-stream.ts:676
↓ 3 callers
Function
formatCompactUsd
(value: number | null | undefined, localeTag: string)
apps/web-new/src/components/home-agent-panel.tsx:399
↓ 3 callers
Function
formatFreshnessValue
( level: DataFreshnessLevel, t: ReturnType<typeof useSiteLocale>['t'] )
apps/web-new/src/components/arena-status-strip.tsx:162
↓ 3 callers
Function
formatNumber
(value: number, locale: string)
apps/web-new/src/components/public-agent-page-client.tsx:1199
↓ 3 callers
Function
formatPercent
(value: number | null | undefined, localeTag: string)
apps/web-new/src/components/leaderboard-table.tsx:276
↓ 3 callers
Function
formatWeight
(value: number | null | undefined, localeTag: string)
apps/web-new/src/components/home-dashboard-client.tsx:1966
↓ 3 callers
Function
freshnessTone
(level: DataFreshnessLevel)
apps/web-new/src/lib/arena-status-strip-model.ts:24
↓ 3 callers
Function
fromBinanceSymbol
(symbol: string)
apps/web-new/src/lib/market-adapter/binance.ts:48
↓ 3 callers
Function
getAgentLeaderboardRank
(agentId: string)
apps/web-new/src/lib/agent-competition.ts:120
↓ 3 callers
Function
getLeaderboardVisibilityRule
()
apps/web-new/src/lib/trading-rules.ts:47
↓ 3 callers
Function
getMassiveApiKey
()
apps/workers/stock-stream.ts:202
↓ 3 callers
Method
getOrCreateState
(symbol: string)
apps/workers/stock-stream.ts:439
↓ 3 callers
Function
getPolymarketMarketDetails
( symbol: string )
apps/web-new/src/lib/market-adapter/polymarket.ts:414
↓ 3 callers
Function
getPublicLeaderboard
(input: { page: number; pageSize: number; })
apps/web-new/src/lib/public-market.ts:29
↓ 3 callers
Function
getQuoteWarnings
( market: MarketType, quote: MarketQuote, candles: MarketCandleView[] )
apps/web-new/src/lib/agent-detail-request-tradeability.ts:173
↓ 3 callers
Function
getSiteLocaleTag
(locale: SiteLocale)
apps/web-new/src/lib/site-locale.ts:18
↓ 3 callers
Function
getTrackedSymbolList
(marketType: MarketType)
apps/web-new/src/lib/redis/market-cache.ts:274
↓ 3 callers
Function
isStaleDetailQuote
( market: MarketType, quote: Pick<MarketQuote, 'timestamp'> | null | undefined )
apps/web-new/src/lib/agent-detail-request-market-data.ts:53
↓ 3 callers
Method
markDirty
(symbol: string)
apps/workers/stock-stream.ts:463
↓ 3 callers
Function
marketStatus
(marketType: MarketType)
apps/web-new/src/lib/redis/market-cache.ts:315
↓ 3 callers
Function
massiveFetch
(path: string, options: MassiveFetchOptions = {})
apps/web-new/src/lib/market-adapter/massive.ts:80
↓ 3 callers
Function
maybeEnrichDetailQuoteMetrics
( quoteResult: DetailQuoteResult, input: { market: MarketType; symbol: string; outcomeId?: str
apps/web-new/src/lib/agent-detail-request-market-data.ts:106
↓ 3 callers
Function
normalizeJsonPayload
(value: unknown)
apps/web-new/src/lib/agent-reporting-service.ts:207
↓ 3 callers
Function
normalizeSymbolList
(values: unknown)
apps/web-new/src/lib/redis/market-cache.ts:39
↓ 3 callers
Function
normalizeUnfilledReason
(reason: string)
apps/web-new/src/lib/trade-engine-core.ts:101
↓ 3 callers
Function
parseOutcomeSymbol
(symbol: string)
apps/web-new/src/lib/market-adapter/polymarket.ts:406
↓ 3 callers
Function
parseTimestamp
( value: string | Date | null | undefined )
apps/web-new/src/lib/timestamp.ts:5
↓ 3 callers
Function
queryLatestPublicLeaderboardRowsFromStore
()
apps/web-new/src/lib/public-market-store.ts:358
↓ 3 callers
Function
readFileStore
()
apps/web-new/src/db/store.ts:30
↓ 3 callers
Function
readProxyEnv
(name: string)
apps/workers/ws-proxy.ts:7
↓ 3 callers
Function
refreshMarketData
( marketType: MarketType, symbols?: string[] )
apps/web-new/src/lib/market-adapter/index.ts:1281
↓ 3 callers
Method
refreshWatchlist
(resubscribe = false)
apps/workers/stock-stream.ts:508
↓ 3 callers
Function
requireDatabaseMode
()
apps/web-new/src/lib/agent-competition.ts:17
↓ 3 callers
Function
requireDatabaseModeCron
(featureName: string)
apps/web-new/src/lib/database-mode.ts:105
↓ 3 callers
Function
resolveTsCandidate
(basePath)
apps/web-new/tests/live-sql-loader.mjs:20
↓ 3 callers
Function
roundRate
(value: number | null)
apps/web-new/src/lib/trade-engine-core.ts:91
↓ 3 callers
Function
runTest
(name: string, fn: () => void)
apps/web-new/tests/prediction-search.test.ts:8
↓ 3 callers
Function
runTest
(name: string, fn: () => void)
apps/workers/quote-contract.test.ts:6
↓ 3 callers
Function
seedInstrumentAndMarketData
(sql: Sql, input: { symbol: string; market: 'crypto'; price: number; })
apps/web-new/tests/run-live-sql.ts:453
↓ 3 callers
Method
sendSubscriptionAction
( action: 'subscribe' | 'unsubscribe', symbols: string[], socket = this.ws )
apps/workers/stock-stream.ts:626
↓ 3 callers
Function
setOwnedAgentRunnerStatus
( agentId: string, runnerStatus: 'running' | 'idle' )
apps/web-new/src/lib/owned-agent-service.ts:675
↓ 3 callers
Function
shouldUseDirectPredictionMarketLookup
(object: NormalizedDetailObject)
apps/web-new/src/lib/agent-detail-request-objects.ts:424
↓ 3 callers
Function
sortPositions
(positions: PublicPosition[])
apps/web-new/src/components/home-top-agent-section.tsx:238
↓ 3 callers
Function
submitDetailRequest
(agentId: string, body: unknown)
apps/web-new/src/lib/agent-detail-request-service.ts:64
↓ 3 callers
Function
toIsoValue
(value: string | Date | null | undefined)
apps/web-new/src/lib/agent-runtime.ts:98
↓ 3 callers
Function
toValidDate
(value: unknown, fallback = new Date())
apps/web-new/src/lib/market-adapter/massive.ts:47
↓ 3 callers
Function
topTierFromRankSnapshot
(rank: number | null)
apps/web-new/src/lib/public-market-db.ts:706
↓ 3 callers
Method
updateSymbolList
()
apps/workers/stock-stream.ts:467
↓ 3 callers
Function
writeAgentProtocolEvent
(input: { agentId: string; endpointKey: 'heartbeat_ping' | 'briefing' | 'detail_request' | 'decision'; h
apps/web-new/src/lib/agent-events.ts:72
↓ 3 callers
Function
writeAuditEvent
(input: { agentId: string | null; eventType: string; payload?: unknown; createdAt?: Date; })
apps/web-new/src/lib/agent-events.ts:6
↓ 2 callers
Function
analyzeSentenceStructure
(value: string)
apps/web-new/src/lib/agent-decision-service.ts:75
↓ 2 callers
Function
buildAgentUnauthorized
(message: string)
apps/web-new/src/lib/agent-runtime.ts:10
↓ 2 callers
Function
buildCandleKey
(candle: Pick<MarketCandleView, 'market' | 'symbol' | 'interval' | 'openTime'> & { outcomeId?: string | null
apps/web-new/src/lib/market-adapter/index.ts:134
↓ 2 callers
Function
buildCandleSeriesKey
(input: { symbol: string; market: MarketType; interval: string; outcomeId?: string | null; })
apps/web-new/src/lib/market-adapter/index.ts:68
↓ 2 callers
Function
buildDetailSummary
( objects: Array<{ tradable: boolean; decision_allowed: boolean; blocked_reason: string | null;
apps/web-new/src/lib/agent-detail-request-prediction.ts:304
↓ 2 callers
Function
buildExecutionQuoteFromMarketQuote
( action: ExecutionActionLike, quote: ExecutionMarketQuoteLike, method: string, source: string | null
apps/web-new/src/lib/execution-quote-resolver.ts:241
↓ 2 callers
Function
buildExecutionQuoteFromSnapshot
( action: ExecutionActionLike, quote: ExecutionSnapshotLike, method: string, source: string | null )
apps/web-new/src/lib/execution-quote-resolver.ts:210
↓ 2 callers
Function
buildObjectRisk
( object: NormalizedDetailObject, decisionContext: DetailDecisionContext )
apps/web-new/src/lib/agent-detail-request-objects.ts:438
↓ 2 callers
Function
buildOutcomeQuote
( eventSymbol: string, market: PredictionMarketDetails, outcome: { id: string | null; name: string; pric
apps/web-new/src/lib/market-adapter/polymarket.ts:655
↓ 2 callers
Function
buildPredictionDepthSnapshot
( bid: number, ask: number, size = 10_000 )
apps/web-new/tests/run-live-sql.ts:46
↓ 2 callers
Function
buildPredictionEventDetailsFromRaw
( rawEvent: unknown )
apps/web-new/src/lib/market-adapter/polymarket.ts:579
↓ 2 callers
Function
buildPredictionEventObjectId
(symbol: string)
apps/web-new/src/lib/agent-briefing.ts:171
↓ 2 callers
Function
buildPredictionInstrumentId
(symbol: string, outcomeId?: string | null)
apps/web-new/src/lib/agent-detail-request-market-data.ts:42
↓ 2 callers
Function
buildPredictionObjectId
(symbol: string, outcomeName: string | null | undefined)
apps/web-new/src/lib/agent-briefing.ts:175
↓ 2 callers
Function
buildPredictionOutcomeQuoteContext
( objects: NormalizedDetailObject[], marketDetailsMap: Map<string, PredictionMarketDetailsView | null>,
apps/web-new/src/lib/agent-detail-request-market-data.ts:600
↓ 2 callers
Function
buildPredictionResolutionFromMatches
( matches: PredictionEventDetailsView[], fallbackQuery?: string | null )
apps/web-new/src/lib/agent-detail-request-prediction.ts:45
↓ 2 callers
Function
buildProtocolMetadata
(schemaVersion, now = new Date())
packages/agenttrader-types/index.js:32
↓ 2 callers
Function
buildRunnerNextSteps
(appUrl: string)
apps/web-new/src/lib/agent-registration-service.ts:33
↓ 2 callers
Function
buildSeriesSummary
(rawSeries: unknown)
apps/web-new/src/lib/market-adapter/polymarket.ts:204
↓ 2 callers
Function
buildSpotMarketSummary
( market: 'stock' | 'crypto', symbols: string[] )
apps/web-new/src/lib/agent-briefing.ts:528
↓ 2 callers
Function
buildSyntheticDepthSnapshot
(input: { bid: number | null; ask: number | null; bidSize: number | null; askSize: number | null; ti
apps/web-new/src/lib/execution-quote-resolver.ts:107
↓ 2 callers
Function
buildSyntheticPredictionOutcomeQuote
( marketDetails: NonNullable<PredictionMarketDetailsView>, outcome: NonNullable<NonNullable<PredictionMark
apps/web-new/src/lib/agent-detail-request-market-data.ts:538
↓ 2 callers
Function
buildTradableObjects
( object: NormalizedDetailObject, eventDetails: PredictionEventDetailsView | null, marketDetails: Predic
apps/web-new/src/lib/agent-detail-request-tradeability.ts:648
↓ 2 callers
Function
buildTypedProtocolPayload
(input)
packages/agenttrader-types/index.js:40
↓ 2 callers
Function
checkPredictionPositionUniqueness
( agentId: string, action: { symbol: string; side: string; market: string; event_id?: stri
apps/web-new/src/lib/risk-checks.ts:203
↓ 2 callers
Function
chunkArray
(items: T[], size: number)
apps/workers/polymarket-stream.ts:36
↓ 2 callers
Function
claimAgent
(userId: string, claimToken: string)
apps/web-new/src/lib/agent-claim-service.ts:14
↓ 2 callers
Function
combineBinaryOutcomeBooks
( directBook: ParsedClobBook, complementBook: ParsedClobBook | null )
apps/web-new/src/lib/market-adapter/polymarket.ts:319
↓ 2 callers
Function
computeChange24h
( history: PriceHistoryPoint[] | undefined, currentPrice: number )
apps/workers/polymarket-stream.ts:127
↓ 2 callers
Method
connect
()
apps/workers/stock-stream.ts:293
↓ 2 callers
Method
connect
()
apps/workers/binance-stream.ts:138
↓ 2 callers
Function
countExecutedActionsForAgent
(agentId: string)
apps/web-new/src/lib/agent-competition.ts:42
↓ 2 callers
Function
createProxyTunnelError
(message: string)
apps/workers/ws-proxy.ts:39
↓ 2 callers
Function
deriveDetailTradePolicy
(input: { object: NormalizedDetailObject; decisionContext: DetailDecisionContext; eventDetails: Predicti
apps/web-new/src/lib/agent-detail-request-tradeability.ts:510
↓ 2 callers
Function
deriveMarketBlockedReason
( market: MarketType, marketDetails: PredictionMarketDetailsView | null )
apps/web-new/src/lib/agent-detail-request-tradeability.ts:284
↓ 2 callers
Function
derivePredictionDecisionSymbol
(input: { object_id: string; event_id?: string | null; outcome_name?: string | null; })
apps/web-new/src/lib/agent-decision-service.ts:224
↓ 2 callers
Function
ensureAccountSnapshotPositionsTable
()
apps/web-new/src/lib/account-snapshot-schema.ts:3
↓ 2 callers
Function
executionStatus
( _action: DecisionAction, filledUnits: number, requestedUnits: number )
apps/web-new/src/lib/trade-engine-core.ts:21
↓ 2 callers
Function
extractCronSecretFromRequest
(request: Request)
apps/web-new/src/lib/cron-auth-core.ts:1
↓ 2 callers
Function
fetchLiveDetailQuote
(input: { market: MarketType; symbol: string; outcomeId?: string | null; })
apps/web-new/src/lib/agent-detail-request-market-data.ts:69
↓ 2 callers
Function
findObjectPosition
( object: NormalizedDetailObject, positions: DetailPositionSnapshot[] )
apps/web-new/src/lib/agent-detail-request-objects.ts:361
↓ 2 callers
Function
formatCompactUsd
(value: number | null | undefined, localeTag: string)
apps/web-new/src/components/home-top-agent-section.tsx:244
↓ 2 callers
Function
formatCurrency
(value: number, locale: string)
apps/web-new/src/components/equity-bars.tsx:30
↓ 2 callers
Function
formatDateInTimeZone
( value: string | Date, timeZone: string )
apps/web-new/src/lib/public-store-utils.ts:162
↓ 2 callers
Function
formatHeartbeatStatus
( lastHeartbeatAt: string | null | undefined, locale: string, t: ReturnType<typeof useSiteLocale>['t'] )
apps/web-new/src/components/public-agent-page-client.tsx:1210
↓ 2 callers
Function
formatMarketName
( value: string | null | undefined, t: ReturnType<typeof useSiteLocale>['t'] )
apps/web-new/src/components/home-top-agent-section.tsx:280
↓ 2 callers
Function
formatModelName
( value: string | null | undefined, t: ReturnType<typeof useSiteLocale>['t'] )
apps/web-new/src/components/home-agent-panel.tsx:453
↓ 2 callers
Function
formatPercent
(value: number | null | undefined, localeTag: string)
apps/web-new/src/components/home-top-agent-section.tsx:263
↓ 2 callers
Function
formatPercent
(value: number, locale: string)
apps/web-new/src/components/equity-bars.tsx:38
← previous
next →
201–300 of 1,026, ranked by callers