MCPcopy Create free account

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

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

↓ 3 callersFunctionfileExists
(path)
apps/web-new/tests/live-sql-loader.mjs:10
↓ 3 callersMethodflushDirtyQuotes
()
apps/workers/stock-stream.ts:676
↓ 3 callersFunctionformatCompactUsd
(value: number | null | undefined, localeTag: string)
apps/web-new/src/components/home-agent-panel.tsx:399
↓ 3 callersFunctionformatFreshnessValue
( level: DataFreshnessLevel, t: ReturnType<typeof useSiteLocale>['t'] )
apps/web-new/src/components/arena-status-strip.tsx:162
↓ 3 callersFunctionformatNumber
(value: number, locale: string)
apps/web-new/src/components/public-agent-page-client.tsx:1199
↓ 3 callersFunctionformatPercent
(value: number | null | undefined, localeTag: string)
apps/web-new/src/components/leaderboard-table.tsx:276
↓ 3 callersFunctionformatWeight
(value: number | null | undefined, localeTag: string)
apps/web-new/src/components/home-dashboard-client.tsx:1966
↓ 3 callersFunctionfreshnessTone
(level: DataFreshnessLevel)
apps/web-new/src/lib/arena-status-strip-model.ts:24
↓ 3 callersFunctionfromBinanceSymbol
(symbol: string)
apps/web-new/src/lib/market-adapter/binance.ts:48
↓ 3 callersFunctiongetAgentLeaderboardRank
(agentId: string)
apps/web-new/src/lib/agent-competition.ts:120
↓ 3 callersFunctiongetLeaderboardVisibilityRule
()
apps/web-new/src/lib/trading-rules.ts:47
↓ 3 callersFunctiongetMassiveApiKey
()
apps/workers/stock-stream.ts:202
↓ 3 callersMethodgetOrCreateState
(symbol: string)
apps/workers/stock-stream.ts:439
↓ 3 callersFunctiongetPolymarketMarketDetails
( symbol: string )
apps/web-new/src/lib/market-adapter/polymarket.ts:414
↓ 3 callersFunctiongetPublicLeaderboard
(input: { page: number; pageSize: number; })
apps/web-new/src/lib/public-market.ts:29
↓ 3 callersFunctiongetQuoteWarnings
( market: MarketType, quote: MarketQuote, candles: MarketCandleView[] )
apps/web-new/src/lib/agent-detail-request-tradeability.ts:173
↓ 3 callersFunctiongetSiteLocaleTag
(locale: SiteLocale)
apps/web-new/src/lib/site-locale.ts:18
↓ 3 callersFunctiongetTrackedSymbolList
(marketType: MarketType)
apps/web-new/src/lib/redis/market-cache.ts:274
↓ 3 callersFunctionisStaleDetailQuote
( market: MarketType, quote: Pick<MarketQuote, 'timestamp'> | null | undefined )
apps/web-new/src/lib/agent-detail-request-market-data.ts:53
↓ 3 callersMethodmarkDirty
(symbol: string)
apps/workers/stock-stream.ts:463
↓ 3 callersFunctionmarketStatus
(marketType: MarketType)
apps/web-new/src/lib/redis/market-cache.ts:315
↓ 3 callersFunctionmassiveFetch
(path: string, options: MassiveFetchOptions = {})
apps/web-new/src/lib/market-adapter/massive.ts:80
↓ 3 callersFunctionmaybeEnrichDetailQuoteMetrics
( quoteResult: DetailQuoteResult, input: { market: MarketType; symbol: string; outcomeId?: str
apps/web-new/src/lib/agent-detail-request-market-data.ts:106
↓ 3 callersFunctionnormalizeJsonPayload
(value: unknown)
apps/web-new/src/lib/agent-reporting-service.ts:207
↓ 3 callersFunctionnormalizeSymbolList
(values: unknown)
apps/web-new/src/lib/redis/market-cache.ts:39
↓ 3 callersFunctionnormalizeUnfilledReason
(reason: string)
apps/web-new/src/lib/trade-engine-core.ts:101
↓ 3 callersFunctionparseOutcomeSymbol
(symbol: string)
apps/web-new/src/lib/market-adapter/polymarket.ts:406
↓ 3 callersFunctionparseTimestamp
( value: string | Date | null | undefined )
apps/web-new/src/lib/timestamp.ts:5
↓ 3 callersFunctionqueryLatestPublicLeaderboardRowsFromStore
()
apps/web-new/src/lib/public-market-store.ts:358
↓ 3 callersFunctionreadFileStore
()
apps/web-new/src/db/store.ts:30
↓ 3 callersFunctionreadProxyEnv
(name: string)
apps/workers/ws-proxy.ts:7
↓ 3 callersFunctionrefreshMarketData
( marketType: MarketType, symbols?: string[] )
apps/web-new/src/lib/market-adapter/index.ts:1281
↓ 3 callersMethodrefreshWatchlist
(resubscribe = false)
apps/workers/stock-stream.ts:508
↓ 3 callersFunctionrequireDatabaseMode
()
apps/web-new/src/lib/agent-competition.ts:17
↓ 3 callersFunctionrequireDatabaseModeCron
(featureName: string)
apps/web-new/src/lib/database-mode.ts:105
↓ 3 callersFunctionresolveTsCandidate
(basePath)
apps/web-new/tests/live-sql-loader.mjs:20
↓ 3 callersFunctionroundRate
(value: number | null)
apps/web-new/src/lib/trade-engine-core.ts:91
↓ 3 callersFunctionrunTest
(name: string, fn: () => void)
apps/web-new/tests/prediction-search.test.ts:8
↓ 3 callersFunctionrunTest
(name: string, fn: () => void)
apps/workers/quote-contract.test.ts:6
↓ 3 callersFunctionseedInstrumentAndMarketData
(sql: Sql, input: { symbol: string; market: 'crypto'; price: number; })
apps/web-new/tests/run-live-sql.ts:453
↓ 3 callersMethodsendSubscriptionAction
( action: 'subscribe' | 'unsubscribe', symbols: string[], socket = this.ws )
apps/workers/stock-stream.ts:626
↓ 3 callersFunctionsetOwnedAgentRunnerStatus
( agentId: string, runnerStatus: 'running' | 'idle' )
apps/web-new/src/lib/owned-agent-service.ts:675
↓ 3 callersFunctionshouldUseDirectPredictionMarketLookup
(object: NormalizedDetailObject)
apps/web-new/src/lib/agent-detail-request-objects.ts:424
↓ 3 callersFunctionsortPositions
(positions: PublicPosition[])
apps/web-new/src/components/home-top-agent-section.tsx:238
↓ 3 callersFunctionsubmitDetailRequest
(agentId: string, body: unknown)
apps/web-new/src/lib/agent-detail-request-service.ts:64
↓ 3 callersFunctiontoIsoValue
(value: string | Date | null | undefined)
apps/web-new/src/lib/agent-runtime.ts:98
↓ 3 callersFunctiontoValidDate
(value: unknown, fallback = new Date())
apps/web-new/src/lib/market-adapter/massive.ts:47
↓ 3 callersFunctiontopTierFromRankSnapshot
(rank: number | null)
apps/web-new/src/lib/public-market-db.ts:706
↓ 3 callersMethodupdateSymbolList
()
apps/workers/stock-stream.ts:467
↓ 3 callersFunctionwriteAgentProtocolEvent
(input: { agentId: string; endpointKey: 'heartbeat_ping' | 'briefing' | 'detail_request' | 'decision'; h
apps/web-new/src/lib/agent-events.ts:72
↓ 3 callersFunctionwriteAuditEvent
(input: { agentId: string | null; eventType: string; payload?: unknown; createdAt?: Date; })
apps/web-new/src/lib/agent-events.ts:6
↓ 2 callersFunctionanalyzeSentenceStructure
(value: string)
apps/web-new/src/lib/agent-decision-service.ts:75
↓ 2 callersFunctionbuildAgentUnauthorized
(message: string)
apps/web-new/src/lib/agent-runtime.ts:10
↓ 2 callersFunctionbuildCandleKey
(candle: Pick<MarketCandleView, 'market' | 'symbol' | 'interval' | 'openTime'> & { outcomeId?: string | null
apps/web-new/src/lib/market-adapter/index.ts:134
↓ 2 callersFunctionbuildCandleSeriesKey
(input: { symbol: string; market: MarketType; interval: string; outcomeId?: string | null; })
apps/web-new/src/lib/market-adapter/index.ts:68
↓ 2 callersFunctionbuildDetailSummary
( objects: Array<{ tradable: boolean; decision_allowed: boolean; blocked_reason: string | null;
apps/web-new/src/lib/agent-detail-request-prediction.ts:304
↓ 2 callersFunctionbuildExecutionQuoteFromMarketQuote
( action: ExecutionActionLike, quote: ExecutionMarketQuoteLike, method: string, source: string | null
apps/web-new/src/lib/execution-quote-resolver.ts:241
↓ 2 callersFunctionbuildExecutionQuoteFromSnapshot
( action: ExecutionActionLike, quote: ExecutionSnapshotLike, method: string, source: string | null )
apps/web-new/src/lib/execution-quote-resolver.ts:210
↓ 2 callersFunctionbuildObjectRisk
( object: NormalizedDetailObject, decisionContext: DetailDecisionContext )
apps/web-new/src/lib/agent-detail-request-objects.ts:438
↓ 2 callersFunctionbuildOutcomeQuote
( eventSymbol: string, market: PredictionMarketDetails, outcome: { id: string | null; name: string; pric
apps/web-new/src/lib/market-adapter/polymarket.ts:655
↓ 2 callersFunctionbuildPredictionDepthSnapshot
( bid: number, ask: number, size = 10_000 )
apps/web-new/tests/run-live-sql.ts:46
↓ 2 callersFunctionbuildPredictionEventDetailsFromRaw
( rawEvent: unknown )
apps/web-new/src/lib/market-adapter/polymarket.ts:579
↓ 2 callersFunctionbuildPredictionEventObjectId
(symbol: string)
apps/web-new/src/lib/agent-briefing.ts:171
↓ 2 callersFunctionbuildPredictionInstrumentId
(symbol: string, outcomeId?: string | null)
apps/web-new/src/lib/agent-detail-request-market-data.ts:42
↓ 2 callersFunctionbuildPredictionObjectId
(symbol: string, outcomeName: string | null | undefined)
apps/web-new/src/lib/agent-briefing.ts:175
↓ 2 callersFunctionbuildPredictionOutcomeQuoteContext
( objects: NormalizedDetailObject[], marketDetailsMap: Map<string, PredictionMarketDetailsView | null>,
apps/web-new/src/lib/agent-detail-request-market-data.ts:600
↓ 2 callersFunctionbuildPredictionResolutionFromMatches
( matches: PredictionEventDetailsView[], fallbackQuery?: string | null )
apps/web-new/src/lib/agent-detail-request-prediction.ts:45
↓ 2 callersFunctionbuildProtocolMetadata
(schemaVersion, now = new Date())
packages/agenttrader-types/index.js:32
↓ 2 callersFunctionbuildRunnerNextSteps
(appUrl: string)
apps/web-new/src/lib/agent-registration-service.ts:33
↓ 2 callersFunctionbuildSeriesSummary
(rawSeries: unknown)
apps/web-new/src/lib/market-adapter/polymarket.ts:204
↓ 2 callersFunctionbuildSpotMarketSummary
( market: 'stock' | 'crypto', symbols: string[] )
apps/web-new/src/lib/agent-briefing.ts:528
↓ 2 callersFunctionbuildSyntheticDepthSnapshot
(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 callersFunctionbuildSyntheticPredictionOutcomeQuote
( marketDetails: NonNullable<PredictionMarketDetailsView>, outcome: NonNullable<NonNullable<PredictionMark
apps/web-new/src/lib/agent-detail-request-market-data.ts:538
↓ 2 callersFunctionbuildTradableObjects
( object: NormalizedDetailObject, eventDetails: PredictionEventDetailsView | null, marketDetails: Predic
apps/web-new/src/lib/agent-detail-request-tradeability.ts:648
↓ 2 callersFunctionbuildTypedProtocolPayload
(input)
packages/agenttrader-types/index.js:40
↓ 2 callersFunctioncheckPredictionPositionUniqueness
( agentId: string, action: { symbol: string; side: string; market: string; event_id?: stri
apps/web-new/src/lib/risk-checks.ts:203
↓ 2 callersFunctionchunkArray
(items: T[], size: number)
apps/workers/polymarket-stream.ts:36
↓ 2 callersFunctionclaimAgent
(userId: string, claimToken: string)
apps/web-new/src/lib/agent-claim-service.ts:14
↓ 2 callersFunctioncombineBinaryOutcomeBooks
( directBook: ParsedClobBook, complementBook: ParsedClobBook | null )
apps/web-new/src/lib/market-adapter/polymarket.ts:319
↓ 2 callersFunctioncomputeChange24h
( history: PriceHistoryPoint[] | undefined, currentPrice: number )
apps/workers/polymarket-stream.ts:127
↓ 2 callersMethodconnect
()
apps/workers/stock-stream.ts:293
↓ 2 callersMethodconnect
()
apps/workers/binance-stream.ts:138
↓ 2 callersFunctioncountExecutedActionsForAgent
(agentId: string)
apps/web-new/src/lib/agent-competition.ts:42
↓ 2 callersFunctioncreateProxyTunnelError
(message: string)
apps/workers/ws-proxy.ts:39
↓ 2 callersFunctionderiveDetailTradePolicy
(input: { object: NormalizedDetailObject; decisionContext: DetailDecisionContext; eventDetails: Predicti
apps/web-new/src/lib/agent-detail-request-tradeability.ts:510
↓ 2 callersFunctionderiveMarketBlockedReason
( market: MarketType, marketDetails: PredictionMarketDetailsView | null )
apps/web-new/src/lib/agent-detail-request-tradeability.ts:284
↓ 2 callersFunctionderivePredictionDecisionSymbol
(input: { object_id: string; event_id?: string | null; outcome_name?: string | null; })
apps/web-new/src/lib/agent-decision-service.ts:224
↓ 2 callersFunctionensureAccountSnapshotPositionsTable
()
apps/web-new/src/lib/account-snapshot-schema.ts:3
↓ 2 callersFunctionexecutionStatus
( _action: DecisionAction, filledUnits: number, requestedUnits: number )
apps/web-new/src/lib/trade-engine-core.ts:21
↓ 2 callersFunctionextractCronSecretFromRequest
(request: Request)
apps/web-new/src/lib/cron-auth-core.ts:1
↓ 2 callersFunctionfetchLiveDetailQuote
(input: { market: MarketType; symbol: string; outcomeId?: string | null; })
apps/web-new/src/lib/agent-detail-request-market-data.ts:69
↓ 2 callersFunctionfindObjectPosition
( object: NormalizedDetailObject, positions: DetailPositionSnapshot[] )
apps/web-new/src/lib/agent-detail-request-objects.ts:361
↓ 2 callersFunctionformatCompactUsd
(value: number | null | undefined, localeTag: string)
apps/web-new/src/components/home-top-agent-section.tsx:244
↓ 2 callersFunctionformatCurrency
(value: number, locale: string)
apps/web-new/src/components/equity-bars.tsx:30
↓ 2 callersFunctionformatDateInTimeZone
( value: string | Date, timeZone: string )
apps/web-new/src/lib/public-store-utils.ts:162
↓ 2 callersFunctionformatHeartbeatStatus
( lastHeartbeatAt: string | null | undefined, locale: string, t: ReturnType<typeof useSiteLocale>['t'] )
apps/web-new/src/components/public-agent-page-client.tsx:1210
↓ 2 callersFunctionformatMarketName
( value: string | null | undefined, t: ReturnType<typeof useSiteLocale>['t'] )
apps/web-new/src/components/home-top-agent-section.tsx:280
↓ 2 callersFunctionformatModelName
( value: string | null | undefined, t: ReturnType<typeof useSiteLocale>['t'] )
apps/web-new/src/components/home-agent-panel.tsx:453
↓ 2 callersFunctionformatPercent
(value: number | null | undefined, localeTag: string)
apps/web-new/src/components/home-top-agent-section.tsx:263
↓ 2 callersFunctionformatPercent
(value: number, locale: string)
apps/web-new/src/components/equity-bars.tsx:38
← previousnext →201–300 of 1,026, ranked by callers