Populate the stock ticker combobox control

Assignment Help Visual Basic Programming
Reference no: EM131533099

Assignment: Visual Basic Program

In this assignment, you will implement an electronic stock trading system. Your system will accept trading orders and based on those orders, it will keep track of pending orders, and execute trades when possible.

1. Database design

Use Microsoft Access to design a database for the stock trading system. You should determine the tables to be created, the attributes in each table, and the primary key in each table. DO NOT define foreign keys in this assignment even they do exist. It will be easier for you to debug your VB program when foreign keys are absent.

The system maintains common stocks records. Each stock is described by a ticker symbol (e.g., BAC), a company name, exchange venue (e.g., NYSE), listing date, sector, and industry.

The system also keeps track of stocks' daily closing records. Each closing record consists of a ticker symbol, a date, opening price, highest price of the day, lowest price of the day, the closing price, trading volume on that day, and 1 day price change %.

Users can use the system to place market order requests for stock trading. A market order is a request to purchase or sell a stock at the current market price. Each order request should include a ticker symbol, date and time of the request, type of order (buy or sell), quantity of stock to be traded, and order status (pending, completed, or cancelled).

2. Database population

Use Microsoft Access to populate at least 10 records into each of the database tables created above. You must pick at least 10 stocks from this web site: where you can find last year's return rate % for each stock. For other stock information, please use the Yahoo! Finance and search by the stock ticker symbol. The sector and industry information can be found from the company profile page on Yahoo! Finance. Please make sure that you have at least 2 sectors and 2 industries per sector, and that each industry has at least 2 stocks.

After you populate the stocks table, you should populate daily records and trading requests based on either true market data or your imagination. Please make sure that you have a mixture of different order types and statuses for different stocks. A minimum of 10 records is required for each table.

3. SimpleBroker v1.0: A DataReader Application.

MB v1.0 is a DataReader application for placing stocking trading request. You must use aDataReader object to retrieve records from the database and a Command object to update the database. The following describes the components needed for the development.

1.  User interface: You should design your user interface to support the following functions. Label objects should be used appropriately to make your interface user-friendly.

2. Populate the stock ticker ComboBox control: The user should start with a ComboBox control (StocksComboBox) that displays the complete list of stock tickers retrieved from the database.

3. Populate the stock closing price ListBox control: After the user selects a stock ticker fromStocksComboBox, a ListBox control (ClosingPricesListBox) should display a list of past closing prices of the selected stock. Each past closing price should indicate both a date and a closing price (e.g., "03/20/2013-$90.23"). The list should be ordered by descending dates.

4. Populate a ListBox control: After the user selects a stock ticker from StocksComboBox, another ListBox control (TradingRequestsListBox) will display a list of currently pending stock trading requests for the selected stock. Each request should indicate the order type and stockquantity (e.g., "BUY-2000"). The list is ordered by the order type first and then by quantity.

5. Placing a new order request:

o The user selects an order type (buy or sell) from another ComboxBox control

(TradeTypeComboBox), and enters a stock quantity to be traded in a TextBox control (QuantityTextBox).

o By clicking a Button control (SubmitButton), add a new stock request record to the database.

4. Bonus questions:

6. Sector selection: Another ComboBox control (SectorsComboBox) should be used to display all sectors in the database. The user starts with selecting a specific sector fromSectorsComboBox. StocksComboBox will then only display those stock stickers in the selected sector.

7. Error handling: Use data validation or exception handling to prevent the following runtime errors from interrupting the program execution:

a. Non-numeric values in QuantityTextBox

b. OleDbException when populating the ListBox and ComboBox controls.

You can get such an exception if your database table is open from Access in the Design View when you try to execute your VB program.

Attachment:- Links.rar

Reference no: EM131533099

Questions Cloud

Create a gui application that allows the user to enter price : Create a GUI application that allows the user to enter the following data into text fields: Price per adult ticket and Number of adult tickets sold.
Analyze and comment on the trend in its gross margin ratio : Access the SEC's EDGAR database (www.sec.gov) and obtain the March 19, 2010, filing of its fiscal 2010 10-K report (for year ended January 30, 2010).
Prepare loans for credit tranching and sale : Do some research on the Internet and describe how loan underwriting is used to prepare loans for credit tranching and sale on U.S.
Write a python program that generates a small web site : Write a Python program that generates a small web site for a local sports club. It will read some input data from a text file
Populate the stock ticker combobox control : Populate the stock ticker ComboBox control: The user should start with a ComboBox control that displays the complete list of stock tickers retrieved.
Check your net income with the instructor : Best Brands' general ledger and supplementary records at the end of its current period reveal the following.
The largest segment of the us population : The largest segment of the U.S. population, the "baby boomers," are moving into middle adulthood and, in some cases, even becoming grandparents.
Prepare an REA Data Model for the Revenue Cycle : Using the information provided for Techarati, Inc. prepare an REA Data Model for the Revenue Cycle, including cardinalities
What is the intrinsic value : Based on this information, what is the intrinsic value (current price per share) of Thai One On's stock? Hint: Follow the three steps.

Reviews

Write a Review

Visual Basic Programming Questions & Answers

  Designing vb applications across multiple platforms

Technical Project "Designing VB Applications Across Multiple Platforms". This assignment will contain two (2) Parts: Written Paper and Visual Basic Prototype. The Visual Basic Prototype is not included in the total page count but is included in the e..

  Visual basic programming discussion

The use of decision logic is one of the major concepts of computer programming. The decision takes your code from being sequential to one that can take various options based on the different conditions. Determine the method of coding that you would u..

  Ticketseller

Use Visual basic 2010Visual Basic,  TicketSeller. This assignment will contain two (2) Parts: Event Planning Document and Coding phase. You must submit both parts as separate files for the completion of this assignment. Remember, you are only to de..

  Data storage & "exception error trapping"

Discussion on Data Storage and  "Exception Error Trapping".

  Designing vb applications across multiple platforms

Technical Project "Designing VB Applications Across Multiple Platforms".

  The implementation of server side of the application

Implementation of dynamic content, server side (backend) and database for your web site using Microsoft Visual Studio 2012

  Need help building a vwd website

Need help building a VWD website. This website may not go live. I have little progress as a family tragedy has impeded my time for school.

  To develop a visual basic console application

The aim of the assessment is to develop a Visual Basic console application that performs a number of mathematical functions. The mathematics package will be menu driven, i.e. a number of options will be displayed, and the user will be able to input w..

  Program in basic which prompts user to input two integers

Write down the program by using Small Basic which prompts the user to input two integers: firstNum and secondNum (firstNum must be less than secondNum).

  Develop vb-net application that includes arrays and loops

Develop a VB.NET application that includes arrays, loops, and IF statements to do the following. Your output must also display the number of applicant(s) being interviewed.

  Visual basic program to accept numeral values

Write a VISUAL BASIC program to accept numeral values of any unit, sum up the total, calculate the average, and then Output the result with a proper unit.

  Write a visual logic program to accept series of number

Write a Visual Logic program which accepts a series of numbers, until the first negative value is entered. The maximum number of non-negative input values is 250.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd