Every time I am trying to fetch tradebook from url ‘https://api.dhan.co/trades’ using GET request, I am getting following error
{‘errorCode’: ‘TRADE_RESOURCE_ERROR’, ‘httpStatus’: ‘BAD_REQUEST’, ‘internalErrorCode’: ‘’, ‘internalErrorMessage’: ‘’}
same error in dhan.get_trade_book() method using dhanhq python module
I am able to fetch orderbook from ‘https://api.dhan.co/orders’.