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 like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"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
"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
"Excellent datafeed !!!" - Comment from Arely
"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
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
"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
"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
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: andrewNoah
About Contact
Joined: Jun 8, 2020 07:46 AM
Last Post: Jun 8, 2020 08:13 AM
Last Visit: Jun 8, 2020 11:02 AM
Website:  
Location:
Occupation:
Interests:
Avatar:
AIM:
ICQ:
MSN IM:
Yahoo IM:
Post Statistics
andrewNoah has contributed to 1 posts out of 21185 total posts (0.00%) in 1,419 days (0.00 posts per day).

20 Most recent posts:
IQFeed API Questions » IQFeed API documentation source? Jun 8, 2020 08:13 AM (Total replies: 15)

Hello forum,

I am new to the IQFeed api.
I have been trying to find the proper documentation on how to usd the IQFeed API, but wasn't able to find one yet.
(The only source I got is the YouTube video from IQFeed, which doesn't show more in-depth information, and the pages shown in the video are not accessible now.)

1. Is there a relatively new and most up to date documentation to refer for developing with IQFeed API?

2. The main goal for me at the moment is to access the realtime Level 2 market depth data for Futures markets (i.e. CME Group) with Python programming language.

I have seen the IQFeed.CSharpApiClient for Python by mathpaquette on Github,
and was able to execute the sample python code which was uploaded in the repo: https://github.com/mathpaquette/IQFeed.CSharpApiClient/blob/master/docs/USING-WITH-PYTHON.md

However, I have no idea on where to start looking at to implement the Level 2 data streaming with this repo.

- Does anyone have a basic sample code for using the Streaming.Level2 api with IQFeed.CSharpApiClient?

- If not, can anyone guide me to some starting points on how to use the IQFeed.CSharpApiClient in python?

Currently, I am stuck at this level:

# Python v3.7.7
# Windows 10 x64
import sys
import clr

assembly_path = r"~my_path_to\IQFeed_CS"
sys.path.append(assembly_path)
clr.AddReference("IQFeed.CSharpApiClient")

from IQFeed.CSharpApiClient import IQFeedLauncher
from IQFeed.CSharpApiClient.Streaming.Level2 import Level2ClientFactory
from IQFeed.CSharpApiClient.Streaming import Level2
from IQFeed.CSharpApiClient.Streaming.Level2 import Messages
from IQFeed.CSharpApiClient.Streaming.Common import Messages


IQFeedLauncher.Start("my_id", "my_pw", "dev_id")

level2Client = Level2ClientFactory.CreateNew()

level2Client.Connect()

level2Client.ReqWatch("@BTC#")

...


Thank you in advance.

Sincerely,

Andrew.


Time: Fri April 26, 2024 5:08 PM CFBB v1.2.0 11 ms.
© AderSoftware 2002-2003