@mailboxofrafiq,
The Kite Ticker has been designed to be minimal and consume the least bandwidth possible. You need to maintain the map of instrument token and tradingsymbol with exchange at your end.
Each tick is a binary message from the server. A…
Hi,
A renew_access_token method is to get a new access token using refresh_token.
A `refresh_token` is a special long-standing token for read-only requests issued selectively to exchange approved platforms and not for individual users.
If you place a cover order with entry type market then it will be filled immediately. If you place a limit type cover order then it gets filled according to the availability of counterparty.
In both the cases, the stop-loss order is placed immediate…
Hi,
It seems like onclose takes a ws as argument. Check out this for reference.
If you are implementing now, don't use this. The version 1 APIs are being deprecated. Use latest Kite Connect 3 APIs from kite3 branch of the same repository.
Hi @vijaysahu,
We don't have Sandbox environment yet. We are waiting for APIs from our OMS vendor.
As of now, you need to pay to try it out.
Kite Connect is a monthly subscription which will cost you Rs 2000. Once you get a base subscription, you ca…
I think in both above cases it was not traded hence you didn't get the quote.
Now, you can get the quote for BANKNIFTY08FEB1826200CE because it is traded after you posted this issue.
In portfolio/holdings, there will be only one entry for each instrument. There will be no relation between orders and holdings.
Once you place sell CNC order, 15 quantity will be reduced from the holdings.
You will need an add-on subscription for accessing historical data.
You need to use websockets to stream live market data. Go through the documentation for more information.
The cURL examples are also mentioned in the documentation for fetching hist…
The redirect URL is for redirecting to an endpoint after login is successful. You can check out user section to know more about login flow and check out webinar in that section.
You can give localhost URL also there.
Hi @prashanth100,
Kite Connect doesn't have backoffice APIs yet. As of now, it has APIs of the trading terminal and a trading terminal doesn't know history.
We will provide it in future when backoffice APIs are included.
@mailboxofrafiq,
I am afraid we can't do that since OMS doesn't know what is instrument token. You need to send tradingsymbol and exchange to place orders.
Hi @sauravkedia,
You can place orders on every mock trading session which happens on first Saturday of every month. We will provide live ticks also tomorrow.
@sameer,
As of now, we don't have any plans for providing minute level data for expired instruments.
Can you give an example for which you are not receiving data for expired futures instruments?
Hi @sameer,
We don't have minute level data for expired instruments. We only have day candles for expired futures instruments.
We don't have historical data for expired options instruments. We will provide it in future.
Once your candle generation logic is ready to go live. You can run it on a machine that is hosted on Amazon or digital ocean or any other cloud service providers.
Yes, you can get historical data for expired future instruments in the day intervals.
We have intraday(1min, 3min, etc) data of up to three years and day data from 1990's for some NSE instruments.
You can check out this thread to know about API rat…
You need to experiment and check, it might take 10 to 20 seconds. But again it won't be consistent as there will be thousands of write requests pending in the queue. Since candle generation will be happening for all the instruments that are traded f…
Hi @vishwash_yadav,
It is not recommended to poll positions for updated P&L. You need to calculate that at your end using this formula
pnl = (sellValue - buyValue) + (netQuantity * lastPrice * multiplier);
The redirect URL is needed for login flow and postback URL is an optional field need for receiving order postbacks.
You can check out documentation for more information.
If you have just started, don't use this. The old APIs are being deprecated. You need to use Kite Connect 3 APIs.
Check out kite3 branch on javakiteconnect repository.
Hi @ramprabhu77444,
There can be many ticks at the exchange. No trading platform can stream all the ticks over the internet.
Please check out this thread for more information.
If you are expecting all the ticks then you need a colo setup at the exch…
Lets us say, you request for 5minute candle at 11:14 AM. You will see that last candle timestamp will be 11:10 AM
That candle is generated using 11:10 AM to 11:14 AM 1minute candles. Once another 1minute candle is generated at 11:15 AM, it will give…
Hi @ramprabhu77444,
The last traded timestamp is the timestamp at which last trade has happened.
The exchange timestamp is the timestamp of the tick. Exchange publishes a tick when market depth data changes also.
Hi @ansumanm,
The pykiteconnect library already does all of this. You don't have to actually do it.
For your reference, you can check out parse_binary method
@cisk, @sameer,
This forum is dedicated to technical queries.
If you have any concerns about pricing you can send a mail [talk(at)rainmatter.com] to the business team.
@chinmay,
Bhavcopy is the record published by all the exchanges which state the close price of the day with other data.
It is a standard document used by almost every financial institution.
Hi,
In order to use historical data, you need an active Kite Connect app.
So you need the base subscription and then only you can get add-on subscription.
@dajinkya,
We don't have sample code but you can check out this thread to get started.
A 5minute candle is built using five 1min candles when you request for 5min candle before completion of interval you may receive candle which is generated using …
@anthonyabhilashp,
We don't have bulk fetch APIs for historical data as of now. For every request, we fetch data from the database which takes up resources. Hence as of now, we can't provide bulk fetch APIs.
We may revise the rate limits in future.
The issue here is this rejection status message is from OMS. The order params look fine from our end.
I have gone through order logs of multiple clients and in those cases, they are sending 0 values.
We are not able to find the occurrence of this ca…
Let us consider a scenario wherein you bought some instrument of 10 quantity at 100, sold it and bought 10 quantity again at 101.
Your buy price will be ((100*10)+(101*10))/20 which will be equal to buy_value/quantity. If it is a long position then…
Hi,
The tag takes alphanumeric 8 characters, it is for users to tag their orders. You will get back order id for a successful order place response.
Please go through documentation for more information here.
Hi @cusodha,
Bhavcopy is received at around 6:30 PM every day.
We don't update to bhavcopy's close price on the same day. We update it on next day around 4:30 AM.
We will change it in future.