MCPcopy Create free account

hub / github.com/DariusLukasukas/stocks / functions

Functions64 in github.com/DariusLukasukas/stocks

↓ 74 callersFunctioncn
(...inputs: ClassValue[])
lib/utils.ts:5
↓ 5 callersFunctiontoDate
(d: any)
components/chart/AreaClosedChart.tsx:18
↓ 3 callersFunctionfetchQuote
(ticker: string)
lib/yahoo-finance/fetchQuote.ts:4
↓ 2 callersFunctionfetchChartData
( ticker: string, range: Range, interval: Interval )
lib/yahoo-finance/fetchChartData.ts:19
↓ 2 callersFunctionfetchStockSearch
(ticker: string, newsCount: number = 5)
lib/yahoo-finance/fetchStockSearch.ts:5
↓ 2 callersFunctionformatVolume
(volume: number)
app/screener/components/columns.tsx:131
↓ 2 callersFunctionvalidateInterval
(range: Range, interval: Interval)
lib/yahoo-finance/fetchChartData.ts:14
↓ 2 callersFunctionvalidateRange
(range: string)
lib/yahoo-finance/fetchChartData.ts:11
↓ 1 callersFunctionCalculateRange
(range: string)
lib/utils.ts:51
↓ 1 callersFunctioncalculatePriceChange
(qouteClose: number, currentPrice: number)
components/chart/StockChart.tsx:22
↓ 1 callersFunctionfetchFearGreendIndex
()
components/stocks/fear-greed-index.tsx:3
↓ 1 callersFunctionfetchQuoteSummary
(ticker: string)
lib/yahoo-finance/fetchQuoteSummary.ts:4
↓ 1 callersFunctionfetchScreenerStocks
(query: string, count?: number)
lib/yahoo-finance/fetchScreenerStocks.ts:11
↓ 1 callersFunctionfetchSectorPerformance
()
components/stocks/SectorPerformance.tsx:3
↓ 1 callersFunctionformatMarketCap
(marketCap: number)
app/screener/components/columns.tsx:167
↓ 1 callersFunctiongetMarketSentiment
(changePercentage: number | undefined)
app/page.tsx:78
↓ 1 callersFunctionisMarketOpen
()
app/page.tsx:23
↓ 1 callersFunctionisValidRange
(r: string)
components/chart/AreaClosedChart.tsx:304
↓ 1 callersFunctiontimeAgo
(publishTime: string)
app/stocks/[ticker]/components/News.tsx:9
FunctionArea
({ mask, id, data, x, y, yScale, color }: AreaProps)
components/chart/AreaClosedChart.tsx:127
FunctionAreaClosedChart
({ chartQuotes, range }: any)
components/chart/AreaClosedChart.tsx:255
FunctionCommandDialog
({ children, ...props }: CommandDialogProps)
components/ui/command.tsx:28
FunctionCommandMenu
()
components/ui/command-menu.tsx:28
FunctionCommandShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
components/ui/command.tsx:130
FunctionCompanySummaryCard
({ ticker, }: { ticker: string })
app/stocks/[ticker]/components/CompanySummaryCard.tsx:6
FunctionDataTable
({ columns, data, }: DataTableProps<TData, TValue>)
components/stocks/markets/data-table.tsx:24
FunctionDataTable
({ columns, data, }: DataTableProps<TData, TValue>)
app/screener/components/data-table.tsx:43
FunctionDataTableViewOptions
({ table, }: DataTableViewOptionsProps<TData>)
app/screener/components/column-toggle.tsx:20
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/dialog.tsx:70
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/dialog.tsx:56
FunctionDrawer
({ shouldScaleBackground = true, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>)
components/ui/drawer.tsx:8
FunctionDrawerFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/drawer.tsx:69
FunctionDrawerHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/drawer.tsx:58
FunctionDropdownMenuShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
components/ui/dropdown-menu.tsx:176
FunctionFearGreedIndex
()
components/stocks/fear-greed-index.tsx:23
FunctionFinanceSummary
({ ticker }: { ticker: string })
app/stocks/[ticker]/components/FinanceSummary.tsx:36
FunctionFooter
()
components/ui/footer.tsx:5
FunctionGoBack
()
components/ui/go-back.tsx:6
FunctionGraphSlider
({ data, width, height, top, state, dispatch }: any)
components/chart/AreaClosedChart.tsx:151
FunctionHome
({ searchParams, }: { searchParams?: { ticker?: string range?: string interval?: string } })
app/page.tsx:91
FunctionInteractions
({ width, height, xScale, data, dispatch, }: InteractionsProps)
components/chart/AreaClosedChart.tsx:67
FunctionMarketsChart
({ ticker, range, interval, }: { ticker: string range: Range interval: Interval })
components/chart/MarketsChart.tsx:6
FunctionNavigation
()
components/ui/navigation.tsx:22
FunctionNews
({ ticker }: { ticker: string })
app/stocks/[ticker]/components/News.tsx:26
FunctionPagination
({ className, ...props }: React.ComponentProps<"nav">)
components/ui/pagination.tsx:11
FunctionPaginationEllipsis
({ className, ...props }: React.ComponentProps<"span">)
components/ui/pagination.tsx:98
FunctionPaginationLink
({ className, isActive, size = "icon", ...props }: PaginationLinkProps)
components/ui/pagination.tsx:46
FunctionPaginationNext
({ className, ...props }: React.ComponentProps<typeof PaginationLink>)
components/ui/pagination.tsx:82
FunctionPaginationPrevious
({ className, ...props }: React.ComponentProps<typeof PaginationLink>)
components/ui/pagination.tsx:66
FunctionReadMoreText
({ text, truncateLength, }: { text: string truncateLength: number })
components/ui/read-more-text.tsx:4
FunctionRootLayout
({ children, }: Readonly<{ children: React.ReactNode }>)
app/layout.tsx:17
FunctionScreenerPage
({ searchParams, }: { searchParams?: { screener?: string } })
app/screener/page.tsx:11
FunctionSectorPerformance
()
components/stocks/SectorPerformance.tsx:24
FunctionStockChart
({ ticker, range, interval, }: StockGraphProps)
components/chart/StockChart.tsx:27
FunctionStocksPage
({ params, searchParams }: Props)
app/stocks/[ticker]/page.tsx:46
FunctionThemeProvider
({ children, ...props }: ThemeProviderProps)
components/ui/theme-provider.tsx:7
FunctionThemeToggle
()
components/ui/theme-toggle.tsx:15
FunctioncalculateInterval
(range: string)
lib/utils.ts:79
Functiondown
(e: KeyboardEvent)
components/ui/command-menu.tsx:34
FunctionformatNumber
(num: number)
app/stocks/[ticker]/components/FinanceSummary.tsx:3
FunctiongenerateMetadata
({ params }: Props)
app/stocks/[ticker]/page.tsx:27
FunctiongetStartDate
(interval: Interval)
lib/utils.ts:9
FunctionhandleClick
(e: React.MouseEvent<HTMLButtonElement>)
components/chart/AreaClosedChart.tsx:311
Functionreducer
(state: any, action: any)
components/chart/AreaClosedChart.tsx:28