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 will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
"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
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"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
"Excellent datafeed !!!" - Comment from Arely
"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
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 21199 total posts (0.01%) in 822 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: Mon May 6, 2024 11:24 AM CFBB v1.2.0 14 ms.
© AderSoftware 2002-2003