symphonyfintech / xts-pythonclient-api-sdk

33 stars 29 forks source link

get_order_history() giving exceptions even though we are passing correct OrderID and Client ID #12

Open satishayinala opened 5 months ago

satishayinala commented 5 months ago

Hi Team,

I am getting an exception when trying to call get_order_history() and in response getting below error. " in OrderHistory\n if history[\'type\']==\'success\':\n ~~~^^^^^^^^\n', "KeyError: 'type'\n"] "

below the the code that i am using to get the response. history = xti.get_order_history(appOrderID=OrderID,clientID=clientID) if history['type']=='success':

please help to look into this.

regards, satish