Get Holdings response error
-
@admin I'm also getting this error, what can I do, I have filled the migration form but i am not associated with any sub broker
-
Hi @tdeshmukh can you please update regarding your issue.
-
This post is deleted! -
@admin said in Get Holdings response error:
Hi @tdeshmukh your account has been migrated.We will connect you to resolve your issue.
As per the discussion on the call we will connect you as per your time convenience and resolve your issue.
-
Hi @tdeshmukh your account has been migrated.We will connect you to resolve your issue.
-
@tdeshmukh said in Get Holdings response error:
'errorcode': 'AB1007'
this is an AMX error. which version of Python SDK are you using ?
-
Hi @admin,
Thanks for the quick response.I am able to get response from other apis.
#fetch User Profile
userProfile= obj.getProfile(refreshToken)Get RMS Limit
rmslimit = obj.rmsLimit()
But the holdings api seems to give error.
I got my account migrated couple of days back. could there be some issue with my account / migration. -
HI @rjbanna said in Get Holdings response error:
@tdeshmukh I tried your code and it's working fine from my side. Double check your credentials.
I really appreciate your support. -
@tdeshmukh I tried your code and it's working fine from my side. Double check your credentials.
-
Hi @tdeshmukh please try below piece of code
from smartapi import SmartConnect
obj=SmartConnect(api_key="")
data = obj.generateSession("","")
refreshToken= data['data']['refreshToken']#fetch the feedtoken
feedToken=obj.getfeedToken()
print ("this is my feed token" ,feedToken )
#fetch User Profile
userProfile= obj.getProfile(refreshToken)
print (userProfile)hold = obj.holding()
print (hold)