Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
blp-rest
Advanced tools
Readme
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 ticker
and field
(or 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:
node example.js
For the last price of Apple as a simple number:
http://localhost:3000/blp/get?ticker=AAPL EQUITY&field=PX_LAST
For an associative array, showing both last price and volume:
http://localhost:3000/blp/get?ticker=AAPL EQUITY&field=PX_LAST,VOLUME
And finally, inputs can also be defined in the SDK native form:
http://localhost:3000/blp/get?inputs={"securities":[AAPL EQUITY"],"fields":["PX_LAST","VOLUME"]}
blp-rest is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Commercial options available.
FAQs
Bloomberg RESTish API
The npm package blp-rest receives a total of 2 weekly downloads. As such, blp-rest popularity was classified as not popular.
We found that blp-rest demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.