Tick data downloads

Note: if you wish to link to one of the downloads here, please link to the page and not directly to the file, the reason being that the files here get updated quite often, the older versions get archived & deleted and your link will end up leading to a 404 page.

Enabling tick data backtesting

Tick Data Suite v1.2.9 (updated 10.05.2013, compatible: MT4 build 225 – 500)
Birt’s patch script v0.21 (updated 21.02.2012, compatible: MT4 build 225 – 409)

Processing tick data

Birt’s CSV2FXT script v0.41 binaries (updated 03.02.2013)
Birt’s CSV2FXT script v0.41 source (you don’t need this unless you want to modify or recompile the DLL)

Downloading Dukascopy tick data

Birt’s Dukascopy tick data PHP scripts v0.26 (updated 18.09.2012)
Tickstory
StrategyQuant Tick Data Downloader

Miscellaneous

Gain Capital data tools
Multiple MT4 instance loaders (only working up to MT4 build 409)
History file (HST) time shifter

Changelog for all the tick data stuff

  • #108 written by Kims October 21, 2012 (7 months ago)

    hi, birt

    what would you say is the most reliable way to download tick data?

    as i gather the php process?

    and if some errors occured whist downloading the data, does the script try to check entire data and redownload the missing files?

    thanks
    JV

    • #109 written by birt October 21, 2012 (7 months ago)

      I haven’t thoroughly checked the Tick Data Downloader but from what I could see, it seems pretty solid. The PHP scripts are a decent option, but they’re geared towards those that are familiar with technical stuff. Frankly, I’m only using them due to the power of habit and because I already have all the data in the old format; I would otherwise prefer something with some kind of a user interface.

      Errors rarely happen with the PHP scripts (I’ve never had one but a couple of people did). If such an error happens, processing will stop at the damaged file; you can simply delete it and then run the downloading script again, which will only download the file you deleted.

      • #110 written by tickman November 15, 2012 (6 months ago)

        Hi birt,

        Thanks for linking to the tickstory.com tool on the other page – Feel free to link here as well. The application has been updated and a number of new features and fixes have been added.

        Regards!

        • #111 written by birt November 15, 2012 (6 months ago)

          I only link files hosted on my website in this section.

          • #112 written by tickman November 15, 2012 (6 months ago)

            No problem, birt. Just saw the “StrategyQuant” link and thought it may have been appropriate (Are you the author of this site? Looks like some nifty stuff there).

            Thiago – to answer your question, Tickstory allows you to download Dukascopy data and produce an MT4 export in the one step. I’m in the process of writing a manual to explain some of the features.

            Regards.

            • #113 written by birt November 16, 2012 (6 months ago)

              Nah, it’s not mine. Anyway, I forgot I put that there but since I did, I also added Tickstory even though they don’t really belong into the downloads section – they’re not really downloads but external links.

            • #114 written by Thiago November 16, 2012 (6 months ago)

              What good tickman! Perhaps in the future I also operate with Dukascopy and create EAs. But it turns out that I am not familiar with Java programming. For now I’m in MT4. It seems to Me that TrueFX data are the most complete. But the dukascopy are minors. I will be following your program tickman and am awaiting the manual.

              • #115 written by tickman November 17, 2012 (6 months ago)

                No problem, Birt – thanks!

                Thiago, MT4 is convenient to get up-and-running fast, but I figure that you dont have the same fine control over your strategies (and therefore back-tests) as you do with the JForex API.

                Almost there with the manual – let you know when it’s done.

        • #118 written by Thiago November 15, 2012 (6 months ago)

          What is the tickstory? How does it work?

  • #120 written by Kims October 21, 2012 (7 months ago)

    I see, thanks, im quite familiar with technical, so not too much of a problem.
    I had some errors but not sure if thats because i was running multiple php scripts on different currencies and some overlaped?

    WARNING: did not download http://www.dukascopy.com/datafeed/EURCAD/2011/09/26/20h_ticks.bi5 (1319659200 – 10/26/11 20:00 GMT) – error code was 502
    Content was:

    ERROR: The requested URL could not be retrieved

    ERROR
    The requested URL could not be retrieved

    While trying to retrieve the URL:
    http://www.dukascopy.com/datafeed/EURCAD/2011/09/26/20h_ticks.bi5

    The following error was encountered:


    Read Error

    The system returned:
    (60) Operation timed out

    An error condition occurred while reading data from the network. Please
    retry your request.
    Your cache administrator is Support@XXXX.com.

    • #121 written by birt October 22, 2012 (7 months ago)

      That happens sometimes. Just run the download process once more if you get that error – it will only download the missing file(s).

  • #122 written by Kims October 21, 2012 (7 months ago)

    Also would be intersting to compare how much your EURUSD 2007-2011 weighs (all compressed new files Bi5)

    size on disk 2007-2011 – 636 MB (666,939,392 bytes)
    2012 -(00-08) – 104 MB (109,998,080 bytes)

    • #123 written by birt October 22, 2012 (7 months ago)

      My archive contains a lot of bin files instead of bi5 and is not always up to date so it would be pointless to compare sizes.

  • #124 written by Kims October 21, 2012 (7 months ago)

    just to verify again: if cmd shows:

    Info: Downloading AUDJPY starting with 03/30/07 16:00:00
    Info: Downloading AUDUSD starting with 03/30/07 16:00:00
    Info: Downloading CADJPY starting with 03/30/07 16:00:00
    Info: Downloading CHFJPY starting with 03/30/07 16:00:00
    Info: Downloading EURAUD starting with 03/30/07 16:00:00
    Info: Downloading EURCAD starting with 09/23/08 11:00:00
    Info: Downloading EURCHF starting with 03/30/07 16:00:00
    Info: Downloading EURGBP starting with 03/30/07 16:00:00
    Info: Downloading EURJPY starting with 03/30/07 16:00:00
    Info: Downloading EURNOK starting with 03/30/07 16:00:00
    Info: Downloading EURSEK starting with 03/30/07 16:00:00
    Info: Downloading EURUSD starting with 03/30/07 16:00:00
    Info: Downloading NZDUSD starting with 03/30/07 16:00:00

    means that these were downloaded with no errors?

    • #125 written by birt October 22, 2012 (7 months ago)

      Yes.

  • #126 written by Kims October 24, 2012 (6 months ago)

    hi birt what exactly does your latest update for the CSV2FXT have?
    what do you mean that it impletemnts proper margin requirement.. how does this affect things?

    thanks

    • #127 written by birt October 24, 2012 (6 months ago)

      The margin requirement was incorrect in some cases and this was a rather big problem especially for brokers using the CFD margin calculation mode for metals (such as Alpari for example). Basically, with older CSV2FXT versions instead of requiring 3k margin per lot, an XAUUSD FXT generated using Alpari would require some 165k margin per lot, making it impossible to test money management properly.

      Normal strategies (scalpers etc.) running on regular currency pairs should be unaffected by this change. Martingale strategies might be slightly affected.

      • #128 written by Kims October 25, 2012 (6 months ago)

        ok great stuff, thanks

        also i was wondering whether you know if build 402 is a relatively stable one? did u have any problems with it before?

        • #129 written by birt October 25, 2012 (6 months ago)

          All recent MT4 builds are relatively stable, “relatively” being the keyword. The exception is build 418 (iirc), don’t use that.

  • #130 written by Fabio October 31, 2012 (6 months ago)

    Where do I have to edit the CSV2FXT to create only HST?

    thanks

    • #131 written by birt November 1, 2012 (6 months ago)

      You could remove the WriteTick() call in line 384 – it would still open and close the FXT files but it would not write ticks in them. If you wish to make it not even open the FXT files, you need to put a bit of effort of your own into it.

  • #132 written by Stefan November 1, 2012 (6 months ago)

    Hi Birt,

    i have a question depending on the size of the fxt-files. If i convert integral-csv to fxt with your script the fxt is nearly the same size like the csv file ( EURGBP from August 2012: eurgbp.csv = 6GB and eurgbp15_0.fxt = 6gb). But when i convert the dukascopy data, the fxt file is much smaller then the csv file ( EURGBP from August 2012: eurgbp.csv = 6GB and eurgbp15_0.fxt = 3gb).
    Is there something wrong with the conversion. What is your csv and fxt filesize for dukascopy and integral data?

    regards
    Stefan

    • #133 written by birt November 1, 2012 (6 months ago)

      There’s nothing wrong, it’s because of the duplicate ticks filter. Dukascopy has a lot of duplicate ticks that get removed while Integral has less duplicate ticks. Unfortunately, I don’t have any FXT files at hand to give you an idea of the size.

  • #134 written by Ehud November 10, 2012 (6 months ago)

    Hi Bert

    I have MT4 build 445.
    How I can use with Birt’s patch script v0.21 ?
    It is only for MT4 build (225 – 409)

    thanks

    Ehud

    • #135 written by birt November 10, 2012 (6 months ago)

      It only works with the specified builds so you can’t use it with 445.

  • #136 written by Ehud November 10, 2012 (6 months ago)

    Hi Bert

    Have you Birt’s patch script for MT4 build 445 ?

    thanks
    Ehud

    • #137 written by birt November 10, 2012 (6 months ago)

      No, I’m afraid not. It is no longer supported.

      The Tick Data Suite has all the functionality (and more) and offers compatibility with builds past 409 (including 445) but it is a commercial product.

  • #138 written by Ehud November 10, 2012 (6 months ago)

    Hi Bert

    If I use with Tick Data Suite , I do not need in Birt’s patch script ?

    thanks

    Ehud

    • #139 written by birt November 11, 2012 (6 months ago)

      No, the script is obsolete and it is not required by the Tick Data Suite.

  • #140 written by Ehud November 11, 2012 (6 months ago)

    Hi Bert

    I have 2 questions :
    1. The CSV2FXT script starts the conversion from the 2007,
    (2012.11.11 05:10:45 CSV2FXT GBPUSD,H1: Starting to process GBPUSD 2007.)
    even though the StartDate is 2012.01.01 and the EndDate is 2012.06.30,
    Why ?

    2. I do not see HST and FXT files when the process finishes.
    Why ?

    thanks

    Ehud

    • #141 written by birt November 11, 2012 (6 months ago)

      1. It’s because your CSV file starts with 2007. The script will correctly process the specified period, but since your CSV is bigger it must go through the previous years to get there.

      2. Most likely because you have UAC enabled. See http://eareview.net/tick-data/faq-troubleshooting#q-1-4

  • #142 written by JBente December 5, 2012 (5 months ago)

    Is it possible to change the GMT and DST for data .hst? How would be the way?
    Thanks

    • #143 written by birt December 5, 2012 (5 months ago)

      For existing HST files, it’s possible but I know of no tool that does it.

      If you wish to change the GMT & DST of an FXT (and consequently the accompanying HST files) when converting tick data using CSV2FXT, you simply have to configure the script parameters CSVGMT & CSVDST.

  • #144 written by Homayoon December 28, 2012 (4 months ago)

    Hi,

    I have a CSV file, for a commodity which is traded in my country. It is in this format: Date(YYYY.MM.DD), Time(HH:MM), Price
    (Like: 2012.12.25, 10:00,1288000)

    How can I import it to Metatrader? I got error when I tried using CSV2FXT..
    Is there anyway to stream data from csv to mt4 live and realtime?

    Thanks,

    • #145 written by birt December 31, 2012 (4 months ago)

      Short answer is: I’m afraid you can’t import the file, at least not easily.

      If the file contains bar data, you have to modify it to a format that is understood by the history center. If it contains tick data, you should modify it to a format that is understood by CSV2FXT (see the Dukascopy format for an example; note that you need the Bid and the Ask price).

      As for streaming data from a CSV to MT4, you simply can’t do it.

  • #146 written by birt December 31, 2012 (4 months ago)

    Short answer is: I’m afraid you can’t import the file, at least not easily.

    If the file contains bar data, you have to modify it to a format that is understood by the history center. If it contains tick data, you should modify it to a format that is understood by CSV2FXT (see the Dukascopy format for an example; note that you need the Bid and the Ask price).

    As for streaming data from a CSV to MT4, you simply can’t do it.

  • #147 written by Dukas January 3, 2013 (4 months ago)

    When will the new version? Support for build 451?

    • #148 written by birt January 3, 2013 (4 months ago)

      The Tick Data Suite already supports MT4 build 451 (v1.2.3, released 30.11.2012). If you’re having problems with it, please use the support form to contact me.

  • #149 written by Sev January 6, 2013 (4 months ago)

    Hi Birt,

    I am running your PHP scripts for Dukascopy on my mac using the terminal.

    It seems to be working however it is terribly slow. I was running the code overnight and it only managed to download 4 pairs.

    Is there any way to speed the process up as I cannot install the other software due to my platform.

    Regards,

    Sev

    • #150 written by birt January 6, 2013 (4 months ago)

      Unfortunately, it depends very much on your download speed. I would suggest only downloading the pairs you need. I can’t think of anything you can do to make it faster other than running a few instances in parallel on different currencies, which would be rather rude (just like downloading on multiple threads) and I would recommend against it.

  • #151 written by Juan P January 12, 2013 (4 months ago)

    Dear Birt,

    I have problems to create some FXT files. I am creating a full DB of all pairs available data, I have downloaded all tick data available until 31-12-2012 using tickstory and I have converted all to CSV and then to FXT (M1 TF). Some files specially biggest, are truncated, ie when I run the backtest this will end before 31-12-2012 (for instance may 2012). I have checked the bi5 files and CSV and all seems to be OK, even HST charts are fully generated. I have test several versions of CSVtoFXT script and Metatrader builds and the problem remains… finally I could not find the solution. Do you have any idea of this problem? Thanks

    Truncated pairs: EURUSD, EURJPY, GBPJPY, AUDJPY, GBPCHF, EURAUD

  • #152 written by Juan P January 12, 2013 (4 months ago)

    OK… the mystery is solved, the problem is the 4GB limit for FX files… however the limit removal is not working for TDS on MT4 451 built. Finally I could run the full backtest using a old version of metatrader (409). Do you have knowledge of this issue with TDS in the 451 version?

    • #153 written by birt January 16, 2013 (4 months ago)

      This appears to be a bug specific to using TDS with MT4 build 451, thanks for pointing it out. I should have it fixed this week or early next week. In the meantime, please use build 445 if you need to backtest large FXT files. Send an email to support if you can’t find it.

  • #154 written by jon January 13, 2013 (4 months ago)

    Birt, actually you are very greedy,

  • #155 written by jon January 13, 2013 (4 months ago)

    Tick Data Suite v1.2.4 (updated 07.01.2013, compatible: MT4 build 225 – 451)
    Birt’s patch script v0.21 (updated 21.02.2012, compatible: MT4 build 225 – 409)
    you made patch for build 451 but you didn’t made free patch for 409. are there any reason didn’t made ? i think it better change your blog to commerical blog. now im thinking .. Bart

    • #156 written by birt January 13, 2013 (4 months ago)

      That’s your opinion and you’re entitled to it. You’re not really making a lot of sense, but I think I can guess what you are trying to say so I’ll provide an answer. The patch script is no longer being maintained or supported for almost 1 year simply because it’s completely different from the Tick Data Suite and I lack the time to keep updating both so I’m focusing on providing a commercial quality product and the tech support to match it.

      As for changing my blog to “commerical blog”, how exactly would you suggest I do that, in addition to providing a purchase link on the Tick Data Suite product page (which is already there)? Perhaps you’d like me to write “Birt’s commerical blog” in the header line?

      Finally, in regards to your “now im thinking” sentence, it’s really good to hear that and I would like to thank you for using this means to inform all the readers about it.

  • #157 written by Tracy February 27, 2013 (2 months ago)

    Birt,
    Regarding Multiple MT4 instance loaders (only working up to MT4 build 409)

    When I download it, my anti-virus software warns me it includes Trojans!!!

    Can you pls recheck it?

    Tracy

    • #158 written by birt February 27, 2013 (2 months ago)

      It definitely doesn’t include any trojans, your antivirus is giving you a false positive. Anyway, those are no longer supported and you probably have no use for them seeing that they only work up to build 409.

  • #159 written by Tracy February 27, 2013 (2 months ago)

    Then that would be quite fine, thanks!

  • #160 written by Denis March 10, 2013 (2 months ago)

    Hi. Seems I done everything according instructions, but while testing strategy spread is still static. Can you advise anything? Any hypothetical reason of why it happens?

    • #161 written by birt March 10, 2013 (2 months ago)

      1. Make sure you’re looking at the difference between Ask and Bid NOT at MarketInfo(Symbol(), MODE_SPREAD).
      2. Ensure that the MT4 title bar reads “… with Tick Data Suite vX.X.X”.
      3. Check that the modeling quality at the end of your backtest is 99%.
      4. If the above don’t apply, your FXT must’ve been created with UseRealSpread disabled.

      • #162 written by Denis March 10, 2013 (2 months ago)

        It’s strange but now it works! Swear, previous time I did everything as you desceibed but result was bad. Anyway now it’s good. Thank you for your helpful soft! :)

        • #163 written by birt March 10, 2013 (2 months ago)

          Strange indeed but I’m glad to hear it works fine now :)

  • #164 written by Will May 5, 2013 (2 weeks ago)

    Hi birt, when will the tick data suite be updated for build 495. I had to reinstall client for my new setup on SSD. Unlucky they bring out a new version on download when I need it. Cant really do anything now until you sort it.

    • #165 written by birt May 6, 2013 (2 weeks ago)

      Working on it but they changed the compiler in 495 so it will take a lot longer than usual. It will be released during the next 2-3 days. By the way, build 496 has also been released already.

      I will get back to you via email with a workaround in the meantime. Anyone else facing the same problem – please contact me via email.

  • #166 written by Will May 6, 2013 (2 weeks ago)

    Thanks birt, I don’t understand why they do this.

    • #167 written by birt May 6, 2013 (2 weeks ago)

      Probably an internal toolchain update, they must have had their reasons for it. The side effect is that I have to redo a lot of the TDS stuff from scratch.

  • #168 written by Will May 9, 2013 (1 week ago)

    Some EA’s that have been running on previous version of TDS without problems are now causing it to crash. Is there anywhere I can get report from? Cant see anything in journal or experts when I reload TDS after crash

    • #169 written by birt May 9, 2013 (1 week ago)

      Could you please send me a support mail mentioning which EAs, the TDS version you are using and your MT4 version?

      Also, are you sure it’s TDS related? The crashing typically occurs when you’re trying to run an EA compiled with a newer MT4 build on an older build. I’d advise trying to backtest the same EAs without the Tick Data Suite.

  • You may use these HTML tags: <a> <abbr> <acronym> <b> <blockquote> <cite> <code> <del> <em> <i> <q> <strike> <strong>

     

  • Comment Feed for this Post
Go to Top