Example #1
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)
Example #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)
Example #3
0
 def reset(self):
     Queue_Impl.reset(self)
Example #4
0
 def bind_impl(self, ctx):
     Queue_Impl.bind_impl(self, ctx)
Example #5
0
 def reset(self):
     Queue_Impl.reset(self)
Example #6
0
 def bind_impl(self, ctx):
     Queue_Impl.bind_impl(self, ctx)