Question: Write a short Python 3 program that Allows a stock trader to input the number of shares bought/sold, the purchase price of each share, and
Write a short Python 3 program that\ Allows a stock trader to input the number of shares bought/sold, the purchase price\ of each share, and the selling price of each share (5 points).\ Perform the following calculations: (10 points):\ o To determine if the trade results in a gain or loss, you will need to calculate\ the following.\ ! The cost of buying shares at the asking price.\ ! Brokerage fee paid at time of purchase. The firm charges 3% of the\ cost of the trade.\ ! The cost of selling shares at the bid price. Assume the number of\ shares sold is the same as the number of shares bought.\ ! Brokerage fee paid at time of sale. The firm charges 3% of the cost of\ the trade.\ ! Total cost of a buy trade and the total
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
