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)




"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"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
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"Everything is working great with the API. I love it." - Comment from Calvin
"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
"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
"I started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"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
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 21185 total posts (0.01%) in 811 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 April 25, 2024 11:13 PM CFBB v1.2.0 13 ms.
© AderSoftware 2002-2003