Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i need help building this program in C++ please, i need 3 files which are (cryptoaccount.h, cryptoaccount.cpp, and cryptoaccountmain.cpp) there is a skeleton of the

i need help building this program in C++ please, i need 3 files which are (cryptoaccount.h, cryptoaccount.cpp, and cryptoaccountmain.cpp)

there is a skeleton of the 3 files i just need to be completed

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Problem In the class we have discussed a (very) incomplete stock trading code. Requirements In this problem, we will develop a cryptocurrency trading application. Background Currently the three most popular cryptocurrencies are Bitcoin: Ethereum Symbol ETH Ripple Symbol BTC Symbol XRP The concept is the same as trading stocks. You want to buy when the price is lovw and sell when the price is high to make a profit. For professors and students it only makes sense to trade a fraction of a coin at a time Function Specifications You are invited to participate in refining the function specifications. They are (and always are) incomplete, they will improve but remain incomplete (always do so). This is how we develop products. You must ask questions when you do not understand You must respond to questions when you know the answer To keep it simple, we will assume that the user is interested in trading only one type of coin. The application will provide three options to the user: 1. Buy more 2. Sell some 3. Check Balance Check prices of BTC on the web Check the class notes for how to build console based menu options ITo implement a real application, we will need to invoke an API (usually a RESTful APT- not discussed in this class, ask what is an API - This APT is simulated in this code.) that allows you to: 1. Sell coins: let us say that somebody else has provided you with a C function double sell (double qt.y)://Returns the $value of the coins sold. Negative value indicates the the trade could take place, 2. Buy coin: The function available to you is double buy (double qty) //Returns the $value of the coins sold. Negative value indicates the the trade could take 11:08 PM 2/1/2018 Problem In the class we have discussed a (very) incomplete stock trading code. Requirements In this problem, we will develop a cryptocurrency trading application. Background Currently the three most popular cryptocurrencies are Bitcoin: Ethereum Symbol ETH Ripple Symbol BTC Symbol XRP The concept is the same as trading stocks. You want to buy when the price is lovw and sell when the price is high to make a profit. For professors and students it only makes sense to trade a fraction of a coin at a time Function Specifications You are invited to participate in refining the function specifications. They are (and always are) incomplete, they will improve but remain incomplete (always do so). This is how we develop products. You must ask questions when you do not understand You must respond to questions when you know the answer To keep it simple, we will assume that the user is interested in trading only one type of coin. The application will provide three options to the user: 1. Buy more 2. Sell some 3. Check Balance Check prices of BTC on the web Check the class notes for how to build console based menu options ITo implement a real application, we will need to invoke an API (usually a RESTful APT- not discussed in this class, ask what is an API - This APT is simulated in this code.) that allows you to: 1. Sell coins: let us say that somebody else has provided you with a C function double sell (double qt.y)://Returns the $value of the coins sold. Negative value indicates the the trade could take place, 2. Buy coin: The function available to you is double buy (double qty) //Returns the $value of the coins sold. Negative value indicates the the trade could take 11:08 PM 2/1/2018

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

T Sql Fundamentals

Authors: Itzik Ben Gan

4th Edition

0138102104, 978-0138102104

More Books

Students also viewed these Databases questions