5

I want to test out a few trading ideas for bitcoin. It seems to work on a small time horizon, and I'd like to backtest the past year or so of MtGox data. Is there a service that provides this? If not, is there a place I can buy the historical data dump?

Update

It looks like there are several projects around getting mtgox historical data out.

Nitrous' MtGox Trades Tool: This one seems to be the most useful to my needs. You get a dump, and can manipulate the data to create candles for backtesting. https://bitbucket.org/nitrous/bq

If you are more into Quantopian, there is a way to use weighted daily pricing data already imported: https://www.quantopian.com/posts/anyway-to-import-bitcoin-data

John
  • 539
  • 1
  • 3
  • 10
  • See [_this answer_](http://bitcoin.stackexchange.com/questions/1621/is-there-a-historical-timeseries-of-market-depth-transactions-available#answer-24742) for some up-to-date sources, hope that helps :) – captainpete Apr 20 '14 at 14:57

1 Answers1

1

bitcoincharts.com will let you download their entire trade history of any exchange (for free) here: http://api.bitcoincharts.com/v1/csv/. Given the raw trade data (amount, price, timestamp), with some code, you can construct candles. I'm not sure this is of any use, though, because I don't know what kind of backtesting you're doing and whether you are dependent on some existing software that may or may not work with raw trade data (or whether you can make candles from it).

Tyler
  • 601
  • 5
  • 10