Summary. In this assignment, you will be creating a simplified version of a stock market. When Alice wants to buy some shares of a stock, she consults an order book which contains a list of people willing to buy and sell the stock at a variety of prices s

marketing

Description

Summary. In this assignment, you will be creating a simplified version of a stock market. When Alice wants to buy some shares of a stock, she consults an order book which contains a list of people willing to buy and sell the stock at a variety of prices sorted from highest price to lowest price. If she sees a price that she is interested in, her request to buy is matched to that person’s offer to sell and the trade goes through. If instead the prices are all too high, she can insert her own offer to buy at a certain price into the book. Later someone else may come along and sell to her at her set price. The algorithm that matches buy and sell orders is called a matching engine. In the first part of this assignment, you will write an order book object and a matching engine. In the second part, you will create a GUI interface for specifying the details of the order. Although the two parts are thematically related, you do not need to complete them in any particular order: they are independent of each other.

Instruction Files
BidOffer.java
336.0 Bytes
A3 (1).pdf
204.5 KB
Order (1).java
86.0 Bytes
Driver (1).java
474.0 Bytes
OrderOffer.java
355.0 Bytes

Related Questions in marketing category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.