Question: When executed, your program needs to open a wx frame with the following widgets. In this image no button has been clicked yet: two labels
When executed, your program needs to open a wx frame with the following widgets. In this image no button has been clicked yet: two labels at the top, one will display the current date and one will display the net gain and loss calculated for all stocks in the database table named dowstocks when the button is clicked. a regular list control with columns: Company, Symbol, Purchase Price, Current Price, Shares, GainLoss a row of buttons. the Display Data button causes code to query the database and get the company, symbol, purchase price, and number of shares. That same code needs to make a request to finnhub to get the current price of each of the stocks. Then using the number of shares, the purchase price, and the current price, calculate the gain or loss for each of the stocks and display those values. the close button just closes the program. read data
Friday October : :
Net gainloss: $
begintabularllrrrr
hline Company & Symbol & Purchase Price & Current Price & Shares & GainLoss
M & MMM & & & &
Apple Inc. & AAPL & & & &
Boeing & BA & & & &
Caterpillar Inc. & CAT & & & &
Cisco Systems & CSCO & & & &
Honeywell & HON & & & &
IBM & IBM & & & &
Intel & INTC & & & &
Microsoft & MSFT & & & &
& & & & &
& & & & &
hline
endtabular
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
