Hi,

I am using custom data in Python. It loads fine and I get it in my algo's OnData.

However, what OnData gets in the slice is of type “class converter.Data”. When I feed that to the existing Heikin Ashi indicator's Update method in QC (class "HeikinAshi"), I get a runtime TypeError because no Update method on HeikinAshi can get converter.Data as a param. HeikinAshi takes its Update methods from IndicatorBase. And it simply needs an IBaseData. So, converter.Data is not an IBaseData? But my custom data class inherits from PythonData, which is an IBaseData. So I am confused…

How can I use/convert custom data bars as/to IBaseData?

Thanks!

Fred