Telegram bot for monitoring the spread between BTC and selected coins on Binance exchange. The bot tracks the spread on a 1-day timeframe, compares it with individually set lower and upper limits, and sends notifications if the value falls within the specified range.
Technologies:
* Language: Node.js
* Telegram Library: telegraf
* Exchange: Binance (via official API)
* Database: SQLite
Main features:
* Connecting to Binance API to obtain daily OHLC data (1d).
* Calculating the spread: `spread = BTC price - coin price`.
* Start menu with a "Settings" button.
* Pagination for the list of coins fetched from Binance API.
* Ability to manually change the spread range for each coin.
* Saving settings for each user separately in SQLite.
* Background process to check spreads.
* Sending notifications to users when the spread falls within their range.
* `/status` command to view current settings.
#Telegram #bot #telegram-bot #binance #spread #cryptocurrencies
Technologies:
* Language: Node.js
* Telegram Library: telegraf
* Exchange: Binance (via official API)
* Database: SQLite
Main features:
* Connecting to Binance API to obtain daily OHLC data (1d).
* Calculating the spread: `spread = BTC price - coin price`.
* Start menu with a "Settings" button.
* Pagination for the list of coins fetched from Binance API.
* Ability to manually change the spread range for each coin.
* Saving settings for each user separately in SQLite.
* Background process to check spreads.
* Sending notifications to users when the spread falls within their range.
* `/status` command to view current settings.
#Telegram #bot #telegram-bot #binance #spread #cryptocurrencies