def test_futures_chain_url(self): """ 1. Underlying symbol """ resp = futures_chain_url('NIFTY') self.assertGreaterEqual(resp.text.find('Expiry Date'), 0)
def get_futures_chain(symbol): r = futures_chain_url(symbol) return r
def test_futures_chain_url(self): """ 1. Underlying symbol """ resp = futures_chain_url('NIFTY') self.assertGreaterEqual(resp.text.find('Expiry Date'), 0)
def get_futures_chain(symbol): r = futures_chain_url(symbol) return r