/// <summary>
        /// Get a trading pair
        /// </summary>
        /// <param name="pair">Pair to find</param>
        /// <returns>Asset of pair</returns>
        public static async Task <Asset> GetTradingPair(this IBilaxyDotNet service, string pair)
        {
            var tradingPairs = await service.GetTradingPairs();

            var asset = tradingPairs.Where(c => c.Pair.Equals(pair) || c.DashedPair.Equals(pair)).FirstOrDefault();

            return(asset);
        }
        public void GetTradingPairs_Test()
        {
            // Act
            var pairs = _svc.GetTradingPairs().Result;

            // Assert
            Assert.NotNull(pairs);
            Assert.True(pairs.Count > 0);
        }
        /// <summary>
        /// Get a deposit address for a currency
        /// </summary>
        /// <param name="symbol">Currency symbol</param>
        /// <returns>String of deposit address</returns>
        public static async Task <string> GetDepositAddress(this IBilaxyDotNet service, string symbol)
        {
            var currencies = await service.GetTradingPairs();

            var currency = currencies.Where(c => c.Pair.StartsWith(symbol) || c.DashedPair.StartsWith(symbol)).FirstOrDefault();

            if (currency != null)
            {
                return(await service.GetDepositAddress(currency.AssetId));
            }
            else
            {
                throw new Exception("Currency does not exist");
            }
        }