bfxdata
Currency Pairs data in https://www.bitfinex.com/stats
Install
$ yarn add bfxdata# npm $ npm i --save bfxdata
Usage
const bfxdata = // [ { pair: 'BTC/USD',// last_trade: '8248.1',// '24_hour_ago': '7811.7',// '24_hour_change': '436.40 5.59%',// '7_days_ago': '6311.7',// '7_days_change': '1936.4 30.68%',// '30_days_ago': '6112.9',// '30_days_change': '2135.2 34.93%' },// { pair: 'LTC/USD',// last_trade: '72.108',// '24_hour_ago': '71.779',// '24_hour_change': '0.32900 0.46%',// '7_days_ago': '59.448',// '7_days_change': '12.660 21.30%',// '30_days_ago': '57.100',// '30_days_change': '15.008 26.28%' },// ...]
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
- Submit a pull request :D
Author
bfxdata © zcong1993, Released under the MIT License.
Authored and maintained by zcong1993 with help from contributors (list).
github.com/zcong1993 · GitHub @zcong1993