├── .env.example ├── .github ├── copilot-instructions.md └── workflows │ └── ci.yaml ├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── backend ├── app │ ├── __init__.py │ ├── api │ │ ├── __init__.py │ │ └── v1 │ │ │ ├── __init__.py │ │ │ ├── endpoints │ │ │ ├── backtest_analysis.py │ │ │ ├── daily_feedback.py │ │ │ └── llm_stream.py │ │ │ └── router.py │ ├── backtesting │ │ ├── __init__.py │ │ └── engine.py │ ├── config.py │ ├── llm │ │ ├── __init__.py │ │ ├── analysis │ │ │ ├── __init__.py │ │ │ ├── enhanced_technical_analyzer.py │ │ │ ├── trend_analyzer.py │ │ │ └── trend_benchmark.py │ │ ├── client.py │ │ └── strategies │ │ │ ├── __init__.py │ │ │ ├── base.py │ │ │ ├── llm_strategy.py │ │ │ └── prompt │ │ │ └── traditional_strategy.md │ ├── main.py │ └── utils │ │ ├── __init__.py │ │ ├── backtest_logger.py │ │ ├── fetcher.py │ │ ├── indicators.py │ │ ├── stock_data.py │ │ ├── unrealized_pnl_tracker.py │ │ └── yfinance_utils │ │ ├── __init__.py │ │ ├── exceptions.py │ │ ├── models.py │ │ └── utils.py └── backend │ └── data │ └── backtest_logs.db ├── design.md ├── frontend ├── .gitignore ├── components.json ├── eslint.config.mjs ├── next.config.ts ├── package-lock.json ├── package.json ├── postcss.config.mjs ├── public │ ├── file.svg │ ├── globe.svg │ ├── next.svg │ ├── vercel.svg │ └── window.svg ├── src │ ├── app │ │ ├── favicon.ico │ │ ├── globals.css │ │ ├── layout.tsx │ │ └── page.tsx │ ├── components │ │ ├── analysis │ │ │ ├── BacktestResultsWithAnalysis.tsx │ │ │ └── DayAnalysis.tsx │ │ ├── charts │ │ │ ├── BacktestChart.tsx │ │ │ └── SimpleTradingViewChart.tsx │ │ ├── llm │ │ │ └── StreamingLLMRunner.tsx │ │ └── ui │ │ │ ├── alert.tsx │ │ │ ├── badge.tsx │ │ │ ├── button.tsx │ │ │ ├── card.tsx │ │ │ ├── checkbox.tsx │ │ │ ├── input.tsx │ │ │ ├── label.tsx │ │ │ ├── progress.tsx │ │ │ ├── select.tsx │ │ │ ├── separator.tsx │ │ │ ├── skeleton.tsx │ │ │ ├── tabs.tsx │ │ │ └── textarea.tsx │ └── types │ │ └── index.ts └── tsconfig.json ├── main.py ├── pyproject.toml ├── star-history-20251112.png └── uv.lock /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/.env.example -------------------------------------------------------------------------------- /.github/copilot-instructions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/.github/copilot-instructions.md -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/README.md -------------------------------------------------------------------------------- /backend/app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/__init__.py -------------------------------------------------------------------------------- /backend/app/api/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/api/__init__.py -------------------------------------------------------------------------------- /backend/app/api/v1/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/api/v1/__init__.py -------------------------------------------------------------------------------- /backend/app/api/v1/endpoints/backtest_analysis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/api/v1/endpoints/backtest_analysis.py -------------------------------------------------------------------------------- /backend/app/api/v1/endpoints/daily_feedback.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/api/v1/endpoints/daily_feedback.py -------------------------------------------------------------------------------- /backend/app/api/v1/endpoints/llm_stream.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/api/v1/endpoints/llm_stream.py -------------------------------------------------------------------------------- /backend/app/api/v1/router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/api/v1/router.py -------------------------------------------------------------------------------- /backend/app/backtesting/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/backtesting/__init__.py -------------------------------------------------------------------------------- /backend/app/backtesting/engine.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/backtesting/engine.py -------------------------------------------------------------------------------- /backend/app/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/config.py -------------------------------------------------------------------------------- /backend/app/llm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/llm/__init__.py -------------------------------------------------------------------------------- /backend/app/llm/analysis/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/llm/analysis/__init__.py -------------------------------------------------------------------------------- /backend/app/llm/analysis/enhanced_technical_analyzer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/llm/analysis/enhanced_technical_analyzer.py -------------------------------------------------------------------------------- /backend/app/llm/analysis/trend_analyzer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/llm/analysis/trend_analyzer.py -------------------------------------------------------------------------------- /backend/app/llm/analysis/trend_benchmark.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/llm/analysis/trend_benchmark.py -------------------------------------------------------------------------------- /backend/app/llm/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/llm/client.py -------------------------------------------------------------------------------- /backend/app/llm/strategies/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/llm/strategies/__init__.py -------------------------------------------------------------------------------- /backend/app/llm/strategies/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/llm/strategies/base.py -------------------------------------------------------------------------------- /backend/app/llm/strategies/llm_strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/llm/strategies/llm_strategy.py -------------------------------------------------------------------------------- /backend/app/llm/strategies/prompt/traditional_strategy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/llm/strategies/prompt/traditional_strategy.md -------------------------------------------------------------------------------- /backend/app/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/main.py -------------------------------------------------------------------------------- /backend/app/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/utils/__init__.py -------------------------------------------------------------------------------- /backend/app/utils/backtest_logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/utils/backtest_logger.py -------------------------------------------------------------------------------- /backend/app/utils/fetcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/utils/fetcher.py -------------------------------------------------------------------------------- /backend/app/utils/indicators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/utils/indicators.py -------------------------------------------------------------------------------- /backend/app/utils/stock_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/utils/stock_data.py -------------------------------------------------------------------------------- /backend/app/utils/unrealized_pnl_tracker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/utils/unrealized_pnl_tracker.py -------------------------------------------------------------------------------- /backend/app/utils/yfinance_utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/utils/yfinance_utils/__init__.py -------------------------------------------------------------------------------- /backend/app/utils/yfinance_utils/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/utils/yfinance_utils/exceptions.py -------------------------------------------------------------------------------- /backend/app/utils/yfinance_utils/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/utils/yfinance_utils/models.py -------------------------------------------------------------------------------- /backend/app/utils/yfinance_utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/app/utils/yfinance_utils/utils.py -------------------------------------------------------------------------------- /backend/backend/data/backtest_logs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/backend/backend/data/backtest_logs.db -------------------------------------------------------------------------------- /design.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/design.md -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/components.json -------------------------------------------------------------------------------- /frontend/eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/eslint.config.mjs -------------------------------------------------------------------------------- /frontend/next.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/next.config.ts -------------------------------------------------------------------------------- /frontend/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/package-lock.json -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/postcss.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/postcss.config.mjs -------------------------------------------------------------------------------- /frontend/public/file.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/public/file.svg -------------------------------------------------------------------------------- /frontend/public/globe.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/public/globe.svg -------------------------------------------------------------------------------- /frontend/public/next.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/public/next.svg -------------------------------------------------------------------------------- /frontend/public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/public/vercel.svg -------------------------------------------------------------------------------- /frontend/public/window.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/public/window.svg -------------------------------------------------------------------------------- /frontend/src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/app/favicon.ico -------------------------------------------------------------------------------- /frontend/src/app/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/app/globals.css -------------------------------------------------------------------------------- /frontend/src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/app/layout.tsx -------------------------------------------------------------------------------- /frontend/src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/app/page.tsx -------------------------------------------------------------------------------- /frontend/src/components/analysis/BacktestResultsWithAnalysis.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/components/analysis/BacktestResultsWithAnalysis.tsx -------------------------------------------------------------------------------- /frontend/src/components/analysis/DayAnalysis.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/components/analysis/DayAnalysis.tsx -------------------------------------------------------------------------------- /frontend/src/components/charts/BacktestChart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/components/charts/BacktestChart.tsx -------------------------------------------------------------------------------- /frontend/src/components/charts/SimpleTradingViewChart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/components/charts/SimpleTradingViewChart.tsx -------------------------------------------------------------------------------- /frontend/src/components/llm/StreamingLLMRunner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/components/llm/StreamingLLMRunner.tsx -------------------------------------------------------------------------------- /frontend/src/components/ui/alert.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/components/ui/alert.tsx -------------------------------------------------------------------------------- /frontend/src/components/ui/badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/components/ui/badge.tsx -------------------------------------------------------------------------------- /frontend/src/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/components/ui/button.tsx -------------------------------------------------------------------------------- /frontend/src/components/ui/card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/components/ui/card.tsx -------------------------------------------------------------------------------- /frontend/src/components/ui/checkbox.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/components/ui/checkbox.tsx -------------------------------------------------------------------------------- /frontend/src/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/components/ui/input.tsx -------------------------------------------------------------------------------- /frontend/src/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/components/ui/label.tsx -------------------------------------------------------------------------------- /frontend/src/components/ui/progress.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/components/ui/progress.tsx -------------------------------------------------------------------------------- /frontend/src/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/components/ui/select.tsx -------------------------------------------------------------------------------- /frontend/src/components/ui/separator.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/components/ui/separator.tsx -------------------------------------------------------------------------------- /frontend/src/components/ui/skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/components/ui/skeleton.tsx -------------------------------------------------------------------------------- /frontend/src/components/ui/tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/components/ui/tabs.tsx -------------------------------------------------------------------------------- /frontend/src/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/components/ui/textarea.tsx -------------------------------------------------------------------------------- /frontend/src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/src/types/index.ts -------------------------------------------------------------------------------- /frontend/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/frontend/tsconfig.json -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/main.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/pyproject.toml -------------------------------------------------------------------------------- /star-history-20251112.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/star-history-20251112.png -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jason8745/llm-agent-trader/HEAD/uv.lock --------------------------------------------------------------------------------