Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"I used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
"I just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
"I've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - Comment from Public Forum
"For anyone considering using DTN.IQ for a data feed, my experience with the quality of data and the tech support has been very positive." - Comment from Public Forum
"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
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
»Forums Index »Archive (2017 and earlier) »IQFeed Developer Support »IQLink/DDE problem
Author Topic: IQLink/DDE problem (19 messages, Page 1 of 1)

Art_iqf
-Interested User-
Posts: 11
Joined: Jun 6, 2018


Posted: Jun 6, 2018 02:43 AM          Msg. 1 of 19
Hi all!

I'm trying to get data over DDE channel from IQLink. C++\WinAPI.

::DdeConnect passes without errors, but ::DdeClientTransaction returns an error 0x4009 (DMLERR_NOTPROCESSED).


HSZ hszField = ::DdeCreateStringHandle(dwIDInst, "Exp Date", CP_WINANSI);

DWORD nDDERes = 0;
HDDEDATA hData = ::DdeClientTransaction(NULL, 0, hConv, hszField, CF_TEXT, XTYP_REQUEST, 1500, &nDDERes);
// hData is null
// DdeGetLastError returns DMLERR_NOTPROCESSED


What am I doing wrong?
IQFeed v5.1.1.3

Art_iqf
-Interested User-
Posts: 11
Joined: Jun 6, 2018


Posted: Jun 6, 2018 02:45 AM          Msg. 2 of 19
Can I get the exact expiry date by the symbol from other channel (TCP\COM)?

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jun 6, 2018 09:07 AM          Msg. 3 of 19
Good morning,

We do have TCP options available that I think will meet your needs. But, we do not have development support for DDE. Do you have a development account with us currently? If you do, you can access the expiration date via our Fundamental data message. It is located here, http://www.iqfeed.net/dev/api/docs/Level1FundamentalMessage.cfm. You will have to be logged in for the page to work.

If not, you would want to reach out to our sales team so we can help to get you signed so we can help move you forward.

Tim
Edited by DTN_Tim Walter on Jun 6, 2018 at 09:07 AM

Art_iqf
-Interested User-
Posts: 11
Joined: Jun 6, 2018


Posted: Jun 6, 2018 09:15 AM          Msg. 4 of 19
Good morning Tim!

Yes, we have development account, and I see the page 'Fundamental Message Format'.

Ok, thank you! I'l try this way.
Edited by Art_iqf on Jun 6, 2018 at 09:15 AM

Art_iqf
-Interested User-
Posts: 11
Joined: Jun 6, 2018


Posted: Jun 7, 2018 09:42 AM          Msg. 5 of 19
Tim, good morning!

Can you help me compose a fundamental message to get the symbol expiration time? I can not understand from the help page how to compose it. For example, symbol @ADN18.
And what interfaces do I need to use, ILevelOneGeneral2 will be sufficient?

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jun 7, 2018 10:20 AM          Msg. 6 of 19
Anytime you issue a watch to a server, a Fundamental message will be returned.

The COM interfaces, while they have remained functional for backwards compatibility are no longer receiving updates, so I would recommend using the current socket based code that is used in our samples for any new development.

I'll send you an email with some additional details.

Tim

Art_iqf
-Interested User-
Posts: 11
Joined: Jun 6, 2018


Posted: Jun 7, 2018 10:33 AM          Msg. 7 of 19
I can't reply to your letter, in response to sending the letter I received:

Quote:
SMTP error from remote mail server after initial connection:
host axigen.aghost.net [69.41.208.12]: 554 client's country is banned

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jun 7, 2018 10:35 AM          Msg. 8 of 19
Well...that's new.

I'll ask around. Thanks for letting me know.

Tim

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jun 7, 2018 10:37 AM          Msg. 9 of 19
Can you log into the dev site and then click on the chat icon? Then at least I can get you going while I research the other.

Art_iqf
-Interested User-
Posts: 11
Joined: Jun 6, 2018


Posted: Jun 7, 2018 11:30 AM          Msg. 10 of 19
Thanks for the help, Tim!
Now i'm not in the workplace, can't open dev. site, tomorrow at the same time i will try!

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jun 7, 2018 11:32 AM          Msg. 11 of 19
Sounds good, talk with you then.

Tim

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jun 7, 2018 12:49 PM          Msg. 12 of 19
In regards to troubleshooting the email error. What country are you in?

Tim

Art_iqf
-Interested User-
Posts: 11
Joined: Jun 6, 2018


Posted: Jun 7, 2018 12:53 PM          Msg. 13 of 19
Russia, mail server - mail.ru

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jun 7, 2018 12:59 PM          Msg. 14 of 19
Ok, just wanted to be sure you were not in another country doing business, I can imagine that it may be related to your local IP address rather than your mail servers.

Tim

Art_iqf
-Interested User-
Posts: 11
Joined: Jun 6, 2018


Posted: Jun 7, 2018 01:40 PM          Msg. 15 of 19
It's unlikely that this is due to my local IP address, i tried to send you an email via the web site mail.ru

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Jun 7, 2018 02:33 PM          Msg. 16 of 19
Ok, not sure then, I'll just plan on visiting with you in chat then tomorrow.

Have a good evening.

Tim

Art_iqf
-Interested User-
Posts: 11
Joined: Jun 6, 2018


Posted: Jun 7, 2018 02:39 PM          Msg. 17 of 19
Ok, thank you :)

Art_iqf
-Interested User-
Posts: 11
Joined: Jun 6, 2018


Posted: Jun 11, 2018 07:54 AM          Msg. 18 of 19
Tim, good morning!

I downloaded and installed the latest version of the API (instead v5.1.1.3).

Which port do i need to connect with telnet, that would get data on the symbol expiration time?

Art_iqf
-Interested User-
Posts: 11
Joined: Jun 6, 2018


Posted: Jun 11, 2018 08:43 AM          Msg. 19 of 19
It seems to have happened :)

I sent 'w@ADN18' to port 5009, and i received a fundamental message about this symbol.

I think, the problem is solved, thank you! :)
 

 

Time: Thu May 2, 2024 3:31 AM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003