Go through this documentation to get new quote API url request for version 3.
No, old quote API can't be used for quote fetch with changes, as request url has changed.
All KiteConnect API requests are made to KiteConnect Server.
Go through this link, to understand kiteconnect APIs working flow.Also, have a look to this video.
Hi @ankur19 ,
Kite Connect is purely an execution platform. We don't provide any kind of solution or support for developing strategies.You can know more about kite Connect APIs , here.
Hi @sameer ,
Average Traded Price(ATP) is calculated by price multiplied by number of shares traded and then dividing by the total shares traded for the day(till time).Similar to VWAP, go through this link.
Hi @nickmanan ,
Closing price on marketwatch is the last 30 mins adjusted average closing price .Where as closing price on the chart for 1m chart is the last traded price.Go through this link, to know more about it.
Closing price on marketwatch is the last 30 mins adjusted average closing price .Where as closing price on the chart for 1m chart is the last traded price.Go through this link, to know about it.
Hi @sjha_kumar
Have you migrated to Kite connect 3 client?.You seems to be using older python client.
For updating to latest python client, go through this.
Hi @gsuryagandh,
Below are the errors in your code:
1> You need to pass 'access_token', as parameter in kiteTicker, but you are sending Request_token.
2>Callbacks need to be assigned , after the function definition.
kws.on_ticks = on_ticks
kw…
Hi @darkknight ,
Yeah, you need to install Microsoft Visual C++ 14.0 and then install twisted frame work(go through this thread) separately and then install kite connect python client.
Hi @RajeshSivadasan ,
You are missing value for 'product' and 'order_type' and for variety, you are entering double value, as first parameter 'NSE' will also be taken as variety by default(if not initialized to any other parameter).Go through this d…
You can get historical data for only one scrip in one request.For multiple scrip, you will have to run loop with list of instrument token for required scrip.There is restriction of 3 request/sec for historical APIs, so make sure to introduce proper …
Hi @karthick
Open interest is not available for historical data.And for 1 minute chart, you can get maximum of 30 days OHLCV data.You can get OI using websocket(go through this documentation), for today.
@ramprabhu77444
Twisted framework is not getting installed, as per above error.You can try installing Twisted separately(go through this thread) and then install kite connect python client.
Hi @ishwarm
As commodity instruments lot size don't change, you can store lot size as dictionary in your code and access then accordingly.
COMMODITY_LOT={"ALUMINI": 1000,
"ALUMINIUM": 5000,
"BRCRUDEOIL": 100,
"CARDAMOM": 100,
"COPPER": 1000,
"COPPE…
Hi @Sudheer ,
For second scrip JUBLFOOD, you are entering exchange token instead of instrument token.Change second token parameter from 533155 to 4632577.You can download entire instrument list dump(go through this documentation) and check
Are you looking to form candle stick chart on front end?
In that case, you have to use any of JavaScript charting framework, to plot candle using tick value received from web socket.Check this list for different JS charting framework.We don't have d…
Hi @evolutioncage ,
As Nifty 50 scrip change happens once in 6 month, so you can store current 50 stocks in python list and run for loop on above list and retrieve OHLC value for each scrip and store in db.Go through this documentation to fetch char…
You are looking at 5 minute period chart , instead you should look for day period chart, as you have calculated average on day's close data(day's close data from Nse) , not on 5 minutes close data.To get 5 minute candle 50 period average, you will h…
Hi @kishor9329 ,
We calculated day simple moving average for 50 period from Nse data for INFY [31st-oct-17 to 9-Dec-2017(take current LTP, as close)], it's value is 990.205, and kite is showing 990.20 as simple moving average for 50 period, both are…
You can fetch complete orderbook(documentation) for the day at any instant.This is included in Kite connect API subscription(2000/- per month).
For historical data(documentation), you have to subscribe to historical data API(2000/- extra per month)…
This is because you are filtering and requesting quote for equity scrip instead you should filter required future scrip and storing on DB. And then fetch market quote of those scrip.Have look on this code,for way to filter option/future scrip.
You have to filter out required future and option scrip from instrument list and store in db and then retrieve market quote of scrip using complete market quote API(documentation) or Bulk fetch API(documentation).Go through this code, to get idea ab…
You can use Web Socket or bulk fetch API to fetch real time LTP for both underlying and future scrip(go through this and this documentation ) and calculate difference.
Volume shown in Quote mode, is total quantity traded for the day till time.There is no direct way to get turn-over value at any instant.You can try getting some near value, use Historical data APIs(go through this documentation) to fetch current 1 m…
All December currency contract has expired yesterday(27/12/2017) at 12:30 PM.FYI, Currency contract expires two working days prior to the last business day of the expiry month at 12:30 pm, i.e 27th December(29th being last business day of the month)…
Hi @sukulbagai
Using Historical Data API, you can fetch data of formed candles for any specified date range for specific candle interval (by feeding candle interval and from and to date as input parameter).Go though this documentation.
If you query…