Bitfinex Honey Framework Utilities
This library hosts a set of utility functions used throughout the Bitfinex Honey Framework & API Libraries.
Features
- Logic for processing Bitfinex candle data
- Helper for catching uncaught errors (
require('bfx-hf-util/lib/catch_uncaught_errors)
)
Installation
npm i --save bfx-hf-util
Quickstart
const preprocessRemoteCandles = const RESTv2 = const rest = const candles = await rest // Fill in empty candles to generate a consistent datasetconst processedCandles = // Do something with dataprocessCandles
Docs
For JSDoc-generated API documentation, refer to docs/api.md
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request