def __call__(self, volume=None): from marketsim.gen._out._constant import constant_Float as _constant_Float from marketsim.gen._out.order._curried._price_withexpiry import price_WithExpiry volume = volume if volume is not None else _constant_Float(1.0) expiry = self.expiry proto = self.proto return price_WithExpiry(expiry, proto(volume))
def __call__(self, side=None): from marketsim.gen._out.side._sell import Sell_ as _side_Sell_ from marketsim.gen._out.order._curried._price_withexpiry import price_WithExpiry side = side if side is not None else _side_Sell_() expiry = self.expiry proto = self.proto return price_WithExpiry(expiry, proto(side))
def __call__(self, volume = None): from marketsim.gen._out._constant import constant_Float as _constant_Float from marketsim.gen._out.order._curried._price_withexpiry import price_WithExpiry volume = volume if volume is not None else _constant_Float(1.0) expiry = self.expiry proto = self.proto return price_WithExpiry(expiry, proto(volume))
def __call__(self, side = None): from marketsim.gen._out.side._sell import Sell_ as _side_Sell_ from marketsim import deref_opt from marketsim.gen._out.order._curried._price_withexpiry import price_WithExpiry side = side if side is not None else deref_opt(_side_Sell_()) proto = self.proto expiry = self.expiry return price_WithExpiry(proto(side), expiry)
def __call__(self, side=None): from marketsim.gen._out.side._sell import Sell_ as _side_Sell_ from marketsim import deref_opt from marketsim.gen._out.order._curried._price_withexpiry import price_WithExpiry side = side if side is not None else deref_opt(_side_Sell_()) proto = self.proto expiry = self.expiry return price_WithExpiry(proto(side), expiry)
def __call__(self, side=None, volume=None): from marketsim.gen._out.side._sell import Sell_ as _side_Sell_ from marketsim.gen._out._constant import constant_Float as _constant_Float from marketsim.gen._out.order._curried._price_withexpiry import price_WithExpiry side = side if side is not None else _side_Sell_() volume = volume if volume is not None else _constant_Float(1.0) expiry = self.expiry proto = self.proto return price_WithExpiry(expiry, proto(side, volume))
def __call__(self, side = None,volume = None): from marketsim.gen._out.side._sell import Sell_ as _side_Sell_ from marketsim.gen._out._constant import constant_Float as _constant_Float from marketsim.gen._out.order._curried._price_withexpiry import price_WithExpiry side = side if side is not None else _side_Sell_() volume = volume if volume is not None else _constant_Float(1.0) expiry = self.expiry proto = self.proto return price_WithExpiry(expiry, proto(side,volume))
def price_WithExpiry(self, expiry = None): from marketsim.gen._out.order._curried._price_withexpiry import price_WithExpiry return price_WithExpiry(self,expiry)
def price_WithExpiry(self, expiry=None): from marketsim.gen._out.order._curried._price_withexpiry import price_WithExpiry return price_WithExpiry(self, expiry)