<p>bitcoincharts.com will let you download their entire trade history of any exchange (for free) here: <a href="http://api.bitcoincharts.com/v1/csv/" rel="nofollow">http://api.bitcoincharts.com/v1/csv/</a>. 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).</p>

CC BY-SA 3.0
2014-02-01T09:15:34.687Z
2014-02-01T09:15:34.687Z
Tyler
<p>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?</p>

<p><strong>Update</strong></p>

<p>It looks like there are several projects around getting mtgox historical data out.</p>

<p>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. <a href="https://bitbucket.org/nitrous/bq">https://bitbucket.org/nitrous/bq</a></p>

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

CC BY-SA 3.0
2014-04-20T14:57:39.060Z
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
<mtgox><trading>
Backtesting mtgox for historical trade analysis?
John
# Backtesting mtgox for historical trade analysis?

(Asked by: username_0 on 2013-07-29)

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>

**Tags:** mtgox, trading

> **Comments:**
> **username_1**: 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 :)  

---

## 1 answers

### Answer by username_2 on 2014-02-01. Score: 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).


---

