MCPcopy Index your code
hub / github.com/DariusLukasukas/stocks

github.com/DariusLukasukas/stocks @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
74 symbols 240 edges 48 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Stocks tracking app

https://github.com/DariusLukasukas/stocks/assets/64962012/d81789c6-18ee-4217-ba2d-c67130a08239

CleanShot 2024-04-06 at 15 14 39@2x CleanShot 2024-04-15 at 13 52 01@2x CleanShot 2024-04-06 at 15 09 13@2x

Key Features

  • Robust Stock Search and Screening: Quickly find relevant stocks using intuitive search tools and apply filters based on key metrics.
  • In-depth Company Information:
  • Real-time stock quotes and historical pricing data
  • Comprehensive financial statements (income statement, balance sheet, cash flow)
  • Key ratios and fundamental metrics
  • Detailed company profiles and summaries
  • Interactive Charting Tools:
  • Customizable Visx area charts for visualizing market trends and patterns
  • Adjustable timeframes (intraday, daily, weekly, monthly, etc.)
  • Market News Integration:
  • Curated feed of relevant news articles and analysis
  • Ability to filter news sources by relevance and sector

Development Roadmap:

  • Personalized stock watchlists
  • Support for technical indicators (moving averages, Bollinger Bands, RSI, etc.)
  • Dedicated news section
  • User preferences and settings

Technical Overview

Frontend: Next.js, React.js, TailwindCSS Data Source: Yahoo-Finance2 Charting: Visx, d3.js UI Components: Radix UI, Shadcn.

Contributions and Feedback

If you have bug reports, feature suggestions, or want to get involved in development, please open an issue or submit a pull request.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Inter, a custom Google Font.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Extension points exported contracts — how you extend this code

InteractionsProps (Interface)
(no doc)
components/chart/AreaClosedChart.tsx
CommandDialogProps (Interface)
(no doc)
components/ui/command.tsx
Sector (Interface)
(no doc)
components/stocks/SectorPerformance.tsx
DataTableViewOptionsProps (Interface)
(no doc)
app/screener/components/column-toggle.tsx
AreaProps (Interface)
(no doc)
components/chart/AreaClosedChart.tsx
InputProps (Interface)
(no doc)
components/ui/input.tsx
DataTableProps (Interface)
(no doc)
components/stocks/markets/data-table.tsx
DataTableProps (Interface)
(no doc)
app/screener/components/data-table.tsx

Core symbols most depended-on inside this repo

cn
called by 74
lib/utils.ts
toDate
called by 5
components/chart/AreaClosedChart.tsx
fetchQuote
called by 3
lib/yahoo-finance/fetchQuote.ts
fetchStockSearch
called by 2
lib/yahoo-finance/fetchStockSearch.ts
validateRange
called by 2
lib/yahoo-finance/fetchChartData.ts
validateInterval
called by 2
lib/yahoo-finance/fetchChartData.ts
fetchChartData
called by 2
lib/yahoo-finance/fetchChartData.ts
formatVolume
called by 2
app/screener/components/columns.tsx

Shape

Function 64
Interface 10

Languages

TypeScript100%

Modules by API surface

components/chart/AreaClosedChart.tsx10 symbols
components/ui/pagination.tsx5 symbols
lib/utils.ts4 symbols
lib/yahoo-finance/fetchChartData.ts3 symbols
components/ui/drawer.tsx3 symbols
components/ui/command.tsx3 symbols
components/stocks/SectorPerformance.tsx3 symbols
components/chart/StockChart.tsx3 symbols
app/page.tsx3 symbols
components/ui/dialog.tsx2 symbols
components/ui/command-menu.tsx2 symbols
components/stocks/markets/data-table.tsx2 symbols

For agents

$ claude mcp add stocks \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact