Presentation is loading. Please wait.

Presentation is loading. Please wait.

Team A 3PB Project Final Progress Report. System Design User Interface Data Manager and 3PB Computer Data Server and Listener Functionality of Final Prototype.

Similar presentations


Presentation on theme: "Team A 3PB Project Final Progress Report. System Design User Interface Data Manager and 3PB Computer Data Server and Listener Functionality of Final Prototype."— Presentation transcript:

1 Team A 3PB Project Final Progress Report

2 System Design User Interface Data Manager and 3PB Computer Data Server and Listener Functionality of Final Prototype Outline

3 System Design

4 User Interface Data Manager and 3PB Computer Data Server and Listener Functionality of Final Prototype Outline

5 User Interface

6 Instantiates other classes (DataManager, Listener, etc.) Gets user authentication – sends to Listener Gets stock symbol and time resolution from user Sends stock symbol to Listener to request data from myGateway User Interface

7 Sends time resolution to Data Manager Graphical User Interface displays: o raw TOS data o statistics o activity indicator o stock chart Statistics include real-time trends of stock (short & long sequences) User Interface

8 Alarm sounds when trend reversal occurs Price points at Fibonacci numbers emphasized User Interface

9

10 System Design User Interface Data Manager and 3PB Computer Data Server and Listener Functionality of Final Prototype Outline

11 Data Manager

12 Data Flow Data Manager 3PB Computer Parser User Interface time resolution, stock symbol 3PB output (event) sampled TOS (consumer-producer) RawTOSWatcher PriceChangeWatcher SeqLenCounter new TOS 3PB output sequence length stats raw TOS (event) price change (event)

13 Data Manager Samples incoming TOS in 1 minute interval (using sample-and-hold) Stores samples

14 3PB Computer Runs in a separate thread Implements Producer-Consumer interface with DataManager Reads TOS sample for next time interval when available from DataManager. Computes trends and break prices using 3PB method Passes output (as events) to UserInterface for display Passes output to SeqLenCounter

15 SeqLenCounter Receives output from 3PBComputer and keeps track of the length of long and short sequences Returns sequence length stats when requested

16 PriceChangeWatcher Controls the activity indicator Receives new TOS directly from Parser Detects price changes Generates an event (to the UserInterface) if there is a price change

17 RawTOSWatcher Controls the raw TOS display Receives new TOS directly from Parser Redirects each new TOS to UserInterface as an event

18 System Design User Interface Data Manager and 3PB Computer Data Server and Listener Functionality of Final Prototype Outline

19 Server/Listener

20 Listener Implemented Two Data Servers/Listeners Simulated Listener & Server Used in Early Testing. Real Listener Connected to myGateway. Used a common API for both Listeners. Used a Factory Pattern so that the UserInterface can get the proper type. public class listenerFactory {... listenerBase getNewListener(DataManager dm, PriceChangeWatcher pcw, RawTOSWatcher rw, BadSymbolWatcher bsw, int type){ if (type == listenerBase.GATEWAY) return new gwListener(dm, pcw, rw, bsw); else return new listener1(dm, pcw, rw, bsw); }

21 Listener API Functions: Opens and closes myGateway connection Handles username/password Sends Requests for Stock Trade Data Sends Requests for Stock Trade History Receives myGateway data messages as events and sends them to the Parser.

22 Parser Packages server data into TOS objects Implements the Adapter Design Pattern via Java Interfaces Sends data to the DataManager

23 System Design User Interface Data Manager and 3PB Computer Data Server and Listener Functionality of Final Prototype Outline

24 Current Functionality User must enter name/password User can choose a stock symbol User can choose a time resolution Displayed: Trend Current price Break price Fibonacci points

25 Current Functionality Activity Indicator – Updates whenever there is a change in price Statistics can be displayed Adapter implemented which allows Parser to be modified for other data stream formats Factory implemented to allow for different data provider API’s

26 Current Functionality Bar Chart showing trend of data Window displaying raw TOS data Audible signal when trend reversal occurs Iteration 1 and most of Iteration 2 complete


Download ppt "Team A 3PB Project Final Progress Report. System Design User Interface Data Manager and 3PB Computer Data Server and Listener Functionality of Final Prototype."

Similar presentations


Ads by Google