virajvchavan / stocks

A demo React app for showing live stock prices

Home Page:http://stocksdemo.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A demo application built in React.

Deployed here:http://stocksdemo.herokuapp.com)

What it does: Show real time stock market data (fake, random data, just to simulate) in the form of table and graphs

Subscribes to a Websocket(ws://stocks.mnet.website/) to fetch simulated stock market data.

Features:

  • A table showing data for all the stocks
  • Each row shows:
    • The latest stock price. (With color relative to the previous stock value)
    • A sparkline showing the changes in stock values (Without considering the time factor)
    • When was the specific stock last updated
  • Market Trend arrow indicating how stock values behaved
  • Ability to select any stocks, to be shown in the Graph
  • Graphs can show historical values wrt time for any stocks selected
  • Can zoom/pan over graph, Reset the zoom
  • Clear history of all stocks with the click of a button
  • Handles connection errors

Possible Enhancements: (See issues)

  • An option to export the historical data of the selected stocks
  • Show Highs and Lows of individual stocks
  • A graph that can show aggregated condition for the overall market

About

A demo React app for showing live stock prices

http://stocksdemo.herokuapp.com


Languages

Language:JavaScript 87.3%Language:HTML 7.0%Language:CSS 5.7%