Bitfinex WebSockets Telegram Bot - Bitfinex blog
15473
post-template-default,single,single-post,postid-15473,single-format-video,bridge-core-3.0.6,et_bloom,qode-page-transition-enabled,ajax_fade,page_not_loaded,,qode-title-hidden,qode_grid_1300,footer_responsive_adv,qode-content-sidebar-responsive,qode-child-theme-ver-1.0.0,qode-theme-ver-29.3,qode-theme-bridge,qode_header_in_grid,wpb-js-composer js-comp-ver-6.10.0,vc_responsive

Bitfinex WebSockets Telegram Bot

Today we are going to create a simple chatbot that integrates with Bitfinex market data through the WebSockets API.

There’s been a lot of talk that chat bots are the user interface of the future. While I am not quite sold that “the app is dead”, I can see a lot of scenarios where it might be more convenient to just ask a bot a direct question and get an immediate answer. The bot interface really shines when I find myself in a simple question-and-answer situation.

Given my love of chatbots and my excitement about their potential, I thought that I’d make a walkthrough video of me making one. Are you familiar with Telegram? This chatbot will find the current state of the markets on Bitfinex without having to leave your Telegram conversations (also I’ve been need an excuse to play around with their new Bot API).

On the first installment of our video series, I create a telegram bot that can give the Bitfinex ticker for any of our supported pairs. It can hopefully serve as a pretty easy to follow example of connecting to the Bitfinex WebSocket API.

Even though this started out as just a simple example, some of my friends have found it pretty useful! Hope you enjoy!

View the full API documentation, download this project on Github and check out Yago Perez’s node-telegram-bot-api project.

Tags: