Esempio n. 1
0
 protected OpenOrderCalculatorBase(Order order, OrderSettings settings, OpenOrderServiceFactoryBase openOrderServiceFactory)
 {
     _order                = order;
     _account              = order.Owner.Owner;
     _settings             = settings;
     _floatPLCalculator    = new Lazy <OrderFloating>(() => openOrderServiceFactory.CreateFloatPLCalcaulator(order));
     _splitOrderCalculator = new Lazy <OrderSplitCalculator>(() => openOrderServiceFactory.CreateSplitOrderCalculator(order, settings));
 }
 internal PhysicalOpenOrderCalculator(PhysicalOrder order, PhysicalOrderSettings physicalSettings, OpenOrderServiceFactoryBase openOrderServiceFactory)
     : base(order, physicalSettings, openOrderServiceFactory)
 {
     _physicalOrder    = order;
     _physicalSettings = physicalSettings;
 }
Esempio n. 3
0
 internal OpenOrderCalculator(Order order, OrderSettings settings, OpenOrderServiceFactoryBase openOrderServiceFactory)
     : base(order, settings, openOrderServiceFactory)
 {
 }