public async Task RemoveMarketMakerArbitragesChatPublisherSettingsAsync(string chatPublisherId)
 {
     await _storage.DeleteAsync(ChatPublisherSettingsEntity.GeneratePartitionKeyForMarketMakerArbitrages(), chatPublisherId);
 }
 public async Task RemoveLiquidityEngineSummaryChatPublisherSettingsAsync(string chatPublisherId)
 {
     await _storage.DeleteAsync(ChatPublisherSettingsEntity.GeneratePartitionKeyForLiquidityEngineSummary(), chatPublisherId);
 }
 public async Task RemoveExternalBalanceChatPublisherSettingsAsync(string chatPublisherId)
 {
     await _storage.DeleteAsync(ChatPublisherSettingsEntity.GeneratePartitionKeyForExternalBalance(), chatPublisherId);
 }
 public async Task RemoveWalletsRebalancerChatPublisherSettingsAsync(string chatPublisherId)
 {
     await _storage.DeleteAsync(ChatPublisherSettingsEntity.GeneratePartitionKeyForWalletsRebalancer(), chatPublisherId);
 }
        public Task AddNeTradesChatPublisherSettingsAsync(IChatPublisherSettings chatPublisher)
        {
            var entity = ChatPublisherSettingsEntity.CreateForNeTrades(chatPublisher);

            return(_storage.InsertOrReplaceAsync(entity));
        }
        public Task AddCryptoIndexWarningsChatPublisherSettingsAsync(IChatPublisherSettings chatPublisher)
        {
            var entity = ChatPublisherSettingsEntity.CreateForCryptoIndexWarnings(chatPublisher);

            return(_storage.InsertOrReplaceAsync(entity));
        }
        public Task AddMarketMakerArbitragesChatPublisherSettingsAsync(IChatPublisherSettings chatPublisher)
        {
            var entity = ChatPublisherSettingsEntity.CreateForMarketMakerArbitrages(chatPublisher);

            return(_storage.InsertOrReplaceAsync(entity));
        }
 public async Task <IReadOnlyList <IChatPublisherSettings> > GetWalletsRebalancerChatPublisherSettings()
 {
     return((await _storage.GetDataAsync(ChatPublisherSettingsEntity.GeneratePartitionKeyForWalletsRebalancer())).ToArray());
 }
        public Task AddExternalBalanceChatPublisherSettingsAsync(IChatPublisherSettings chatPublisher)
        {
            var entity = ChatPublisherSettingsEntity.CreateForExternalBalance(chatPublisher);

            return(_storage.InsertOrReplaceAsync(entity));
        }
        public Task AddWalletsRebalancerChatPublisherSettingsAsync(IChatPublisherSettings chatPublisher)
        {
            var entity = ChatPublisherSettingsEntity.CreateForWalletsRebalancer(chatPublisher);

            return(_storage.InsertOrReplaceAsync(entity));
        }
 public async Task <IReadOnlyList <IChatPublisherSettings> > GetCryptoIndexWarningsChatPublisherSettings()
 {
     return((await _storage.GetDataAsync(ChatPublisherSettingsEntity.GeneratePartitionKeyForCryptoIndexWarnings())).ToArray());
 }
 public async Task <IReadOnlyList <IChatPublisherSettings> > GetLiquidityEngineSummaryChatPublisherSettings()
 {
     return((await _storage.GetDataAsync(ChatPublisherSettingsEntity.GeneratePartitionKeyForLiquidityEngineSummary())).ToArray());
 }
 public async Task <IReadOnlyList <IChatPublisherSettings> > GetMarketMakerArbitragesChatPublisherSettings()
 {
     return((await _storage.GetDataAsync(ChatPublisherSettingsEntity.GeneratePartitionKeyForMarketMakerArbitrages())).ToArray());
 }
 public async Task RemoveNeTradesChatPublisherSettingsAsync(string chatPublisherId)
 {
     await _storage.DeleteAsync(ChatPublisherSettingsEntity.GeneratePartitionKeyForNeTrades(), chatPublisherId);
 }
        public Task AddLiquidityEngineSummaryChatPublisherSettingsAsync(IChatPublisherSettings chatPublisher)
        {
            var entity = ChatPublisherSettingsEntity.CreateForLiquidityEngineSummary(chatPublisher);

            return(_storage.InsertOrReplaceAsync(entity));
        }
 public async Task RemoveCryptoIndexWarningsChatPublisherSettingsAsync(string chatPublisherId)
 {
     await _storage.DeleteAsync(ChatPublisherSettingsEntity.GeneratePartitionKeyForCryptoIndexWarnings(), chatPublisherId);
 }
 public async Task <IReadOnlyList <IChatPublisherSettings> > GetExternalBalanceChatPublisherSettings()
 {
     return((await _storage.GetDataAsync(ChatPublisherSettingsEntity.GeneratePartitionKeyForExternalBalance())).ToArray());
 }