示例#1
0
        public string UpdateRate(string pair)
        {
            if (ForexAuthentication.Connected)
            {
                try
                {
                    return(CEDR_RatesService.getRate(ForexAuthentication.Token, pair));
                }
                catch { }
            }

            return(null);
        }
示例#2
0
        //public Settings Settings { get; private set; }


        private string GetRateBlotter()
        {
            string packet = null;

            if (ForexAuthentication.Connected)
            {
                try
                {
                    packet = CEDR_RatesService.getRateBlotter(ForexAuthentication.Token);
                }
                catch
                {
                }
            }

            return(packet);
        }