def __init__(self, x=None, y=None): from marketsim.gen._out._observable._observablebool import Observablebool from marketsim.gen._out._true import true_ as _true_ from marketsim import deref_opt Observablebool.__init__(self) self.x = x if x is not None else deref_opt(_true_()) self.y = y if y is not None else deref_opt(_true_()) And_Impl.__init__(self)
def __init__(self, x = None, y = None): from marketsim.gen._out._observable._observablebool import Observablebool from marketsim.gen._out._true import true_ as _true_ from marketsim import deref_opt Observablebool.__init__(self) self.x = x if x is not None else deref_opt(_true_()) self.y = y if y is not None else deref_opt(_true_()) Or_Impl.__init__(self)
def __init__(self, inner = None, predicate = None): from marketsim.gen._out.strategy._noise import Noise_IEventSideIObservableIOrder as _strategy_Noise_IEventSideIObservableIOrder from marketsim.gen._out._true import true_ as _true_ from marketsim import rtti self.inner = inner if inner is not None else _strategy_Noise_IEventSideIObservableIOrder() self.predicate = predicate if predicate is not None else _true_() rtti.check_fields(self) _Suspendable_Impl.__init__(self)
def __init__(self, inner=None, predicate=None): from marketsim.gen._out.strategy._empty import Empty_ as _strategy_Empty_ from marketsim import deref_opt from marketsim.gen._out._true import true_ as _true_ self.inner = inner if inner is not None else deref_opt( _strategy_Empty_()) self.predicate = predicate if predicate is not None else deref_opt( _true_()) Suspendable_Impl.__init__(self)
def __init__(self, inner=None, predicate=None): from marketsim.gen._out.strategy._noise import Noise_IEventSideIObservableIOrder as _strategy_Noise_IEventSideIObservableIOrder from marketsim.gen._out._true import true_ as _true_ from marketsim import rtti self.inner = inner if inner is not None else _strategy_Noise_IEventSideIObservableIOrder( ) self.predicate = predicate if predicate is not None else _true_() rtti.check_fields(self) _Suspendable_Impl.__init__(self)
def __init__(self, cond = None, ifpart = None, elsepart = None): from marketsim.gen._out._observable import Observablefloat from marketsim.gen._out._true import true_ as _true_ from marketsim.gen._out._constant import constant_Float as _constant_Float from marketsim import rtti Observablefloat.__init__(self) self.cond = cond if cond is not None else _true_() self.ifpart = ifpart if ifpart is not None else _constant_Float(1.0) self.elsepart = elsepart if elsepart is not None else _constant_Float(1.0) rtti.check_fields(self) _Condition_Impl.__init__(self)
def __init__(self, cond=None, ifpart=None, elsepart=None): from marketsim.gen._out._observable import Observablefloat from marketsim.gen._out._true import true_ as _true_ from marketsim.gen._out._constant import constant_Float as _constant_Float from marketsim import rtti Observablefloat.__init__(self) self.cond = cond if cond is not None else _true_() self.ifpart = ifpart if ifpart is not None else _constant_Float(1.0) self.elsepart = elsepart if elsepart is not None else _constant_Float( 1.0) rtti.check_fields(self) _Condition_Impl.__init__(self)
def __init__(self, cond=None, ifpart=None, elsepart=None): from marketsim.gen._out.side._buy import Buy_ as _side_Buy_ from marketsim import rtti from marketsim.gen._out.side._sell import Sell_ as _side_Sell_ from marketsim.gen._out._side import Side from marketsim.gen._out._true import true_ as _true_ from marketsim.gen._out._observable import ObservableSide ObservableSide.__init__(self) self.cond = cond if cond is not None else _true_() self.ifpart = ifpart if ifpart is not None else _side_Sell_() self.elsepart = elsepart if elsepart is not None else _side_Buy_() rtti.check_fields(self) _Condition_Impl.__init__(self)
def __init__(self, cond = None, ifpart = None, elsepart = None): from marketsim.gen._out.side._buy import Buy_ as _side_Buy_ from marketsim import rtti from marketsim.gen._out.side._sell import Sell_ as _side_Sell_ from marketsim.gen._out._side import Side from marketsim.gen._out._true import true_ as _true_ from marketsim.gen._out._observable import ObservableSide ObservableSide.__init__(self) self.cond = cond if cond is not None else _true_() self.ifpart = ifpart if ifpart is not None else _side_Sell_() self.elsepart = elsepart if elsepart is not None else _side_Buy_() rtti.check_fields(self) _Condition_Impl.__init__(self)