<p>I have tried to do the same, and as far as I know it is not possible. The best solution may be to start today, and in 10 days you will have 10 days worth of trades :)</p>

CC BY-SA 3.0
2017-12-14T16:48:07.183Z
2017-12-14T16:48:07.183Z
Nick Gauthier
<p>You can't do it directly from the Bittrex API. You can get raw trades from an API like <a href="https://www.cluedex.com/api" rel="nofollow noreferrer">Cluedex</a>. They also offer OHLCV data if you don't want to calculate that yourself.</p>

CC BY-SA 3.0
2018-04-05T06:36:50.320Z
2018-04-05T06:36:50.320Z
Laser-Lance
<p>You can get the market history using "GetTicks" from the v2 API (warning: v2 is still in development so the only <a href="https://github.com/thebotguys/golang-bittrex-api/wiki/Bittrex-API-Reference-(Unofficial)" rel="nofollow noreferrer">documentation</a> that exists is unofficial).</p>

<pre><code>import requests
import time
nonce = time.time()
r = requests.get("https://bittrex.com/Api/v2.0/pub/market/GetTicks?marketName="BTC-ETH&amp;tickInterval="day")
print(r.json()["result"][0]) # data for 2015-08-14
print(r.json()["result"][-1]) # gives today's data 
</code></pre>

CC BY-SA 3.0
2018-01-06T09:27:29.427Z
2018-01-06T09:27:29.427Z
Ryan Farber
<p>I want to know how to programmatically get history of trades for period - last 10 days from Bittrex? I saw bittrex API, but using function getmarkethistory I can get only last 200 trades items. But I need to calculate volume buy and volume sell separately for last 10 days and I can't find functions in bittrex API that can help me do this. I saw coinmarketcap.com and bitcoinwisdom API, but I didn't find any solution for this task. Can anybody help me? Thanks.</p>

CC BY-SA 3.0
2017-12-14T23:23:05.947Z
Do you mean your own trade history, or trade history for a specific cryptocurrency?
Chak
<api><trading><bittrex>
How to get history trades of last 10 days from Bittrex using Bittrex API?
Alexcoder
# How to get history trades of last 10 days from Bittrex using Bittrex API?

(Asked by: username_0 on 2017-11-13)

I want to know how to programmatically get history of trades for period - last 10 days from Bittrex? I saw bittrex API, but using function getmarkethistory I can get only last 200 trades items. But I need to calculate volume buy and volume sell separately for last 10 days and I can't find functions in bittrex API that can help me do this. I saw coinmarketcap.com and bitcoinwisdom API, but I didn't find any solution for this task. Can anybody help me? Thanks.

**Tags:** api, trading, bittrex

> **Comments:**
> **username_1**: Do you mean your own trade history, or trade history for a specific cryptocurrency?  

---

## 3 answers

### Answer by username_2 on 2017-12-14. Score: 1

I have tried to do the same, and as far as I know it is not possible. The best solution may be to start today, and in 10 days you will have 10 days worth of trades :)


---

### Answer by username_3 on 2018-04-05. Score: 0

You can't do it directly from the Bittrex API. You can get raw trades from an API like [Cluedex](https://www.cluedex.com/api). They also offer OHLCV data if you don't want to calculate that yourself.


---

### Answer by username_4 on 2018-01-06. Score: 0

You can get the market history using "GetTicks" from the v2 API (warning: v2 is still in development so the only documentation that exists is unofficial).
import requests
import time
nonce = time.time()
r = requests.get("https://bittrex.com/Api/v2.0/pub/market/GetTicks?marketName="BTC-ETH&tickInterval="day")
print(r.json()["result"][0]) # data for 2015-08-14
print(r.json()["result"][-1]) # gives today's data


---

