What is pending quantity in orderbook response
Heena Shah
@Heena Shah
Best posts made by Heena Shah
Latest posts made by Heena Shah
-
RE: Token List downLoad
I'm facing the websocket disconnection issue after 10 minutes for Python SDK
-
RE: Token List downLoad
f = open("D:\Stockvision\nseToken.txt", "r")
token=f.read()
task="mw"obj=SmartConnect(api_key=api_key)
login = obj.generateSession(client_code,your_password)
refreshToken= login['data']['refreshToken']
feedToken=obj.getfeedToken()userProfile= obj.getProfile(refreshToken)
ss = WebSocket(feedToken,client_code)def on_tick(ws, tick):
print("Ticks: {}".format(tick))def on_connect(ws, response):
ws.websocket_connection()
ws.send_request(token,task)def on_close(ws, code, reason):
ws.stop()Assign the callbacks.
ss.on_ticks = on_tick
ss.on_connect = on_connect
ss.on_close = on_closep1 = multiprocessing.Process(target = ss.connect())
sys.exit()
p1.start() -
RE: Token List downLoad
I getting data for one token
but when I pass all nse cash token it is not giving any data
Only tvalue is coming -
RE: Token List downLoad
@admin
generateSession error{'status': False, 'message': 'Login Id or password is invalid', 'errorcode': 'AB1007', 'data': None}
-
RE: Token List downLoad
@admin
My account is new account created online not attached to any sub-brokers.
Please check client code H104220 and migrate