Kindly let us know if we could fetch option OI data for Nifty and Banknifty options. If yes please provide any documentation which is available
S
smrtsaravanan
@smrtsaravanan
0
Reputation
4
Posts
5
Profile views
0
Followers
0
Following
Best posts made by smrtsaravanan
This user hasn't posted anything yet.
Latest posts made by smrtsaravanan
-
option OI data for Nifty and Banknifty
-
RE: Guide to secure your SmartAPI Account with two factor authentication
@smrtsaravanan it is working fine now. Ignore it.
I have made a couple of changes. 1st I have declared it like below
obj=SmartConnect(api_key=apikey)
totp = pyotp.TOTP(s='yourkey')
print("pyotp",totp.now())
attempts = 5
while attempts > 0:
attempts = attempts-1
data = obj.generateSession(username, pwd, totp.now())
print(data)
if data['status']:
break
tt.sleep(2)and entered my new API key.
Hope it helps!
-
RE: Guide to secure your SmartAPI Account with two factor authentication
@admin Hi admin, when I try to validate totp i got below error.
refreshToken= data['data']['refreshToken']
TypeError: 'NoneType' object is not subscriptable -
RE: Guide to secure your SmartAPI Account with two factor authentication
@ravindra-e TypeError: 'NoneType' object is not subscriptable error came