public TickPriceHistoryService.TickPriceHistoryServiceClient Create()
        {
            var address = refinitivTickPriceHistoryApiConfig.RefinitivTickPriceHistoryApiAddress;

            if (string.IsNullOrWhiteSpace(address))
            {
                throw new ArgumentException($"Address '{address}' is null or empty.", nameof(refinitivTickPriceHistoryApiConfig.RefinitivTickPriceHistoryApiAddress));
            }

            var channel = string.IsNullOrWhiteSpace(refinitivTickPriceHistoryApiConfig.RefinitivTickPriceHistoryApiJwtBearerTokenSymetricSecurityKey)
                ? CreateInsecureChannel()
                : CreateSecureChannel();

            var client = new TickPriceHistoryService.TickPriceHistoryServiceClient(channel);

            return(client);
        }
 public TickPriceHistoryServiceClientWrapper(ChannelBase channel)
 {
     Client = new TickPriceHistoryService.TickPriceHistoryServiceClient(channel);
 }