Spaces:
Running
Running
Update tasks.py
Browse files
tasks.py
CHANGED
@@ -4,7 +4,7 @@ from agents import get_data_analyst_agent, get_trading_strategy_agent, get_execu
|
|
4 |
|
5 |
def get_data_analysis_task():
|
6 |
# Task for Data Analyst Agent: Analyze Market Data
|
7 |
-
|
8 |
description=(
|
9 |
"Continuously monitor and analyze market data for "
|
10 |
"the selected stock ({stock_selection}). "
|
@@ -20,7 +20,7 @@ def get_data_analysis_task():
|
|
20 |
|
21 |
def get_strategy_development_task():
|
22 |
# Task for Trading Strategy Agent: Develop Trading Strategies
|
23 |
-
|
24 |
description=(
|
25 |
"Develop and refine trading strategies based on "
|
26 |
"the insights from the Data Analyst and "
|
@@ -36,7 +36,7 @@ def get_strategy_development_task():
|
|
36 |
|
37 |
def get_execution_planning_task():
|
38 |
# Task for Trade Advisor Agent: Plan Trade Execution
|
39 |
-
|
40 |
description=(
|
41 |
"Analyze approved trading strategies to determine the "
|
42 |
"best execution methods for {stock_selection}, "
|
@@ -51,7 +51,7 @@ def get_execution_planning_task():
|
|
51 |
|
52 |
def get_risk_assessment_task():
|
53 |
# Task for Risk Advisor Agent: Assess Trading Risks
|
54 |
-
return
|
55 |
description=(
|
56 |
"Evaluate the risks associated with the proposed trading "
|
57 |
"strategies and execution plans for {stock_selection}. "
|
|
|
4 |
|
5 |
def get_data_analysis_task():
|
6 |
# Task for Data Analyst Agent: Analyze Market Data
|
7 |
+
return Task(
|
8 |
description=(
|
9 |
"Continuously monitor and analyze market data for "
|
10 |
"the selected stock ({stock_selection}). "
|
|
|
20 |
|
21 |
def get_strategy_development_task():
|
22 |
# Task for Trading Strategy Agent: Develop Trading Strategies
|
23 |
+
return Task(
|
24 |
description=(
|
25 |
"Develop and refine trading strategies based on "
|
26 |
"the insights from the Data Analyst and "
|
|
|
36 |
|
37 |
def get_execution_planning_task():
|
38 |
# Task for Trade Advisor Agent: Plan Trade Execution
|
39 |
+
return Task(
|
40 |
description=(
|
41 |
"Analyze approved trading strategies to determine the "
|
42 |
"best execution methods for {stock_selection}, "
|
|
|
51 |
|
52 |
def get_risk_assessment_task():
|
53 |
# Task for Risk Advisor Agent: Assess Trading Risks
|
54 |
+
return Task(
|
55 |
description=(
|
56 |
"Evaluate the risks associated with the proposed trading "
|
57 |
"strategies and execution plans for {stock_selection}. "
|