{"id":35694078,"url":"https://github.com/wshobson/financial-chat","last_synced_at":"2026-01-11T20:00:42.741Z","repository":{"id":231778792,"uuid":"779891615","full_name":"wshobson/financial-chat","owner":"wshobson","description":"A financial chat application powered by LangChain, OpenBB, and Claude 3 Opus.","archived":false,"fork":false,"pushed_at":"2025-08-10T15:00:18.000Z","size":1149,"stargazers_count":209,"open_issues_count":1,"forks_count":60,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-12-04T20:59:10.087Z","etag":null,"topics":["ai","chatbot","claude-3","equities","etfs","finance","financial-analysis","fundamental-analysis","indexes","langchain","langgraph","openbb","performance-analysis","python","sector-analysis","stock-market","streamlit","technical-analysis"],"latest_commit_sha":null,"homepage":"https://sethhobson.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wshobson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-31T04:18:38.000Z","updated_at":"2025-12-03T03:08:57.000Z","dependencies_parsed_at":"2024-04-13T15:31:32.992Z","dependency_job_id":"312a4486-1472-4929-a6d9-c43942bf6ee2","html_url":"https://github.com/wshobson/financial-chat","commit_stats":null,"previous_names":["wshobson/financial-chat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wshobson/financial-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wshobson%2Ffinancial-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wshobson%2Ffinancial-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wshobson%2Ffinancial-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wshobson%2Ffinancial-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wshobson","download_url":"https://codeload.github.com/wshobson/financial-chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wshobson%2Ffinancial-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28321263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T18:42:50.174Z","status":"ssl_error","status_checked_at":"2026-01-11T18:39:13.842Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","chatbot","claude-3","equities","etfs","finance","financial-analysis","fundamental-analysis","indexes","langchain","langgraph","openbb","performance-analysis","python","sector-analysis","stock-market","streamlit","technical-analysis"],"created_at":"2026-01-06T00:00:59.997Z","updated_at":"2026-01-11T20:00:42.734Z","avatar_url":"https://github.com/wshobson.png","language":"Python","funding_links":[],"categories":["AI \u0026 LLM Agents"],"sub_categories":[],"readme":"# financial-chat\n\nA financial chat application powered by [LangChain](https://www.langchain.com/), [LangGraph](https://langchain-ai.github.io/langgraph), [OpenBB](https://openbb.co/products/platform), [Claude 3 Opus](https://www.anthropic.com/claude), and [Streamlit](https://streamlit.io).\n\n## Blog Articles\n\nIf you're curious about the journey of building this project, check out these blog articles:\n\n- [Building an Agentic Stock Analysis Tool with LangChain, OpenBB, and Claude 3 Opus](https://sethhobson.com/2024/03/building-an-agentic-stock-analysis-tool-with-langchain-openbb-and-claude-3-opus)\n- [Expanding the AI Stock Analysis Agent with Fundamental and Technical Tools](https://sethhobson.com/2024/04/expanding-the-ai-stock-analysis-agent-with-fundamental-and-technical-tools)\n- [Improving the Edge: Trendlines, Sectors, and Sentiment](https://sethhobson.com/2024/04/improving-the-edge-trendlines-sectors-and-sentiment)\n- [Unlocking Alpha: Harnessing Relative Strength for AI-Driven Stock Selection](https://sethhobson.com/2024/04/unlocking-alpha-harnessing-relative-strength-for-ai-driven-stock-selection)\n- [Seeing the Bigger Picture: Adding Chart-Based Technical Analysis](https://sethhobson.com/2024/04/seeing-the-bigger-picture-adding-chart-based-technical-analysis)\n- [Empowering the AI Stock Analysis Agent with Universe Scanning](https://sethhobson.com/2024/04/empowering-the-ai-stock-analysis-agent-with-universe-scanning)\n- [Risk Management in AI Stock Trading: A Key to Success](https://sethhobson.com/2024/05/risk-management-in-ai-stock-trading-a-key-to-success)\n- [Converting the AI Stock AgentExecutor to LangGraph](https://sethhobson.com/2024/05/converting-ai-stock-agentexecutor-to-langgraph)\n- [Unleashing the Power of Multiple Agents with LangGraph](https://sethhobson.com/2024/05/unleashing-the-power-of-multiple-agents-with-langgraph)\n- [Deploying the AI Stock Analysis Agent on AWS with Copilot](https://sethhobson.com/2024/06/deploying-the-ai-stock-analysis-agent-on-aws-with-copilot)\n\n## Features\n\n- Fetches financial data using OpenBB\n- Generates technical analysis summaries using AI\n- Provides stock price history, quantitative stats, and more\n- Calculates relative strength for stocks\n- Sentiment analysis on news articles\n- Universe scanning using FinViz filters\n- Risk management techniques using technically-derived stops and R Multiples\n- Interactive Streamlit UI for chat-based interaction\n- Multiple Agent Workflows using LangGraph\n- Deployment to AWS with the Copilot CLI\n\n## Installation\n\n1. Install the required dependencies using Poetry:\n\n```bash\npoetry install\n```\n\n2. Set up the necessary environment variables. You can create an `.env` at the project root for these:\n\n```bash\nexport OPENAI_API_KEY=\u003cyour-api-key\u003e\nexport OPENBB_TOKEN=\u003cyour-openbb-token\u003e\nexport TIINGO_API_KEY=\u003cyour-tiingo-api-key\u003e\nexport IMGUR_CLIENT_ID=\u003cyour-imgur-client-id\u003e\nexport IMGUR_CLIENT_SECRET=\u003cyour-imgur-client-secret\u003e\nexport FMP_API_KEY=\u003cfmp-api-key\u003e\nexport INTRINIO_API_KEY=\u003cintrinio-api-key\u003e\n```\n\n## Usage\n\n### Streamlit UI\n\nRun the Streamlit app:\n\n```bash\nstreamlit run app/ui.py\n```\n\n### FastAPI Server\n\nStart the FastAPI server:\n\n```bash\nuvicorn app.server:app --host 0.0.0.0 --port 8080\n```\n\nYou can view the [Swagger Docs](http://0.0.0.0:8080/docs) and test out the [Playground](http://0.0.0.0:8080/chat/playground), courtesy of [LangServe](https://python.langchain.com/v0.2/docs/langserve).\n\n## Docker\n\nBuild the Docker image:\n\n```bash\ndocker build -t financial-chat .\n```\n\nRun the Docker container:\n\n```bash\ndocker run -p 8080:8080 --env-file .env financial-chat\n```\n\n## Project Structure\n\n- `app/`: Main application code\n  - `chains/`: LangChain agent and prompts\n  - `features/`: Feature-specific code (technical analysis, charting)\n  - `tools/`: Custom tools for data retrieval and analysis\n  - `ui.py`: Streamlit UI\n  - `server.py`: FastAPI server\n- `Dockerfile`: Dockerfile for building the application\n- `pyproject.toml`: Project dependencies and configuration\n- `README.md`: Project documentation\n\n## Flowchart\n\n![Flowchart](graph_mermaid_image.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwshobson%2Ffinancial-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwshobson%2Ffinancial-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwshobson%2Ffinancial-chat/lists"}