I am talking about convention ... How on earth you received first candle at 9:15 ? Should you not receive first candle at 9:16:00
My point is different and YES bank cash segment is so liquid that your explanation is invalid that YES bank had no vol…
Hi @sujith @vivek
Can u please explain this ?
I have following code
self.kiteticker = KiteTicker(...)
self.on_connect = ...
Hi @sujith , NF and BNF are two most highest traded instruments. For backtesting we need sufficient historical data.
Also, you have already resolved instrument token issue for day data for expired futures.
Please provide minute data for atle…
Just now checked again...I am still not seeing minute and day data for expired futures
1) When kite team expected to provide historical data for expired futures ?
2) Also are u providing continuous data for expired options also as desc…
ERROR:kiteconnect.ticker:WebSocket connection lost: [Failure instance: Traceback: : the JSON object must be str, not 'bytes'
@vivek again I got error today
builtins.TypeError: the JSON object must be str, not 'bytes'
File "/home/ubuntu/.local/lib/python3.5/site-packages/autobahn/websocket/protocol.py", line 627, in onMessageEnd
@vivek Yes Vivek I have that map but how to close thread running KiteTicker.
Once I call kiteTicker.connect(), I dont have control on that thread ? How to tell that thread to stop.
Typical thread loop lo…
Any update from data team ?
Can u confirm if that issue on your side or am I missing something while calling historical data API ?
For example I see timestamp in format:
and I guess u have chnaged format to:
I tried to get values for HDFC current month futures from 9th Sept with continuous = 1 but I got data from Nov only(from when Jan18 series started) ... So I am not able to get data for expited contracts
I am sharing my observation here:…
I tried to get values for HDFC current month futures from 9th Sept with continuous = 1 but I got data from Nov only(from when Jan18 series started) ... So I am not able to get data for expired contracts
HDFC18JANFUT -> 11996418
Hi @sujith ,
You reply is not clear to me.
I know how to get historical data. But to get historical data, one needs instrument token.
How to get instrument_token for expired futures ?
For example, I can't see instrument_token for expired HDFC futu…
I want to fetch latest minute candle data for 500 symbols per minute...what's per second rate limit to get minute data ? If small then are u planning to increase it in near future ?
Thanks and regards
Can you pls add total mkt cap and free float market cap to your API ?
1. Comparing traded volume and delivery volume wrt historical volume is one way.
2. Other way is:
a. Comparing traded volume and delivery volume wrt "Total Mkt cap" …
I had ~5500 buy BO orders. Your BO auto-squareoff system at 3:20pm squared-off ~7000 Hexaware Shares at ~107.2. Later your system at 3:25pm bought back excess ~1500 shares at ~107.2.
I dont have exact prices but I will share order number…
I am sensing very bad bug in your auto-squareoff system for BO/MNS orders which might put you and your customers in very big trouble in future if not fixed as early as possible. I have faced this issue 4 times in last 1 month where either your squar…
Please don't reply without properly reading my above post,
Whats point in saying entire team is busy with other features.
I just asked to share FnO data on dropbox/google drive for two instruments Nifty/Bank Nifty till Kite team gets time …
No Reply ?
Already my system crashed three times in this month(14th, 15th, 28th) because of issues on your side. I Can't afford more crashes.
Please make sure that we don't get this error tomorrow again ... Already Rishant informed you about this …
Sometimes back I was able to download data for > 100 stocks(very liquid) from kite(from 1st Jan 2015). I have that data stored on my disk.
So for some stocks u have data for 1st Jan 2015. Please check with your data team. My request was…
@sujith Please read above comment by me:
1. I am reading minute data for exactly 1 day (previous trading day)
2. I am not getting any exception to check error response. I am getting non-null historical data but with dataArray.size() = 0 without any …
As suggested by @botany02, I tried on my laptop and I got same problem .. Not sure why its happening.
I don't get this when I try to read "day" data...
I get this only for "1minute" data of exactly one day(which is previous trading day)…
Thanks @botany02. I will try that.
I have two obsevations:
1) I faced no problem while downloading day data. Faced this problem for minute data only
Here is my Java code:
historicalData = kiteSdk.getHistoricalData(params, token, ty…
@nithin @sujith @Kailash Its 8:45am ... Yesterday it was OK but today again I am facing same problem.
I am almost alternatively getting NULL historical data from candle API(after which I sleep for 5 sec)
Why doesn't kite team take complaints serio…
Exactely @nithin as I mentioned in my previous post, its not possible to send all ticks in streaming and hence mentioned if its possible to create summary of ticks in kite server and sent tick summary at periodic intervals(like 1 sec or even 1 minut…
Recentely I requested for OrderFlow info in streaming. You dismissed it by saying u don't build any strategy. BTW Its not strategy. But still anybody can build Ordeflow but (s)he will need more tick info(like if 10 ticks happening in o…
@sujith Just checked my logs at 8:45am and 9:15/20am ... Its was very slow during that time
i) sometimes returning response to candle API call after 10 sec - no problem of network on my side as I am running prog on AWS
ii) Sometime returning null …
@Kailash Yes I know but what I am saying:
1) Keep one thread only (and not one thread per feature)
2) Allow only Kite team to add post to it
Since u create new separated posts for newly added big feature, keep this thread for announcing minor feat…
My point is:
How does Kite server know I sent request at "13:1:15:160, 13:1:15:860, 13:1:16:160 and 13:1:16:860" ?
While deciding limit of 3 req.s per sec, Kite server will
either A) Consider time T1 when request received by Kite ser…
Currently after sending requests I sleep for 500msec but still sometimes I get 429 err
I come up with following theory:
I think we might get 429 error even if we sent 2 requests in 1 sec
Let us say I send request at 13:1:15:160, 13:1:15:860, 13:1…
Just tested on very powerful machine with 1) 8 cores 2)10MB network speed and 3)No processing code(just read tick and store in memory) ... I am still getting ~45-50 ticks(and number of ticks exactly matching with number of ticks on AWS free tier ma…
Thanks @Nikhil.A for reply
Yes Nikhil I am using Quote mode where I am not streaming Market Depth. I am getting around 45-50 ticks per second for NF/BNF.
U said that "dozens of ticks generated per seconds actually" and new tick generated even when…
Hi @sujith ,
I am still getting < 50 ticks.
Cam u please confirm
1) How many ticks are actually generated per sec for NF/BNF(on NSE server) like 100 per sec or 4-5 per sec (just some number in ballpark) - just for general knowledge
2) How many t…
@sujith Since NF and BNF are highly followed instruments, will request you to increase frequency of NF and BNF to atleast 2 ticks per sec or 120 ticks per minute(assuming its always > 2 per sec).
If possible please offer higher dedicated resource…
I downloaded range as last 6 months and pecision as 1minute.
I had donwnloaded and stored that data some time back
Here my ICICI bank file looks:
@sujith when u r planning to provide minute data(before Jan 2015) atleast for A-group .... Please give atleast 5 years data(from year 2011) . If u don't have it, I guess there should not be legal issue in purchasing from NSE data vendor and giving t…
Hi @menaveenn ,
Please read linke shared by Nithin here
I am not using streaming for continuous reading, I am just using it as snapshot one time read as candle API does not provide m…
Thanks @sujith Thats helpful to know.
This is what Nitin said
"So if I am looking at a 5 min chart, there could have been thousands of ticks in that 5 mins, but our charting platform would be able to recognize only a few hundred. And using those f…
OK Thanks @nithin , Can u please clarify IF "SO FAR DAY OHLCV present in tick data" is also sent by Exchange or its calculated on your end ?
Please correct my understanding, Till now I was thinking only
1) last price
2) last traded volume
3) last …
I agree with naveen ... I am also facing same issue
Since kite team is working on new candle API(to fetch last N minutes for M symbols in one call) to solve this problem I request u to decrease limit from 3 per sec to 20 per sec temporarily till u …
Let me reframe my Q.
I have strategy which downloads intraday minute data for a day at 2:00pm, Do some analysis and places order.
So I don't need streaming tick data.
But unnecessarily I have to pay extra Rs.2000 for streaming. Reason u have struct…
@Kailash I have asked two questions.
Please read Q carefully. I have clearly mentioned why converting tick to minute data is bad at user end
"Although theoretically its possible to construct minute candles from tick data stream,…
Candles API discription:
"HTTP/JSON API for accessing historical (OHLC + volume) data. Minute (1, 3, 5, 10 ...), hourly, and end-of-day data for plotting charts and backtesting your trading ideas."
How somebody supposed to backtest if u cannot prov…
No I am talking about first minute ending at 9:16am ... I am using streaming over historical API becauze I want to read 500 stocks and need to make 500 GET requests but AWS has limitation on max GET requests so using streaming
@Kailash 1) U said NSE does not release real time minute data. So does NSE releases minute data at EOD?
2) Is "high/low of day so far" and "total volume traded for day so far" in tick data is not fully accurate(as reason given by nithin in another t…
U mean NSE only releases tick data and every vendor creates x-minute data from tick data ?
Doesn't NSE computes 1-minute candle and officially release it in real-time ?
I guess NSE should be providing official 1-minute data real time stream as