def __init__(self, trader = None): from marketsim.gen._out._observable._observablefloat import Observablefloat from marketsim.gen._out.trader._singleproxy import SingleProxy_ as _trader_SingleProxy_ from marketsim import deref_opt Observablefloat.__init__(self) self.trader = trader if trader is not None else deref_opt(_trader_SingleProxy_()) Balance_Impl.__init__(self)
def __init__(self, trader = None): from marketsim.gen._out.observable.trader._SingleProxy import SingleProxy from marketsim import event from marketsim import types self.trader = trader if trader is not None else SingleProxy() Balance_Impl.__init__(self) if isinstance(trader, types.IEvent): event.subscribe(self.trader, self.fire, self)
def __init__(self, trader=None): from marketsim.gen._out._observable._observablefloat import Observablefloat from marketsim.gen._out.trader._singleproxy import SingleProxy_ as _trader_SingleProxy_ from marketsim import deref_opt Observablefloat.__init__(self) self.trader = trader if trader is not None else deref_opt( _trader_SingleProxy_()) Balance_Impl.__init__(self)
def __init__(self, trader=None): from marketsim.gen._out._observable import Observablefloat from marketsim.gen._out.trader._singleproxy import SingleProxy_ as _trader_SingleProxy_ from marketsim import rtti Observablefloat.__init__(self) self.trader = trader if trader is not None else _trader_SingleProxy_() rtti.check_fields(self) Balance_Impl.__init__(self)
def __init__(self, trader = None): from marketsim.gen._out._observable import Observablefloat from marketsim.gen._out.trader._singleproxy import SingleProxy_ as _trader_SingleProxy_ from marketsim import rtti Observablefloat.__init__(self) self.trader = trader if trader is not None else _trader_SingleProxy_() rtti.check_fields(self) Balance_Impl.__init__(self)
def bind_impl(self, ctx): Balance_Impl.bind_impl(self, ctx)
def reset(self): Balance_Impl.reset(self)