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 »incoherence in high-low data (daily)
Author Topic: incoherence in high-low data (daily) (3 messages, Page 1 of 1)

mfgteam
-Interested User-
Posts: 19
Joined: Jul 4, 2013


Posted: Jul 16, 2013 09:04 AM          Msg. 1 of 3
Hello,

sorry if I disturb you but I see this strange thing asking for daily bars

I make this request:

HDX,@ESU13,5000,1,HDX$1

5000 is just a big number, to say: "give me all that you have!".


HDX$1,2012-06-15,1312.00,1312.00,1312.00,1312.00,0,0,
HDX$1,2012-06-18,1315.25,1315.25,1315.25,1315.25,0,0,
HDX$1,2012-06-19,1325.00,1325.00,1325.00,1325.00,0,0,
HDX$1,2012-06-20,1325.00,1325.00,1325.00,1325.00,0,0,
HDX$1,2012-06-21,1292.50,1292.50,1292.50,1292.50,0,0,
HDX$1,2012-06-22,1300.75,1300.75,1300.75,1300.75,0,0,
HDX$1,2012-06-25,1305.00,1280.75,1305.00,1280.50,150,0,

The first bars have zero volume. And this is OK.

Then there is the first bar with volume != 0. But it has a low of 1280.75,
which is the second field, but a close of 1280.50

How is it possible that the low is greater than the close?

According to the API manual the fields are in this order: H, L, O, C...

what am I doing wrong? There are other examples of this.

Regards,
mfgteam.

DTN_Steve_S
-DTN Guru-
Posts: 2096
Joined: Nov 21, 2005


Posted: Jul 16, 2013 09:11 AM          Msg. 2 of 3
Hello, the close field in our daily history is actually the settlement value for symbols that have settlements.

Since settlements are not always directly related to the range of trading on a single contract, it is possible for the settlement to fall outside the range of the High and Low. In these cases we do not stretch the high/low to accommodate the settlement value.

mfgteam
-Interested User-
Posts: 19
Joined: Jul 4, 2013


Posted: Jul 16, 2013 09:14 AM          Msg. 3 of 3
thank you, I will update my parsing algorithm to handle this.
 

 

Time: Wed September 18, 2024 6:15 PM CFBB v1.2.0 14 ms.
© AderSoftware 2002-2003