I am facing an issue with TradeBar object, and it shows that it has no attribute.

I am currently working on equity data for Daily resolution, and I am fetching the data from my local system. 

Can you provide any solution or suggestion what I should do to solve this issue? 

The Error I am facing is below:

ERROR:: Runtime Error: 'TradeBar' object has no attribute 'IsReady'
 at OnData
   if not symbol_data.IsReady:
  at Python.Runtime.PythonException.ThrowLastAsClrException()
  at Python.Runtime.PyObject.Invoke(PyTuple args in main.py

'TradeBar' object has no attribute 'IsReady'
 at OnData
   if not symbol_data.IsReady:
  at Python.Runtime.PythonException.ThrowLastAsClrException()
  at Python.Runtime.PyObject.Invoke(PyTuple args in main.py