Пример #1
0
        public void Setup()
        {
            _algorithm          = new QCAlgorithm();
            _transactionHandler = new BrokerageTransactionHandler();
            _resultHandler      = new NonDequeingTestResultsHandler();
            _brokerage          = new TestBrokerage();

            _brokerageSetupHandler = new TestableBrokerageSetupHandler();
        }
        public void Setup()
        {
            _algorithm = new QCAlgorithm();
            _algorithm.SubscriptionManager.SetDataManager(new DataManagerStub(_algorithm));
            _transactionHandler = new BrokerageTransactionHandler();
            _resultHandler      = new NonDequeingTestResultsHandler();
            _brokerage          = new TestBrokerage();

            _brokerageSetupHandler = new TestableBrokerageSetupHandler();
        }