Skip to content

A Java based web application which enables you to look up current and historical stock data quickly.

Notifications You must be signed in to change notification settings

Damans227/stockquote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stockquote

Stockquote is a java based web application which leverages Yahoo-Finance API to request detailed information, some statistics and historical quotes on stocks. Stockquote has a simple and easy to follow user interface built using bootstrap 4.

How to run the application

  1. In order to get this application up and running quickly, you will need to have docker run time installed on your computer.
  2. On a local computer where you have a docker runtime installed, clone this repository and go to Deployment folder.
  3. Now, run the following docker commands one by one:
    a) docker build -t stockquote-webapp .
    b) docker container run --name stockquote -dt -p 8091:8080 stockquote-webapp
  4. The application should be up and running now on the following URL: http://localhost:8091/stockquote/

How to use Stockquote

  1. Click inside the text box on far left at the top of the page, where it says 'Enter ticker symbol'.
  2. Enter a valid ticker symbol, such as 'GOOG' and hit Search.
  3. You will see the current price of the stock under 'Stock Details' section.
  4. On the far right of stock details section, click on 'Quick History' in green color to view the historical data of the stock.
  5. Similarly, you can look up Weekly and Monthly details of a given stock as well. In order to dos so, simply click on the button called "Advanced Search" on the top right corner.

User Stories

  • A user can find the current price of any given stock.
  • A user can view Weekly/ Monthly historical data of a stock.

Features

  • Easy to understand code which is built following MVC design pattern.
  • Simple and straightforward User Interface.
  • Can be hosted as a micro-service in a container. Making it easier to deploy the app over cloud.

Future features

  • Code refactoring (Minimizing the workload in controllers).
  • Implement auto refresh.
  • Implement user profiles and portfolio management.
  • Make it small screen compatible.

Dependencies

  • Yahoo Finance Java API
  • Bootstrap 4
  • JSTL
  • Enterprise Java
  • JSP and Servlets
  • Docker container runtime

What the app looks like

screenshot

About

A Java based web application which enables you to look up current and historical stock data quickly.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published