def __init__(self, book = None, side = None):
     from marketsim.gen._out.orderbook._oftrader import OfTrader_IAccount as _orderbook_OfTrader_IAccount
     from marketsim import deref_opt
     from marketsim.gen._out.side._sell import Sell_ as _side_Sell_
     self.book = book if book is not None else deref_opt(_orderbook_OfTrader_IAccount())
     self.side = side if side is not None else deref_opt(_side_Sell_())
     Queue_Impl.__init__(self)
Beispiel #2
0
 def __init__(self, book=None, side=None):
     from marketsim.gen._out.orderbook._oftrader import OfTrader_IAccount as _orderbook_OfTrader_IAccount
     from marketsim import deref_opt
     from marketsim.gen._out.side._sell import Sell_ as _side_Sell_
     self.book = book if book is not None else deref_opt(
         _orderbook_OfTrader_IAccount())
     self.side = side if side is not None else deref_opt(_side_Sell_())
     Queue_Impl.__init__(self)
Beispiel #3
0
 def reset(self):
     Queue_Impl.reset(self)
Beispiel #4
0
 def bind_impl(self, ctx):
     Queue_Impl.bind_impl(self, ctx)
 def reset(self):
     Queue_Impl.reset(self)
 def bind_impl(self, ctx):
     Queue_Impl.bind_impl(self, ctx)