@admin ,
i tried everything . have install both the libraray as well but still same issue.
also want to confirmone thing - client id and username are same only right??
puna123
@puna123
Best posts made by puna123
Latest posts made by puna123
-
RE: ModuleNotFoundError: No module named 'smartapi'
-
RE: Tick values are refreshing very slowly in websocket streaming.
@J88913 ,
i am getting below error with this code. can you help.{'task': 'hb', 'channel': '', 'token': '093658357', 'user': '', 'acctid': ''}
Error info: 'ltp'
'ltp' -
RE: Tick values are refreshing very slowly in websocket streaming.
@admin
can you please update me on below error? -
RE: how to pass token in authorization for historic api run through postman
@admin ,
i am using below link for login api call to generate the token .is this the correct link?
but what should i passs in header and body?https://apiconnect.angelbroking.com/rest/auth/angelbroking/jwt/v1/generateTokens
-
RE: how to pass token in authorization for historic api run through postman
@admin ,
are you saying about this feed token . shall we pass this token in our api call through postman.??package import statement
from smartapi import SmartConnect #or from smartapi.smartConnect import SmartConnect
#import smartapi.smartExceptions(for smartExceptions)#create object of call
obj=SmartConnect(api_key="*****")
# optional
# access_token = "your access token",
# refresh_token = "your refresh_token")#login api call
data = obj.generateSession("","")
print(data)
refreshToken= data['data']['refreshToken']#fetch the feedtoken
feedToken=obj.getfeedToken()
print(feedToken) -
RE: Tick values are refreshing very slowly in websocket streaming.
@J88913 ,@admin
i got the code from the link you have given but getting below error.
would you be able to help?
Error info: Handshake status 503 Service Unavailable
Handshake status 503 Service Unavailable
Error info: __on_close() takes 2 positional arguments but 4 were given
__on_close() takes 2 positional arguments but 4 were given -
RE: Live market feed
@bhaveshjain ,
this link is not giving any information . can you check from your side. -
RE: how to pass token in authorization for historic api run through postman
@puna123 can anyone help here plzz
-
RE: I am not seeing websocket streaming code in smartapi documentation.
@admin
I am asking that similar code for websocket streaming api which you have given in historic api page . As I was able to see that code earlier but not now.Can u provide me that streaming code where we navigate the request through conn.request () method....
-
I am not seeing websocket streaming code in smartapi documentation.
i cant see the websocket streaming code in smari api doc.