Hello,
I received the errors below. I am not exactly sure where my mistake might be.
**def intialize(context):
context.appl = sid(24)
def handle_data(context, data):
hist = data.history(context.appl,'price',50, '1d')
log.info(hist.head())
sma_50 = hist.mean()
sma_20 = hist[-20:].mean()**
Thanks,
Warning Local variable 'sma_50' is assigned to but never used
Warning Local variable 'sma_20' is assigned to but never used