Dhan codebase update

Hi Team,

Recently DHAN had brought lot of updates and features. Are you planning to update Dhan_Tradehull codebase accordingly? Please confirm.

1 Like

Hi @SathwikN ,

As of now, there are no major changes in the Dhan API, except for the extension of historical data availability up to 90 days.

If any significant updates are introduced in the future, we will update the Dhan_Tradehull codebase accordingly.

I am getting following error while calling for the data: Exception in Getting OHLC data as {‘status’: ‘failure’, ‘remarks’: {‘error_code’: ‘DH-905’, ‘error_type’: ‘Input_Exception’, ‘error_message’: ‘Missing or Invalid fields: toDate, fromDate’}, ‘data’: {‘errorType’: ‘Input_Exception’, ‘errorCode’: ‘DH-905’, ‘errorMessage’: ‘Missing or Invalid fields: toDate, fromDate’}}

code used is - data = tsl.get_historical_data(tradingsymbol=‘RELIANCE’, exchange=‘NSE’, timeframe=‘5’)

It is sorted by Dhan now.

1 Like