Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In this assignment you are to create a c ++ program called advisorbot. Advisorbot is a command line program that can carry out various tasks
In this assignment you are to create a c ++ program called advisorbot. Advisorbot is a command line program that can carry out various tasks to help a cryptocurrency investor analyse the data available on an exchange.CAN YOU PLEASE ACTUALLY IMPLEMENT IT IN VISUAL STUDIO AND JUST SEND ME A VIDEO OR SCREENSHOT OF IT. PLEASE
Object Oriented Programming Midterm Assess- ment Introduction In this assignment you are to create a program called advisorbot. Advisorbot is a command line program that can carry out various tasks to help a cryptocurrency investor analyse the data available on an exchange. Example interaction with advisorbot Advisorbot responds to commands typed in by the user. Here is an example interaction: advisorbot> Please enter a command, or help for a list of commands user> avg ETH/BTC ask 10 advisorbot> The average ETH/BTC ask price over the last 10 timesteps was 1.0 user> predict max ETH/BTC ask advisorbot> The max ask for ETH/BTC might be 0.9 From the example, you can see that the commands take several parameters. Your job is to implement a whole set of commands in a robust way with proper error checking and implementation. The required commands are listed in the next section. It is fine to base your code off the code provided in the course. For example, you will certainly find the CSV parsing code and the tokeniser function useful. Make it clear in your source code and report which bits you wrote and which bits came from the example code or other places. Task 1: implement commands You advisorbot responds to a set of commands. You will need to write some sort of command parsing system which takes the command string as input and extracts the elements of the command. The extracted command elements should be checked for validity and converted into the appropriate data types. For example, the number of time frames in the avg commands should be an integer, the product name should be a string. Here are the commands you need to implement in your code. C1: help Command: help Purpose: list all available commands Example: user> help advisorbot> The available commands are help, help
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started