Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Must compile on Visual studio 2015 Programming language C l Sprint * 4:14 AM it in the furture. In that folder you will see many

Must compile on Visual studio 2015
Programming language C image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
l Sprint * 4:14 AM it in the furture. In that folder you will see many other subfelder, eg hwi, hw2, hw3 hw4, hw and projecti, pradact2. (See picture on the side) See next page for the Specificetiens of the Pregram that you will wnite Is (Requirements): You will simulate a treding application. There will be two components: A simulation for the steck market, and a facility that will allow you to trade five stocks severol times It wil also maintoin the portfelio and bolances of your stack and money Background We buy and sell stecks from the "Stock Market", You con check the price of the stock befere you place an order to buy er sell. If you place an order within a short peried ef time after that, it is very likely the the trensaction will toke ploce at that price Investers and traders hope to be able to buy stocks at a low price and sell at higher price so thet they make o prefit. On the Stock Market, price of a stack fluctuates unpredictably. In this project you will simulate these price fluctuetions using a random number generator To provide you with the service of buying and selling, the market charges a small fee for every troded. For the sake of simplification we will ignore thet fee in this preject Preparation Create a mystocks.txt file that contains teday's steck price for five stocks that you wont to trade. Pick them from this list Example: my ystocks.txt looks ke AMD 16.61 CLNE 2.92 FEYE 16.47 EXTR 861 FSLR 5483 Watch if you are interested httasloube comdnatchaiE l Sprint * 4:14 AM it in the furture. In that folder you will see many other subfelder, eg hwi, hw2, hw3 hw4, hw and projecti, pradact2. (See picture on the side) See next page for the Specificetiens of the Pregram that you will wnite Is (Requirements): You will simulate a treding application. There will be two components: A simulation for the steck market, and a facility that will allow you to trade five stocks severol times It wil also maintoin the portfelio and bolances of your stack and money Background We buy and sell stecks from the "Stock Market", You con check the price of the stock befere you place an order to buy er sell. If you place an order within a short peried ef time after that, it is very likely the the trensaction will toke ploce at that price Investers and traders hope to be able to buy stocks at a low price and sell at higher price so thet they make o prefit. On the Stock Market, price of a stack fluctuates unpredictably. In this project you will simulate these price fluctuetions using a random number generator To provide you with the service of buying and selling, the market charges a small fee for every troded. For the sake of simplification we will ignore thet fee in this preject Preparation Create a mystocks.txt file that contains teday's steck price for five stocks that you wont to trade. Pick them from this list Example: my ystocks.txt looks ke AMD 16.61 CLNE 2.92 FEYE 16.47 EXTR 861 FSLR 5483 Watch if you are interested httasloube comdnatchaiE

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions