def __init__(self, x=None): from marketsim.gen._out.math._avg import Avg_mathEW as _math_Avg_mathEW from marketsim.gen._out.math._ew import EW_IObservableFloatFloat as _math_EW_IObservableFloatFloat from marketsim import deref_opt self.x = x if x is not None else deref_opt( _math_Avg_mathEW(deref_opt(_math_EW_IObservableFloatFloat()))) Derivative_Impl.__init__(self)
def bind_impl(self, ctx): Derivative_Impl.bind_impl(self, ctx)
def __init__(self, x = None): from marketsim.gen._out.math._avg import Avg_mathEW as _math_Avg_mathEW from marketsim.gen._out.math._ew import EW_IObservableFloatFloat as _math_EW_IObservableFloatFloat from marketsim import deref_opt self.x = x if x is not None else deref_opt(_math_Avg_mathEW(deref_opt(_math_EW_IObservableFloatFloat()))) Derivative_Impl.__init__(self)
def reset(self): Derivative_Impl.reset(self)