Not able to retrieve ohlc data for option strike for BSE exchange, 'error_code': 'DH-907'

import pdb
from Dhan_Tradehull_V2 import Tradehull
import talib
import time
import datetime
client_code = “…”
token_id =“…”

Initialize Tradehull Client

tsl = Tradehull(client_code, token_id)

chart= tsl.get_historical_data(‘SENSEX 27 DEC 78500 CALL’, exchange=‘BFO’, timeframe=“5”)
#chart1= tsl.get_historical_data(‘NIFTY 26 DEC 23650 PUT’, exchange=‘NFO’, timeframe=“5”)
pdb.set_trace()

Hello Sir,
I am using the above code to get historical data for option strike pertaining BSE exchange, has anyone tried to get the data of BSE exchange option strike. It is working fine for NSE. I am getting error for the above code
Exception in Getting OHLC data as {‘status’: ‘failure’, ‘remarks’: {‘error_code’: ‘DH-907’, ‘error_type’: ‘Data_Error’, ‘error_message’: ‘System is unable to fetch data due to incorrect parameters or no data present’}, ‘data’: {‘errorType’: ‘Data_Error’, ‘errorCode’: ‘DH-907’, ‘errorMessage’: ‘System is unable to fetch data due to incorrect parameters or no data present’}}

KINDLY SUGGEST A SOLUTION.

Hi @Delta_Trading

Solved : link : Learn Algo Trading with Python | Codes | Youtube Series - #1805 by Tradehull_Imran

We may now close this thread