Skip to main content

simple Quandl python wrapper

Project description

quandl-py: Simple Quandl Python Wrapper
=======================================
Simple Python wrapper to return Quandl Api information as Pandas DataFrames

Simple Example
==============
This example shows all of the potential options for this wrapper

```python

import quandl-py as qp
qp.API_KEY = 'xxxxxxxxxxx'
qp.get('YAHOO', 'AAPL', start_date='2010-01-01', end_date='2015-09-30',
order='dsc', rows=10, collapse='monthly', transform='rdiff',
column_index=3)

```

This will return:

```
Date Low
0 2015-09-30 -0.031161
1 2015-08-31 -0.073691
2 2015-07-31 -0.031635
3 2015-06-30 -0.038799
4 2015-05-31 0.042703
5 2015-04-30 0.001769
6 2015-03-31 -0.030256
7 2015-02-28 0.097475
8 2015-01-31 0.060249
9 2014-12-31 -0.066413

```

In the above example, setting the API_KEY, dataset ('YAHOO'), and
ticker('AAPL') are required. All other parameters are optional.

Input Options
=============
``start_date`` and ``end_date`` should be specified in yyyy-mm-dd format

``order`` ['asc', 'dsc']

``rows`` an integer representing the numbers of rows to return

``collapse`` ['daily', 'weekly', 'monthly', 'quarterly', 'annual']

``transform`` ['diff', 'rdiff', 'cumul']

``column_index`` an integer representing the column to return

Installation
============
pip install quandl-py

Project details


Download files

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

Source Distribution

quandlpy-0.1.1.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file quandlpy-0.1.1.tar.gz.

File metadata

  • Download URL: quandlpy-0.1.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for quandlpy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 92d7d2408e2921d5e7077d0129e5e5dc5d76d9d4e10c3bce22143226edbccade
MD5 66ae930b9035b2ad07f4f509e7127709
BLAKE2b-256 016f80f0883680e5a2b32e19eee3478c812ccd373a1b9b9cdc20acfa279123ad

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page