def test_last(self): from pyEX import last with patch('requests.get') as mock: mock.return_value = MagicMock() mock.return_value.status_code = 200 last() last('test')
def test_last(self): from pyEX import last last(C)
def get_last_rt_price(symbol): return pd.DataFrame(pyex.last(symbol + ','))