The usual format of intraday historical data

Discussions about the testing and simulation of mechanical trading systems using historical data and other methods. Trading Blox Customers should post Trading Blox specific questions in the Customer Support forum.
Post Reply
fc
Full Member
Full Member
Posts: 13
Joined: Mon Dec 12, 2011 8:49 am

The usual format of intraday historical data

Post by fc »

I know that the text format of end-of-day data is usually given like this in a text file:

day, open, high, low, close, volume

where day is just a date without a time, e.g. 01/31/1977. Each row is simply the data for that day.

I'm wondering how intraday data is usually represented in a text file. How do the rows and columns appear, and in what kind of format is the date usually given?
Jake Carriker
Site Admin
Site Admin
Posts: 1493
Joined: Fri Sep 12, 2003 10:32 am
Location: Austin, Texas

Post by Jake Carriker »

You can read all about the formats that Trading Blox expects in the Trading Blox User Guide in the Historical Data Setup section.
fc
Full Member
Full Member
Posts: 13
Joined: Mon Dec 12, 2011 8:49 am

Post by fc »

Jake Carriker wrote:You can read all about the formats that Trading Blox expects in the Trading Blox User Guide in the Historical Data Setup section.
That cleared up that simply one column is added with the time.

One question remains, however: Does the time refer to the beginning of the particular period (say a particular 15-minute period), or the end of it, or maybe even the middle of it?
Moto moto
Roundtable Knight
Roundtable Knight
Posts: 427
Joined: Mon Jun 01, 2009 4:12 am
Location: once again in the UK

Post by Moto moto »

the time is usually registered as the opening of the bar.

The easy way to remember this is if you think about it like a range bar (as opposed to a time based bar).....it theoretically could last forever....and so the only known is the time the bar started.
Strongly suggest that you confirm this with your own data source, just in case.
Jake Carriker
Site Admin
Site Admin
Posts: 1493
Joined: Fri Sep 12, 2003 10:32 am
Location: Austin, Texas

Post by Jake Carriker »

Different data vendors have different standards. Trading Blox does not care which you use, but it is likely important to you and your broker.
Post Reply