An open API service indexing awesome lists of open source software.

https://github.com/bfolkens/pandas-datareader-gdax

GDAX data for Pandas in the style of DataReader
https://github.com/bfolkens/pandas-datareader-gdax

bitcoin cryptocurrency data data-analysis dataset finance gdax pandas quant

Last synced: 5 months ago
JSON representation

GDAX data for Pandas in the style of DataReader

Awesome Lists containing this project

README

          

========
Overview
========

A library to retrieve GDAX historical data into a Pandas DataFrame, in a similar style to Pandas DataReader.

* Free software: BSD license

Installation
============

::

pip install pandas-datareader-gdax

Example
=======

.. code-block:: python

import pytz
from datetime import datetime
from pandas_datareader_gdax import get_data_gdax

# Retrieve the GDAX data into a dataframe
df = get_data_gdax(
'BTC-USD',
granularity=5*60,
start=datetime(2016, 6, 1, 7, 0, 0, tzinfo=pytz.timezone('UTC')),
end=datetime(2017, 9, 1, 6, 59, 59, tzinfo=pytz.timezone('UTC'))
)