Bloomberg RESTish API
This module provides a simplified API to Bloomberg's node-blp using clues.js backed by promises.
The module.exports exposes a function that solves for results of a particular command with supplied inputs. The only command
so far is
get and the inputs should be
inputs as a JSON object in native form). Results are narrowed down, depending on the input
parameters. If only one ticker and one field is supplied, the result will be the particular result value. If multiple fields are chosen the
results will be an associative array with the field names as keys.
To install the package run:
$ npm install blp-rest
A simple REST example is included (requires express).
To start the server on port 3000 execute from the package directory:
For the last price of Apple as a simple number:
For an associative array, showing both last price and volume:
And finally, inputs can also be defined in the SDK native form:
blp-rest is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Commercial options available.