public override void Start(DateTime lastTimeStamp) { BackFill(); _mock = factory.CreateMockFeeder(2, 100); _mock.OnReceiveFeed(ReceiveFeed); _mock.Start(); }
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); }