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)




"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"If you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - Comment from Public Forum
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"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
"I have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
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: icackler1
About Contact
Joined: Feb 5, 2022 08:37 PM
Last Post: Nov 2, 2023 06:20 PM
Last Visit: Nov 3, 2023 10:32 AM
Website:  
Location: United States
Occupation:
Interests:
AIM:
ICQ:
MSN IM:
Yahoo IM:
Post Statistics
icackler1 has contributed to 3 posts out of 21191 total posts (0.01%) in 818 days (0.00 posts per day).

20 Most recent posts:
Data Questions » Dividend data Nov 2, 2023 06:20 PM (Total replies: 2)

I'm trying to figure out where the dividend data is for stocks. I'm not seeing it in the EDS reports for Equity/NYSE, Equity/NASDAQ, etc. Is it only in the steaming data? Thanks.
Edited by icackler1 on Nov 2, 2023 at 07:32 PM


Yes, that was it. Thanks!! I have another script for the streaming quotes, and I was setting the version there, but not in this one for downloading the reports.


I'm trying to retrieve the Market Summary reports using my Python script, but keep getting "E,!SYNTAX_ERROR!,". I can get everything else I need to work, such as SST, SLM, CEO to retrieve option chains, and setting & removing watches to stream option symbol quotes. So I know I've basically got things working, but just not the reports. Any ideas?

I also get the same results when connecting using putty to 127.0.0.1, port:9100, connection type: Raw. I can get option chains, etc, but not the Market Summary Reports.
EDS,1,5,20220203 -- I've tried different combinations of Security Type & Group IDs, but always just get a syntax error.
E,!SYNTAX_ERROR!,


This is what I'm running in my Python script for the Reports:
#!python3
import sys, getopt, time, socket
import contextlib

iqfeed_host="127.0.0.1"
iqfeed_port=9100
timeout=10.0
chunk_size=65535

with contextlib.closing(socket.create_connection((iqfeed_host, iqfeed_port))) as iqfeed_socket:
iqfeed_socket.settimeout(timeout)

#msg="SST\n" #Request a list of Security Types from the feed.
#msg="SLM\n" #Request a list of Listed Markets from the feed.
#msg = "CEO,AAL,pc,ABCDEFGHIJKL,,\n" #Get option chain

msg="EDS,2,14,20220204,TEST\n" #End of Day Summary -- 2,IEOPTION,Index/Equity Option, 14,OPRA,OPRA System,

iqfeed_socket.sendall(msg.encode('ascii'))

loop = True
while loop == True:
chunk = iqfeed_socket.recv(chunk_size).decode("utf-8").strip()
print(chunk)

if chunk.endswith("!ENDMSG!,"):
loop = False
elif chunk.endswith("E,!SYNTAX_ERROR!,"):
loop = False



Time: Thu May 2, 2024 4:34 AM CFBB v1.2.0 12 ms.
© AderSoftware 2002-2003