Esempio n. 1
0
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)
Esempio n. 2
0
    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)
Esempio n. 4
0
def get_market_iex_percent(*args, **kwargs):
    return stocks.get_market_iex_percent(*args, **kwargs)
Esempio n. 5
0
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)