Ok, so for long bank nifty option the transaction type will be "TRANSACTION_TYPE_BUY" and for stop loss order as per your answer it will be "TRANSACTION_TYPE_SELL". If I am right in saying this, please tell me what will be order type? Will order typ…
Let me elaborate a bit here. When we place a long order of any instrument on Kite web portal, we sometimes immediately place a stop loss order by clicking the "Exit" menu option from the running trade. Can I place that kind of stop loss order throug…
Ok. I am subscribing to token 260105, which I think is the token for Nifty Bank. Can you please confirm if the token that I am using for Nifty Bank is correct?
Thanks a lot. Your answer made me suspect my code and I found flaw in my code and fixed it. Its all good now. Thanks again for the extra effort put in!!
I tried to get month by month data for last three months and even then I am not getting the candle for 15.30. Its stopping at 15.15 candle and in one case even 15.15 candle was not complete.
When I try to get just one day back data then I am getting all the candles for end date up to 3 PM. Even for one day back I am not getting all the candles for end date. Please help!!
I am able to connect successfully now but I am not sure if I am sending requests correctly. For example to get INFY's tics I am sending two messages:
One is:
{"a": "subscribe", "v": [408065]};
and second is:
{"a":"mode", "v":["full",[408065]]}
But …
I am using your WebSocket code only and here is the stack trace:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at …
It seems to be working today. Though I am surprised to see that for one request I have 8827 packets for INFY. Is it because I have tested the App over the weekend and made so many requests so all those requests are being served now?