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
»Forums Index »NEW IQFEED FORUMS »New IQFeed Forum »Benchmark (Index) Prices
Author Topic: Benchmark (Index) Prices (2 messages, Page 1 of 1)

bards
-Interested User-
Posts: 32
Joined: May 7, 2011


Posted: Jul 5, 2019 05:17 PM          Msg. 1 of 2
Hello,

Can I get the prices of the following indices
on a weekly basis using iqfeed?

1) S&P 500
2) Russell 3000
3) Russell 2000
4) Lipper multi-cap core

Also, what is the ticker for each one?

Many thanks.

DTN_Gary_Stephen
-DTN Guru-
Posts: 403
Joined: Jul 3, 2019


Posted: Jul 8, 2019 09:54 AM          Msg. 2 of 2
Hello,

It looks like your question about the symbols was answered at http://forums.iqfeed.net/index.cfm?page=topic&topicID=5618 . However, I'd like to add a little bit to it, on how to get the weekly data via TCP/IP connection.

The TCP/IP data has a historical section, described at http://www.iqfeed.net/dev/api/docs/HistoricalviaTCPIP.cfm. It has a code to retrieve composite weekly datapoints, which is HWX. The syntax of the request is:

HWX,[Symbol],[MaxDatapoints],[DataDirection],[RequestID],[DatapointsPerSend]<CR><LF>

All but HWX and the ticker symbol are optional. The other parameters let you specify, respectively, a maximum number of data points; whether you want oldest-to-newest or newest-to-oldest (set DataDirection to 1 for the latter); RequestID (an identifier that will be sent back at the start of each line) and DatapointsPerSend (the number of datapoints that IQConnect.exe will queue before attempting to send across the socket to your app).

Gary Stephen, DTN

Sincerely,
Gary Stephen
 

 

Time: Sat July 27, 2024 3:17 AM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003