I'm following the bootcamp tutorial (T08) and I defined the following class in the code


 

class selection_data:            
   def __init__(self):
       self.slow = ExponentialMovingAverage(200)
       self.fast = ExponentialMovingAverage(50)

   def is_ready(self):
       return self.slow.is_ready and self.fast.is_ready
                   
   def update(self, time, price):
       self.fast.update(time, price)
       self.slow.update(time, price)        

 


 

 

In this example, ExponentialMovingAverage indicator don't have a parameter for “tick”. However, the code is running well. How is this possible?