talkytrend.handler.alphavantage.AlphavantageHandler#
- class talkytrend.handler.alphavantage.AlphavantageHandler(**kwargs)[source]#
Bases:
ClientAlphaVantage API client
documentation: https://www.alphavantage.co/documentation/ and RomelTorres/alpha_vantage
Initialize the object with the given keyword arguments.
- Parameters:
kwargs – keyword arguments
- Returns:
None
Methods
fetch()Asynchronously fetches data from the source using the configured settings.
get_news()Asynchronously retrieves the latest news from various sources based on the configured settings.
monitor()Asynchronously monitors the system and retrieves various data sources based on the configured settings.
- async get_news()[source]#
Asynchronously retrieves the latest news from various sources based on the configured settings.
- Returns:
- A string containing the concatenated
results of the retrieved news sources.
- Return type:
str
- async fetch()#
Asynchronously fetches data from the source using the configured settings.
- Returns:
- A string containing the concatenated results
of the retrieved data sources.
- Return type:
str
- async monitor()#
Asynchronously monitors the system and retrieves various data sources based on the configured settings. Cover Events, Feed, and Signal.
- Returns:
- A string containing the concatenated results
of the retrieved data sources.
- Return type:
str