Skip to content

Commit

Permalink
refactor: transform hardcoded port to logical use form
Browse files Browse the repository at this point in the history
  • Loading branch information
Romazes committed Jan 23, 2024
1 parent b29578c commit dae25e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions QuantConnect.IQFeed.Downloader/IQFeedDataDownloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ public class IQFeedDataDownloader : IDataDownloader
public IQFeedDataDownloader()
{
_fileHistoryProviderLazy = new Lazy<IQFeedFileHistoryProvider>(() =>
{
{
// Create and connect the IQFeed lookup client
var lookupClient = LookupClientFactory.CreateNew(Config.Get("iqfeed-host", "127.0.0.1"), 9100, NumberOfClients);
var lookupClient = LookupClientFactory.CreateNew(Config.Get("iqfeed-host", "127.0.0.1"), IQSocket.GetPort(PortType.Lookup), NumberOfClients);
// Establish connection with IQFeed Client
lookupClient.Connect();

Expand Down

0 comments on commit dae25e3

Please sign in to comment.