
#import numpy as np

"""
#moving avg 
#Parameters
    array of ts value
#Returns moving avg
"""
#def moving_average(series, n):
#    return np.average(series[-n:])


#import numpy as np

"""
#moving avg 
#Parameters
    array of ts value
#Returns moving avg
"""
#def moving_average(series, n):
#    return np.average(series[-n:])

#import numpy as np #moving avg  #Parameters     array of ts value #Returns moving avg #def moving_average(series, n): #    return np.average(series[-n:])