🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

bitfinex-data

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitfinex-data

Real-time cryptocurrency quotes and data from Bitfinex

0.0.1
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

bitfinex-data

Real-time cryptocurrency quotes and data from Bitfinex

Install

$ npm install bitfinex-data --save

Usage


var bitfinex = require("bitfinex-data");

(async () => {
    try {
        let data = await bitfinex.getTicker("BTCUSD");
        console.log(JSON.stringify(data, null, 2));
    }
    catch (ex) {
        console.log('caught error:' + ex.stack);
    }
})();

/*
{
  "bid": "8567.2",
  "ask": "8573.1",
  "last": "8571.8"
}
*/

License

MIT license; see LICENSE.

Keywords

cryptocurrency

FAQs

Package last updated on 11 May 2018

Did you know?

Socket

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.

Install

Related posts