A demo application built in React. Deployed here: https://stock-data-viewer.vercel.app/.
It Shows stock market data (fake, random data, just to simulate) in the form of line and bar chart.
Enter a Stock Symbol: Type the desired stock symbol (e.g., AAPL for Apple Inc.) into the input field.
Select a Time Interval: Choose a time interval for the stock data from the dropdown menu. Options include:
1 Minute
30 Minutes
60 Minutes
Fetch Data: Click the "Fetch Stock Data" button to retrieve the latest stock information. While the data is loading, the button will display a loading message.
View Chart: Once the data is fetched, a chart displaying the stock's open, high, low, close, and volume details will be presented below the input fields.
Error Handling: If there is an issue fetching the data (e.g., an invalid symbol), an error message will appear to inform you.
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.