Hi @sujith ,
Yes I had deleted it yesterday fearing that i might be charged again on 5th April. I had already unlinked my zerodha account, but i found it surprising when i saw it being linked back again automatically. The debit probably happened be…
@sujith and team: I had disconnected my app from zerodha account, but still my account got charged twice for the subscription which I didn't intend to. I didn't even use your APIs for 2 months, yet I am paying money for it. This is very disappointin…
@sujith I personally feel that this pricing model is not helpful for developers at all. By the time we test the validity of our strategy, we would have shelled out a lot on both base subscription and historical subscription. For an app to be active …
@arkochhar Thank you for your elaborate explanation. It is really helpful.
However, I am not sure on what you meant in step 3. Why would I concatenate my historical data, which is for candles, with my LTP data, which is for ticks. Please help me in …
@sujith Thanks for the suggestion. Yes your point is well noted. As of now I am accumulating the previous historical data for stocks. But when the strategy would start running then what you suggested would be the right way ..to unblock the main thre…
@sujith Single thread to fetch data for NSE 200 stocks in a loop and store it in DB. If i get empty candles i make 10 re-attempts with pauses of 2 sec before moving on to fetching data for next scrip. And this i I did for a year of data. Now i'm try…
@mahesh_sree What you are asking for is integration of RTD in excel. The macros used to build Buy/Sell button can trigger Kite3 apis and place an order. This is a rough idea I can quickly think of
@GasTurbGuy I don't think that's possible as of now with the APIs. Currently you can subscribe to live tick data but you cannot fetch previous tick data from kite api. To achieve that you have to spend a lot and get dedicated connection from NSE (I …
Just to give out more information:
Here is the json response
b'{"status": "success", "data": {"candles": []}}'
Process finished with exit code 0
Sample Code:
import requests
response = requests.get("https://api.kite.trade/instruments/historical…
Thanks @sujith . Well I have been storing data into my local database but it doesn't seem to be reliable solution...I either get empty candles or my connection gets some EOF errors. I was wondering how to tackle this problem
Hi @sujith
Quite often I am getting 0 length list of candles for NSE 200 stocks. For e.g
response = requests.get("https://api.kite.trade/instruments/historical/" + instrumentId + "/minute?from=2017-01-01&to=2017-01-30&api_key=" +CONSTANTS.…
I want to know from Kite members that considering the strategy might restart for whatever reasons(loss of network connectivity, glitches etc) , what is the best way to load candles quickly and run technical indicators over them.
My initial idea is t…
Hey Guys, I hope the thread is still alive. I am working on creating my trading strategy and would like to get few tips. Given that I am making my "enter" decision on every tick update, what is the efficient way of comparing LTP with technical indic…
@sujith Thanks for the info. I checked the order updated and got update for few events but not all. Here are my doubts:
1. I modified order from Kite web browser but that event was not logged in my _on_order_update method
2. I created a websocket in…
@sujith Thank you. I'll check this tomorrow. Few follow up questions:
1. How can I know possible states for on_order_update (link for document)
2. How is on_order_update different from on_message
@tonystark The issue was related to subscribing 200 instruments. The error message was not intuitive at all!
@sujit I am trying to read order status from websockets but I'm unable to do so using on_message callbacks. Can you please upload the GIT r…
@tonystark Thanks that helped. But now i've run into another problem. I'm getting following trace, wondering whats causing the connection to get lost
2018-01-16 10:56:51+0530 [KiteTickerClientProtocol (TLSMemoryBIOProtocol),client] will retry in 2…
@sujith I am using http://techmonies.com URL as redirect URL for my app and am using the API example in https://github.com/zerodhatech/pykiteconnect/tree/kite3 to generate the access token. Then I used this same access token to create my KiteTicker…
@sujith I am generating access token the same way I did earlier for the code that I cloned from the master build, and I've used same old URL. So here are my steps:
1.) Using api key, get request token info from the redirect url
2.) Use request toke…
Hi Team,
Today I cloned Kite3 branch and started working on it. I am getting few exceptions on placing orders and I'm unable to detect the source of these errors clearly. Below is the error trace. @sujith @Vivek Please help!
2018-01-15 16:28:47+053…
@sujith Thank for providing the information. Ideally, i'd expect the branch to be less out of sync with master, which isn't the case now. I assume many folks would be forking the master branch and not the Kite3 branch, mostly due to unawareness.
@sujith Thank for the info. I have pulled the code a week ago from https://github.com/zerodhatech/pykiteconnect/blob/master/README.md. I hope this is the Kite connect 3 version you are referring to. I am a bit confused on how to access this informat…
@sujith I found a link related to it : https://kite.trade/docs/connect/v1/#postback-webhooks
However, I was looking for something like on_orderfill or on_ordermodify callback events just as we have for on_connect or on_reconnect. Basically, I don't …
Hi Team,
Is there any official documentation(url) that states the release features for Version v1, v2, v3 or the future roadmaps? Additionally, I'd like to know what is the status of current implementations:
1. Timestamp for tick prices in realtime …
Why generate request token again and again for the whole day? Once you get "access token" using your request token, use it for the entire trading session, valid for the day. You only have to generate new access token everyday(trading session from 9.…
Thanks @sujith , how do I make a call from a specific "begin period" to latest available candle timestamp for any granularity level? I want the system calculated latest candle data in my "to period'
Even I'm interested in knowing that. Additionally, I'd like to know whether volume information is also provided? @jitendra : For time being you can scrape https://www.nseindia.com/products/content/equities/equities/oi_spurts.htm
Hi Vivek,
I have few questions. Please help me in answering them
Ques1: Just want to make sure that the technical indicators people are creating are using paid-subscription to retrieve historical data from zerodha?
Ques2: I can pay for 1 month of h…