GithubHelp home page GithubHelp logo

stocks-about-jane's Introduction

stocks-about-jane

###How to operate### mvn clean install. java -jar target/stocks-about-jane-0.1.0.jar

###Expected Output### Each morning, a scheduled method will run to retrieve Jane's initial stock price for the day. Each hour, another scheduled method will check if the stock price has changed by a certain "deltaToNotify" variable defined in ScheduledStockCheck.java. If it has, she would theoretically receive a text. However, my Twilio trial account has already expired so I could not get a working phone number for free.

Additionally, a simple web application will be deployed on http://localhost:8080 that displays the stock symbol and price for Jane's stock. If she would like to edit the stock watched, she need just to enter in the new stock's symbol and the "Edit" button next to the textbox labeled "Stock: ".

###Design Principles and Algorithms### I started with using the Spring MVC framework because it is what I'm most experienced in. I used the MVC framework to implement the website portion of the application where the model was a stock symbol and price pair, the view was a simple layout to display the stock information as well as a form to edit which the watched stock, and the controller handled. The Spring framework also features an @Scheduled annotation that will run a particular method in a Spring Component at a regular schedule which is how I called the Yahoo Finance API regularly.

###Next Steps### Some features that I wanted to pursue but did not have time for included: *Allowing Jane to configure how often she wanted price checks called *Allowing Jane to configure her phone number *Allowing Jane to have multiple stocks on her Stock WatchList *Expanding this to a web application that Jane could invite her friends to use

stocks-about-jane's People

Contributors

lelandtran avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.