Files
OpenBB/website/versioned_docs/version-v3/sdk/reference/news.md
Theodore Aptekarev f72bc8ccec Add Versioned Documentation (#5470)
* Adding versioning to docs

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: tehcoderer <me@tehcoderer.com>
2023-09-29 11:49:05 +02:00

883 B
Vendored

title, description
title description
news OpenBB SDK Function

news

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

Source Code: [link]

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

Parameters

Name Type Description Default Optional
term str term to search on the news articles True
sources str sources to exclusively show news from (separated by commas) True
sort str the column to sort by published True

Returns

Type Description
pd.DataFrame term to search on the news articles

Examples

from openbb_terminal.sdk import openbb
openbb.news()