Question: Must compile on Visual studio 2015 Programming language- C Goals (Requirements): You will simulate a trading application. There will be two components: A simulation for
Goals (Requirements): You will simulate a trading application. There will be two components: A simulation for the stock market, and a facility that will allow you to trade five stocks several times. It will also maintain the portfolio and balances of your stock and money Background We buy and sell stocks' from the "Stock Market". You can check the price of the stock before you place an order to buy or sell. If you place an order within a short period of time after that, it is very likely the the transaction will take place at that price Investors and traders hope to be able to buy stocks at a low price and sell at higher price so that they make a profit On the Stock Market, price of a stock fluctuates unpredictably. In this project you will simulate these price fluctuations using a random number generator To provide you with the service of buying and selling, the market charges a small fee for every traded. For the sake of simplification, we will ignore that fee in this project Preparation Create a mystocks.txt file that contains today's stock price for five stocks that you want to trade. Pick them from this list Example: my mystocks.txt looks 1ike AMD 16.61 CLNE 2.92 FEYE 16.47 EXTR 8.61 FSLR 54.83 Watch if you are interested: https://ww.w.yQutube.com/watch2vzixE wB2uvOs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
