The Order Alert Bot SQLite listens to FTX orders via websockets using NestJS. For each order you will receive a notification in Telegram and the orders will be saved in a SQLite database.
⚠️ Best to run the bot on a VPS. I can recommend Hetzner.
- Install NodeJS
- Clone this repository
git clone https://github.com/raftheunis87/order-alert-bot-sqlite
- Install all requirements
npm install
- Rename
.env.example
to.env
and replace the <> placeholders with the correct values:APP_PORT
is the port on which you want the application to runTELEGRAM_BOT_TOKEN
is the token you receive after creating a bot with the BotFatherTELEGRAM_CHAT_ID
is the id of the telegram group or channel in which the bot will give the order alertsFTX_ACCOUNT
is an object in which you can configure your FTX subaccount. The following keys need to be present:- key: the apiKey from FTX (You can/should use a read-only api key)
- secret: the secret from FTX (You can/should use a read-only api key)
- subaccount: the name of the subaccount
- Run the bot
npm run build && npm run start:prod
All kinds of contributions are welcome 🙌! The most basic way to show your support is to ⭐️ star
the project, or raise 🐞 issues
. You can also buy me some ☕️ coffee to help keep me productive! You can also sent me some crypto to the following addresses:
- BTC: 3P4eit3YxdokJZNNEF9s6VosG9zAxhj4pS
- ETH: 0xa3Fe3CDa5cD73022F1935b342dc57FD8C6C34F56
- USDT (TRC20): THV4oP8LAt7cijNjzccfbFu8KxqdqWS8Ns
Thanks again for your support, it is much appreciated! 🙏