// converts amount in baseSymbol to amount in quoteSymbol
        public static BigInteger GetTokenQuoteV1(IRuntime runtime, string baseSymbol, string quoteSymbol, BigInteger amount)
        {
            if (baseSymbol == quoteSymbol)
            {
                return(amount);
            }

            // old
            var basePrice = runtime.GetTokenPrice(baseSymbol);

            var baseToken = runtime.GetToken(baseSymbol);
            var fiatToken = runtime.GetToken(DomainSettings.FiatTokenSymbol);

            // this gives how many dollars is "amount"
            BigInteger result = runtime.ConvertBaseToQuote(amount, basePrice, baseToken, fiatToken);

            if (quoteSymbol == DomainSettings.FiatTokenSymbol)
            {
                return(result);
            }

            var quotePrice = runtime.GetTokenPrice(quoteSymbol);
            var quoteToken = runtime.GetToken(quoteSymbol);

            result = runtime.ConvertQuoteToBase(result, quotePrice, quoteToken, fiatToken);
            return(result);
        }