langchain/libs
anshaneel 0884e5de7f
community[minor]: Add Alpha Vantage API Tool (#14332)
### Description
This implementation adds functionality from the AlphaVantage API,
renowned for its comprehensive financial data. The class encapsulates
various methods, each dedicated to fetching specific types of financial
information from the API.

### Implemented Functions

- **`search_symbols`**: 
- Searches the AlphaVantage API for financial symbols using the provided
keywords.

- **`_get_market_news_sentiment`**: 
- Retrieves market news sentiment for a specified stock symbol from the
AlphaVantage API.

- **`_get_time_series_daily`**: 
- Fetches daily time series data for a specific symbol from the
AlphaVantage API.

- **`_get_quote_endpoint`**: 
- Obtains the latest price and volume information for a given symbol
from the AlphaVantage API.

- **`_get_time_series_weekly`**: 
- Gathers weekly time series data for a particular symbol from the
AlphaVantage API.

- **`_get_top_gainers_losers`**: 
- Provides details on top gainers, losers, and most actively traded
tickers in the US market from the AlphaVantage API.

  ### Issue: 
  - #11994 
  
### Dependencies: 
  - 'requests' library for HTTP requests. (import requests)
  - 'pytest' library for testing. (import pytest)

---------

Co-authored-by: Adam Badar <94140103+adam-badar@users.noreply.github.com>
Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
Co-authored-by: Bagatur <baskaryan@gmail.com>
2024-03-30 00:44:01 +00:00
..
cli cli[patch]: Fix typo in dev script name for the --chat-playground option on the cli (#19673) 2024-03-27 15:56:11 -04:00
community community[minor]: Add Alpha Vantage API Tool (#14332) 2024-03-30 00:44:01 +00:00
core core[minor]: Add aformat_messages to FewShotChatMessagePromptTemplate and ChatPromptTemplate (#19648) 2024-03-29 10:31:32 -04:00
experimental experimental[patch]: Removed 'SQLResults:' from the LLMResponse in SQLDatabaseChain (#17104) 2024-03-29 01:22:35 -07:00
langchain langchain[patch]: Simplify ensemble retriever (#14427) 2024-03-29 16:49:49 -07:00
partners mistralai[patch]: correct integration_test (#19774) 2024-03-29 21:47:35 +00:00
text-splitters text-splitters[minor]: Added Haskell support in langchain.text_splitter module (#16191) 2024-03-29 20:17:50 +00:00