cyberapper / tradingview-webhook-bot

📊 Send TradingView alerts to Telegram, Discord, Slack, Twitter and Email.
Other
0 stars 0 forks source link

[Feature] Implement Message Queue Task Emitting #5

Closed petercool closed 8 months ago

petercool commented 8 months ago

Title

Implement Message Queue Task Emitting Function for TradingView Webhook Bot

Description

This issue targets improving our TradingView Webhook Bot by empowering it with the ability to emit RabbitMQ tasks, which will be responsible for placing orders. Currently, although the bot is capable of receiving signals from TradingView, it lacks a sophisticated mechanism of task handling and order placement. By incorporating the RabbitMQ task emitting function, we significantly enhance the bot's capabilities and the system's overall efficiency.

Specifically, the new functionality will follow these actions:

  1. Receive a signal from TradingView. (Done)
  2. Save this signal data in our database. (Done)
  3. Emit a RabbitMQ task to handle the placing of the order. (TODO)

Implementation Plan

Step 1 - Receiving and Parsing Signals

Improve the function to accurately receive and parse signals from TradingView.

Step 2 - Saving Data in Database

Ensure the received signal data is correctly recorded and stored in our database.

Step 3 - Emitting RabbitMQ Task

Upon successful reception and data storage, emit a RabbitMQ task with the relevant information for order placement.

Step 4 - Placing Orders

Implement and verify the order placement functionality executed by the RabbitMQ task.

linear[bot] commented 8 months ago

ALG-53