- Setup the configuration file.
cp config.json.example config.json
-
Add your Bitfinex
apiKey
andapiSecret
(you can generate those from https://www.bitfinex.com/api). -
If you want to run Twitter examples, configure your Twitter authentication keys
twitterKey
,twitterSecret
,twitterAccessToken
,twitterAccessSecret
.
- If you want to run Telegram examples, configure your Telegram bot key
tgKey
.
- Shows a simple notification in your Bitfinex UI.
node bi.js notify_basic
- Adds 5 chart markers in your Bitfinex UI chart Note: make sure to use the 5m (or 15m) timeframe and zoom towards current time
node bi.js chart_marks_basic
Subscribes to a list of Twitter influencers, performs basic sentiment analysis and adds the relative markers to the Bitfinex UI chart.
node bi.js chart_marks_twitter
Registers a Telegram Bot command: notify
Once running you'll be able to interact with the bot sending /notify fooooooo
message and you'll see fooooooo
appearing as notification in Bitfinex UI.
node bi.js notify_telegram