Five AI research agents study a stock in parallel, a lead agent weighs their findings, and rule-based checks verify the answer before you see it. Built on Claude through AWS Bedrock.
This is a research and educational tool, not financial advice. Do not use it as the sole basis for a trade.
Search a company and get one clear research brief: a BUY, HOLD or SELL view with a confidence level, a bull case, a bear case, key risks and catalysts to watch.
It supports US stocks (for example AAPL, NVDA) and Indian stocks on NSE and BSE (for example RELIANCE.NS). Search by company name or type a ticker.
| Page | What it shows |
|---|---|
| Single Stock | Full analysis, live price chart, scorecard, peer comparison |
| Portfolio | The same analysis across your holdings, with portfolio-level risk |
| Screener | Filter stocks by valuation, growth, momentum and dividends |
| Track Record | How past recommendations compared with what the price did next |
flowchart TD
U["You pick a stock"] --> A["Streamlit app"]
A --> C{"Recent analysis<br/>already saved?"}
C -- "yes" --> R
C -- "no" --> O["Orchestrator (plain Python)"]
O --> N["News agent"]
O --> F["Fundamentals agent"]
O --> T["Technical agent"]
O --> M["Macro agent"]
O --> K["Risk agent"]
N --> S
F --> S
T --> S
M --> S
K --> S["Synthesis agent"]
S --> G["Rule-based checks"]
G --> R["Result shown and saved"]
- Five research agents (Claude Haiku 4.5) each handle one angle: news, fundamentals, technicals, macro context and risk. They run at the same time and each can only use its own tools.
- One synthesis agent (Claude Sonnet 4.6 with extended thinking) reads all five reports, resolves conflicts and makes the call.
- Plain Python controls the flow. The code decides what runs and when. The models do the reasoning inside each step.
- Numbers come from code, not the model. Prices, support and resistance, moving averages, RSI and MACD are calculated from real price history and overwrite anything a model reports.
- Answers are checked. Rule-based checks confirm the output is well formed and that every number in the written summary exists in the underlying data. Anything that fails is flagged.
- News is treated as untrusted text. Agents are told never to follow instructions found inside search results.
- Fallbacks for data. Yahoo Finance calls retry, price history falls back to a second provider, and SEC filings come from EDGAR.
- A visible feedback loop. Every result has a "Something look wrong?" form, and past calls are scored on the Track Record page.
- Saved results are reused within the same market session, and refreshed if the price moves 3% or more.
- Each visitor has a short allowance of new analyses, and the app limits how many run at once.
- A daily and monthly limit on new analyses keeps this free demo within budget. When it is reached, the app shows a short pause message and saved results still load.
git clone https://github.com/svd009/tradedesk.git cd tradedesk pip install -r requirements.txt cp .env.example .env # then fill in your values python check_bedrock.py # confirms model access and the table streamlit run app.py
You need an AWS account with Bedrock model access and a DynamoDB table (partition key ticker, sort key window_sig, both strings), plus a Tavily API key. A Twelve Data key is optional. All settings are described in .env.example.
Docker
docker build -t tradedesk .
docker run -p 8501:8501 --env-file .env tradedeskThe same image runs on AWS ECS Fargate. Secrets come from AWS Secrets Manager and permissions from an IAM role, so no keys are stored in the image.
- Recommendation accuracy is not yet proven. The Track Record page needs a few months of history.
- Yahoo Finance is an unofficial data source with no service guarantee.
- Public holidays are not modelled in the caching windows.
- India coverage is the Nifty 50. US coverage is the full listed universe.
app.py Streamlit pages
config.py Settings read from the environment
src/subagents/ The five research agents
src/orchestrator/ Pipeline, cache, limits, storage
src/data/ Market data, indicators, filings, scorecard
src/evaluation/ Guardrails and quality checks
scripts/ Admin report and Screener build
GitHub Actions checks every push and builds the Screener's daily snapshot outside the web app.
Built with Python, Streamlit, Plotly, AWS Bedrock (Claude), Amazon DynamoDB, yfinance, Twelve Data, SEC EDGAR, Tavily, Docker and GitHub Actions.