Skip to main content

Library for calculating NPD Category Correlations with Financial Data

Project description

Introduction

This package has been created for the purpose of integrating Bloomberg Data with NPD Equity Watch data.

Installation

IMPORTANT: you must separately install the Bloomberg Python API before using certain functions (first line below)

python -m pip install --index-url=https://bcms.bloomberg.com/pip/simple blpapi

python -m pip install npd-category-correlation==0.1.3

Use Case: Creating Category Correlation Dataset

The get-correlation-dataset command takes two parameters: the path to your local EW flat file (must be CSV readable) and your desired output path (if left blank will be directory in which you run the command)

get-correlation-dataset path/to/FlatFile/EW_DATA.gz path/to/output/correlation_data.csv

IMPORTANT: You must login have Bloomberg Anywhere Terminal running on your computer for this to work.

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

npd-category-correlation-0.2.0.tar.gz (10.7 kB view hashes)

Uploaded Source

Built Distribution

npd_category_correlation-0.2.0-py3-none-any.whl (11.3 kB view hashes)

Uploaded Python 3

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