icackler1 has contributed to 3 posts out of 21120 total posts
(0.01%) in 671 days (0.00 posts per day).
20 Most recent posts:
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.
This is what I'm running in my Python script for the Reports:
import sys, getopt, time, socket
with contextlib.closing(socket.create_connection((iqfeed_host, iqfeed_port))) as iqfeed_socket:
#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,
loop = True
while loop == True:
chunk = iqfeed_socket.recv(chunk_size).decode("utf-8").strip()
loop = False
loop = False