updated advanced trader to use a line of best fit for the past 7 days of
data