internal InstrumentResetter(Account account, InstrumentManager instrumentManager)
 {
     _account           = account;
     _instrumentManager = instrumentManager;
     _instrumentDayClosePriceFactory = new InstrumentDayClosePriceFactory(account);
     _instalmentResetter             = new Lazy <InstalmentResetter>(() => new InstalmentResetter(_instrumentManager, _account));
 }
Пример #2
0
 internal HistoryOrderRecover(Account account, Guid instrumentId, List <Guid> affectedOrders, List <Guid> deletedOrders, Settings.Setting setting)
 {
     _account        = account;
     _instrumentId   = instrumentId;
     _affectedOrders = affectedOrders;
     _deletedOrders  = deletedOrders;
     _setting        = setting;
     _InstrumentDayClosePriceFactory = new InstrumentDayClosePriceFactory(_account);
 }