Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
Viewing User Profile for: faysalubit
About Contact
Joined: Mar 25, 2024 01:11 PM
Last Post: Mar 26, 2024 02:56 PM
Last Visit: Mar 27, 2024 01:35 AM
Website:  
Location: Pakistan
Occupation: Senior Software Engineer
Interests:
Email: m.faisal@datasoft.com.pk
AIM:
ICQ:
MSN IM:
Yahoo IM:
Post Statistics
faysalubit has contributed to 2 posts out of 21244 total posts (0.01%) in 125 days (0.02 posts per day).

20 Most recent posts:
New IQFeed Forum » Connectivity Options To Communicate With IQLink.exe Mar 26, 2024 02:56 PM (Total replies: 1)

I'm new to using IQLink Feed. Initially, I installed the IQLink Client and ran IQLink.exe, successfully fetching quotes from Excel via DDE. However, when attempting to utilize the Web API built on C# MVC, I encountered connectivity issues upon deploying it on IIS. It seems that IIS is unable to establish a connection with IQLink.exe. Are there alternative methods to retrieve quotes from IQLink besides DDE? I've explored IQFeed API as suggested in forums, but it's not viable due to pricing constraints. If TCP/IP connectivity is an option, could someone provide a sample code for establishing the connection? My requirement is to simply retrieve quotes for currency pairs (e.g., USDCAD.COMP).

Faisal

Data Questions » DDE Client From IIS Mar 26, 2024 06:05 AM (Total replies: 0)

I have deployed my API on IIS it will connect with IQLink exe using DDE when I requested a USDCAD rate from IQLink it is throwing exception even locally every thing work fine.

The client failed to request "IQLINK|USDCAD!BID".

2024-03-26 05:38:50.074 -04:00 [INF] Requesting rate again

2024-03-26 05:40:51.073 -04:00 [ERR] The client failed to request "IQLINK|USDCAD.COMP!BID".

2024-03-26 05:40:51.076 -04:00 [INF] Client in GetNewDDEObject False

2024-03-26 05:40:51.077 -04:00 [INF] TEmp is Connected or not True

2024-03-26 05:40:51.077 -04:00 [INF] Request item in Get Rate Call is USDCAD.COMP

2024-03-26 05:40:51.077 -04:00 [INF] Client Service is IQLINK 2024-03-26 05:40:51.077 -04:00 [INF] Client is Connected True 2024-03-26 05:41:45.039 -04:00 [ERR] Exception is NDde.DdeException: The client failed to request "IQLINK|USDCAD!ASK". ---> NDde.Foundation.DdemlException: The client failed to request "IQLINK|USDCAD!ASK".

at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)

at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)

at NDde.Advanced.DdeContext.DdeThread.Invoke(Delegate method, Object[] args)

at NDde.Advanced.DdeContext.Invoke(Delegate method, Object[] args)

at NDde.Advanced.DdeContext.Invoke(ThreadStart method)

at NDde.Client.DdeClient.Request(String item, Int32 format, Int32 timeout) --- End of inner exception stack trace --- at NDde.Client.DdeClient.Request(String item, Int32 format, Int32 timeout) at NDde.Client.DdeClient.Request(String item, Int32 timeout)

at ECNConnector.DDEClient.GetRate(String item, String requestedItem, Boolean applyTolerance, Double tolerance) in C:\Users\Ashar.Hussain\Desktop\Distribution Layer\Distri

Faisal


Time: Sat July 27, 2024 3:48 AM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003