示例#1
0
        public override void Start(DateTime lastTimeStamp)
        {
            BackFill();

            _mock = factory.CreateMockFeeder(2, 100);
            _mock.OnReceiveFeed(ReceiveFeed);
            _mock.Start();
        }
示例#2
0
        public void BasicTest()
        {
            _priceBars = new PriceBars(100);

            FeederFactory factory = new FeederFactory();
            MockFeeder    mock    = factory.CreateMockFeeder(2, 100);

            mock.OnReceiveFeed(ReceiveFeed);
            mock.Start();

            Assert.AreNotEqual(0, _priceBars.Count);
        }