/// <summary> /// Returns all instrument keys from the Redis database. /// </summary> /// <returns>The keys.</returns> public IReadOnlyCollection <string> GetAllKeys() { return(this.redisServer.Keys(pattern: KeyProvider.GetInstrumentsPattern()) .Select(k => k.ToString()) .ToArray()); }