Spaces:
Sleeping
Sleeping
Update crypto__analysis_tasks.py
Browse files- crypto__analysis_tasks.py +10 -21
crypto__analysis_tasks.py
CHANGED
|
@@ -4,23 +4,15 @@ from textwrap import dedent
|
|
| 4 |
class CryptoAnalysisTasks:
|
| 5 |
def market_research(self, agent, crypto):
|
| 6 |
return Task(description=dedent(f"""
|
| 7 |
-
Conduct comprehensive market research on {crypto}.
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
|
|
|
| 11 |
|
| 12 |
-
|
| 13 |
-
1. Current market status
|
| 14 |
-
2. Recent price analysis
|
| 15 |
-
3. Market sentiment overview
|
| 16 |
-
4. Key technological aspects and use cases
|
| 17 |
-
5. Recent news and developments
|
| 18 |
-
|
| 19 |
-
Make sure to use the most recent data possible.
|
| 20 |
-
|
| 21 |
-
Selected cryptocurrency: {crypto}
|
| 22 |
"""),
|
| 23 |
-
expected_output="A
|
| 24 |
agent=agent
|
| 25 |
)
|
| 26 |
|
|
@@ -30,7 +22,7 @@ class CryptoAnalysisTasks:
|
|
| 30 |
Examine key technical indicators such as RSI, moving averages,
|
| 31 |
and trading volumes. Identify potential support and resistance levels.
|
| 32 |
|
| 33 |
-
|
| 34 |
1. Analysis of key technical indicators
|
| 35 |
2. Identification of chart patterns
|
| 36 |
3. Support and resistance levels
|
|
@@ -39,7 +31,7 @@ class CryptoAnalysisTasks:
|
|
| 39 |
|
| 40 |
Ensure your analysis is based on the most recent market data.
|
| 41 |
"""),
|
| 42 |
-
expected_output="A technical analysis report that includes key technical indicators, chart patterns, support and resistance levels, volume analysis, and price projections.",
|
| 43 |
agent=agent
|
| 44 |
)
|
| 45 |
|
|
@@ -60,10 +52,7 @@ class CryptoAnalysisTasks:
|
|
| 60 |
expected_output="""
|
| 61 |
A comprehensive sentiment analysis report that includes:
|
| 62 |
1. An overall sentiment score for the cryptocurrency.
|
| 63 |
-
|
| 64 |
-
3. Overview of the sentiment reflected in news articles and reports.
|
| 65 |
-
4. Metrics and insights on community engagement (e.g., forum discussions, user activity).
|
| 66 |
-
5. Any notable shifts in sentiment, along with potential reasons or events that caused these changes.
|
| 67 |
""",
|
| 68 |
agent=agent
|
| 69 |
)
|
|
|
|
| 4 |
class CryptoAnalysisTasks:
|
| 5 |
def market_research(self, agent, crypto):
|
| 6 |
return Task(description=dedent(f"""
|
| 7 |
+
Conduct a quick, comprehensive market research on {crypto}.
|
| 8 |
+
Focus on:
|
| 9 |
+
- Current market status
|
| 10 |
+
- Recent price movements
|
| 11 |
+
- Key news and developments
|
| 12 |
|
| 13 |
+
Use the most recent data. Keep the report concise and focused on actionable insights.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
"""),
|
| 15 |
+
expected_output="A concise report summarizing the current market status, price movements, and key developments.",
|
| 16 |
agent=agent
|
| 17 |
)
|
| 18 |
|
|
|
|
| 22 |
Examine key technical indicators such as RSI, moving averages,
|
| 23 |
and trading volumes. Identify potential support and resistance levels.
|
| 24 |
|
| 25 |
+
Focus on:
|
| 26 |
1. Analysis of key technical indicators
|
| 27 |
2. Identification of chart patterns
|
| 28 |
3. Support and resistance levels
|
|
|
|
| 31 |
|
| 32 |
Ensure your analysis is based on the most recent market data.
|
| 33 |
"""),
|
| 34 |
+
expected_output="A concise technical analysis report that includes key technical indicators, chart patterns, support and resistance levels, volume analysis, and price projections.",
|
| 35 |
agent=agent
|
| 36 |
)
|
| 37 |
|
|
|
|
| 52 |
expected_output="""
|
| 53 |
A comprehensive sentiment analysis report that includes:
|
| 54 |
1. An overall sentiment score for the cryptocurrency.
|
| 55 |
+
3. Any notable shifts in sentiment, along with potential reasons or events that caused these changes.
|
|
|
|
|
|
|
|
|
|
| 56 |
""",
|
| 57 |
agent=agent
|
| 58 |
)
|