The goal of this task is to implement a worker that will execute and process active trading strategies. This worker will be responsible for fetching all active strategies from the database and processing them at regular intervals. Each strategy should be executed asynchronously to ensure efficient and timely processing.
To Do
Fetch Active Strategies:
Implement logic to query the database and retrieve all active trading strategies.
Asynchronous Execution:
Design the worker to execute each strategy asynchronously.
Ensure that multiple strategies can be processed concurrently without blocking or delay.
Error Handling:
Add robust error handling to manage any issues that arise during strategy execution.
Log any errors or exceptions for debugging purposes.
The goal of this task is to implement a worker that will execute and process active trading strategies. This worker will be responsible for fetching all active strategies from the database and processing them at regular intervals. Each strategy should be executed asynchronously to ensure efficient and timely processing.
To Do
Fetch Active Strategies:
Asynchronous Execution:
Error Handling:
Deliverables