Question: Please help me solve me the questions down below: You are the programmer of an AI stock trading company. Due to the measures for resuming
Please help me solve me the questions down below:

You are the programmer of an AI stock trading company. Due to the measures for resuming cross-border travel in Japan, you have to implement a part of buy/sell algorithm and check out the daily rate of Hong Kong Dollar to Japanese Yen sampled at 12pm every day. Help your customer write a program for some simple analysis according to the following tasks. - Read in the (sampled) daily rate in a 5-day period and store them in a list - Include input data validation to check if the input is a positive number. In case of an error, print a suitable message and ask the user to re-enter - Add code to print the maximum, minimum, and the average daily rate - Add code to print advice of "BUY", "HOLD" and "SELL" according to the following rules conceived by Anders based on the daily rate on the last day (i.e.. dav 5 ). Submit q1e.py. [14 marks] The following shows an example execution of the program without input error. Complete the following two functions that can be used for lists. (i) This function receives a list of numbers and return the multiple of only the negative numbers. The function should return None if there is no negative number. Assume that the parameter numlist is a list. def multNeg (numlist) (ii) This function returns True if any number in the list parameter check is larger than any number in the list parameter numlist. Assume that both parameters are lists. def checkLarger (numlist, check) Submit your solution containing the functions with a suitable main test program in q1f.py. [10 marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
