That most likely means you don't have uWebsockets v0.14 installed or it is installed where cmake cannot find it. README already mentions dependency installation guidelines, but I'll repeat them here under the assumption that you're on Linux.
Run `c…
Hey @themohammedfaisal,
Thank you for your response. However, the spreadsheet is still displaying VaR+ELM as 12.5 and the link still shows margin as 30%. Am I missing something?
@RED That's what I currently do. I don't know the order status changes when stoploss gets hit, though. For cover orders or bracket orders, I can check status of second leg. Can you elaborate on what I should check for SL, SL-M orders?
Hi @sujith
Apologies, I meant SDK/library, at least for websocket streaming. I'm writing a wrapper for HTTP API itself and will probably make it open source, but It's pretty hard to write an async WS client in C++.
@Vivek thank you! But if I did just `kws.connect(threaded=True)`and proceeded to start other threads like `t2 = threading.Thread(target=function)` after `kws.connect(threaded=True)`, wouldn't they get blocked?
Sorry if that's a stupid question, I…
Well turns out, I'm still getting nameError for kiteconnect. I'm using following code:
except kiteconnect.exceptions.TokenException:
is this correct way to catch exceptions?
Edit: solved by changing kiteconnect.exceptions.TokenException to except…