Skip to main content

GDAX data for Pandas in the style of DataReader.

Project description

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

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'))
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pandas-datareader-gdax, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size pandas-datareader-gdax-0.1.2.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page