menikev commited on
Commit
37d3868
·
verified ·
1 Parent(s): 17349b1

Update crypto__analysis_tasks.py

Browse files
Files changed (1) hide show
  1. crypto__analysis_tasks.py +13 -14
crypto__analysis_tasks.py CHANGED
@@ -4,14 +4,13 @@ from textwrap import dedent
4
  class CryptoAnalysisTasks:
5
  def market_research(self, agent, crypto):
6
  return Task(
7
- description=dedent(f"""
8
- Conduct a quick market research on {crypto}.
9
- Focus on:
10
- - Current price and 24h change
11
- - Market cap
12
- - One key recent development
13
- Use the most recent data. Keep the report very concise.
14
- """),
15
  expected_output="A brief report with current price, market cap, and one key development for {crypto}.",
16
  agent=agent
17
  )
@@ -19,12 +18,12 @@ class CryptoAnalysisTasks:
19
  def technical_analysis(self, agent, crypto):
20
  return Task(
21
  description=dedent(f"""
22
- Perform a basic technical analysis of {crypto}.
23
  Focus on:
24
  1. Current RSI
25
  2. 7-day moving average
26
  3. One identified support or resistance level
27
- Ensure your analysis is based on the most recent market data.
28
  """),
29
  expected_output="A concise technical analysis report for {crypto} with RSI, 7-day MA, and one support/resistance level.",
30
  agent=agent
@@ -35,9 +34,9 @@ class CryptoAnalysisTasks:
35
  description=dedent(f"""
36
  Conduct a quick sentiment analysis of {crypto}.
37
  Focus on:
38
- 1. Overall sentiment score
39
- 2. Brief analysis of the most recent news article
40
- Use the most recent data available.
41
  """),
42
  expected_output="A brief sentiment analysis report for {crypto} with an overall score and analysis of one recent news article.",
43
  agent=agent
@@ -52,7 +51,7 @@ class CryptoAnalysisTasks:
52
  2. Key technical indicator (RSI or MA)
53
  3. Overall sentiment
54
  4. Clear buy/hold/sell recommendation
55
- Provide a brief, actionable recommendation for the client.
56
  """),
57
  expected_output="A concise investment recommendation for {crypto} with market summary, key technical indicator, sentiment, and clear buy/hold/sell advice.",
58
  agent=agent
 
4
  class CryptoAnalysisTasks:
5
  def market_research(self, agent, crypto):
6
  return Task(
7
+ description=f"""
8
+ Provide a brief market overview for {crypto}. Include:
9
+ 1. Current price
10
+ 2. 24h price change percentage
11
+ 3. One recent significant news item
12
+ Keep it concise, under 100 words.
13
+ """,
 
14
  expected_output="A brief report with current price, market cap, and one key development for {crypto}.",
15
  agent=agent
16
  )
 
18
  def technical_analysis(self, agent, crypto):
19
  return Task(
20
  description=dedent(f"""
21
+ Perform a quick technical analysis of {crypto}.
22
  Focus on:
23
  1. Current RSI
24
  2. 7-day moving average
25
  3. One identified support or resistance level
26
+ Keep it concise under 100 words
27
  """),
28
  expected_output="A concise technical analysis report for {crypto} with RSI, 7-day MA, and one support/resistance level.",
29
  agent=agent
 
34
  description=dedent(f"""
35
  Conduct a quick sentiment analysis of {crypto}.
36
  Focus on:
37
+ 1. Overall sentiment (positive, neutral, or negative)
38
+ 2. One key factor influencing the sentiment
39
+ Keep it concise, under 50 words.
40
  """),
41
  expected_output="A brief sentiment analysis report for {crypto} with an overall score and analysis of one recent news article.",
42
  agent=agent
 
51
  2. Key technical indicator (RSI or MA)
52
  3. Overall sentiment
53
  4. Clear buy/hold/sell recommendation
54
+ Keep it concise, under 50 words.
55
  """),
56
  expected_output="A concise investment recommendation for {crypto} with market summary, key technical indicator, sentiment, and clear buy/hold/sell advice.",
57
  agent=agent