MCPcopy Create free account

hub / github.com/Open-Dev-Society/OpenStock / functions

Functions216 in github.com/Open-Dev-Society/OpenStock

↓ 45 callersFunctioncn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 32 callersFunctionformatSymbolForTradingView
(symbol: string)
lib/utils.ts:215
↓ 17 callersFunctionconnectToDatabase
()
database/mongoose.ts:31
↓ 15 callersFunctioncallAIProvider
( prompt: string, provider?: AIProviderName )
lib/ai-provider.ts:151
↓ 8 callersFunctionformatMarketCapValue
(marketCapUsd: number)
lib/utils.ts:29
↓ 8 callersFunctiongetProviderConfig
( provider?: AIProviderName )
lib/ai-provider.ts:24
↓ 6 callersFunctioncallAIProviderWithFallback
( prompt: string )
lib/ai-provider.ts:168
↓ 6 callersFunctiongetStockSentimentInsights
( symbol: string, days: number = DEFAULT_LOOKBACK_DAYS, )
lib/actions/adanos.actions.ts:68
↓ 5 callersFunctioncalculateNewsDistribution
(symbolsCount: number)
lib/utils.ts:59
↓ 5 callersFunctionformatChangePercent
(changePercent?: number)
lib/utils.ts:100
↓ 5 callersFunctiongetFallbackProviderName
( primary: AIProviderName )
lib/ai-provider.ts:66
↓ 5 callersFunctionnormalizeSourceInsight
( source: SentimentSourceKey, row: SourceSpecificRow | null | undefined, )
lib/actions/adanos.helpers.ts:113
↓ 4 callersFunctionformatScore
(value: number | null, suffix: string)
components/stocks/StockSentimentCard.tsx:7
↓ 4 callersFunctiongetChangeColorClass
(changePercent?: number)
lib/utils.ts:106
↓ 4 callersFunctionhandleSubmit
(e: React.FormEvent)
components/watchlist/CreateAlertModal.tsx:50
↓ 3 callersFunctionaverage
(values: number[])
lib/actions/adanos.helpers.ts:89
↓ 3 callersFunctionbuildStockSentimentInsights
( symbol: string, sources: Array<SentimentSourceInsight | null>, )
lib/actions/adanos.helpers.ts:138
↓ 3 callersFunctiongetConfig
()
lib/kit.ts:8
↓ 3 callersFunctiongetNews
(symbols?: string[])
lib/actions/finnhub.actions.ts:117
↓ 3 callersFunctiongetQuote
(symbol: string)
lib/actions/finnhub.actions.ts:66
↓ 3 callersFunctiongetSourceAlignment
(bullishValues: number[])
lib/actions/adanos.helpers.ts:97
↓ 3 callersFunctionremoveFromWatchlist
(userId: string, symbol: string)
lib/actions/watchlist.actions.ts:33
↓ 3 callersFunctionroundTo
(value: number, digits: number = 1)
lib/actions/adanos.helpers.ts:84
↓ 3 callersFunctionsendPasswordResetEmail
( { email, name, resetUrl }: { email: string; name?: string | null; resetUrl: string } )
lib/nodemailer/reset-password.ts:11
↓ 3 callersFunctiontoNumber
(value: unknown)
lib/actions/adanos.helpers.ts:75
↓ 2 callersFunctionescapeHtml
(value: string)
lib/nodemailer/reset-password.ts:3
↓ 2 callersFunctionformatArticle
( article: RawNewsArticle, isCompanyNews: boolean, symbol?: string, index: number = 0 )
lib/utils.ts:82
↓ 2 callersFunctiongetAdanosApiKey
()
lib/actions/adanos.actions.ts:20
↓ 2 callersFunctiongetFlagEmoji
(countryCode: string)
components/forms/CountrySelectField.tsx:46
↓ 2 callersFunctiongetTrendClasses
(trend: string | null)
components/stocks/StockSentimentCard.tsx:19
↓ 2 callersFunctiongetWatchlistData
(symbols: string[])
lib/actions/finnhub.actions.ts:90
↓ 2 callersFunctionvalidateArticle
(article: RawNewsArticle)
lib/utils.ts:76
↓ 1 callersFunctionBASELINE_WIDGET_CONFIG
(symbol: string)
lib/constants.ts:209
↓ 1 callersFunctionCANDLE_CHART_WIDGET_CONFIG
(symbol: string)
lib/constants.ts:183
↓ 1 callersFunctionCOMPANY_FINANCIALS_WIDGET_CONFIG
(symbol: string)
lib/constants.ts:255
↓ 1 callersFunctionCOMPANY_PROFILE_WIDGET_CONFIG
(symbol: string)
lib/constants.ts:246
↓ 1 callersFunctionSYMBOL_INFO_WIDGET_CONFIG
(symbol: string)
lib/constants.ts:174
↓ 1 callersFunctionTECHNICAL_ANALYSIS_WIDGET_CONFIG
(symbol: string)
lib/constants.ts:235
↓ 1 callersFunctionaddSubscriberToKit
(email, firstName)
scripts/migrate-users-to-kit.mjs:22
↓ 1 callersFunctionaddToWatchlist
(userId: string, symbol: string, company: string)
lib/actions/watchlist.actions.ts:9
↓ 1 callersFunctioncallGemini
( prompt: string, config: AIProviderConfig )
lib/ai-provider.ts:80
↓ 1 callersFunctioncallOpenAICompatible
( prompt: string, config: AIProviderConfig )
lib/ai-provider.ts:106
↓ 1 callersFunctioncheckDBs
()
scripts/check_db_name.js:11
↓ 1 callersFunctioncheckSchema
()
scripts/inspect-user.mjs:6
↓ 1 callersFunctioncreateAlert
(params: { userId: string; symbol: string; targetPrice: number; condition: 'ABOVE' | 'BELOW';
lib/actions/alert.actions.ts:8
↓ 1 callersFunctioncreateTag
()
scripts/create-kit-tag.mjs:7
↓ 1 callersFunctiondeleteAlert
(alertId: string)
lib/actions/alert.actions.ts:42
↓ 1 callersFunctionfetchCompareSource
( source: SentimentSourceKey, symbol: string, days: number, )
lib/actions/adanos.actions.ts:24
↓ 1 callersFunctionformatCompactNumber
(value: number)
components/stocks/StockSentimentCard.tsx:12
↓ 1 callersFunctionformatNumber
(num: number)
lib/utils.ts:122
↓ 1 callersFunctionformatPrice
(price: number)
lib/utils.ts:111
↓ 1 callersFunctiongetAdanosBaseUrl
()
lib/actions/adanos.actions.ts:16
↓ 1 callersFunctiongetAlignmentClasses
(alignment: string)
components/stocks/StockSentimentCard.tsx:26
↓ 1 callersFunctiongetAuth
()
lib/better-auth/auth.ts:11
↓ 1 callersFunctiongetCompanyProfile
(symbol: string)
lib/actions/finnhub.actions.ts:78
↓ 1 callersFunctiongetDateRange
(days: number)
lib/utils.ts:38
↓ 1 callersFunctiongetExchangeLabel
(symbol: string, exchange?: string)
lib/actions/finnhub.actions.ts:51
↓ 1 callersFunctiongetFormattedTodayDate
()
lib/utils.ts:149
↓ 1 callersFunctiongetStandardConnectionString
()
scripts/resolve_srv.js:13
↓ 1 callersFunctiongetUserAlerts
(userId: string)
lib/actions/alert.actions.ts:30
↓ 1 callersFunctiongetUserWatchlist
(userId: string)
lib/actions/watchlist.actions.ts:46
↓ 1 callersFunctionhandleDelete
(id: string)
components/watchlist/AlertsPanel.tsx:14
↓ 1 callersFunctionhandleDismiss
()
components/DonatePopup.tsx:51
↓ 1 callersFunctionisActive
(path: string)
components/NavItems.tsx:24
↓ 1 callersFunctionisStockInWatchlist
(userId: string, symbol: string)
lib/actions/watchlist.actions.ts:58
↓ 1 callersFunctionlistForms
()
scripts/list-kit-forms.mjs:7
↓ 1 callersFunctionmain
()
scripts/test-db.mjs:17
↓ 1 callersFunctionmain
()
scripts/verify-watchlist.mjs:48
↓ 1 callersFunctionmain
()
scripts/test-db.ts:3
↓ 1 callersFunctionmaskValue
(value)
scripts/check-env.mjs:119
↓ 1 callersFunctionnormalizeTrend
(value: unknown)
lib/actions/adanos.helpers.ts:93
↓ 1 callersFunctionrequestPasswordResetEmail
({ email }: { email: string })
lib/actions/auth.actions.ts:61
↓ 1 callersFunctionresetPasswordWithToken
( { token, newPassword }: { token: string; newPassword: string } )
lib/actions/auth.actions.ts:93
↓ 1 callersFunctionrun
()
scripts/seed-inactive-user.mjs:17
↓ 1 callersFunctionrunMigration
()
scripts/migrate-users-to-kit.mjs:63
↓ 1 callersFunctionrunTest
()
scripts/test-kit.mjs:16
↓ 1 callersFunctionsendWelcomeEmail
({ email, name, intro }: WelcomeEmailData)
lib/nodemailer/index.ts:38
↓ 1 callersFunctionsignInWithEmail
({ email, password }: SignInFormData)
lib/actions/auth.actions.ts:32
↓ 1 callersFunctionsignOut
()
lib/actions/auth.actions.ts:111
↓ 1 callersFunctionsignUpWithEmail
({ email, password, fullName, country, investmentGoals, riskTolerance, preferredIndustry }: SignUpFormData)
lib/actions/auth.actions.ts:7
↓ 1 callersFunctionuseDebounce
(callback: () => void, delay: number)
hooks/useDebounce.ts:5
↓ 1 callersFunctionuseTradingViewWidget
(scriptUrl: string, config: Record<string, unknown>, height: number | string = 600)
hooks/useTradingViewWidget.tsx:4
↓ 1 callersFunctionverifyFinnhub
()
scripts/verify-watchlist.mjs:29
FunctionAboutPage
()
app/(root)/about/page.tsx:21
FunctionAlertsPanel
({ alerts, onRefresh }: AlertsPanelProps)
components/watchlist/AlertsPanel.tsx:13
FunctionApiDocsPage
()
app/(root)/api-docs/page.tsx:24
FunctionAvatar
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>)
components/ui/avatar.tsx:8
FunctionAvatarFallback
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>)
components/ui/avatar.tsx:37
FunctionAvatarImage
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>)
components/ui/avatar.tsx:24
FunctionBadge
({ children, color }: { children: React.ReactNode, color: 'green' | 'purple' | 'blue' })
app/(root)/api-docs/page.tsx:204
FunctionButton
({ className, variant, size, asChild = false, ...props }: React.ComponentProps<"button"> & Variant
components/ui/button.tsx:37
FunctionCommand
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>)
components/ui/command.tsx:16
FunctionCommandDialog
({ title = "Command Palette", description = "Search for a command to run...", children, className, s
components/ui/command.tsx:32
FunctionCommandEmpty
({ ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>)
components/ui/command.tsx:101
FunctionCommandGroup
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>)
components/ui/command.tsx:113
FunctionCommandInput
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Input>)
components/ui/command.tsx:63
FunctionCommandItem
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>)
components/ui/command.tsx:142
FunctionCommandList
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>)
components/ui/command.tsx:85
FunctionCommandSeparator
({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Separator>)
components/ui/command.tsx:129
FunctionCommandShortcut
({ className, ...props }: React.ComponentProps<"span">)
components/ui/command.tsx:158
next →1–100 of 216, ranked by callers