For further clarification, it looks like the biggest things that would need to be changed to update for the transform deprecation are:
@batch_transform
def trailing_return(datapanel):
# this transform calculates trailing returns with the window set in initialize function
if datapanel['price'] is None: return None
pricedf = np.log(datapanel['price'])
return pricedf.ix[-1]-pricedf.ix[0]
@batch_transform
def get_past_prices(datapanel):
prices = datapanel['price']
return prices
And then there's also an instance of a TradingAlgorithm class that uses this:
self.add_transform( MovingAverage, 'mavg200', ['price'], window_length=180)
My preferred fix would be to just get the price data in the same format from something other than load_from_yahoo, unless there is a very easy way to update from the transform deprecation. Just not sure the best way to go here.