Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BugFix] Remove Dead Endpoints From Nasdaq Data Link #6773

Merged
merged 3 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions openbb_platform/extensions/index/integration/test_index_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,16 +188,6 @@ def test_index_snapshots(params, headers):
@parametrize(
"params",
[
(
{
"series_name": "pe_month",
"start_date": "2023-01-01",
"end_date": "2023-06-06",
"collapse": "monthly",
"transform": "diff",
"provider": "nasdaq",
}
),
(
{
"series_name": "pe_month",
Expand Down
10 changes: 0 additions & 10 deletions openbb_platform/extensions/index/integration/test_index_python.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,16 +177,6 @@ def test_index_snapshots(params, obb):
@parametrize(
"params",
[
(
{
"series_name": "pe_month",
"start_date": "2023-01-01",
"end_date": "2023-06-06",
"collapse": "monthly",
"transform": "diff",
"provider": "nasdaq",
}
),
(
{
"series_name": "pe_month",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ def test_regulators_sec_sic_search(params, headers):
@parametrize(
"params",
[
({"query": "grain", "provider": "nasdaq"}),
({"query": "grain", "provider": "cftc"}),
],
)
Expand All @@ -158,20 +157,6 @@ def test_regulators_cftc_cot_search(params, headers):
@parametrize(
"params",
[
(
{
"id": "045601",
"data_type": "FO",
"legacy_format": True,
"report_type": "ALL",
"measure": "CR",
"start_date": "2023-01-01",
"end_date": "2023-06-06",
"transform": "diff",
"collapse": "weekly",
"provider": "nasdaq",
}
),
(
{
"id": "045601",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ def test_regulators_sec_sic_search(params, obb):
@parametrize(
"params",
[
({"query": "grain", "provider": "nasdaq"}),
({"query": "grain", "provider": "cftc"}),
],
)
Expand All @@ -143,20 +142,6 @@ def test_regulators_cftc_cot_search(params, obb):
@parametrize(
"params",
[
(
{
"id": "045601",
"data_type": "FO",
"legacy_format": True,
"report_type": "ALL",
"measure": "CR",
"start_date": "2023-01-01",
"end_date": "2023-06-06",
"transform": "diff",
"collapse": "weekly",
"provider": "nasdaq",
}
),
(
{
"id": "045601",
Expand Down
9 changes: 0 additions & 9 deletions openbb_platform/providers/nasdaq/openbb_nasdaq/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@
from openbb_nasdaq.models.calendar_dividend import NasdaqCalendarDividendFetcher
from openbb_nasdaq.models.calendar_earnings import NasdaqCalendarEarningsFetcher
from openbb_nasdaq.models.calendar_ipo import NasdaqCalendarIpoFetcher
from openbb_nasdaq.models.cot import NasdaqCotFetcher
from openbb_nasdaq.models.cot_search import NasdaqCotSearchFetcher
from openbb_nasdaq.models.economic_calendar import NasdaqEconomicCalendarFetcher
from openbb_nasdaq.models.equity_screener import NasdaqEquityScreenerFetcher
from openbb_nasdaq.models.equity_search import NasdaqEquitySearchFetcher
from openbb_nasdaq.models.historical_dividends import NasdaqHistoricalDividendsFetcher

# from openbb_nasdaq.models.lbma_fixing import NasdaqLbmaFixingFetcher
from openbb_nasdaq.models.sp500_multiples import NasdaqSP500MultiplesFetcher
from openbb_nasdaq.models.top_retail import NasdaqTopRetailFetcher

nasdaq_provider = Provider(
Expand All @@ -26,14 +21,10 @@
"CalendarDividend": NasdaqCalendarDividendFetcher,
"CalendarEarnings": NasdaqCalendarEarningsFetcher,
"CalendarIpo": NasdaqCalendarIpoFetcher,
"COT": NasdaqCotFetcher,
"COTSearch": NasdaqCotSearchFetcher,
"EconomicCalendar": NasdaqEconomicCalendarFetcher,
"EquitySearch": NasdaqEquitySearchFetcher,
"EquityScreener": NasdaqEquityScreenerFetcher,
"HistoricalDividends": NasdaqHistoricalDividendsFetcher,
# "LbmaFixing": NasdaqLbmaFixingFetcher, TODO: Replace or Remove.
"SP500Multiples": NasdaqSP500MultiplesFetcher,
"TopRetail": NasdaqTopRetailFetcher,
},
repr_name="NASDAQ",
Expand Down
189 changes: 0 additions & 189 deletions openbb_platform/providers/nasdaq/openbb_nasdaq/models/cot.py

This file was deleted.

This file was deleted.

Loading
Loading