Hi @ajinasokan :it only works during market hours. Most of the time other than market hours if I want to do back testing or twisting my strategy it gives above error. That happening till now. and since last two months since I first purchased it.
Hi @sujith : I have renewed it today.But why I am geeting invalid app credential error?{"status": "error", "error_type": "TokenException", "message": "Invalid API credentials"}
and HttpStatusCode=Forbidden
further debugging I found there is code issue from my app end.but they have also appended below line in Kite.cs
if (((HttpWebResponse)webResponse).StatusCode == HttpStatusCode.Forbidden)
_sessionHook?.Invoke();
if invalid api…
Hi,getting invalid api credentials.I am now testing my application.Suddently it started since last 5 mins.I regenerated tokens.But it is giving forbidden error.
created one queue class and inherited kite class and trying to invoke it singleton instance
public class RequestQueue : KiteConnect.Kite
{
private readonly Queue _requestHistory;
private RequestQueue() : base(APIkey)
{
…
Hi@sujith but if I implement queue that should not happen.if you need I can share my code.please suggest if you we need to implement something different.i want to avoid threading.
@sujith :please understand my question.my question is can I get 200 instrument ohlc data every one min interval.do you have any API that support above functionality?
Hi @Kailash is your new historical api support 100 scripts ohlc for every min interval.suppose I want to get ohlc data from 9:15 to 3:30 for 100 scripts in every min interval.Please reply.
Hi @Kailash , as you mentioned "They just want to query market data at ad-hoc intervals. Maybe once every 15 mins, or even once every minute".so how to pass time frame as parameter https://api.kite.trade/quote/ohlc?api_key=xxx&access_token=yyy&a…
hi @sujith though it is working but often I am getting below error message for 100 scripts
{"status": "error", "message": "Gateway is busy", "error_type": "NetworkException"}.today is sunday but any working day I don't know how much load will be on…
Hi @Sujith when trying to execute https://api.kite.trade/quote/ltp?api_key=xxx&access_token=yyy&i=NSE:INFY&i=BSE:SENSEX getting error remote server returned an error 405:method not allowed.I am calling sessionhook.I am using (HttpWebRe…
Hi @ajinasokan ,@botany02 below code is working fine for me
kite.PlaceOrder("NSE", "INFY", "BUY", "400", quote.LastPrice.ToString(),"MIS", "LIMIT", "DAY", null,null, "30", "2", "2", "regular", "");
but I wanted to place BO order
what should be corre…
.i am able to place order.it is not bracket order that placed. Simultaneously not buy sell order placed. (both buy order placed)but why order rejection status is 'adapter is not ready'.Please refer my query.what is equivalent to placebracketorder() …
Thank you ajinasokan and vivek I shall post error here soon.one more query:for is there separate API for data feed?I need 1 min data for stocks.i am getting error invalid API.