Skip to main content

news

Get news for a given term and source. [Source: Feedparser]

Source Code: [link]

openbb.news(term: str = "", sources: str = "", sort: str = "published")

Parameters

NameTypeDescriptionDefaultOptional
termstrterm to search on the news articlesTrue
sourcesstrsources to exclusively show news from (separated by commas)True
sortstrthe column to sort bypublishedTrue

Returns

TypeDescription
pd.DataFrameterm to search on the news articles

Examples

from openbb_terminal.sdk import openbb
openbb.news()