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)




"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
"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
"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
"Thanks for all of your help. Great customer service deserves to be recognized which one the reasons I've been a customer of DTN for over 10 years!" - Comment from Stuart
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"Everything is working great with the API. I love it." - Comment from Calvin
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"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
"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via 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
»Forums Index »Archive (2017 and earlier) »IQFeed Developer Support »where is the close price date ?
Author Topic: where is the close price date ? (3 messages, Page 1 of 1)

Thelos
-Interested User-
Posts: 19
Joined: Jul 12, 2019


Posted: Aug 20, 2019 01:33 AM          Msg. 1 of 3
Hi,

In the Update Message, what is the date of the close value (Close field) ?
For the settle there is a "Settlement Date" field but not for the Close.
Is there any logic I can apply to find the close date ?

Tarek

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


Posted: Aug 20, 2019 04:46 PM          Msg. 2 of 3
Hello! This is Gary from DTN.

As far as I know, there's not a field for a close date and time. Close is always just the closing price of the day (or for commodities, the last trade of the session). There is a Last Date and Last Time, which when the market is closed would reflect the most recent trade. Can you tell me more about what you're looking to do, and I can maybe put together a suggestion from other available data?

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

Thelos
-Interested User-
Posts: 19
Joined: Jul 12, 2019


Posted: Aug 20, 2019 08:43 PM          Msg. 3 of 3
Hello Gary,

I am working on a position keeping software. it allows user to add to his position any security from any market.
for each security in position I want to feed the software with the following informations (among ohters):
Close,settle (if applicable),date.
for exemple,
for CAQ19 :

date | close | Settle
2019-8-20 | 150.2 | 150.2
2019-8-21 | 154.2 | 154.1
2019-8-22 | 155.1 | 154.9
......

the date is the market local date. I mean if the market close the 2019-8-20 at 19:00:00 even if my local date at the same moment is 2019-8-19 or 2019-8-21 this must not have an impact.

these data are stored and used to valuate the position (p&l,greeks...) and to compute the Value at Risk.

there is no need for me to listen to the feed for tick by tick data. So I made a batch that takes a snapshot (subscribe/unsubscribe) nearly each hour; for each security I get the UpdateMessage, now I want to store the close and the date in my table (in case of new close).

exemple, I get this :
close= 150.2
Last Date= 2019-8-20
Last Time= 17:40:02

how to know if the close belong to 2019-8-20 or 2019-8-19 or even 2019-8-21 (in case there was no trades for 1 or 2 days) ?


Tarek
Edited by Thelos on Aug 20, 2019 at 08:49 PM
 

 

Time: Thu April 25, 2024 5:19 PM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003