mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-11 20:01:16 +00:00
remove news from equity (#5741)
This commit is contained in:
@@ -820,77 +820,6 @@ def test_equity_price_historical(params, obb):
|
||||
assert len(result.results) > 0
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"params",
|
||||
[
|
||||
({"symbols": "AAPL,MSFT", "limit": 20}),
|
||||
(
|
||||
{
|
||||
"display": "full",
|
||||
"date": "2023-01-01",
|
||||
"start_date": "2023-01-01",
|
||||
"end_date": "2023-06-06",
|
||||
"updated_since": 1,
|
||||
"published_since": 1,
|
||||
"sort": "created",
|
||||
"order": "desc",
|
||||
"isin": "US0378331005",
|
||||
"cusip": "037833100",
|
||||
"channels": "General",
|
||||
"topics": "AAPL",
|
||||
"authors": "Benzinga Insights",
|
||||
"content_types": "headline",
|
||||
"provider": "benzinga",
|
||||
"symbols": "AAPL,MSFT",
|
||||
"limit": 20,
|
||||
}
|
||||
),
|
||||
(
|
||||
{
|
||||
"published_utc": "2023-01-01",
|
||||
"order": "desc",
|
||||
"provider": "polygon",
|
||||
"symbols": "AAPL",
|
||||
"limit": 20,
|
||||
}
|
||||
),
|
||||
(
|
||||
{
|
||||
"provider": "fmp",
|
||||
"symbols": "AAPL",
|
||||
"limit": 20,
|
||||
"page": 1,
|
||||
}
|
||||
),
|
||||
(
|
||||
{
|
||||
"provider": "yfinance",
|
||||
"symbols": "AAPL",
|
||||
"limit": 20,
|
||||
}
|
||||
),
|
||||
(
|
||||
{
|
||||
"provider": "intrinio",
|
||||
"symbols": "AAPL",
|
||||
"limit": 20,
|
||||
}
|
||||
),
|
||||
(
|
||||
{
|
||||
"provider": "ultima",
|
||||
"symbols": "AAPL,MSFT",
|
||||
}
|
||||
),
|
||||
],
|
||||
)
|
||||
@pytest.mark.integration
|
||||
def test_equity_news(params, obb):
|
||||
result = obb.equity.news(**params)
|
||||
assert result
|
||||
assert isinstance(result, OBBject)
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"params",
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user