GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - svd009/tradedesk: Multi-subagent equity research system for trading and fintech. Built with Claude API: 5 parallel specialized agents, extended thinking synthesis with conflict resolution, MCP tools, Bedrock-ready architecture, and Streamlit web app.

BranchesTags
Open more actions menu

Latest commit

 

History

141 Commits
141 Commits

Folders and files

NameName
Last commit message
Last commit date
.devcontainer
.devcontainer
 
 
.github/workflows
.github/workflows
 
 
.streamlit
.streamlit
 
 
scripts
scripts
 
 
src
src
 
 
.dockerignore
.dockerignore
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
app.py
app.py
 
 
check_bedrock.py
check_bedrock.py
 
 
config.py
config.py
 
 
requirements.txt
requirements.txt
 
 
test_data.py
test_data.py
 
 
test_eval.py
test_eval.py
 
 
test_mcp.py
test_mcp.py
 
 
test_orchestrator.py
test_orchestrator.py
 
 
test_subagents.py
test_subagents.py
 
 

Repository files navigation

TradeDesk: AI Equity Research

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.

Try the live demo

This is a research and educational tool, not financial advice. Do not use it as the sole basis for a trade.


What it does

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

How it works

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"]
Loading
  • 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.

Why you can trust the numbers

  • 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.

Keeping the demo sustainable

  • 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.

Run it yourself

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 tradedesk

The 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.


Known limitations

  • 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.

Project layout

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.

About

Multi-subagent equity research system for trading and fintech. Built with Claude API: 5 parallel specialized agents, extended thinking synthesis with conflict resolution, MCP tools, Bedrock-ready architecture, and Streamlit web app.

tradedesk-svd009.streamlit.app

Topics

aws-bedrockclaude-apiequity-researchfintechmulti-agentpythonstreamlitsubagentstrading-strategy-simulation

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.