bloombill
所属分类:金融证券系统
开发工具:CoffeeScript
文件大小:4KB
下载次数:0
上传日期:2014-06-19 03:44:27
上 传 者:
sh-1993
说明: 彭博亿万富豪列表的节点API
(A Node API for Bloomberg Billionaire list)
文件列表:
index.js (98, 2014-06-19)
out (0, 2014-06-19)
out\fetcher.js (1943, 2014-06-19)
out\person.js (1881, 2014-06-19)
package.json (360, 2014-06-19)
src (0, 2014-06-19)
src\fetcher.coffee (1093, 2014-06-19)
src\person.coffee (893, 2014-06-19)
test.coffee (115, 2014-06-19)
test.js (113, 2014-06-19)
# Usage
Using the Bloomberg Billionaire API is super easy. Simply fetch the list of Billionaires as follows:
var fetch = require('bloombill').fetch;
fetch(function(err, list) {
// list is an array of people if error is non-null
});
The people will have the following fields:
* **name** - the name of the person
* **net** - the net-worth of the person in USD
* **last** - the net-gain of the person's net-worth in the last day
* **ytd** - the net-gain of the person's net-worth since the beginning of the year
* **last_rel** - the fraction of the person's net-worth contained by **last**
* **ytd_rel** - like **last_rel**, but for **ytd**
近期下载者:
相关文件:
收藏者: