Go Back   Traders Laboratory > Trading Resources > Tools of the Trade

Tools of the Trade Discussion forum for hardware, software, and computer related topics.

Reply
Bookmarks
del.icio.us StumbleUpon Google Digg Facebook Furl Reddit Netscape

 
LinkBack Thread Tools Display Modes Language
  #1 (permalink)  
Old 03-05-2008, 11:23 AM
darthtrader darthtrader is offline
Premium Trader

Trader Specs
 
Join Date: Apr 2007
Location: western ny
Posts: 354
Thanks: 5
Thanked 25 Times in 13 Posts
Archiving Tick Data?

Does anyone on here archive tick data into a database for future use?
With DTN they give you 8 days but it just seems like a waste to not store this information.
What I would love is a program that can store the info into a database that is open as possible so that it could be used no matter what software I change to in the future.
Anyone into this stuff? Maybe a straight out access database or sql db?

Reply With Quote
  #2 (permalink)  
Old 03-05-2008, 04:40 PM
mister ed's Avatar
mister ed mister ed is offline
Moderator

 
Join Date: Apr 2007
Posts: 448
Thanks: 110
Thanked 112 Times in 59 Posts
Re: Archiving Tick Data?

Very good question Darth ... I will do some research and see if I can come with anything.


Last edited by mister ed; 03-05-2008 at 04:41 PM. Reason: sp.
Reply With Quote
  #3 (permalink)  
Old 03-05-2008, 06:03 PM
Sparrow's Avatar
Sparrow Sparrow is offline
Nit

Trader Specs
 
Join Date: May 2007
Location: Vienna/Austria
Posts: 316
Thanks: 89
Thanked 17 Times in 14 Posts
Re: Archiving Tick Data?

Darth, you could easily code that with NT, performance would get slightly worse because of having to use real time indicators. Either use market analyzer or 1 tick charts.
I'm doing a variation of this to export 1min price/volume data for a volume based price/volume histogram. But have been to lazy to code the histogram so far .

Edit: I complicated things a bit, NT can export tick data just fine, but I think it will only do some if it's already in the DB.


Last edited by Sparrow; 03-05-2008 at 06:27 PM.
Reply With Quote
  #4 (permalink)  
Old 03-06-2008, 02:16 AM
Sparrow's Avatar
Sparrow Sparrow is offline
Nit

Trader Specs
 
Join Date: May 2007
Location: Vienna/Austria
Posts: 316
Thanks: 89
Thanked 17 Times in 14 Posts
Re: Archiving Tick Data?

MySQL, or PostgreSQL would be an option for storing such data. Maybe also SQL Server Express or Compact but no idea if they have got space constraints or are really suitable for the job.
I'd go with MySQL because it's more optimized for speed and the stuff you'd like to do is fairly simple.

I suppose the tables could grow quite large but with today's hdds, it shouldn't be a problem.

If you get the data into some kind of csv format, you'd be able to load the data like this into a MySQL db.

I think it would be tedious work if you cannot automate the export/import. Probably there's a way to this but none of the limited amount of trading software I know allows command line export of data.


Last edited by Sparrow; 03-06-2008 at 02:23 AM.
Reply With Quote
  #5 (permalink)  
Old 03-06-2008, 08:32 AM
darthtrader darthtrader is offline
Premium Trader

Trader Specs
 
Join Date: Apr 2007
Location: western ny
Posts: 354
Thanks: 5
Thanked 25 Times in 13 Posts
Re: Archiving Tick Data?

Hey guys,
I think Ninja can actually do this to some degree if you check "store realtime bar data" in options.
My interest though is to get into something more standard/open incase I'm not even using Ninja 3 years down the line. I guess in the meantime the market scanner in ninja would be the way to go.
I found some interesting post on elite searching for SQL. One thing that was interesting that I didn't know is that I guess relational databases aren't really ideal for time series data. It was mentioned a vector database is the way to go.
Someone posted a link to an open source vector DB and a commercial version
http://kx.com/
http://hdf.ncsa.uiuc.edu/HDF5/index.html

Could be interesting. MySQL would be cool but if I set this project up I don't want to hit a brick wall 3 years down the line because the DB is so huge and not using the right tool for the job.

Reply With Quote
  #6 (permalink)  
Old 03-06-2008, 08:51 AM
Sparrow's Avatar
Sparrow Sparrow is offline
Nit

Trader Specs
 
Join Date: May 2007
Location: Vienna/Austria
Posts: 316
Thanks: 89
Thanked 17 Times in 14 Posts
Re: Archiving Tick Data?

Interesting Darth, however it's questionable if storing the data in a database is necessary at all. If you intend to generate statistical studies with secondary tools from the data it should be in a format that is widely used. The only thing you'd need to worry about is bringing it into the right format (5min/monthly/etc.)
In case you want to write your own studies, a database makes sense, otherwise text files are more efficient which you might choose to compress or not.

It could also be better to just purchase the data and save yourself all the hassle.

Reply With Quote
  #7 (permalink)  
Old 03-07-2008, 02:14 AM
darthtrader darthtrader is offline
Premium Trader

Trader Specs
 
Join Date: Apr 2007
Location: western ny
Posts: 354
Thanks: 5
Thanked 25 Times in 13 Posts
Re: Archiving Tick Data?

Ahh yea, I ran across that idea tonight too. That actually sounds like what the guys who are decent programmers were doing. Just throwing it in a binary/text file and reading in straight away.
Of course buying it would probly be alot better time spent. Nothing though that I really need right now, I would just like to learn this stuff to have a spare computer capturing data for the hell of it I guess.

Reply With Quote
  #8 (permalink)  
Old 04-14-2008, 09:42 PM
micro's Avatar
micro micro is offline
Neophyte Trader

 
Join Date: Apr 2008
Location: London, GB
Posts: 3
Thanks: 7
Thanked 0 Times in 0 Posts
Re: Archiving Tick Data?

Quote:
View Post
Does anyone on here archive tick data into a database for future use?
<snip>
Anyone into this stuff? Maybe a straight out access database or sql db?
Hi,

Check out http://tree.sourceforge.net. Datafeed is restricted to IB.

Regards,

Reply With Quote
  #9 (permalink)  
Old 04-15-2008, 04:42 AM
BlowFish's Avatar
BlowFish BlowFish is offline
Dullard

Trader Specs
 
Join Date: Mar 2007
Location: Europe Mostly
Posts: 615
Thanks: 20
Thanked 58 Times in 45 Posts
Re: Archiving Tick Data?

I used tradestation 2000i to store tick data for the longest time. I still maintgain that data in multicharts though it is less manageable. There are several off the shelf packages that have pretty robust data management facilities. (Neoticker instantly springs to mind).

Reply With Quote
  #10 (permalink)  
Old 04-21-2008, 10:36 AM
darthtrader darthtrader is offline
Premium Trader

Trader Specs
 
Join Date: Apr 2007
Location: western ny
Posts: 354
Thanks: 5
Thanked 25 Times in 13 Posts
Re: Archiving Tick Data?

I might have to just buy Neoticker at some point. I've read its pretty hard to top as far as its database goes. Still the only issue is see with that is running into something where you want to change software down the road and have this massive database of tick data that can't be converted and would cost far too much to buy.

In the meantime I'm just going with flat csv files and will progress as needed. From what i've read about sql is that its just overkill on the overhead and not really ment for time series data.

This DB was mentioned on elite, its for storing massive amounts of scientific data and might be interesting, free and open source.
http://www.hdfgroup.org/products/index.html

Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Will the YM Data Feed be included with the Globex E-mini Data Feed The Bear E-mini Futures 1 01-19-2008 01:05 PM
TICK Hook's and TICK Candles Soultrader Technical Analysis 2 04-21-2007 04:22 PM
YM Tick Data TinGull E-mini Futures 6 03-18-2007 03:17 PM
TICK lows on the Russell TICK, not NYSE TinGull Trading Videos 6 01-29-2007 10:14 PM
Gap Fill Data for ES Soultrader E-mini Futures 2 01-11-2007 06:03 PM


All times are GMT -4. The time now is 08:08 AM.

 


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60