-
-
Notifications
You must be signed in to change notification settings - Fork 984
Expand file tree
/
Copy pathhy3_or.py
More file actions
22 lines (19 loc) · 762 Bytes
/
Copy pathhy3_or.py
File metadata and controls
22 lines (19 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
from swarms import Agent
# Initialize the agent
agent = Agent(
agent_name="Quantitative-Trading-Agent--new",
agent_description="Advanced quantitative trading and algorithmic analysis agent",
system_prompt="You are a helpful assistant that can answer questions and help with tasks and your name is Quantitative-Trading-Agent",
model_name="openrouter/tencent/hy3:free",
max_loops=1,
top_p=None,
temperature=1.0,
thinking_tokens=1024,
tools_list_dictionary=None,
reasoning_effort="high",
persistent_memory=False,
)
out = agent.run(
task="Analyze the best semiconductor ETFs and provide a detailed comparison. Include metrics such as performance, expense ratio, holdings, and any notable strategies.",
)
print(out)