I'm interested in the OHLC / VWAP data (both historical and recent) provided via API to be used by external charting application.
I don't want to use
trades methods as whole process should be as lightweight as possible,
trades method is redundant due to history loading speed.
Combining bitcoincharts.com csv historical trades with markets API recent trades would be kind of error prone.
Another option would be to access the following data:
- visit bitcoincharts chart: http://bitcoincharts.com/charts/krakenEUR
- below the chart in the left corner click on
Load raw data
- and just download those data
I've checked the page and data appears in
tbody in the following
div after click on
Load raw data:
<div> <a href="#" onclick="load_table();return false;">Load raw data</a> <table class="data" id="chart_table" style="display: none;"> <thead> <tr> <th>Timestamp</th><th>Open</th><th>High</th><th>Low</th><th>Close</th><th>Volume (BTC)</th><th>Volume (Currency)</th><th>Weighted Price</th> </tr> </thead> <tbody> </tbody> </table> </div>
Is there any easy way to access those data similarly to API?
Another way is to ask markets for such method, kraken already provide such: https://api.kraken.com/0/public/OHLC?pair=XBTCZEUR&interval=60&since=1416160800
I've just asked for such method on hitbtc market, you can track/contribute here: https://github.com/hitbtc-com/hitbtc-api/issues/7