Methods

Description

Critical Questions Associated with This Method

public static int w_Strategy(Stock stock)

This method is run through for stocks within the watch list. Here we use three different prices that are refreshed constantly which are then ran through a number of if statements to determine if the stock should be bought, or left alone.

Q.1

public static int p_Strategy(Stock stock)

This method is run through when stocks are in the portfolio. Again they have used three different prices that are ran through a number of if statements; each refreshed 3 different times to determine if the stock should be sold or held within the portfolio.

Q.1