stock market.

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.

Needs help with similar assignment?

We are available 24x7 to deliver the best services and assignment ready within 3-4 hours? Order a custom-written, plagiarism-free paper

Get Answer Over WhatsApp Order Paper Now

stock market.

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.

Needs help with similar assignment?

We are available 24x7 to deliver the best services and assignment ready within 3-4 hours? Order a custom-written, plagiarism-free paper

Get Answer Over WhatsApp Order Paper Now