We don't provide support for programming.
This forum is dedicated to KiteConnect APIs. Please don't ask support for other queries here. For now,the tool used in the documentation here:
https://kite.trade/docs/connect/v3/
is called curl. The i…
Order place API has a limit of 10requests/ second. For every second market data,you can use websocket.
https://kite.trade/docs/connect/v3/websocket/#websocket-streaming
However, KiteConnect is not meant for HFT. If you are looking for HFT, yo…
@confused_investor
Go to my apps section on developer console. Click on your app, scroll down. You will find an option of historical data add-on. You can subscribe to historical data there .
Btw,I like your name.
Its not incorrect. It was the oi when the closing tick was received. It gets updated on kite next day. You can check now,the oi on kite matches with the oi on NSE site. You can understand here:
https://tradingqna.com/t/is-the-live-open-interest-oi…
Its not incorrect. The pre-open market closes anytime between 9:07 to 9:08. As it can be seen,the timestamp is 9:07:04. At that time,the open,high,and low of the day are all same,i.e the opening price. And,the close value in the quote is the closing…
You can use quote method or websocket in full mode.
https://kite.trade/docs/connect/v3/market-quotes/#retrieving-full-market-quotes
https://kite.trade/docs/connect/v3/websocket/#websocket-streaming
Don't do any computation inside on_ticks. You have to use threaded ticker.
https://kite.trade/forum/discussion/7399/kiteconnect-ticker-connection-error-1006-connection-was-closed-uncleanly-none
Seriously?? Ok,let me make it clear . Just subscribe to nifty and print ticks. If you're receiving the ticks,it means the problem is somewhere in your program. And,we don't provide support for programming. If you don't receive the ticks when just pl…
1. https://kite.trade/docs/connect/v3/portfolio/#positions . Every position has a trading symbol key. Use if statements to check if the quantity fileld for any tradingsymbol is non-zero. An open position has non-zero quantity whereas closed position…
Also,you won't receive the first postback status of 'OPEN','COMPLETE','REJECTED' if order is placed from kite web/app interface. You will receive postback for subsequent order status.
https://kite.trade/forum/discussion/comment/23960/#Comment_23960
You should gain some basic stock market knowledge before trying algo trading.
NFO is the exchange for all equity derivatives.
Also,CNC product type is for equity only. For derivatives,MIS or NRML should be used.
https://kite.trade/docs/c…
I don't get it. How you can't get margin benefit?
However,if you aren't comfortable with gtt orders, then you have to place two different sl and limit(target) orders.
The essence of GTT is not intraday trading but to place long term stoploss and target orders. A gtt placed is valid for one year. What you can do is use get_gtts() to get all the GTTs placed in last 7 days. Every gtt has status,id keys,if the statu…
Where' s the problem?? The request token is in the url as a query parameter. You can learn about login flow here:
https://kite.trade/docs/connect/v3/user/
Also,just to clarify. These are the current websocket limits. You can subscribe up to 3000 instruments/shares in a single WebSocket connection, and for single API key you can have 3 WebSocket connection, so you can stream maximum of 9000 shares for …
Simple,just put all the conditions to subscribe/unsubscribe in if statement. You can refer this thread:
https://kite.trade/forum/discussion/4875/web-socket-dynamic-subscription
Totp is mandatory to place orders from third-party apps. You can setup Totp once,and then just do the normal daily login once. You don't need to enter totp for every order placement.
Also,when you have any error, don't post this stacktrace. As I told above,run javakiteconnect with debug logs on or catch and print the exception. That would directly tell the issue.
Oh,I got it. That's why you shouldn't copy something entirely before understanding it properly. Ashok Leyland upper circuit is 120.9,and you are placing limit of 122.2 . How will it not cause exception??
What?? You mean data on kite charts vs data received from historical data api?? This isn't possible as they fetch data from same database. Can you give an example of this mismatch?
Are you comparing candles formed at your end using websocket vs historical data?? If yes,
https://tradingqna.com/t/why-does-two-charts-of-the-same-timeframe-look-different-on-the-same-platform/4715
About this error happening, what's the error code you are getting? That would tell the issue.
About quantity freeze, this isn't possible,as these quantity freeze limits are decided by the exchange,not the broker. To tackle this,just use a for loo…
This error won't happen in threaded ticker no matter how much time it takes in the second thread. As long as you don't block the streaming in the main on_ticks thread. What's happening is the input coming from the websocket is being received consis…
You can refer the NodeJS KiteTicker documentation here:
https://github.com/zerodha/kiteconnectjs#getting-started-websocket-client
Yes,you will be notified for every order,placed from either web/app/API if you use on_order_update.
For multi-user access,you can check with the compliance team . Write to kiteconnect(at)zerodha.com. Make sure you include complete information about your product.
Only for the first connection,you have to subscribe something first in on_connect. After that,you can use subscribe/unsubscribe outside on_connect. The error you are getting is due to using threaded ticker without properly assigning the callbacks.
It's just a coincidence. It's not necessary that spot and future will make high/low at same time. You might have catched the ticks when spot made high/low but missed some when future made high/low. Why don't you just read the thread I shared? It's p…
#2 happened. Just add some delay and it should work. No, your fund need not be higher than initial amount2. Just buy hedges and place short orders after a few seconds delay.
It might be because you bought CE at :01 and PE at :02. After that,you shorted CE at :02 and PE at :02 . So,there was one second difference between CE LONG and SHORT,so you got margin benefit there. Whereas PE LONG and SHORT happened at the same sec…
Order_type would be SL or SLM not LIMIT. If you use sell LIMIT ,and use price below cmp as you are placing sl,it will become a market order and filled immediately. Also,know that you can place both target and sl at once if you have enough margin for…
Resubscribe happens if the previous connection was disconnected. If you have not disabled autoreconnect, pykiteconnect does it for you. https://github.com/zerodhatech/pykiteconnect/blob/master/kiteconnect/ticker.py#L683
You may have missed a few ticks.
https://tradingqna.com/t/why-does-two-charts-of-the-same-timeframe-look-different-on-the-same-platform/4715 . The websocket data which you get is the same data used on all platforms by Zerodha.
If you're not doing any computations and still,this error is happening, it maybe due to some network problems. Actually,this error happens when it takes more than the time between two ticks by the on_ticks function to respond.
Look bro,I tried with your ONGC and one other token,tick timestamp and ltt are working fine for me . As for your code,I don't know Java so I can't tell the problem. Maybe Sujith Sir or Rakesh Sir can help you.