@daleep_angel said in generateSession issue with new TOPO API : Couldn't parse the JSON response received from the server: b:
Got solution as below.
Install pyopt library : pip install pyotp
import pyotp
use the topo detail with pyotp as below:
topo = Trading_api_key_details.topo
topt = pyotp.TOTP(topo)
topt = topt.now()
data = obj.generateSession(username,pwd,topt)
refreshToken= data['data']['refreshToken']
print(data)
@Shivdas Sorry for your loss bro but have solution for this issue and has fix more than 10 client.If you wish to do so reply me on utsav.moradiya3@gmail.com , instantaneous code fix. Before admin releases a solution in language, several algo traders have already adopted this temporary method.
@J242638 You need to pass totp params in generate session.If you wish to do so reply me on utsav.moradiya3@gmail.com , instantaneous code fix. Before admin releases a solution in language, several algo traders have already adopted this temporary method.
@Harman08 You need to pass totp params in generate session.If you wish to do so reply me on utsav.moradiya3@gmail.com , instantaneous code fix. Before admin releases a solution in language, several algo traders have already adopted this temporary method.
@ivar @admin
We are still not able to use the API credentials. I have enabled the TOPT to my client and still not working. Can you please confirm if the API is working ? Also, please share the new steps to run the API from Angel Broking. I have been using the Algo Trading since last 1 and half year and this is really bad situation now.
@SSumit
Totp changes have been deployed in the latest python release 1.3.0
Please use the following command to upgrade to the latest python release
pip install smartapi-python --upgrade
@luckymonu007 said in Un-reliable data:
29138
@admin123 Another example
Everything is coming zero
{"high":0,"low":0,"tradingsymbol":"JUBLINGREA-BL","ltp":0,"exchange":"NSE","close":0,"symboltoken":"2786","open":0}
Can this be fixed?