I am posting the code that I used to pull continuous data for the BankNifty Dec contract expiring on 28th. Please let me know what I am doing wrong. Thanks in advance.
P.S: I have the subscription for Historical data so that is not the issue.
Code:
## Getting Historical data instrument_token="12337666" from_date="2017-08-01" to_date="2017-12-18" interval="day"
It should be fixed now. Can you check?