Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C7: predict Command: predict max/min product ask/bid Purpose: predict max or min ask or bid for the sent product for the next time step Example:
C7: predict Command: predict max/min product ask/bid Purpose: predict max or min ask or bid for the sent product for the next time step Example: user> predict max ETH/BTC bid advisorbot> The average ETH/BTC ask price over the last 10 timesteps was 1.0 Note that it is up to you to select an appropriate algorithm to carry out the prediction. Most people use a moving average but there are more interesting algorithms.
Please provide C++ code
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