Presentation is loading. Please wait.

Presentation is loading. Please wait.

TRADE SMART Zihao Yu Kevin Bobsein Ashrith Kumar Marpaka Hanzhi Wu Instructor : Prof. Ivan Marsic Partial fulfillment of the course Software Engineering.

Similar presentations


Presentation on theme: "TRADE SMART Zihao Yu Kevin Bobsein Ashrith Kumar Marpaka Hanzhi Wu Instructor : Prof. Ivan Marsic Partial fulfillment of the course Software Engineering."— Presentation transcript:

1 TRADE SMART Zihao Yu Kevin Bobsein Ashrith Kumar Marpaka Hanzhi Wu Instructor : Prof. Ivan Marsic Partial fulfillment of the course Software Engineering -2 for web applications 16:332:568 Spring 2009 DATE: 05/08/2009

2 PAST Stock markets and Indices Introduction to Technical analysis Fundamental Analysis Indicators Work Plan System Architecture Use cases Web services

3 LIFE CYCLE System design Data collection Website development Web Service XML Schema Indicators Patterns Integration Test and RUN

4 LABOR

5

6 System Architecture Four tier architecture

7 System block instruction

8 Use Case Diagram

9 Name Login Participating actors Initiated by Administrator Communicates with Users Flow of events 1. The Administrator requests the creation of the login function. 2. The user inputs his/her name, and password to create the account. Then he/she inputs his/her name and password again to log in the system. 3. webpage is displayed, showing some latest news and some important stock’s graphs dynamically.

10 Name GetQuotes Participating actors Initiated by Administrator Communicates with Users Flow of events 1. The Administrator creates the GetQuotes 2. The user logs in into the webpage, and click Getquote button, get the stock information he need from yahoo, such as the start price, end price, volumns.

11 Name GetIndicator Participating actors Initiated by Administrator Communicates with Users Flow of events 1. The Administrator creates GetIndicator. 2. The user selects the past data, for example, select the past 10 ending prices and then gets the indicator such as buy, sell or hold according to the moving average. Name GetPredictedprice Participating actors Initiated by Administrator Communicates with Users Flow of events 1. The Administrator creates GetPredictedprice. 2. The user chooses the model, and get the price predicted by the model he choose. Name GetPattern Participating actors Initiated by Administrator Communicates with Users Flow of events 1. The Administrator creates the GetPattern. 2. The user choose the collects the data from the past days, and gets the predicted pattern.

12 Web Service Interface Software Stack – Apache Tomcat 5.5 – Axis 1.4 – Java 1.6 Architecture – Services hosted by Axis, served out by Apache, implemented using Java Apache Tomcat Axis Stock Predictor and Recommendation Service Java Runtime

13 Interface API getPrediction(String) getPrediction(String, String) getPrediction(String, String, String) IN OUT

14 Issues Encountered Minimal documentation – All documentation available on the Web seems to be cut and paste from the main Axis project page. – All tutorials are extremely simple and don’t go much beyond “type these commands”, little description of what you’re actually doing Continually running into package/URN mapping issues – Sometimes the actual interface class just wouldn’t be generated Lack of logical built-in directory structure – Due to Java dependence on packages, requirement that everything be placed in specific locations, unfortunately these locations aren’t very intuitive

15 Moving Average Implemented in Java If Today’s Moving Average from the last 15 days is > Yesterday’s Moving Average over the last 15 days, Buy If Today’s Moving Average from the last 15 days is < Yesterday’s Moving Average over the last 15 days, Sell

16 INDICATORS RELATIVE FLOW INDEX STOCHASTIC OSCILLATOR MOVING AVERAGES PRICE MOMENTUM OSCILLATOR MONEY FLOW INDEX DEMARKER INDICATOR WILLIAMS INDICATOR COMMODITY CHANNEL INDEX AROON INDICATOR RATE OF CHANGE MOVING AVERAGES CONVERGENCE/DIVERGENCE ACCUMULATION/DISTRIBUTI ON LINE PRICE CHANNEL ULTIMATE OSCILLATOR

17 Patterns Four patterns can be recognized. – Double Bottom – Double Top – Ascending Triangle – Descending Triangle

18 PATTERNS Reality Training data (Generated using piecewise functions)

19 Pattern Recognition

20 Web Interface

21 Download Data

22 RSS Parser Use Magpie PHP library. – Object cache, enhance performance. Our work: parsing tags in XML.

23 Where AJAX is used

24 How jQuery Framework – Simplifies JS: event handling, AJAX interactions, etc

25 Database

26 CONCLUSION Achievements What did we learn ? Further improvements.. !! THANK YOU !!!!!! DEMO


Download ppt "TRADE SMART Zihao Yu Kevin Bobsein Ashrith Kumar Marpaka Hanzhi Wu Instructor : Prof. Ivan Marsic Partial fulfillment of the course Software Engineering."

Similar presentations


Ads by Google