logging in on using webbrowser will be tricky but logging in to mobile app shouldnt be an issue. you just need to login to mobile app once using TOTP and then enable biometric if you are using android and face id if you are using apple iphone. the n…
@JeetKumar may i recommend couple of alternates here? if you are using chrome browser to do trading you can use chrome extensions to generate totp token. this totp token is really silly and not to be taken as a serious issue really
below is one of …
@zhkas ha ha.. you have made it impossible for others also now
just curious to know, do you have powerful system that can handle 50000 ticks every second ? even if you are going to just print it, you will need super duper server.
i can understand that you do not store the total counts. but, could you please debug and post it atleast once? it will help us analyse performance issues and set a benchmark on how many ticks will be received in average.
The release document says it is breaking change. i am not very keen on any of the new change so i will keep using the old version of javakiteconnect. however i thought moving to new version is always better
v4 is a breaking major release with a m…
day's OHLC doesnt make sense in tick data as there will not be any major change. either consider changing it to one minute or take ohlc gap as parameter.
where is the V4 document? i still see V3 https://kite.trade/docs/connect/v3/
also, i can see the tick has OHLC . is it 1 minute ohlc? can we change it from 1 minute to something else?
and the worst case is that i stopped getting order updates after 11 am . because of which , the logic of my program failed.
if i give the trade references, would you guys be able to check if updates were sent ?
I know... what i am asking is.. are those after market trades ? What kind of trade are those ?
As you can see the last traded quantity is just 16 but the total buy and sell keeps changing
If it was previous day trade , it shouldn't be added …
@sujith can you please fix this just like how you fixed nifty? my code becomes too buggy when i handle this from my end.
please see the below thread where u helped fix this
https://kite.trade/forum/discussion/1437/nifty-50-ticker-even-after-market…
@vivek @sujith
https://kite.trade/forum/discussion/1437/nifty-50-ticker-even-after-market-close#latest
please have a look at this thread. this happened in nifty before and it got fixed
Instead of forcing everyone do a workaround .. May be you should think of some other approach to keep the connection intact .. May be a dummy security ticker ?
please try to add world indice.. it will be useful to prepare outself for pre market
also, why is sensex sending empty ticker every second even after the market close in websocket??
you may close this thread.
solution is , if i am hitting https://kite.trade/session/token manually to get access token, i dont have to call the generate session method.
i had problem while calling generate session method. however it doesnt matter…
stupid of me to confuse between request_token and access_token
i saw the documentation and webeminar.. it doesnt show the full URL for /session/token.. is it https://kite.trade/session/token??
i saw the webeminar .. it shows the example in python.…
there were two more errors . its gone after i changed it to final but you can do it in the repository to avoid errors for others
also, do we really need maven-gpg-plugin for security? i am usually removing it from POM because i do not have it ins…
@vivek
sounds like a good news and bad news...
good news is that you bracket order issue will be fixed, bad news is that there are chances of more new bug popping up
thanks. i am not sure if you tested this situation.
does it check ticker arrival of all the stocks? or distinct to each stock
lets say there is a very less active stock i subscribed along with many other active stocks. the less active stock may no…
is this below code responsible for configuring autoreconnect? does it handle both local(client side) and remote(zerodha) disconnection?
tickerProvider.setTryReconnection(true);
//minimum value must be 5 for time interval for reconnection…
@sujith @Nikhil.A
so, what do we do when this happen? do we have to resubscribe? apparently we didnt get the data after the downtime automatically.
is it not possible to handle this from your side instead of us writing different logics?
@malay @sujith you can check this page before you start your application. they also have clearing holidays calendar which i dont think zerodha will not provide but will be useful for you
https://www.nseindia.com/global/content/market_timings_holid…
@sujith i have explained you guys earlier.. i dont think the ticker streaming will work efficiently with just 3 sockets
you have maximum of 200 scripts and 3 sockets limitation.. so, that makes around 70 scripts per one socket..
when i tested , the…
i didnt even get one tick.. i understand there was less movement on this stock but obviously that less movement is also not captured in the ticker heart beat.
i checked the same security in google finance and it seems to have movement
and here is …
instrument token 128061700 doesnt seem to be getting ticker - BSE KIRLOSBROS
i got the list of illiquid stocks from bse website and i do not see this instrument there
http://www.bseindia.com/investors/illiquidscrips.aspx?expandable=5
does zerodha…
sorry i understand your question now. i just checked my instruments table and it has comma too. but i didnt have any problem loading them as i am using zerodha's java api
may be their tech team can help you.
i want to hit the getinstrument API just once before the market start around 8 am... i want to prepare my strategies depending on last traded price of all the instruments.
i dont want to hit the getquote api for the number of instruments that nse an…
when you hit https://api.kite.trade/instruments, you will get all the instruments of NSE and BSE
below are the fields returned as response
instrument_token, exchange_token, tradingsymbol, name, last_price, expiry, strike, tick_size, lot_size, instr…
guys,
in case if you still have this issue, please check the below items
you are subscribing with arraylist of integers(check the data type)
please sure you are not sending invalid instrument token
do not send duplicate tokens
do not open empty…
there wasnt anything wrong with my program logic.. i believe its just that API wasnt able to handle 100 securities (half of them are index)
earlier i was getting ticker one a minute now i removed all the index and total number of subscribed scripts…
if i have one socket or each securities i am able to get the ticker every second !!
can you please tell me how many sockets are you planning to restrict to in the future?
@charuvindatre thanks this will surely be a help but i am looking for something like index which i am going to use in trading algorithm.
using futures will force me to change security name everytime unlike index
it wont work doesnt matter where i give, i changed the mode inside the onconnected block also
and also after the connect, but it doesnt work. can you please try this code and tell me?
/** To get live price use com.rainmatter.ticker websocket …
i was able to get the market tick price successfully yesterday. after the market close 3.30 i was getting duplicate data for the next few minutes for few securities. i'll have to write a whole big logic to avoid the duplicates, but if you are fixing…
@Kailash thanks alot..! but i dont think it is needed.. it is working now.. i didnt change the port number in the KITE APP configuration
i remember reading in this forum that there is a webhook for login request too. in case there is a disconnect …
hi @Kailash @vivek
no matter what i do , i cant seem to get this webhook working. below is my JAX rest api implementation in java to accept post requests. i am able to hit this post using any third party utilities but not with kite api order. wha…
finally, we were able to connect to the websocket. it was issue with our framework
@vivek @Kailash but, why are the price being returned in INT? dont you think price will have fractions to it? what is the use of getting intra day price in INT wh…
heart beat message is sent every minute when the web socket is connected or when we subscribe?
also, i dont think i am getting connected tot he websocket in the first place... it returns me refuses handshake message
"closed with exit code -1 addit…
hi @dheeraj_sachan how did the issue get fixed?
hi @Kailash i was getting 403 error first so, i sent a delete request to /session/token. and now i am getting MSG_FAILURE after the authentication.
but i am trying to automate the trading as an individual trader where i do not want to enter the username and password manually. is there any api that takes the login credential and return me the request_token?
of course i can use selenium and au…