mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-31 22:41:19 +00:00
feature/cboe-async: Refactor Cboe for Async (#5900)
* refactor cboe for async * codespell * unused imports * pylint * more pylint * platform metadata * classmethod decorator * test params * intrinio quote * test param names * date in test needs to be a datetime.date not string * make fmp unix timestamp tz-aware and normalize percent change * different way of parsing datetime string * recapture cboe equity historical test * unused import * index snapshot update * black * extension map * pylint * cboe pyproject.toml * proposal to standardize equity_quote * one more file * removing changes on static assets * index_historical * index_historical again * last_time -> last_timestamp * obsolete router path * fix tests * test param * restore market index deprecation that I forgot about * fixing tests --------- Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
This commit is contained in:
@@ -806,6 +806,7 @@ def test_equity_compare_peers(params, obb):
|
||||
"start_date": "2023-01-01",
|
||||
"end_date": "2023-01-02",
|
||||
"interval": "1m",
|
||||
"use_cache": False,
|
||||
}
|
||||
),
|
||||
(
|
||||
@@ -815,6 +816,7 @@ def test_equity_compare_peers(params, obb):
|
||||
"start_date": "2023-01-01",
|
||||
"end_date": "2023-06-06",
|
||||
"interval": "1d",
|
||||
"use_cache": False,
|
||||
}
|
||||
),
|
||||
(
|
||||
@@ -1037,7 +1039,7 @@ def test_equity_fundamental_latest_attributes(params, obb):
|
||||
@parametrize(
|
||||
"params",
|
||||
[
|
||||
({"query": "AAPL", "is_symbol": True, "provider": "cboe"}),
|
||||
({"query": "AAPL", "is_symbol": True, "provider": "cboe", "use_cache": False}),
|
||||
({"query": "Apple", "provider": "sec", "use_cache": False, "is_fund": False}),
|
||||
({"query": "", "provider": "nasdaq", "use_cache": False, "is_etf": True}),
|
||||
({"query": "gold", "provider": "intrinio", "active": True, "limit": 100}),
|
||||
@@ -1092,6 +1094,7 @@ def test_equity_screener(params, obb):
|
||||
({"symbol": "AAPL"}),
|
||||
({"source": "iex", "provider": "intrinio", "symbol": "AAPL"}),
|
||||
({"symbol": "AAPL", "provider": "fmp"}),
|
||||
({"symbol": "AAPL", "provider": "cboe", "use_cache": False}),
|
||||
({"symbol": "AAPL", "provider": "yfinance"}),
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user