public async Task <IReadOnlyCollection <FixQuoteModel> > GetAllAsync(DateTime date)
        {
            var enitites = await _storage.GetDataAsync(FixQuoteEntity.ToPartitionKey(date));

            return(enitites.Select(e => new FixQuoteModel
            {
                Ask = e.Ask,
                Bid = e.Bid,
                TradeTime = e.TradeTime,
                FixingTime = e.FixingTime,
                AssetPair = e.Id
            }).ToArray());
        }
        public async Task <FixQuoteModel> GetById(DateTime date, string id)
        {
            id = id.ToLowerInvariant();
            var entity =
                await _storage.GetDataAsync(FixQuoteEntity.ToPartitionKey(date), FixQuoteEntity.ToRowKey(id));

            if (entity != null)
            {
                return(new FixQuoteModel
                {
                    Ask = entity.Ask,
                    Bid = entity.Bid,
                    TradeTime = entity.TradeTime,
                    FixingTime = entity.FixingTime,
                    AssetPair = entity.Id
                });
            }
            return(null);
        }