Example #1
0
    def test_futures_chain_url(self):
        """
            1. Underlying symbol
        """

        resp = futures_chain_url('NIFTY')
        self.assertGreaterEqual(resp.text.find('Expiry Date'), 0)
Example #2
0
def get_futures_chain(symbol):
    r = futures_chain_url(symbol)
    return r