@dgmattam @SnehaTVR @Abhishek Gupta We are not able to see any specific issue of this at our end. Can you paste the complete stack trace here?
Is it still happening? I checked this manually multiple times, and it's working fine.
Our kiteconnect system is reliable and used by 1000s of developers, including a lot of start-ups.
429 - TooManyRequests
This error occurred because of being rate-limited, exceeding the rate limits mentioned. This thread also explains in detail the r…
some stocks (AWL and IRCTC are the ones I have noticed) I am getting data prior to the listing date of the actual instrument.
Thank you for highlighting. We have removed data prior to the listing date for the mentioned instruments.
is there any way…
@HowUTrade Can you give us a complete tradigsymbol for this instrument? Looks like a PE instrument, FINNIFTY23N0719500PE. We are investing in this to debug those tick logs, as per the tradingsymbol.
but in my VM, it runs only for 1st time. second time onwards I have this ReactorNotRestartable exception
Yeah, it might be something similar to this issue of the Anaconda environment. As, in those environments, twister can't be restarted. This GitHu…
I am trying to API based trading. Is there a way for me to find through the API that I cannot trade in BSE?
You can check the list of allowed trading instruments from the full instrument list. You can write an filter logic based on the exchange, etc.
To get intraday data , Do I need to subscribe to historical data subscription
To get the candles, you will need to subscribe to historical data APIs. Or you can candles at your end using websocket streaming API, this thread explains in detail.
the correct Instrument Token for NIFTY23NOV19600PE and NIFTY23NOV19600CE under NFO-OPT
You don't need an instrument token to place order but a trading symbol and exchange. Go through the documentation here.
WebSocket doesn't need a specific port assignment at the receiver end. Kite supports multiple WebSocket connections without the necessity of binding to separate ports. You can create three separate instances of WebSocket clients to listen through th…
I see that only 1 byte of data is being received.
This is a successful websocket connection ping.
I was hoping the API would return dummy values, or some other exception showing the same. It would be great if the team could confirm.
No, currently we…
data = kite.historical_data(instrument_token=256265, from_date=from, to_date=to, interval='week', continuous=False, oi=False)
I just ran this historical data fetch multiple times. All the runs gave the same start and end date candles.
{'date': datet…
subscribed to Historical API but still facing this exception when trying to access Historical data
Can you paste the error message here?
Go through the historical data FAQs here.
I see sometimes data is not available for the last few seconds of the minute
If there are no trades or changes in the market depth field. There will be no ticks.
how do I decide the close price of the minute with such data?
You will need to use the …
discrepancy between the Zerodha Kite Tick Data and the Kite Live Data
Do you mean the difference in data between the Kite web market watch and kiteconnect websocket feed?
from = datetime.datetime.now() - datetime.timedelta(days=270*7)
to = datetime.datetime.now()
Any interval candle starts from the requested from timestamp. You can request the from time accordingly.
exit_order is for placing the exit order for CO. You need to use place_order to exit the order for regular order. There you can use the tag param to specify the source.
Is this duplicate status message just for the COMPLETE status?
Can you paste the complete order update log? Hide unique order info related to the user id.
Yes, as @shivdas_b mentioned onOrderUpdate won't publish updates on closed or AMO status. I just checked for the limit MCX order and it's publishing updates fine. Go through the order update FAQs here.
sometimes it neither execute nor show any thing on debug lof just pass the signal.
You can manually add the debug logs at your end as well. Go through the python help article.
TimeoutError: _ssl.c:990: The handshake operation timed out
No, there was no websocket drop-in connection at our end. Handshake operations timeout error is encountered mostly ecause of bad internet. Maybe change the network/ISP and check the behavio…
Will both machines be able to place orders simultaneously or will one get logged out?
Yes, both will work fine. Make sure, you are making combined requests within the rate limit.
Will both machines receive the same order updates or only one machine …
But after 15:25 I am not getting data. Is it just for upto 15:25?
For EQ, Websocket streaming is till EQ market close(15:30). For an illiquid contract, there might be no ticks. You can check for few active EQ contracts.
some time price on kite cha…
Tried on the latest PHP version and it's working fine. Make sure, you are using the latest phpkiteconnect version.
print_r($kite->getLTP(["NSE:SBIN", "NSE:ONGC"]));
stdClass Object
(
[NSE:ONGC] => stdClass Object
(
[in…
tradingsymbol=NFO%3aBANKNIFTY23OCT44000PE
You don't need to add an exchange name in the trading symbol, but just the trading symbol as available from the instrument list. Eg: tradingsymbol=BANKNIFTY23OCT44000PE
without composer but it uses query param based authentication
No, the previous version without composer, uses header-based auth as well
$request_headers[] = "Authorization: token " . $this->api_key . ":" . $this->access_token;. You can check t…
Is there any formula that returns the approx margin required for hedge position or guide me where I can find it?
It's a complex calculation. You can keep using order margin APIs. A more detailed explanation is given in this thread.
LTP and LTQ changes, that means trade occured since last tick, but volume remain the same
Can you let on know more about this? Maybe paste here those tick logs, with unique token or timestamp.
Getting this error - "Incorrect `api_key` or `access_token`"
This is not related to the above issue, of insufficient permission but to the use of the wrong access token or API key. Go through the login FAQs here.
@rohanrg @MAG
On Kite charts, we calculate the total volume for that interval candle as Tick.VolumeTraded(last tick for the candle interval) - Tick.VolumeTraded(start of the candle interval timestamp)
I see that API is returning inconsistent data values, and the inconsistency is also not a few points difference
Can you paste those requests and response details to debug?
When order places there is a difference between my limit price and the price at which order got executed ,for example limit sell order is 130.00 and it will get place at 130.25
Go through this thread.
The instrument you are placing an order for had either expired or does not exist
Can you paste the complete trading symbol of the order params?
Make sure, the instrument is trading and is available in the instrument file and there are no trailing sp…
TokenException: Invalid `checksum`
Make sure, you are using the correct request token, as captured after login auth. Also, make sure, there are no trailing spaces in the request token. If still getting error, paste your login flow code here.
I am getting Kite exception with message as null.
Can you paste here the complete exception message?
For 15minute interval, you would be able to fetch data for 200days in a single request. This thread explains all the interval days requests.
Is this possible that we can get historical data without login second time?
For the same trading day, YES. But, as explained above by @sujith for the next trading day you need to generate a fresh access token.
is iceberg order option available in kite API or should I simply slice the orders before execution ?
Yes, you can use the Iceberg order. This article explains in detail about usage.
Level 1 data just the best bid/ask and LTP.
No, we don't have this mode as of now. We will check on the possibility of this in the future. For now, you need to use Quote mode, and filter out Best/[0] bid and ask from the respective market depth.
Is streaming a scrip or multiple order book in Redis a good idea because Redis is better at managing websocket connections?
Yes, it's a good idea. This kiteconnect resource project implements the same architecture.
Insufficient funds. Required margin is 209579.68 but available margin is 149638.50. Check the orderbook for open orders.
This is funds-related error, not an OI limit error. OI limit error is as shown here.
('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
The main ticker thread is blocked by some process, you need to check it. You can use a multi-thread setup as explained in this thread. To test, you can rem…