VSPBot

VSPBot is a telegram bot that allows Vectorspace AI customers to use and showcase the VSAI products through telegram.

  • 0 Raised
  • 92 Views
  • 0 Judges

Gallery

Description

Project Category: Best Product for Today


Introduction

VSPBot is a telegram bot that allows Vectorspace AI customers to use or showcase the thematic basket generator for stocks and the portfolio protector through telegram. It is both a tool for traders and a way to advertise VSAI products.


Bot username: @vspai_bot

Bot address: https://t.me/vspai_bot


Architecture

The program is hosted on a Linux server. It's programmed in Javascript, runs on NodeJS and uses the modules Express and Axios. The telegram IDs of the users and their API keys are stored on a MongoDB database (NoSQL database that stores data in JSON-like documents). I chose these technologies for their efficiency and rapidity.


A telegram bot is made of two parts:

- A bot account on telegram. Its function is just to relay commands and responses.

- A program on a server, where the logic of the commands is processed.


The process goes like this:

  1. The user writes a message to the bot. The telegram bot immediately relays the message to the server (they are linked through a URL and a token).
  2. The message is processed by the program on the server.
  3. The server returns a response to the telegram bot.
  4. The telegram bot writes the response in the telegram chat.


Why a Telegram Bot?

Accessing the products through Telegram offers a few advantages:

  • It allows traders to use the products quickly, by typing a short single sentence.
  • With just two clicks, traders can forward the baskets in the "Saved Messages" feature of Telegram, allowing them to keep track of the baskets.
  • Products can be accessed on any device and in any situation because Telegram has three apps: desktop, web, and phone. And the data is synchronized between these apps. The phone app is particularly useful since it allows the trader to quickly query the products wherever they are.
  • Since the bot can be used from within groups, traders can demonstrate the products with their community. Other traders who witness the baskets and portfolio protection may be interested to use it themselves (and therefore purchase a subscription).
    In this way the VSAI products can be propagated through Telegram groups (and Telegram hosts a lot of traders groups).


How It Works

See the user manual pdf in the Assets section below.


Features to Come

Based on users feedback and suggestions, I will add more features. Here are the ideas I have so far.


  • Let the trader record his portfolio, so that they don't have to enter the stocks every time they call the portfolio protector.
  • The code can be repurposed to make a Discord bot.
  • Any future VSAI product can be added easily now that the foundation has been built.
  • I can add features for traders in order to further incentivize them to add the bot to groups. For example, a command that list the top stocks winners and losers of the day.
  • I can add fun features for the community, this would also incentivize adding the bot to groups. For example, a "member of the month" feature. The command would check which user received the most telegram reactions within the month and send a celebration message of this user.


Attachments