def get_market_iex_percent(*args, **kwargs): """ MOVED to iexfinance.stocks.get_market_iex_percent """ import warnings warnings.warn(WNG_MSG, ("get_market_iex_percent", "stocks.get_market_iex_percent")) return stocks.get_market_iex_percent(*args, **kwargs)
def test_market_iex_percent(self): li = get_market_iex_percent() assert isinstance(li, pd.DataFrame) assert len(li) == pytest.approx(10, 1)
def test_market_iex_percent(self): li = get_market_iex_percent() assert len(li) == pytest.approx(21, 1)
def get_market_iex_percent(*args, **kwargs): return stocks.get_market_iex_percent(*args, **kwargs)
def get_market_iex_percent(*args, **kwargs): import warnings warnings.warn(WNG_MSG % "get_market_iex_percent") return stocks.get_market_iex_percent(*args, **kwargs)