Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 1 KB

README.md

File metadata and controls

47 lines (31 loc) · 1 KB

Getting Started

Stock Price Analyzer

This Next.js 14 application analyzes and visualizes stock price data for multiple tech companies using TypeScript, focusing on server actions for data processing and basic data visualization.

Features

  • Fetch stock data for selected tickers and date ranges.
  • Calculate daily returns.
  • Display data in both tabular and chart formats.
  • Compare stocks side by side.

Technologies Used

  • Next.js 14 with TypeScript
  • Tailwind CSS for styling
  • Chart.js via react-chartjs-2 for data visualization
  • Jest and React Testing Library for testing

Setup Instructions

First, install the dependencies

npm install

Run the development server:

npm run dev

To run the test:

npm run test

Usage

  • Select a ticker from the tickers option dropdown.
  • Select the date ranges you want
  • Click on the Analyze button to display data

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