Skip to content

Commit

Permalink
[BugFix] Remove Dead Endpoints From Nasdaq Data Link (#6773)
Browse files Browse the repository at this point in the history
* remove dead endpoints from nasdaq data link

* one more file to delete

---------

Co-authored-by: Igor Radovanovic <[email protected]>
  • Loading branch information
deeleeramone and IgorWounds authored Oct 16, 2024
1 parent fb69120 commit 3bff1f5
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 7,462 deletions.
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

0 comments on commit 3bff1f5

Please sign in to comment.