示例#1
0
        public async Task Get()
        {
            var factory = new ConnectionStringFactory(_configuration);
            var repo    = new ReddeerMarketRepository(factory, _cfiInstrumentMapper, _logger);

            repo.Create(Frame());
            repo.Create(Frame());

            var results = await repo.GetEquityIntraday(DateTime.UtcNow.AddMinutes(-5), DateTime.UtcNow, _opCtx);

            Assert.IsTrue(true);
        }
示例#2
0
        public void Create()
        {
            var factory = new ConnectionStringFactory(_configuration);
            var repo    = new ReddeerMarketRepository(factory, _cfiInstrumentMapper, _logger);

            repo.Create(Frame());

            Assert.IsTrue(true);
        }