Since the close price is based on the last tick received, it will be different on different charts, right?
PS: I am not sure if tradingview plots live candles.
You will have to use Kite Publisher for that. You can know more here. You can take a look at the demo here.
Basically, you need to open your webpage which will invoke the Kite Publisher with all the params.
If you want ticks only when LTP changes then you may use the LTP mode.
In a quote mode, one can assume to get a tick whenever there is a change in any of the published data.
A quote mode tick has a lot of data other than LTP.
You will receive it from the error message when the order is placed.
You can check out the error format here.
You can also get it from the Zerodha website.
You can write an email to kiteconnect(at)zerodha.com with your product details, someone from our team will get back to you.
Please note that multi-user access is only provided for the platforms that are developed for mass like smallcase, streak, sen…
The redirect URL has to be an HTTPS URL. You can use a http://127.0.0.1 URL for testing. For Publisher, the redirect URL does not matter until you want to do advanced offsite basket execution.
@kanvi915,
There are more than 600 production Kite Connect apps running and it includes our in-house applications and client-facing applications which are used by more than 4 lakh clients at any point in time. Everything is working without any issue…
One doesn't need to verify if the access token is valid or not for every call, it is valid for one whole day. You just need to re-generate the session only when the server throws 403.
@kanvi915,
If you are fetching data continuously then add some delay and check.
If you are getting too many timeouts after adding delays then try on some other network.
We don't have any data vendor as of now. We record ticks and form candles at our end. I will check with the data team if they can capture data from now on.
You can write to compliance at kiteconnect(at)zerodha.com with your product details, someone from the team will get back to you.
PS: The approval is provided only for a product that is built for mass. Like smallcase, sensibull, streak etc.
If this …
Yes, you can see orders placed from the Kite Connect app on Kite mobile and web app.
What notification are you referring to? Order updates via websockets or postback?
The Quote API supports fetching data for up to 500 instruments in one request. You run it as a timer task and update your local dataset and use that as a source.
@swas99,
We don't have any API which returns a list of instruments that are illiquid, in T2T segment, in the ASM or GSM category.
However, you can get the list from the utilities section of the Zerodha website's resource page.
Can you give an examp…
@sathish,
These are static data which changes rarely, you may hardcode values and do calculations. Providing an API for this use case at this moment seems overkill.
@arulchellappa,
You can opt for colo setup at the exchange, it may cost you upwards of 18 lakhs per annum. You can capture all the ticks at the exchange. You can send a mail to kiteconnect(at)zerodha.com, someone from our team will help you with the…
Regarding the authorize screen, a user has to give permission for every new third party app to access information. This is asked the first time when users log into the app.
@rajatbiswas,
I am afraid one can't show data our data on a third party website. For more information, you can write to compliance at kiteconnect(at)zerodha.com
@milli,
It only gives you data about the leverage. You will have to use that for calculation and it is manually updated by the RMS team which can be updated multiple times during the day as well.
If you are looking for a straight forward solution li…
builtins.KeyError: 'oi'
Are you trying to read oi field for non F&O contracts?
The open interest(OI) field is available only for the F&O contract.
Also, you seem to be performing computation inside on_ticks(ws, ticks) , which is not recomm…
@enliyo,
We have informed the concerned team, they are looking into this. It is taking time because it is happening intermittently.
Today it happened at the opening, is it?
@pgalgo
Please make sure you remove the app and client-specific details while posting logs on the public thread.
This seems like a network issue, can you try on an alternate network?
@master,
I am afraid we can't do that. The instruments master is an info that is dumped every morning which gives information regarding the instruments that are traded for the day which should be ideally downloaded and updated every day.
It doesn't …
Yes, you need to use multiplier from the portfolio/positions.
If you need live P&L then you need to use the last price from the Websocket API or Quote API and keep updating the data.
We don't have a special endpoint to fetch partial positions. Y…
Kite Connect is purely an execution platform. We don't provide solutions for writing strategies.
Regulations don't allow a broker to provide these kinds of solutions.
@mahajangaurav28,
Kite Connect offers a tag feature for orders, you can tag the orders and use its quantity to find a particular position and its quantity.
KiteRequestHandler class has the OkHttpClient which is used to make requests and that is created only once and reused.
Can you try to fork javakiteconnect and try calling client.getDispatcher().getExecutorService().shutdown(); once you are done?
so…
But then how did you conclude that it takes 5 minutes to expire?
Signal Dispatcher
OkHttp TaskRunner
main
Finalizer
Reference Handler
Okio Watchdog
Monitor Ctrl-Break
Process finished with exit code 0
This is the output for me.
for the next time, it is saying that the access token is not valid or expired.
When you run the same code(i.e index.js here) for next time, generateSession function here,kc.generateSession("request_token", "api_secret") tries to re-generate session…