private static void UpdateExpiredApiInfo(bool forceFetch)
 {
     if (forceFetch || _apiInfoCache == null || DateTime.UtcNow - _apiInfoLastFetch >= _apiInfoCacheMaxAge)
       {
     _apiInfoCache = BtceApiV3.GetApiInfo();
     _apiInfoLastFetch = DateTime.UtcNow;
       }
 }
        private BtcePairInfo GetPairInfo(BtcePair pair, bool refreshCache)
        {
            if (apiInfoCache == null || refreshCache)
              {
            apiInfoCache = GetApiInfo();
              }
              var currencyPairInfo = apiInfoCache.Pairs[pair];

              return currencyPairInfo;
        }