def __init__(self, source=None, timeframe=None): from marketsim.gen._out._const import const_Float as _const_Float from marketsim import rtti self.source = source if source is not None else _const_Float(1.0) self.timeframe = timeframe if timeframe is not None else 100.0 rtti.check_fields(self) MA_Impl.__init__(self)
def reset(self): MA_Impl.reset(self)
def bind_impl(self, ctx): MA_Impl.bind_impl(self, ctx)
def __init__(self, x = None): from marketsim.gen._out.math._moving import Moving_IObservableFloatFloat as _math_Moving_IObservableFloatFloat from marketsim import deref_opt self.x = x if x is not None else deref_opt(_math_Moving_IObservableFloatFloat()) MA_Impl.__init__(self)
def __init__(self, source = None, timeframe = None): from marketsim.gen._out._const import const self.source = source if source is not None else const() self.timeframe = timeframe if timeframe is not None else 100.0 MA_Impl.__init__(self)
def __init__(self, x=None): from marketsim.gen._out.math._moving import Moving_IObservableFloatFloat as _math_Moving_IObservableFloatFloat from marketsim import deref_opt self.x = x if x is not None else deref_opt( _math_Moving_IObservableFloatFloat()) MA_Impl.__init__(self)