pdblp

pandas wrapper for Bloomberg Open API

https://github.com/matthewgilbert/pdblp

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (17.3%) to scientific vocabulary

Keywords

bloomberg bloomberg-api pandas
Last synced: 6 months ago · JSON representation ·

Repository

pandas wrapper for Bloomberg Open API

Basic Info
  • Host: GitHub
  • Owner: matthewgilbert
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 606 KB
Statistics
  • Stars: 248
  • Watchers: 22
  • Forks: 71
  • Open Issues: 37
  • Releases: 9
Topics
bloomberg bloomberg-api pandas
Created over 10 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License Citation

README.md

Note: This library has been superseded by blp, the next iteration of pdblp.. This library is no longer under active development.

pdblp

PyPI version

This is a simple interface to integrate pandas and the Bloomberg Open API. The standard Bloomberg API provides an extensive set of features for building applications on top of however does not provide easy and interactive access to data. This package provides several functions for accessing historical market data and reference data. A simple set of examples is available here.

The library borrows heavily from a similar package available here

Questions

pdblp simply wraps blpapi responses into pandas dataframes, general questions about blpapi should not be posted as issues. The best way to get support for blpapi is either from Bloomberg directly via the terminal or on Stack Overflow, using tag blpapi (and pdblp if it also relates to the pdblp library).

Requires

python 3.x

Bloomberg Open API

pandas

and for pdblp.parser

pyparsing >= 2.2.0

Installation

You can install from PyPi using

pip install pdblp

or from conda-forge using

conda install -c conda-forge pdblp

or you can clone this repository and pip install the package, i.e.

git clone https://github.com/matthewgilbert/pdblp.git pip install -e pdblp

blpapi can be installed directly from the above link or you can install from the conda-forge channel on Anaconda, e.g.

conda install -n blp_env -c conda-forge blpapi

If going this route make sure there is a build available for your version of python https://anaconda.org/conda-forge/blpapi/files

If you are getting 'GLIBCXX_3.4.21' not found error when attempting to import blpapi, the following appears to resolve this issue.

conda install libgcc

Documentation

The documentation can be viewed at https://matthewgilbert.github.io/pdblp/

Bloomberg Documentation

For general documentation on the Bloomberg API check out the Developer's Guide. For documentation on relevant Bloomberg fields for accessing data, check out the Reference Guide: Services and Schemas. To access these, from a Bloomberg Terminal go WAPI <GO> -> API Developer's Guide.

Building the documentation

The documentation relies on Sphinx. Building the documentation can be done by setting up a conda environment using conda create --name pdblp_doc --file doc-environment.yml, sourcing this environment and then installing the relevant version of pdblp. Documentation can then be built using

cd doc make html

and viewed in ./doc/_build. Before building this ensure that you are logged into a Bloomberg terminal as this is required for building many of the examples.

Citing pdblp

If you make use of pdblp in publications, citations to this package would be appreciated. You can use the badge below to generate a DOI and reference text for the latest related version of pdblp.

DOI

Owner

  • Name: Matthew Gilbert
  • Login: matthewgilbert
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Gilbert"
  given-names: "Matthew"
  orcid: "https://orcid.org/0000-0002-5094-6940"
title: "pdblp: pandas wrapper for Bloomberg Open API"
version: 0.18.0
doi: 10.5281/zenodo.2529925
date-released: 2019-01-01
url: "https://github.com/matthewgilbert/pdblp"

GitHub Events

Total
  • Issues event: 2
  • Watch event: 6
  • Issue comment event: 4
  • Push event: 1
  • Pull request event: 2
  • Fork event: 5
Last Year
  • Issues event: 2
  • Watch event: 6
  • Issue comment event: 4
  • Push event: 1
  • Pull request event: 2
  • Fork event: 5

Committers

Last synced: almost 3 years ago

All Time
  • Total Commits: 130
  • Total Committers: 4
  • Avg Commits per committer: 32.5
  • Development Distribution Score (DDS): 0.023
Past Year
  • Commits: 1
  • Committers: 1
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Matthew Gilbert m****2@g****m 127
euri10 b****t@g****m 1
moshe.v m****n@s****m 1
Marek.Ozana M****a@o****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 95
  • Total pull requests: 11
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 19 days
  • Total issue authors: 66
  • Total pull request authors: 11
  • Average comments per issue: 3.22
  • Average comments per pull request: 3.27
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 4
  • Pull requests: 1
  • Average time to close issues: 23 days
  • Average time to close pull requests: 24 days
  • Issue authors: 4
  • Pull request authors: 1
  • Average comments per issue: 1.25
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • matthewgilbert (9)
  • gflores87 (7)
  • NoahKauffman (5)
  • ahmasoh1992 (3)
  • henrywuhu (2)
  • jaksiprejak (2)
  • richardtbenade (2)
  • truebrew (2)
  • ryanshrott (2)
  • jxg852 (2)
  • MarekOzana (2)
  • lastrocer (2)
  • Vivianhe116 (2)
  • bverh (1)
  • WladimirOstrovsky (1)
Pull Request Authors
  • phista (2)
  • finete (1)
  • jasonlocal (1)
  • creyl (1)
  • bverh (1)
  • BilalBAI (1)
  • ludaavics (1)
  • shjin404 (1)
  • alpha-xone (1)
  • Robuko (1)
  • MarekOzana (1)
Top Labels
Issue Labels
question (39) enhancement (11) bug (9) better error handling (4) wontfix (2)
Pull Request Labels

Dependencies

setup.py pypi
  • pandas >=0.18.0