warren demonstration

27
Warren Demonstration Overview

Upload: fia

Post on 23-Mar-2016

41 views

Category:

Documents


0 download

DESCRIPTION

Warren Demonstration. Overview. Starting Warren. First we start the RETSINA java DemoDisplay as an applet. The DemoDisplay is a visualization agent that allows us to see agents interacting. Starting the Warren Agents. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Warren Demonstration

Warren Demonstration

Overview

Page 2: Warren Demonstration

Starting Warren

• First we start the RETSINA java DemoDisplay as an applet.– The DemoDisplay is a

visualization agent that allows us to see agents interacting.

Page 3: Warren Demonstration

Starting the Warren Agents• Now that the DemoDisplay

is running, we can start the Matchmaker and the agents and show them registering with the Matchmaker. First the Matchmaker comes up. – The Matchmaker is an

information agent that helps make connections between agents that request services and agents that provide services.

Page 4: Warren Demonstration

Starting the Warren Agents• Next, three of the Warren

related agents– iNews, iYahoo, and iEdgar– come up and start to register their advertisements with the Matchmaker. – iNews gathers breaking news

articles in real time, from the web. – iYahoo gathers stock prices and

other stock related information, again in real time from the web.

– iEdgar harvests Financial Data Summaries from SEC 10-k filings, from the EDGAR web site.

Page 5: Warren Demonstration

Starting the Warren Agents

• While the first three agents are still registering, the rest of the Warren agents—the RiskCritic, the Comptroller, and the FdsHistoryAgent—come up and start to register with the Matchmaker. – The RiskCritic evaluates portfolios for financial risk using a well

known stock market risk measure referred to as "beta". – The Comptroller is in charge of maintaining records of a users

portfolio, and buying and selling the users' stocks. – The FdsHistoryAgent gathers data from multiple years of Financial

Data Summaries and presents a historical view of the data.

Page 6: Warren Demonstration

Starting the Warren Agents

Page 7: Warren Demonstration

Starting the Warren Agents

• Now all of the information agents are running and have finished registering their advertisements with the Matchmaker.

Page 8: Warren Demonstration

Starting the Warren Applet• Now that the Matchmaker and all

of the information agents used by Warren are running and displaying their interactions on the DemoDisplay, we can start one or more instances of the Warren applet. – The Warren applet acts as the

representative of and interface to the user in the Multi-Agent System (MAS). It provides a GUI to the user, and uses the information agents to gather and present stock market related information.

Page 9: Warren Demonstration

Starting the Warren Applet

• The first thing the Warren applet does is ask the user for userid/password information.

Page 10: Warren Demonstration

Starting The Warren Applet– As soon as the applet has a

userid/password pair, it sends a message to the Matchmaker, asking the Matchmaker to match its request with an advertisement describing the ability to load and save portfolios.

– The Matchmaker responds with the name of the Comptroller.

– The applet then sends a message to the Comptroller asking for the user's portfolio.

Page 11: Warren Demonstration

Starting the Warren Applet

• The applet then uses the Matchmaker to match its requests with agents that can provide current stock price information, and that can advise on portfolio risk. The Matchmaker responds with the names of the iYahoo agent and the RiskCritic agent.

Page 12: Warren Demonstration

Starting the Warren Applet– The applet sends a series of messages to the iYahoo

agent to monitor the price of each of the stocks in the user's portfolio.

– The iYahoo agent gets the current stock price and other information for each stock from the web and sends that information messages to the applet.

– The applet then updates the current information in the Comptroller agent.

– Until it receives a message canceling the monitor request, the iYahoo agent will continue to send relevant stock information messages to the applet agent as the stock prices change in real time.

Page 13: Warren Demonstration

The Warren Applet– The applet also sends a message to the

RiskCritic asking it to monitor the user's portfolio and advise the applet of any changes to the risk status.

– The RiskCritic sends a monitor message to the Comptroller asking to be informed of any changes to the portfolio.

– As the portfolio changes, either due to new price and beta (risk) information from the iYahoo agent or due to user decisions to buy or sells tocks, the Comptroller agent informs the RiskCritic of the new state of the portfolio.

– The RiskCritic makes its risk evaluation of the portfolio and sends it to the applet.

Page 14: Warren Demonstration

The Warren Applet• The Warren agent

applet displays the user's portfolio along with the latest stock prices and the RiskCritic's evaluation of the portfolio, and allows the user to gather more information.

Page 15: Warren Demonstration

Using Warren to Buy Shares in a Stock

• The user decides to buy some shares of stock, in this case IBM.

• The user clicks on the "Buy Stock" button and a dialog pops up.

• The user enters the ticker symbol of the stock and how many shares they wish to purchase, and clicks "Buy."

Page 16: Warren Demonstration

Using Warren to Buy Shares in a Stock

• The Warren applet sends a message to the Matchmaker asking it to match for those agents capable of executing a stock buy.

• The Matchmaker responds with the name of the iYahoo agent.

• The Warren applet then sends a message to the iYahoo agent to buy the stock in question.

Page 17: Warren Demonstration

Using Warren to Buy Shares in a Stock

• The iYahoo agent responds with a message confirming that the stock has been purchased, and the price at which it was purchased.

• The applet then tells the Comptroller to add 300 shares of IBM to the portfolio.

• The Comptroller informs the RiskCritic of the change.

• The RiskCritic evaluates the risk of the portfolio and informs the applet.

Page 18: Warren Demonstration

Using Warren to Buy Shares in a Stock

• In this case, buying 300 shares of IBM has raised the risk of the portfolio;– in fact, the purchase raised

it past the user-defined limit for risk;

– the RiskCritic advises the user to invest in more conservative stocks if he wishes to remain within his target risk.

Page 19: Warren Demonstration

Using Warren to Buy Shares in a Stock

• The user clicks the "Sell Stocks" button, enters IBM and 300, and clicks "Sell."

• The process described earlier happens again, but this time for selling stocks.

Page 20: Warren Demonstration

Using Warren to Buy Shares in a Stock

And now the RiskCritic is once again satisfied that the user is within risk parameters.

Page 21: Warren Demonstration

Financial Data Summary (FDS)• The Financial Data Summary

(FDS) is a section of the 10-k filing required of all corporations by the S.E.C.

• The FDS agent is able to retrieve the FDS from the 10-k filings available on the S.E.C. web site.

• From a list of all stocks in his/her portfolio and in their prospective stocks list, the user selects the stock for which he/she wishes to retrieve the FDS.

Page 22: Warren Demonstration

Financial Data Summary (FDS)• The applet queries the

Matchmaker to find an agent capable of retrieving the FDS.

• The matchmaker replies with the name of the iEdgar agent.

• The applet then sends a retrieval request to the iEdgar agent and displays the response from the iEdgar agent.

Page 23: Warren Demonstration

FDS History• If the user would like to

examine an historical view of FDS data over several years, – he/she clicks the History

button. – Again, he/she selects the

stock of interest from the portfolio and the list of prospective stocks.

Page 24: Warren Demonstration

FDS History• The applet queries the

Matchmaker to find an agent capable of retrieving the FDS History.

• The Matchmaker replies with the name of the FdsHistoryAgent.

• The then applet sends a retrieval request to the FdsHistoryAgent.

• The appletdisplays the response from the FdsHistoryAgent agent.

Page 25: Warren Demonstration

Warren News• The BreakingNews

Agent retrieves the most recent available news for the key string from the web and sends it back to the applet.

Page 26: Warren Demonstration

Warren News

• The user may select articles to see their summaries.

• The user may also select an article and click on the "Full Story" button to bring up the full news article, as follows:

Page 27: Warren Demonstration

Warren News