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.get('YAHOO', 'AAPL', api_key='xxxxx' 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 dataset ('YAHOO'), and
ticker('AAPL') are required. All other parameters are optional.

Input Options
=============
``api_key`` API key obtained from quandl

``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 quandlpy

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.2.tar.gz (2.4 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for quandlpy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 40f93b138d4464d54ff7d590db2d2f080a195e072e89c08743a57df988207666
MD5 60d8e359a633360efbfdcc17b4709592
BLAKE2b-256 1541c8700ae4d0e0143d19c7d01850f6284739837fd1ce6c0b56d803c40ee4bb

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