The Stock Assistant enables you to create a ChatGPT-like experience for anlyzing companies/stocks. Ask it questions about recent news, sentiments and stock prices and it will answer. This Assistant utilizes the Alpha Vantage API for accessing real-time stock information as well as the Bing Search API and the Superagent Browser API.
Clone the following repository https://github.com/homanp/super-stocks
Change the name of
.envand fill out the variables. You need to setup a Superagent and Alpha Vantage account to retrieve API keys.
Install the dependencies
Run the app
This app required you to have a Superagent account. Create an account by signing up: https://beta.superaget.sh.
- Visit https://beta.superagent.sh/apis and create a new API called
Optionally create a
Bing SearchAPIs as well.
Create an Agent and attach the APIs to it.
Make sure to use on of the models that has
function calling capabilities such as
- Copy the Agent ID and place it into your
- Superagent Browser API
- Bing Search API
- AlphaVantage API (Real-time stock data)