public async Task <OrderBook> GetAsync(string assetPairId)
        {
            var domain = _orderBooksService.Get(assetPairId);
            var model  = Mapper.Map <OrderBook>(domain);

            // Map wallets names
            var wallets = (await _settingsService.GetAsync()).Wallets;

            foreach (var ask in model.Asks)
            {
                if (wallets.ContainsKey(ask.WalletId))
                {
                    ask.WalletName = wallets[ask.WalletId];
                }
            }
            foreach (var bid in model.Bids)
            {
                if (wallets.ContainsKey(bid.WalletId))
                {
                    bid.WalletName = wallets[bid.WalletId];
                }
            }

            return(model);
        }
        public IActionResult GetAsync([FromRoute] string symbol, [FromRoute] string brokerId)
        {
            if (string.IsNullOrWhiteSpace(symbol))
            {
                return(NotFound());
            }

            var orderBook = _orderBooksService.Get(brokerId, symbol);

            if (orderBook == null)
            {
                return(NotFound());
            }

            var model = _mapper.Map <OrderBookModel>(orderBook);

            return(Ok(model));
        }