https://github.com/bklieger-groq/stockbot-on-groq
StockBot powered by Groq: Lightning Fast AI Chatbot that Responds With Live Interactive Stock Charts, Financials, News, Screeners, and More. Powered by Llama3-70b on Groq, Vercel AI SDK, and TradingView Widgets.
https://github.com/bklieger-groq/stockbot-on-groq
Last synced: 7 months ago
JSON representation
StockBot powered by Groq: Lightning Fast AI Chatbot that Responds With Live Interactive Stock Charts, Financials, News, Screeners, and More. Powered by Llama3-70b on Groq, Vercel AI SDK, and TradingView Widgets.
- Host: GitHub
- URL: https://github.com/bklieger-groq/stockbot-on-groq
- Owner: bklieger-groq
- License: other
- Created: 2024-07-15T19:19:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-13T18:32:43.000Z (about 1 year ago)
- Last Synced: 2025-04-01T10:09:43.825Z (7 months ago)
- Language: TypeScript
- Homepage: https://groq-stockbot.vercel.app
- Size: 735 KB
- Stars: 1,242
- Watchers: 9
- Forks: 248
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
StockBot Powered by Groq: Lightning Fast AI Chatbot that Responds With Live Interactive Stock Charts, Financials, News, Screeners, and More
Overview •
Features •
Interfaces •
Quickstart •
Credits
[Demo of StockBot](https://github.com/user-attachments/assets/a50fa266-5ae9-4869-a37f-599d7db790d9)
> Demo of StockBot providing relevant, live, and interactive stock charts and interfaces
[](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fbklieger-groq%2Fstockbot-on-groq&env=GROQ_API_KEY&envDescription=Get%20a%20Groq%20API%20Key&envLink=https%3A%2F%2Fconsole.groq.com%2Fkeys&project-name=stockbot-clone&repository-name=stockbot-clone&demo-title=StockBot&demo-description=Build%20a%20lightning-fast%20AI%20chatbot%20powered%20by%20Groq%20and%20Vercel%20AI%20SDK%20that%20responds%20with%20live%20stock%20charts%2C%20financials%2C%20news%2C%20and%20screeners.&demo-url=https%3A%2F%2Fgroq-stockbot.vercel.app%2F&demo-image=https%3A%2F%2Fi.imgur.com%2FjJfm8mm.png)
## Overview
StockBot is an AI-powered chatbot that leverages Llama3 70b on Groq, Vercel’s AI SDK, and TradingView’s live widgets to respond in conversation with live, interactive charts and interfaces specifically tailored to your requests. Groq's speed makes tool calling and providing a response near instantaneous, allowing for a sequence of two API calls with separate specialized prompts to return a response.
> [!IMPORTANT]
> Note: StockBot may provide inaccurate information and does not provide investment advice. It is for entertainment and instructional use only.
## Features
- 🤖 **Real-time AI Chatbot**: Engage with AI powered by Llama3 70b to request stock news, information, and charts through natural language conversation
- 📊 **Interactive Stock Charts**: Receive near-instant, context-aware responses with interactive TradingView charts that host live data
- 🔄 **Adaptive Interface**: Dynamically render TradingView UI components for financial interfaces tailored to your specific query
- ⚡ **Groq-Powered Performance**: Leverage Groq's cutting-edge inference technology for near-instantaneous responses and seamless user experience
- 🌐 **Multi-Asset Market Coverage**: Access comprehensive data and analysis across stocks, forex, bonds, and cryptocurrencies
## Interfaces
| Description | Widget |
|-------------|--------|
| **Heatmap of Daily Market Performance**
Visualize market trends at a glance with an interactive heatmap. |  |
| **Breakdown of Financial Data for Stocks**
Get detailed financial metrics and key performance indicators for any stock. |  |
| **Price History of Stock**
Track the historical price movement of stocks with customizable date ranges. |  |
| **Candlestick Stock Charts for Specific Assets**
Analyze price patterns and trends with detailed candlestick charts. |  |
| **Top Stories for Specific Stock**
Stay informed with the latest news and headlines affecting specific companies. |  |
| **Market Overview**
Shows an overview of today's stock, futures, bond, and forex market performance including change values, Open, High, Low, and Close values. |  |
| **Stock Screener to Find New Stocks and ETFs**
Discover new companies with a stock screening tool. |  |
| **Trending Stocks**
Shows the top five gaining, losing, and most active stocks for the day. |  |
| **ETF Heatmap**
Shows a heatmap of today's ETF market performance across sectors and asset classes. |  |
## Quickstart
> [!IMPORTANT]
> To use StockBot, you can use a hosted version at [groq-stockbot.vercel.app](https://groq-stockbot.vercel.app/).
> Alternatively, you can run StockBot locally using the quickstart instructions.
You will need a Groq API Key to run the application. You can obtain one [here on the Groq console](https://console.groq.com/keys).
To get started locally, you can run the following:
```bash
cp .env.example .env.local
```
Add your Groq API key to .env.local, then run:
```bash
pnpm install
pnpm dev
```
Your app should now be running on [localhost:3000](http://localhost:3000/).
## Changelog
See [CHANGELOG.md](CHANGELOG.md) to see the latest changes and versions. Major versions are archived.
## Credits
This app was developed by [Benjamin Klieger](https://x.com/benjaminklieger) at [Groq](https://groq.com) and uses the AI Chatbot template created by Vercel: [Github Repository](https://github.com/vercel/ai-chatbot).