Project Info
The key to improving Large Language Models (LLMs) in specific domains lies in comprehensive, high-quality evaluations. Our project, the LLM Stock Trader, addresses this need in the financial sector. By creating a tool for evaluating LLMs' stock trading capabilities, we're paving the way for future research into making language agents better at stock trading. Our tool allows LLMs to simulate buying and selling stocks. Users can: Select custom start and end dates for trading simulations Watch as the AI makes real-time buying and selling decisions based on market data and newspaper headlines Analyze the AI's performance and decision-making process For each day in the specified time range, the LLM receives its current portfolio and crucial news headlines. Then, we tell the LLM to output a JSON of the trades it wants to make. For each trade, it also outputs a justification for why it made the trade (chain of thought prompting). This makes the model less likely to hallucinate nonexistent stock tickers or make poor decisions, because it's forced to explain out loud why it made a given decision. API Rate Limits: Groq: Optimized our trading bot's efficiency to reduce API calls and avoid rate limits yfinance: Implemented local caching of stock data to minimize repeated downloads and avoid yfinance's rate limits Frontend Development: Tackled numerous UI bugs, which tested our patience in debugging very precise issues. Debugging front end bugs took longer than any other portion of the project.
Analysis
View
Metric
- 23
- 12
- 9
Figures cover GitHub contributors during the hackathon window. A co-authored commit counts in full for each author, so per-member totals add up to more than the whole-team figures.
Technology
- CSSIn code
- HTMLIn code
- JavaScriptIn code
- PythonIn code
- ReactIn code
- TypeScriptIn code
- FlaskClaimed
- Node.jsClaimed
6 of 8 appear in the indexed code. 2 claimed on Devpost could not be matched to code, which may simply mean the tool leaves no trace in the repository.
AI coding agents
No AI coding agent signals were found in this repository.
Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.
Codebase size
Source size
698 KB
Source files
50
Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.
Repository
vkethana/calhacks-24
68 files · 3.1 MB · @ 39dc838
Structure
Interface
21 files · 31%Screens, components and styles rendered to the user.
Application logic
27 files · 40%Domain rules, services and shared utilities.
Supporting
Layers are inferred from where files sit in the tree, not from reading the code. A project that names its directories unconventionally will read oddly here — open the file browser to check anything the diagram implies.
Languages
- HTML93%
- Python3%
- TypeScript3%
- JavaScript0%
- Markdown0%
- CSS0%
Share of indexed source by file size. Binary and vendored files are excluded.
Dependencies
frontend/package.json
npm · 21- @emotion/react
- @emotion/styled
- @fortawesome/fontawesome-svg-core
- @fortawesome/free-solid-svg-icons
- @fortawesome/react-fontawesome
- @mui/material
- @testing-library/jest-dom
- @testing-library/react
- @testing-library/user-event
- @types/jest
- @types/node
- @types/react
- @types/react-dom
- axios
- cors
- react
- react-dom
- react-scripts
- +3 more
Declared in the repository’s manifests at the indexed commit. A declared package is not proof it is used, and runtime dependencies are listed first.
This project’s features have not been analysed yet.
Export this project's context (description, README, evidence, key source files) to chat with an AI agent elsewhere.