Skip to content

Charts #19

Description

@Brbb

Description

The user gets live charts and/or static png delivered to his Telegram chat

Chart list

  • Price chart
  • Volume chart
  • Candle stick
  • Personal performance ?

Possible solution

  • Server side rendered images and editText/sendPhoto on Telegram
  • Link to live chart page

Flow 1:

  1. Bot/Express server API calls the endpoint and passes a chat_id + params to the Image rendering service (on different Heroku?)which makes its own.
  2. The Bot/Express will send the text and the url to the webpage
  3. The Image rendering service will send back the PNG to the chat_id or editMessage

chart-rendering.png

Flow 2:

  1. Single API call from the main Bot/Express server and redirect of the data to the Express server and the image rendering service (on different Heroku?) with chat_id.
  2. The Bot/Express will send the text and the url to the webpage
  3. The Image rendering service will send back the PNG to the chat_id or editMessage

chart-rendering-2.png

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions