talkytrend.handler.twelvedata.TwelvedataHandler#

class talkytrend.handler.twelvedata.TwelvedataHandler(**kwargs)[source]#

Bases: Client

Twelvedata client docs: twelvedata/twelvedata-python

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()

monitor()

Asynchronously monitors the system and retrieves various data sources based on the configured settings.

async get_news()[source]#
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