0.4.0 • Published 6 years ago
node-red-contrib-bitfinex v0.4.0
Bitfinex Function Node for Node-RED
node-red-contrib-bitfinex make Bitfinex API very easy to access, you can visually show exchange data in node-red's dashboard, mashup with other services, or trade from weird objects around your house.
Install
- Install Node-RED
npm install -g node-red - Go to Node-RED user directory (default:
~/.node-red) npm install node-red-contrib-bitfinex
Or start Node-RED via node-red, then go settings > Palette > Install tab in node-red and search bitfinex to install this module.
Features
- A Function block where you can write your own code to execute Bitfinex's nodejs API library

- A credential configuration block

- Installed Blocks are provide in
bitfinexcategory - Guides and workable rest/websocket examples are provided in help tab
- expose
restmethod in function block to easy access REST API calls.

- expose
wsin function block to easy access Websocket API calls

- expose
bfxmethod in function block that allows advanced usage. rest,wsreturned data are auto transformed to object based on bfx-api-node-models- The functoin block supports multiple outputs (ex: can subscribe multiple tickers and export at the same block)

- You can visualize value and diagram with Node-RED dashboard

Usage
Refer official Bitfinex document https://docs.bitfinex.com/v2/docs for all APIs.
Bitfinex API credentials can be obtained from https://www.bitfinex.com/api
Credit
The block is derived from node-red's build-in function block. And refer node-red-contrib-aws-sdk for the credential block.
The functions are build on top of Bitfinex's nodejs API library
License
MIT License